aBean.setCompile( false );
aBean.setExecute( false );
try {
Repository repo = TopManager.getDefault().getRepository();
LocalFileSystem fsl = new LocalFileSystem( aBean );
// Get the file of the documentation directory.
File fileDocumentation =
new File( stringSDKDirectory + System.getProperty(
"file.separator" ) + "docs" + System.getProperty( "file.separator" )
+ "common" + System.getProperty( "file.separator" ) + "ref" );
if ( fileDocumentation.exists() ) {
fsl.setRootDirectory( fileDocumentation );
if ( repo.findFileSystem( fsl.getSystemName() ) == null ) {
fsl.setHidden( true );
repo.addFileSystem( fsl );
}
}
LocalFileSystem localfilesystem = new LocalFileSystem( aBean );
// Get the file of the helper documentation directory.
File fileDocumentationHelper =
new File( stringSDKDirectory + System.getProperty(
"file.separator" ) + "docs" + System.getProperty( "file.separator" )
+ "java" + System.getProperty( "file.separator" ) + "ref" );
if ( fileDocumentationHelper.exists() ) {
localfilesystem.setRootDirectory( fileDocumentationHelper );
if ( repo.findFileSystem(
localfilesystem.getSystemName() ) == null ) {
localfilesystem.setHidden( true );
repo.addFileSystem( localfilesystem );
}
}
File aFile = new File( stringOfficeDirectory + System.getProperty(