Automated merge with http://hg.netbeans.org/main/contrib ss-installer_0
authorCaoyuan Deng <dcaoyuan@netbeans.org>
Thu, 10 Jul 2008 19:50:39 +0800
changeset 13521ea304faa9e58
parent 13520 1d1fa0535d62
parent 13504 d66927a82cf2
child 13522 425c5fcc9e1e
child 13524 3cb87f18fb71
Automated merge with http://hg.netbeans.org/main/contrib
bluej-suite/bluej-ui/build.xml
bluej-suite/bluej-ui/manifest.mf
bluej-suite/bluej-ui/nbproject/build-impl.xml
bluej-suite/bluej-ui/nbproject/genfiles.properties
bluej-suite/bluej-ui/nbproject/project.properties
bluej-suite/bluej-ui/nbproject/project.xml
bluej-suite/bluej-ui/nbproject/suite.properties
bluej-suite/bluej-ui/src/META-INF/services/org.netbeans.bluej.api.BluejOpenCloseCallback
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/BlueJViewAction.java
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/BluejViewTopComponentSettings.xml
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/BluejViewTopComponentWstcref.xml
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/Bundle.properties
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/Installer.java
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/layer.xml
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/BluejViewTopComponent.form
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/BluejViewTopComponent.java
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/Bundle.properties
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/HackedNodeRenderer.java
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/OpenCloseImpl.java
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/OpenedBluejProjects.java
bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/bluejview.png
bluej-suite/bluej/antsrc/org/netbeans/bluej/ant/task/BlueJava.java
bluej-suite/bluej/antsrc/org/netbeans/bluej/antlib.xml
bluej-suite/bluej/build.xml
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-about-help.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-about.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-editor-quickref.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-hs.xml
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-idx.xml
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-map.xml
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-convert.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-import.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-new.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-quickref.html
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-toc.xml
bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/images/projectFolder.gif
bluej-suite/bluej/manifest.mf
bluej-suite/bluej/nbproject/build-impl.xml
bluej-suite/bluej/nbproject/genfiles.properties
bluej-suite/bluej/nbproject/project.properties
bluej-suite/bluej/nbproject/project.xml
bluej-suite/bluej/nbproject/suite.properties
bluej-suite/bluej/src/META-INF/services/org.apache.tools.ant.module.spi.AntLogger
bluej-suite/bluej/src/META-INF/services/org.netbeans.spi.project.ProjectFactory
bluej-suite/bluej/src/META-INF/services/org.netbeans.spi.project.support.ant.AntBasedProjectType
bluej-suite/bluej/src/org/netbeans/bluej/BJClassPathExtender.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejActionProvider.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejFileBuiltQuery.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejLogicalViewProvider.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejProject.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejProjectFactory.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejProjectProperties.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejProjectType.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejSources.java
bluej-suite/bluej/src/org/netbeans/bluej/BluejUnitTestForSourceQuery.java
bluej-suite/bluej/src/org/netbeans/bluej/Bundle.properties
bluej-suite/bluej/src/org/netbeans/bluej/CustomizerProviderImpl.java
bluej-suite/bluej/src/org/netbeans/bluej/CustomizerRun.form
bluej-suite/bluej/src/org/netbeans/bluej/CustomizerRun.java
bluej-suite/bluej/src/org/netbeans/bluej/EmptyBluejProject.zip
bluej-suite/bluej/src/org/netbeans/bluej/MainClassChooser.form
bluej-suite/bluej/src/org/netbeans/bluej/MainClassChooser.java
bluej-suite/bluej/src/org/netbeans/bluej/MainClassWarning.form
bluej-suite/bluej/src/org/netbeans/bluej/MainClassWarning.java
bluej-suite/bluej/src/org/netbeans/bluej/SFBQueryImpl.java
bluej-suite/bluej/src/org/netbeans/bluej/UpdateHelper.java
bluej-suite/bluej/src/org/netbeans/bluej/ant/BluejAntLogger.java
bluej-suite/bluej/src/org/netbeans/bluej/api/BluejLogicalViewProvider.java
bluej-suite/bluej/src/org/netbeans/bluej/api/BluejOpenCloseCallback.java
bluej-suite/bluej/src/org/netbeans/bluej/bluej-helpset.xml
bluej-suite/bluej/src/org/netbeans/bluej/classpath/CPImpl.java
bluej-suite/bluej/src/org/netbeans/bluej/classpath/ClassPathProviderImpl.java
bluej-suite/bluej/src/org/netbeans/bluej/export/Bundle.properties
bluej-suite/bluej/src/org/netbeans/bluej/export/ConvertToJ2SEAction.java
bluej-suite/bluej/src/org/netbeans/bluej/export/ExportPanel.form
bluej-suite/bluej/src/org/netbeans/bluej/export/ExportPanel.java
bluej-suite/bluej/src/org/netbeans/bluej/export/ExportWizardPanel1.java
bluej-suite/bluej/src/org/netbeans/bluej/layer.xml
bluej-suite/bluej/src/org/netbeans/bluej/master.xml
bluej-suite/bluej/src/org/netbeans/bluej/nodes/BluejLogicalViewRootNode.java
bluej-suite/bluej/src/org/netbeans/bluej/nodes/Bundle.properties
bluej-suite/bluej/src/org/netbeans/bluej/options/BlueJPanel.form
bluej-suite/bluej/src/org/netbeans/bluej/options/BlueJPanel.java
bluej-suite/bluej/src/org/netbeans/bluej/options/BlueJSettings.java
bluej-suite/bluej/src/org/netbeans/bluej/options/BluejAdvancedOption.java
bluej-suite/bluej/src/org/netbeans/bluej/options/Bundle.properties
bluej-suite/bluej/src/org/netbeans/bluej/packagewizard/Bundle.properties
bluej-suite/bluej/src/org/netbeans/bluej/packagewizard/Package.html
bluej-suite/bluej/src/org/netbeans/bluej/packagewizard/PackageWizardIterator.java
bluej-suite/bluej/src/org/netbeans/bluej/resources/bluej-class.png
bluej-suite/bluej/src/org/netbeans/bluej/resources/bluej-testclass-unattached.png
bluej-suite/bluej/src/org/netbeans/bluej/resources/bluej-testclass.png
bluej-suite/bluej/src/org/netbeans/bluej/resources/bluejproject.png
bluej-suite/bluej/src/org/netbeans/bluej/resources/build-impl.xml
bluej-suite/bluej/src/org/netbeans/bluej/resources/build.xml
bluej-suite/bluej/src/org/netbeans/bluej/resources/compiled.png
bluej-suite/bluej/src/org/netbeans/bluej/resources/executable-badge.gif
bluej-suite/bluej/src/org/netbeans/bluej/resources/project.properties
bluej-suite/bluej/src/org/netbeans/bluej/resources/project.xml
bluej-suite/bluej/src/org/netbeans/bluej/resources/readme.png
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/abstract.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/appletj.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/enum.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/interface.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/mainclass.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/stdclass.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/unittest.tmpl
bluej-suite/bluej/src/org/netbeans/bluej/wizard/Bundle.properties
bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejDescription.html
bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejPanelVisual.form
bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejPanelVisual.java
bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejWizardIterator.java
bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejWizardPanel.java
portalpack.portlets.genericportlets/l10n/ja/placeholder_ja.txt
projectpackager/src/META-INF/services/org.apache.tools.ant.module.spi.AutomaticExtraClasspathProvider
projectpackager/src/org/netbeans/modules/projectpackager/resources/ProjectPackagerSettings.xml
projectpackager/src/org/netbeans/modules/projectpackager/tools/MimeMailClasspathProvider.java
projectpackager/src/org/netbeans/modules/projectpackager/tools/ProjectPackagerSettingsBeanInfo.java
ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/license.txt
ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/Bundle.properties
ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/NbBasePanel.java
ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/Bundle.properties
ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/ConfigurationLogic.java
ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/license.txt
ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/panels/Bundle.properties
ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/panels/SSBasePanel.java
wsdlextensions.ims/build.xml
wsdlextensions.ims/manifest.mf
wsdlextensions.ims/nbproject/genfiles.properties
wsdlextensions.ims/nbproject/platform.properties
wsdlextensions.ims/nbproject/project.properties
wsdlextensions.ims/nbproject/project.xml
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSAddress.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSBinding.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSComponent.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSMessage.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSOperation.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSQName.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAddressImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAttribute.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSBindingImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSComponentImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSElementFactoryProvider.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSMessageImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSOperationImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Binding.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperation.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationInput.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationOutput.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Bundle.properties
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ServicePort.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/layer.xml
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/wsdl.xsd
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/Bundle.properties
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/IMSBCTemplateProvider.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/template.xml
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/Bundle.properties
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSComponentValidator.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactory.java
wsdlextensions.ims/test/build-unit.xml
wsdlextensions.ims/test/build.xml
wsdlextensions.ims/test/cfg-unit.xml
wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactoryTest.java
wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/SchemaTest.java
wsdlextensions.jdbc/build.xml
wsdlextensions.jdbc/manifest.mf
wsdlextensions.jdbc/nbproject/genfiles.properties
wsdlextensions.jdbc/nbproject/project.properties
wsdlextensions.jdbc/nbproject/project.xml
wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider
wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory
wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory
wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCAddress.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCBinding.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCComponent.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCOperation.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCOperationInput.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCOperationOutput.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCQName.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCAddressImpl.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCAttribute.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCBindingImpl.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCComponentImpl.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCElementFactoryProvider.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCOperationImpl.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCOperationInputImpl.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCOperationOutputImpl.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/Bundle.properties
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/jdbc-ext.xsd
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/layer.xml
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/onalarm16x16.png
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/onmessage16x16.png
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/scope16x16.png
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/throw16.png
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/while16x16.png
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/wsdl.xsd
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/template/Bundle.properties
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/template/JDBCTemplateProvider.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/template/template.xml
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/AddressURL.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/Bundle.properties
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCAddressURL.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCComponentValidator.java
wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCValidatorSchemaFactory.java
wsdlextensions.jdbc/test/build-unit.xml
wsdlextensions.jdbc/test/build.xml
wsdlextensions.jdbc/test/cfg-unit.xml
wsdlextensions.jdbc/test/lib/tests-unit.jar
wsdlextensions.jdbc/test/unit/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCValidatorSchemaFactoryTest.java
wsdlextensions.jdbc/test/unit/src/org/netbeans/modules/wsdlextensions/jdbc/validator/SchemaTest.java
wsdlextensions.mq/build.xml
wsdlextensions.mq/manifest.mf
wsdlextensions.mq/nbproject/genfiles.properties
wsdlextensions.mq/nbproject/project.properties
wsdlextensions.mq/nbproject/project.xml
wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider
wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory
wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory
wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQAddress.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQBinding.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQBody.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQComponent.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQOperation.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQQName.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQAddressImpl.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQAttribute.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQBindingImpl.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQBodyImpl.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQComponentImpl.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQElementFactoryProvider.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQOperationImpl.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/Bundle.properties
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/End_16.png
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/Start_16.png
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/layer.xml
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/mapping16.png
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/mq-ext.xsd
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/onalarm16x16.png
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/onmessage16x16.png
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/scope16x16.png
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/wsdl.xsd
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/template/Bundle.properties
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/template/MQTemplateProvider.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/template/template.xml
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/validator/Bundle.properties
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/validator/MQComponentValidator.java
wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/validator/MQValidatorSchemaFactory.java
wsdlextensions.mq/test/build-unit.xml
wsdlextensions.mq/test/build.xml
wsdlextensions.mq/test/cfg-unit.xml
wsdlextensions.mq/test/unit/src/org/netbeans/modules/wsdlextensions/mq/validator/MQValidatorSchemaFactoryTest.java
wsdlextensions.mq/test/unit/src/org/netbeans/modules/wsdlextensions/mq/validator/SchemaTest.java
     1.1 --- a/.hgtags	Thu Jul 10 19:13:29 2008 +0800
     1.2 +++ b/.hgtags	Thu Jul 10 19:50:39 2008 +0800
     1.3 @@ -1143,3 +1143,4 @@
     1.4  f43ae829ed54b7533eb9c0a2c910c1ae788c5af9 portalpack20_release_tag
     1.5  59a38d531e338b82347a7d59b75872993941d195 javafx_plugin_m2_rc1
     1.6  9a3ec4789854d1c10179d3703ad9ef566be48a31 javafx_plugin_m2_rc2
     1.7 +caa314ed01b10a9b95f28d21d4c1459c307f2ae9 SS_registration
     2.1 --- a/autoproject.java/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
     2.2 +++ b/autoproject.java/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
     2.3 @@ -3,5 +3,5 @@
     2.4  OpenIDE-Module: org.netbeans.modules.autoproject.java
     2.5  OpenIDE-Module-Layer: org/netbeans/modules/autoproject/java/layer.xml
     2.6  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/autoproject/java/Bundle.properties
     2.7 -OpenIDE-Module-Specification-Version: 1.4
     2.8 +OpenIDE-Module-Specification-Version: 1.5
     2.9  
     3.1 --- a/autoproject.java/src/org/netbeans/modules/autoproject/java/ClassPathProviderImpl.java	Thu Jul 10 19:13:29 2008 +0800
     3.2 +++ b/autoproject.java/src/org/netbeans/modules/autoproject/java/ClassPathProviderImpl.java	Thu Jul 10 19:50:39 2008 +0800
     3.3 @@ -207,6 +207,9 @@
     3.4                  }
     3.5                  if (path != null) {
     3.6                      for (String piece : path.split("[:;]")) {
     3.7 +                        if (piece.length() == 0) {
     3.8 +                            continue;
     3.9 +                        }
    3.10                          URL u = FileUtil.urlForArchiveOrDir(new File(piece));
    3.11                          if (u != null) {
    3.12                              newurls.add(u);
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/autoproject.java/test/unit/src/org/netbeans/modules/autoproject/java/ClassPathProviderImplTest.java	Thu Jul 10 19:50:39 2008 +0800
     4.3 @@ -0,0 +1,68 @@
     4.4 +/*
     4.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     4.6 + *
     4.7 + * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
     4.8 + *
     4.9 + * The contents of this file are subject to the terms of either the GNU
    4.10 + * General Public License Version 2 only ("GPL") or the Common
    4.11 + * Development and Distribution License("CDDL") (collectively, the
    4.12 + * "License"). You may not use this file except in compliance with the
    4.13 + * License. You can obtain a copy of the License at
    4.14 + * http://www.netbeans.org/cddl-gplv2.html
    4.15 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    4.16 + * specific language governing permissions and limitations under the
    4.17 + * License.  When distributing the software, include this License Header
    4.18 + * Notice in each file and include the License file at
    4.19 + * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
    4.20 + * particular file as subject to the "Classpath" exception as provided
    4.21 + * by Sun in the GPL Version 2 section of the License file that
    4.22 + * accompanied this code. If applicable, add the following below the
    4.23 + * License Header, with the fields enclosed by brackets [] replaced by
    4.24 + * your own identifying information:
    4.25 + * "Portions Copyrighted [year] [name of copyright owner]"
    4.26 + *
    4.27 + * If you wish your version of this file to be governed by only the CDDL
    4.28 + * or only the GPL Version 2, indicate your decision by adding
    4.29 + * "[Contributor] elects to include this software in this distribution
    4.30 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
    4.31 + * single choice of license, a recipient has the option to distribute
    4.32 + * your version of this file under either the CDDL, the GPL Version 2 or
    4.33 + * to extend the choice of license to its licensees as provided above.
    4.34 + * However, if you add GPL Version 2 code and therefore, elected the GPL
    4.35 + * Version 2 license, then the option applies only if the new code is
    4.36 + * made subject to such option by the copyright holder.
    4.37 + *
    4.38 + * Contributor(s):
    4.39 + *
    4.40 + * Portions Copyrighted 2008 Sun Microsystems, Inc.
    4.41 + */
    4.42 +
    4.43 +package org.netbeans.modules.autoproject.java;
    4.44 +
    4.45 +import java.io.File;
    4.46 +import java.util.Collections;
    4.47 +import org.netbeans.api.java.classpath.ClassPath;
    4.48 +import org.netbeans.junit.NbTestCase;
    4.49 +import org.netbeans.modules.autoproject.spi.Cache;
    4.50 +import org.netbeans.spi.java.classpath.ClassPathProvider;
    4.51 +import org.openide.filesystems.FileObject;
    4.52 +import org.openide.filesystems.FileUtil;
    4.53 +
    4.54 +public class ClassPathProviderImplTest extends NbTestCase {
    4.55 +
    4.56 +    public ClassPathProviderImplTest(String n) {
    4.57 +        super(n);
    4.58 +    }
    4.59 +
    4.60 +    public void testEmptyClasspath() throws Exception {
    4.61 +        clearWorkDir();
    4.62 +        File r = getWorkDir();
    4.63 +        FileObject fo = FileUtil.toFileObject(r);
    4.64 +        String s = r.getAbsolutePath();
    4.65 +        Cache.put(s + JavaCacheConstants.SOURCE, s);
    4.66 +        Cache.put(s + JavaCacheConstants.CLASSPATH, "");
    4.67 +        ClassPathProvider cpp = new ClassPathProviderImpl(null);
    4.68 +        assertEquals(Collections.emptyList(), cpp.findClassPath(fo, ClassPath.COMPILE).entries());
    4.69 +    }
    4.70 +
    4.71 +}
     5.1 --- a/bluej-suite/bluej-ui/build.xml	Thu Jul 10 19:13:29 2008 +0800
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,17 +0,0 @@
     5.4 -<?xml version="1.0" encoding="UTF-8"?>
     5.5 -<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
     5.6 -<!-- for some information on what you could do (e.g. targets to override). -->
     5.7 -<!-- If you delete this file and reopen the project it will be recreated. -->
     5.8 -<project name="org.netbeans.bluej.ui" default="netbeans" basedir=".">
     5.9 -    <description>Builds, tests, and runs the project org.netbeans.bluej.ui.</description>
    5.10 -    <property file="../external-references.properties"/>
    5.11 -    
    5.12 -    <import file="nbproject/build-impl.xml"/>
    5.13 -    <target name="branding" depends="init" if="branding.token">
    5.14 -        <taskdef name="branding" classname="org.netbeans.nbbuild.Branding" classpath="${nb_all_2_level}/nbbuild/nbantext.jar"/>
    5.15 -        <property name="branding.dir" location="branding"/>
    5.16 -        <mkdir dir="${cluster}"/>
    5.17 -        <branding cluster="${cluster}" overrides="${branding.dir}" token="${branding.token}"/>
    5.18 -    </target>
    5.19 -    
    5.20 -</project>
     6.1 --- a/bluej-suite/bluej-ui/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,8 +0,0 @@
     6.4 -Manifest-Version: 1.0
     6.5 -OpenIDE-Module: org.netbeans.bluej.ui
     6.6 -OpenIDE-Module-Install: org/netbeans/bluej/ui/Installer.class
     6.7 -OpenIDE-Module-Layer: org/netbeans/bluej/ui/layer.xml
     6.8 -OpenIDE-Module-Localizing-Bundle: org/netbeans/bluej/ui/Bundle.properties
     6.9 -OpenIDE-Module-Specification-Version: 1.1
    6.10 -AutoUpdate-Show-In-Client: false
    6.11 -
     7.1 --- a/bluej-suite/bluej-ui/nbproject/build-impl.xml	Thu Jul 10 19:13:29 2008 +0800
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,30 +0,0 @@
     7.4 -<?xml version="1.0" encoding="UTF-8"?>
     7.5 -<!--
     7.6 -*** GENERATED FROM project.xml - DO NOT EDIT  ***
     7.7 -***         EDIT ../build.xml INSTEAD         ***
     7.8 --->
     7.9 -<project name="org.netbeans.bluej.ui-impl" basedir="..">
    7.10 -    <property file="nbproject/private/suite-private.properties"/>
    7.11 -    <property file="nbproject/suite.properties"/>
    7.12 -    <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
    7.13 -    <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
    7.14 -    <property file="${suite.dir}/nbproject/platform.properties"/>
    7.15 -    <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
    7.16 -        <attribute name="name"/>
    7.17 -        <attribute name="value"/>
    7.18 -        <sequential>
    7.19 -            <property name="@{name}" value="${@{value}}"/>
    7.20 -        </sequential>
    7.21 -    </macrodef>
    7.22 -    <property file="${user.properties.file}"/>
    7.23 -    <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
    7.24 -    <nbmproject2:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
    7.25 -    <fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'">
    7.26 -        <condition>
    7.27 -            <not>
    7.28 -                <available file="${harness.dir}" type="dir"/>
    7.29 -            </not>
    7.30 -        </condition>
    7.31 -    </fail>
    7.32 -    <import file="${harness.dir}/build.xml"/>
    7.33 -</project>
     8.1 --- a/bluej-suite/bluej-ui/nbproject/genfiles.properties	Thu Jul 10 19:13:29 2008 +0800
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,8 +0,0 @@
     8.4 -build.xml.data.CRC32=eecfe04a
     8.5 -build.xml.script.CRC32=4f1e11fd
     8.6 -build.xml.stylesheet.CRC32=05353c81
     8.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     8.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     8.9 -nbproject/build-impl.xml.data.CRC32=b0bb03ca
    8.10 -nbproject/build-impl.xml.script.CRC32=6ecbc845
    8.11 -nbproject/build-impl.xml.stylesheet.CRC32=deb65f65
     9.1 --- a/bluej-suite/bluej-ui/nbproject/project.properties	Thu Jul 10 19:13:29 2008 +0800
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,4 +0,0 @@
     9.4 -is.eager=true
     9.5 -license.file=../../../nbbuild/standard-nbm-license.txt
     9.6 -nbm.homepage=http://www.bluej.org/netbeans
     9.7 -nbm.module.author=Milos Kleint, Michael Koelling, Ian Utting
    10.1 --- a/bluej-suite/bluej-ui/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,96 +0,0 @@
    10.4 -<?xml version="1.0" encoding="UTF-8"?>
    10.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
    10.6 -    <type>org.netbeans.modules.apisupport.project</type>
    10.7 -    <configuration>
    10.8 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
    10.9 -            <code-name-base>org.netbeans.bluej.ui</code-name-base>
   10.10 -            <suite-component/>
   10.11 -            <module-dependencies>
   10.12 -                <dependency>
   10.13 -                    <code-name-base>org.jdesktop.layout</code-name-base>
   10.14 -                    <build-prerequisite/>
   10.15 -                    <compile-dependency/>
   10.16 -                    <run-dependency>
   10.17 -                        <release-version>1</release-version>
   10.18 -                        <specification-version>1.3.1</specification-version>
   10.19 -                    </run-dependency>
   10.20 -                </dependency>
   10.21 -                <dependency>
   10.22 -                    <code-name-base>org.netbeans.bluej</code-name-base>
   10.23 -                    <build-prerequisite/>
   10.24 -                    <compile-dependency/>
   10.25 -                    <run-dependency>
   10.26 -                        <specification-version>1.0</specification-version>
   10.27 -                    </run-dependency>
   10.28 -                </dependency>
   10.29 -                <dependency>
   10.30 -                    <code-name-base>org.netbeans.modules.projectapi</code-name-base>
   10.31 -                    <build-prerequisite/>
   10.32 -                    <compile-dependency/>
   10.33 -                    <run-dependency>
   10.34 -                        <release-version>1</release-version>
   10.35 -                        <specification-version>1.9.1</specification-version>
   10.36 -                    </run-dependency>
   10.37 -                </dependency>
   10.38 -                <dependency>
   10.39 -                    <code-name-base>org.netbeans.modules.projectuiapi</code-name-base>
   10.40 -                    <build-prerequisite/>
   10.41 -                    <compile-dependency/>
   10.42 -                    <run-dependency>
   10.43 -                        <release-version>1</release-version>
   10.44 -                        <specification-version>1.13.1.5</specification-version>
   10.45 -                    </run-dependency>
   10.46 -                </dependency>
   10.47 -                <dependency>
   10.48 -                    <code-name-base>org.openide.awt</code-name-base>
   10.49 -                    <build-prerequisite/>
   10.50 -                    <compile-dependency/>
   10.51 -                    <run-dependency>
   10.52 -                        <specification-version>6.7.1</specification-version>
   10.53 -                    </run-dependency>
   10.54 -                </dependency>
   10.55 -                <dependency>
   10.56 -                    <code-name-base>org.openide.explorer</code-name-base>
   10.57 -                    <build-prerequisite/>
   10.58 -                    <compile-dependency/>
   10.59 -                    <run-dependency>
   10.60 -                        <specification-version>6.8</specification-version>
   10.61 -                    </run-dependency>
   10.62 -                </dependency>
   10.63 -                <dependency>
   10.64 -                    <code-name-base>org.openide.modules</code-name-base>
   10.65 -                    <build-prerequisite/>
   10.66 -                    <compile-dependency/>
   10.67 -                    <run-dependency>
   10.68 -                        <specification-version>6.5.1</specification-version>
   10.69 -                    </run-dependency>
   10.70 -                </dependency>
   10.71 -                <dependency>
   10.72 -                    <code-name-base>org.openide.nodes</code-name-base>
   10.73 -                    <build-prerequisite/>
   10.74 -                    <compile-dependency/>
   10.75 -                    <run-dependency>
   10.76 -                        <specification-version>6.7.1</specification-version>
   10.77 -                    </run-dependency>
   10.78 -                </dependency>
   10.79 -                <dependency>
   10.80 -                    <code-name-base>org.openide.util</code-name-base>
   10.81 -                    <build-prerequisite/>
   10.82 -                    <compile-dependency/>
   10.83 -                    <run-dependency>
   10.84 -                        <specification-version>6.8.1</specification-version>
   10.85 -                    </run-dependency>
   10.86 -                </dependency>
   10.87 -                <dependency>
   10.88 -                    <code-name-base>org.openide.windows</code-name-base>
   10.89 -                    <build-prerequisite/>
   10.90 -                    <compile-dependency/>
   10.91 -                    <run-dependency>
   10.92 -                        <specification-version>6.5.1</specification-version>
   10.93 -                    </run-dependency>
   10.94 -                </dependency>
   10.95 -            </module-dependencies>
   10.96 -            <public-packages/>
   10.97 -        </data>
   10.98 -    </configuration>
   10.99 -</project>
    11.1 --- a/bluej-suite/bluej-ui/nbproject/suite.properties	Thu Jul 10 19:13:29 2008 +0800
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,4 +0,0 @@
    11.4 -suite.dir=${basedir}/..
    11.5 -nbm.needs.restart=true
    11.6 -#cluster=${suite.dir}/build/${bluej_cluster}
    11.7 -cluster=${suite.dir}/build/nbbluej6.0
    12.1 --- a/bluej-suite/bluej-ui/src/META-INF/services/org.netbeans.bluej.api.BluejOpenCloseCallback	Thu Jul 10 19:13:29 2008 +0800
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,1 +0,0 @@
    12.4 -org.netbeans.bluej.ui.window.OpenCloseImpl
    12.5 \ No newline at end of file
    13.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/BlueJViewAction.java	Thu Jul 10 19:13:29 2008 +0800
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,75 +0,0 @@
    13.4 -/*
    13.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    13.6 - *
    13.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    13.8 - *
    13.9 - * The contents of this file are subject to the terms of either the GNU
   13.10 - * General Public License Version 2 only ("GPL") or the Common
   13.11 - * Development and Distribution License("CDDL") (collectively, the
   13.12 - * "License"). You may not use this file except in compliance with the
   13.13 - * License. You can obtain a copy of the License at
   13.14 - * http://www.netbeans.org/cddl-gplv2.html
   13.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   13.16 - * specific language governing permissions and limitations under the
   13.17 - * License.  When distributing the software, include this License Header
   13.18 - * Notice in each file and include the License file at
   13.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   13.20 - * particular file as subject to the "Classpath" exception as provided
   13.21 - * by Sun in the GPL Version 2 section of the License file that
   13.22 - * accompanied this code. If applicable, add the following below the
   13.23 - * License Header, with the fields enclosed by brackets [] replaced by
   13.24 - * your own identifying information:
   13.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   13.26 - *
   13.27 - * Contributor(s):
   13.28 - *
   13.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   13.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   13.31 - * Microsystems, Inc. All Rights Reserved.
   13.32 - *
   13.33 - * If you wish your version of this file to be governed by only the CDDL
   13.34 - * or only the GPL Version 2, indicate your decision by adding
   13.35 - * "[Contributor] elects to include this software in this distribution
   13.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   13.37 - * single choice of license, a recipient has the option to distribute
   13.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   13.39 - * to extend the choice of license to its licensees as provided above.
   13.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   13.41 - * Version 2 license, then the option applies only if the new code is
   13.42 - * made subject to such option by the copyright holder.
   13.43 - */
   13.44 -package org.netbeans.bluej.ui;
   13.45 -
   13.46 -import javax.swing.Action;
   13.47 -import org.netbeans.bluej.ui.window.BluejViewTopComponent;
   13.48 -import org.openide.util.HelpCtx;
   13.49 -import org.openide.util.NbBundle;
   13.50 -import org.openide.util.actions.CallableSystemAction;
   13.51 -
   13.52 -public final class BlueJViewAction extends CallableSystemAction {
   13.53 -
   13.54 -    public BlueJViewAction() {
   13.55 -    }
   13.56 -
   13.57 -    public void performAction() {
   13.58 -        BluejViewTopComponent.findInstance().open();
   13.59 -        BluejViewTopComponent.findInstance().requestActive();
   13.60 -    }
   13.61 -    
   13.62 -    public String getName() {
   13.63 -        return NbBundle.getMessage(BlueJViewAction.class, "CTL_BlueJViewAction");
   13.64 -    }
   13.65 -    
   13.66 -    protected String iconResource() {
   13.67 -        return "org/netbeans/bluej/ui/window/bluejview.png"; // NOI18N
   13.68 -    }
   13.69 -    
   13.70 -    public HelpCtx getHelpCtx() {
   13.71 -        return HelpCtx.DEFAULT_HELP;
   13.72 -    }
   13.73 -    
   13.74 -    protected boolean asynchronous() {
   13.75 -        return false;
   13.76 -    }
   13.77 -    
   13.78 -}
    14.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/BluejViewTopComponentSettings.xml	Thu Jul 10 19:13:29 2008 +0800
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,8 +0,0 @@
    14.4 -<?xml version="1.0" encoding="UTF-8"?>
    14.5 -<!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd">
    14.6 -<settings version="1.0">
    14.7 -    <module name="org.netbeans.bluej.ui" spec="1.0"/>
    14.8 -    <instanceof class="org.openide.windows.TopComponent"/>
    14.9 -    <instanceof class="org.netbeans.bluej.ui.window.BluejViewTopComponent"/>
   14.10 -    <instance class="org.netbeans.bluej.ui.window.BluejViewTopComponent" method="getDefault"/>
   14.11 -</settings>
    15.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/BluejViewTopComponentWstcref.xml	Thu Jul 10 19:13:29 2008 +0800
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,7 +0,0 @@
    15.4 -<?xml version="1.0" encoding="UTF-8"?>
    15.5 -<!DOCTYPE tc-ref PUBLIC "-//NetBeans//DTD Top Component in Mode Properties 2.0//EN" "http://www.netbeans.org/dtds/tc-ref2_0.dtd">
    15.6 -<tc-ref version="2.0" >
    15.7 -    <module name="org.netbeans.bluej.ui" spec="1.0"/>
    15.8 -    <tc-id id="BluejViewTopComponent"/>
    15.9 -    <state opened="false"/>
   15.10 -</tc-ref>
    16.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,2 +0,0 @@
    16.4 -CTL_BlueJViewAction=&BlueJ View
    16.5 -OpenIDE-Module-Name=BlueJ Custom UI
    17.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/Installer.java	Thu Jul 10 19:13:29 2008 +0800
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,65 +0,0 @@
    17.4 -/*
    17.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    17.6 - *
    17.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    17.8 - *
    17.9 - * The contents of this file are subject to the terms of either the GNU
   17.10 - * General Public License Version 2 only ("GPL") or the Common
   17.11 - * Development and Distribution License("CDDL") (collectively, the
   17.12 - * "License"). You may not use this file except in compliance with the
   17.13 - * License. You can obtain a copy of the License at
   17.14 - * http://www.netbeans.org/cddl-gplv2.html
   17.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   17.16 - * specific language governing permissions and limitations under the
   17.17 - * License.  When distributing the software, include this License Header
   17.18 - * Notice in each file and include the License file at
   17.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   17.20 - * particular file as subject to the "Classpath" exception as provided
   17.21 - * by Sun in the GPL Version 2 section of the License file that
   17.22 - * accompanied this code. If applicable, add the following below the
   17.23 - * License Header, with the fields enclosed by brackets [] replaced by
   17.24 - * your own identifying information:
   17.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   17.26 - *
   17.27 - * Contributor(s):
   17.28 - *
   17.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   17.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   17.31 - * Microsystems, Inc. All Rights Reserved.
   17.32 - *
   17.33 - * If you wish your version of this file to be governed by only the CDDL
   17.34 - * or only the GPL Version 2, indicate your decision by adding
   17.35 - * "[Contributor] elects to include this software in this distribution
   17.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   17.37 - * single choice of license, a recipient has the option to distribute
   17.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   17.39 - * to extend the choice of license to its licensees as provided above.
   17.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   17.41 - * Version 2 license, then the option applies only if the new code is
   17.42 - * made subject to such option by the copyright holder.
   17.43 - */
   17.44 -package org.netbeans.bluej.ui;
   17.45 -
   17.46 -import org.netbeans.bluej.ui.window.OpenedBluejProjects;
   17.47 -import org.openide.modules.ModuleInstall;
   17.48 -
   17.49 -/**
   17.50 - * Manages a module's lifecycle. Remember that an installer is optional and
   17.51 - * often not needed at all.
   17.52 - */
   17.53 -public class Installer extends ModuleInstall {
   17.54 -    public void restored() {
   17.55 -        // By default, do nothing.
   17.56 -        // Put your startup code here.
   17.57 -        //TODO what is this doing, possibly remote
   17.58 -        System.setProperty("no.set.rowheight", Boolean.TRUE.toString());
   17.59 -        OpenedBluejProjects.getInstance().addNotify();
   17.60 -    }
   17.61 -
   17.62 -    public void uninstalled() {
   17.63 -        super.uninstalled();
   17.64 -        OpenedBluejProjects.getInstance().removeNotify();
   17.65 -    }
   17.66 -    
   17.67 -    
   17.68 -}
    18.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/layer.xml	Thu Jul 10 19:13:29 2008 +0800
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,34 +0,0 @@
    18.4 -<?xml version="1.0" encoding="UTF-8"?>
    18.5 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
    18.6 -<filesystem>
    18.7 -    <folder name="Actions">
    18.8 -        <folder name="Window">
    18.9 -            <file name="org-netbeans-bluej-ui-BlueJViewAction.instance">
   18.10 -                <attr name="instanceClass" stringvalue="org.netbeans.bluej.ui.BlueJViewAction"/>
   18.11 -            </file>
   18.12 -        </folder>
   18.13 -    </folder>
   18.14 -    <folder name="Menu">
   18.15 -        <folder name="Window">
   18.16 -            <file name="org-netbeans-bluej-ui-BlueJViewAction.shadow">
   18.17 -                <attr name="position" intvalue="1111"/>                
   18.18 -                <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-bluej-ui-BlueJViewAction.instance"/>
   18.19 -            </file>
   18.20 -        </folder>
   18.21 -    </folder>
   18.22 -    <folder name="Shortcuts">
   18.23 -        <file name="D-9.shadow">
   18.24 -            <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-bluej-ui-BlueJViewAction.instance"/>
   18.25 -        </file>
   18.26 -    </folder>
   18.27 -    <folder name="Windows2">
   18.28 -        <folder name="Components">
   18.29 -            <file name="BluejViewTopComponent.settings" url="BluejViewTopComponentSettings.xml"/>
   18.30 -        </folder>
   18.31 -        <folder name="Modes">
   18.32 -            <folder name="explorer">
   18.33 -                <file name="BluejViewTopComponent.wstcref" url="BluejViewTopComponentWstcref.xml"/>
   18.34 -            </folder>
   18.35 -        </folder>
   18.36 -    </folder>
   18.37 -</filesystem>
    19.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/BluejViewTopComponent.form	Thu Jul 10 19:13:29 2008 +0800
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,76 +0,0 @@
    19.4 -<?xml version="1.0" encoding="UTF-8" ?>
    19.5 -
    19.6 -<Form version="1.3">
    19.7 -  <AuxValues>
    19.8 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
    19.9 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
   19.10 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
   19.11 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
   19.12 -    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
   19.13 -  </AuxValues>
   19.14 -
   19.15 -  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
   19.16 -  <SubComponents>
   19.17 -    <Container class="javax.swing.JPanel" name="pnlToolbar">
   19.18 -      <Properties>
   19.19 -        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
   19.20 -          <Dimension value="[200, 10]"/>
   19.21 -        </Property>
   19.22 -      </Properties>
   19.23 -      <Constraints>
   19.24 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
   19.25 -          <BorderConstraints direction="North"/>
   19.26 -        </Constraint>
   19.27 -      </Constraints>
   19.28 -
   19.29 -      <Layout>
   19.30 -        <DimensionLayout dim="0">
   19.31 -          <Group type="103" groupAlignment="0" attributes="0">
   19.32 -              <Group type="102" attributes="0">
   19.33 -                  <EmptySpace min="-2" max="-2" attributes="0"/>
   19.34 -                  <Component id="lblProject" min="-2" max="-2" attributes="0"/>
   19.35 -                  <EmptySpace min="-2" max="-2" attributes="0"/>
   19.36 -                  <Component id="comProject" pref="219" max="32767" attributes="0"/>
   19.37 -                  <EmptySpace min="-2" max="-2" attributes="0"/>
   19.38 -                  <Component id="btnUp" min="-2" max="-2" attributes="0"/>
   19.39 -                  <EmptySpace min="-2" max="-2" attributes="0"/>
   19.40 -              </Group>
   19.41 -          </Group>
   19.42 -        </DimensionLayout>
   19.43 -        <DimensionLayout dim="1">
   19.44 -          <Group type="103" groupAlignment="0" attributes="0">
   19.45 -              <Group type="102" attributes="0">
   19.46 -                  <EmptySpace min="6" pref="6" max="6" attributes="0"/>
   19.47 -                  <Group type="103" groupAlignment="3" attributes="0">
   19.48 -                      <Component id="lblProject" alignment="3" min="-2" max="-2" attributes="0"/>
   19.49 -                      <Component id="btnUp" alignment="3" min="-2" max="-2" attributes="0"/>
   19.50 -                      <Component id="comProject" alignment="3" min="-2" max="-2" attributes="0"/>
   19.51 -                  </Group>
   19.52 -              </Group>
   19.53 -          </Group>
   19.54 -        </DimensionLayout>
   19.55 -      </Layout>
   19.56 -      <SubComponents>
   19.57 -        <Component class="javax.swing.JLabel" name="lblProject">
   19.58 -          <Properties>
   19.59 -            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   19.60 -              <ComponentRef name="comProject"/>
   19.61 -            </Property>
   19.62 -            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   19.63 -              <ResourceString bundle="org/netbeans/bluej/ui/window/Bundle.properties" key="lblProject.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   19.64 -            </Property>
   19.65 -          </Properties>
   19.66 -        </Component>
   19.67 -        <Component class="javax.swing.JComboBox" name="comProject">
   19.68 -        </Component>
   19.69 -        <Component class="javax.swing.JButton" name="btnUp">
   19.70 -          <Properties>
   19.71 -            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   19.72 -              <ResourceString bundle="org/netbeans/bluej/ui/window/Bundle.properties" key="btnUp.label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   19.73 -            </Property>
   19.74 -          </Properties>
   19.75 -        </Component>
   19.76 -      </SubComponents>
   19.77 -    </Container>
   19.78 -  </SubComponents>
   19.79 -</Form>
    20.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/BluejViewTopComponent.java	Thu Jul 10 19:13:29 2008 +0800
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,301 +0,0 @@
    20.4 -/*
    20.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    20.6 - *
    20.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    20.8 - *
    20.9 - * The contents of this file are subject to the terms of either the GNU
   20.10 - * General Public License Version 2 only ("GPL") or the Common
   20.11 - * Development and Distribution License("CDDL") (collectively, the
   20.12 - * "License"). You may not use this file except in compliance with the
   20.13 - * License. You can obtain a copy of the License at
   20.14 - * http://www.netbeans.org/cddl-gplv2.html
   20.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   20.16 - * specific language governing permissions and limitations under the
   20.17 - * License.  When distributing the software, include this License Header
   20.18 - * Notice in each file and include the License file at
   20.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   20.20 - * particular file as subject to the "Classpath" exception as provided
   20.21 - * by Sun in the GPL Version 2 section of the License file that
   20.22 - * accompanied this code. If applicable, add the following below the
   20.23 - * License Header, with the fields enclosed by brackets [] replaced by
   20.24 - * your own identifying information:
   20.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   20.26 - *
   20.27 - * Contributor(s):
   20.28 - *
   20.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   20.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   20.31 - * Microsystems, Inc. All Rights Reserved.
   20.32 - *
   20.33 - * If you wish your version of this file to be governed by only the CDDL
   20.34 - * or only the GPL Version 2, indicate your decision by adding
   20.35 - * "[Contributor] elects to include this software in this distribution
   20.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   20.37 - * single choice of license, a recipient has the option to distribute
   20.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   20.39 - * to extend the choice of license to its licensees as provided above.
   20.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   20.41 - * Version 2 license, then the option applies only if the new code is
   20.42 - * made subject to such option by the copyright holder.
   20.43 - */
   20.44 -package org.netbeans.bluej.ui.window;
   20.45 -
   20.46 -import java.awt.BorderLayout;
   20.47 -import java.awt.Dimension;
   20.48 -import java.awt.event.ActionEvent;
   20.49 -import java.awt.event.ActionListener;
   20.50 -import java.awt.event.ItemEvent;
   20.51 -import java.awt.event.ItemListener;
   20.52 -import java.beans.PropertyChangeEvent;
   20.53 -import java.beans.PropertyChangeListener;
   20.54 -import java.io.Serializable;
   20.55 -import java.util.Arrays;
   20.56 -import javax.swing.ActionMap;
   20.57 -import javax.swing.BorderFactory;
   20.58 -import javax.swing.DefaultComboBoxModel;
   20.59 -import javax.swing.JButton;
   20.60 -import javax.swing.JComboBox;
   20.61 -import javax.swing.JList;
   20.62 -import javax.swing.JPanel;
   20.63 -import javax.swing.text.DefaultEditorKit;
   20.64 -import org.netbeans.api.project.Project;
   20.65 -import org.netbeans.api.project.ui.OpenProjects;
   20.66 -import org.netbeans.bluej.api.BluejLogicalViewProvider;
   20.67 -import org.openide.ErrorManager;
   20.68 -import org.openide.explorer.ExplorerManager;
   20.69 -import org.openide.explorer.ExplorerUtils;
   20.70 -import org.openide.explorer.view.ListView;
   20.71 -import org.openide.nodes.AbstractNode;
   20.72 -import org.openide.nodes.Children;
   20.73 -import org.openide.nodes.Node;
   20.74 -import org.openide.util.Lookup;
   20.75 -import org.openide.util.NbBundle;
   20.76 -import org.openide.util.Utilities;
   20.77 -import org.openide.util.lookup.Lookups;
   20.78 -import org.openide.util.lookup.ProxyLookup;
   20.79 -import org.openide.windows.TopComponent;
   20.80 -import org.openide.windows.WindowManager;
   20.81 -
   20.82 -/**
   20.83 - * Top component which displays something.
   20.84 - */
   20.85 -public final class BluejViewTopComponent extends TopComponent implements ExplorerManager.Provider {
   20.86 -    
   20.87 -    private static final long serialVersionUID = 1L;
   20.88 -    
   20.89 -    private static BluejViewTopComponent instance;
   20.90 -    /** path to the icon used by the component and its open action */
   20.91 -    static final String ICON_PATH = "org/netbeans/bluej/ui/window/bluejview.png"; // NOI18N
   20.92 -    
   20.93 -    private static final String PREFERRED_ID = "BluejViewTopComponent"; // NOI18N
   20.94 -    private ListView view;
   20.95 -    private ExplorerManager manager;
   20.96 -    
   20.97 -    private ItemListener itemListener;
   20.98 -    private LookupProvider lookProvider;
   20.99 -    
  20.100 -    private BluejViewTopComponent() {
  20.101 -        manager = new ExplorerManager();
  20.102 -        ActionMap map = getActionMap();
  20.103 -        map.put(DefaultEditorKit.copyAction, ExplorerUtils.actionCopy(manager));
  20.104 -        map.put(DefaultEditorKit.cutAction, ExplorerUtils.actionCut(manager));
  20.105 -        map.put(DefaultEditorKit.pasteAction, ExplorerUtils.actionPaste(manager));
  20.106 -        map.put("delete", ExplorerUtils.actionDelete(manager, true)); // NOI18N
  20.107 -
  20.108 -        initComponents();
  20.109 -        setName(NbBundle.getMessage(BluejViewTopComponent.class, "CTL_BluejViewTopComponent"));
  20.110 -        setToolTipText(NbBundle.getMessage(BluejViewTopComponent.class, "HINT_BluejViewTopComponent"));
  20.111 -        setIcon(Utilities.loadImage(ICON_PATH, true));
  20.112 -        view = new ListView() {
  20.113 -            protected JList createList() {
  20.114 -                JList list = super.createList();
  20.115 -                list.setCellRenderer(new HackedNodeRenderer());
  20.116 -                return list;
  20.117 -            }
  20.118 -        };
  20.119 -        add(view, BorderLayout.CENTER);
  20.120 -        lookProvider = new LookupProvider();
  20.121 -        associateLookup( new ProxyLookup(new Lookup[] {
  20.122 -            ExplorerUtils.createLookup(manager, map),
  20.123 -            Lookups.proxy(lookProvider)
  20.124 -        }));
  20.125 -        btnUp.addActionListener(new ActionListener() {
  20.126 -            public void actionPerformed(ActionEvent e) {
  20.127 -                Node nd = manager.getExploredContext();
  20.128 -                if (nd.getParentNode() != null) {
  20.129 -                    manager.setExploredContext(nd.getParentNode());
  20.130 -                }
  20.131 -            }
  20.132 -        });
  20.133 -        manager.addPropertyChangeListener(new PropertyChangeListener() {
  20.134 -            public void propertyChange(PropertyChangeEvent evt) {
  20.135 -                if (ExplorerManager.PROP_EXPLORED_CONTEXT.equals(evt.getPropertyName())) {
  20.136 -                    Node cont = manager.getExploredContext();
  20.137 -                    btnUp.setEnabled(cont != null && cont.getParentNode() != null);
  20.138 -                }
  20.139 -            }
  20.140 -        });
  20.141 -        
  20.142 -        
  20.143 -        comProject.setEditable(false);
  20.144 -        comProject.setMinimumSize(new Dimension(150, 22));
  20.145 -        comProject.setPreferredSize(new Dimension(150, 22));
  20.146 -        itemListener = new ItemListener() {
  20.147 -            public void itemStateChanged(ItemEvent e) {
  20.148 -                // change main project and selected project in the BJ view
  20.149 -                if (e.getStateChange() == ItemEvent.SELECTED ||
  20.150 -                    (e.getStateChange() == ItemEvent.DESELECTED && 
  20.151 -                     e.getItemSelectable().getSelectedObjects() == null ||
  20.152 -                     e.getItemSelectable().getSelectedObjects().length == 0)) {
  20.153 -                    updateContent();
  20.154 -                }
  20.155 -            }
  20.156 -        };
  20.157 -    }
  20.158 -    
  20.159 -    public ExplorerManager getExplorerManager() {
  20.160 -        return manager;
  20.161 -    }
  20.162 -    
  20.163 -    private void updateContent() {
  20.164 -        Project project = OpenedBluejProjects.getInstance().getSelectedProject();
  20.165 -        if ( project != null && Arrays.asList(OpenProjects.getDefault().getOpenProjects()).contains(project)) {
  20.166 -            // if it's not in the list of opened projects we probably are closing multiple projects as once (or shutting down)
  20.167 -            lookProvider.setLookup(Lookups.singleton(project));
  20.168 -            BluejLogicalViewProvider provider = (BluejLogicalViewProvider) project.getLookup().lookup(BluejLogicalViewProvider.class);
  20.169 -            manager.setRootContext(provider.getBigIconRootNode());
  20.170 -            Project np = (Project)getLookup().lookup(Project.class);
  20.171 -            OpenProjects.getDefault().setMainProject(np);
  20.172 -        } else {
  20.173 -            lookProvider.setLookup(Lookup.EMPTY);
  20.174 -            manager.setRootContext(new AbstractNode(Children.LEAF));
  20.175 -            getLookup().lookup(Project.class);
  20.176 -        }
  20.177 -    }
  20.178 -    
  20.179 -    /** This method is called from within the constructor to
  20.180 -     * initialize the form.
  20.181 -     * WARNING: Do NOT modify this code. The content of this method is
  20.182 -     * always regenerated by the Form Editor.
  20.183 -     */
  20.184 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  20.185 -    private void initComponents() {
  20.186 -        pnlToolbar = new javax.swing.JPanel();
  20.187 -        lblProject = new javax.swing.JLabel();
  20.188 -        comProject = new javax.swing.JComboBox();
  20.189 -        btnUp = new javax.swing.JButton();
  20.190 -
  20.191 -        setLayout(new java.awt.BorderLayout());
  20.192 -
  20.193 -        pnlToolbar.setMinimumSize(new java.awt.Dimension(200, 10));
  20.194 -        lblProject.setLabelFor(comProject);
  20.195 -        org.openide.awt.Mnemonics.setLocalizedText(lblProject, org.openide.util.NbBundle.getMessage(BluejViewTopComponent.class, "lblProject.text"));
  20.196 -
  20.197 -        org.openide.awt.Mnemonics.setLocalizedText(btnUp, org.openide.util.NbBundle.getMessage(BluejViewTopComponent.class, "btnUp.label"));
  20.198 -
  20.199 -        org.jdesktop.layout.GroupLayout pnlToolbarLayout = new org.jdesktop.layout.GroupLayout(pnlToolbar);
  20.200 -        pnlToolbar.setLayout(pnlToolbarLayout);
  20.201 -        pnlToolbarLayout.setHorizontalGroup(
  20.202 -            pnlToolbarLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  20.203 -            .add(pnlToolbarLayout.createSequentialGroup()
  20.204 -                .addContainerGap()
  20.205 -                .add(lblProject)
  20.206 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  20.207 -                .add(comProject, 0, 219, Short.MAX_VALUE)
  20.208 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  20.209 -                .add(btnUp)
  20.210 -                .addContainerGap())
  20.211 -        );
  20.212 -        pnlToolbarLayout.setVerticalGroup(
  20.213 -            pnlToolbarLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  20.214 -            .add(pnlToolbarLayout.createSequentialGroup()
  20.215 -                .add(6, 6, 6)
  20.216 -                .add(pnlToolbarLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
  20.217 -                    .add(lblProject)
  20.218 -                    .add(btnUp)
  20.219 -                    .add(comProject, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
  20.220 -        );
  20.221 -        add(pnlToolbar, java.awt.BorderLayout.NORTH);
  20.222 -
  20.223 -    }// </editor-fold>//GEN-END:initComponents
  20.224 -    
  20.225 -    
  20.226 -    // Variables declaration - do not modify//GEN-BEGIN:variables
  20.227 -    private javax.swing.JButton btnUp;
  20.228 -    private javax.swing.JComboBox comProject;
  20.229 -    private javax.swing.JLabel lblProject;
  20.230 -    private javax.swing.JPanel pnlToolbar;
  20.231 -    // End of variables declaration//GEN-END:variables
  20.232 -    
  20.233 -    /**
  20.234 -     * Gets default instance. Do not use directly: reserved for *.settings files only,
  20.235 -     * i.e. deserialization routines; otherwise you could get a non-deserialized instance.
  20.236 -     * To obtain the singleton instance, use {@link findInstance}.
  20.237 -     */
  20.238 -    public static synchronized BluejViewTopComponent getDefault() {
  20.239 -        if (instance == null) {
  20.240 -            instance = new BluejViewTopComponent();
  20.241 -        }
  20.242 -        return instance;
  20.243 -    }
  20.244 -    
  20.245 -    /**
  20.246 -     * Obtain the BluejViewTopComponent instance. Never call {@link #getDefault} directly!
  20.247 -     */
  20.248 -    public static synchronized BluejViewTopComponent findInstance() {
  20.249 -        TopComponent win = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
  20.250 -        if (win == null) {
  20.251 -            ErrorManager.getDefault().log(ErrorManager.WARNING, "Cannot find BluejView component. It will not be located properly in the window system."); // NOI18N
  20.252 -            return getDefault();
  20.253 -        }
  20.254 -        if (win instanceof BluejViewTopComponent) {
  20.255 -            return (BluejViewTopComponent)win;
  20.256 -        }
  20.257 -        ErrorManager.getDefault().log(ErrorManager.WARNING, "There seem to be multiple components with the '" + PREFERRED_ID + "' ID. That is a potential source of errors and unexpected behavior."); // NOI18N
  20.258 -        return getDefault();
  20.259 -    }
  20.260 -    
  20.261 -    public int getPersistenceType() {
  20.262 -        return TopComponent.PERSISTENCE_ALWAYS;
  20.263 -    }
  20.264 -    
  20.265 -    public void componentOpened() {
  20.266 -        comProject.setModel(OpenedBluejProjects.getInstance().getComboModel());
  20.267 -        updateContent();
  20.268 -        comProject.addItemListener(itemListener);
  20.269 -    }
  20.270 -    
  20.271 -    public void componentClosed() {
  20.272 -        comProject.removeItemListener(itemListener);
  20.273 -        comProject.setModel(new DefaultComboBoxModel());
  20.274 -    }
  20.275 -    
  20.276 -    /** replaces this in object stream */
  20.277 -    public Object writeReplace() {
  20.278 -        return new ResolvableHelper();
  20.279 -    }
  20.280 -    
  20.281 -    protected String preferredID() {
  20.282 -        return PREFERRED_ID;
  20.283 -    }
  20.284 -    
  20.285 -    final static class ResolvableHelper implements Serializable {
  20.286 -        private static final long serialVersionUID = 1L;
  20.287 -        public Object readResolve() {
  20.288 -            return BluejViewTopComponent.getDefault();
  20.289 -        }
  20.290 -    }
  20.291 -
  20.292 -    final static class LookupProvider implements Lookup.Provider {
  20.293 -
  20.294 -        private Lookup lookup;
  20.295 -
  20.296 -        public void setLookup(Lookup lkp) {
  20.297 -            lookup = lkp;
  20.298 -        }
  20.299 -        public Lookup getLookup() {
  20.300 -            return lookup == null ? Lookup.EMPTY : lookup;
  20.301 -        }
  20.302 -
  20.303 -    }
  20.304 -}
    21.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,6 +0,0 @@
    21.4 -CTL_BluejViewTopComponent=BlueJ View
    21.5 -HINT_BluejViewTopComponent=Showing Bluej projects in a bluejlike way..
    21.6 -
    21.7 -btnUp.label=Up
    21.8 -
    21.9 -lblProject.text=Project Name \:
    22.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/HackedNodeRenderer.java	Thu Jul 10 19:13:29 2008 +0800
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,144 +0,0 @@
    22.4 -/*
    22.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    22.6 - *
    22.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    22.8 - *
    22.9 - * The contents of this file are subject to the terms of either the GNU
   22.10 - * General Public License Version 2 only ("GPL") or the Common
   22.11 - * Development and Distribution License("CDDL") (collectively, the
   22.12 - * "License"). You may not use this file except in compliance with the
   22.13 - * License. You can obtain a copy of the License at
   22.14 - * http://www.netbeans.org/cddl-gplv2.html
   22.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   22.16 - * specific language governing permissions and limitations under the
   22.17 - * License.  When distributing the software, include this License Header
   22.18 - * Notice in each file and include the License file at
   22.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   22.20 - * particular file as subject to the "Classpath" exception as provided
   22.21 - * by Sun in the GPL Version 2 section of the License file that
   22.22 - * accompanied this code. If applicable, add the following below the
   22.23 - * License Header, with the fields enclosed by brackets [] replaced by
   22.24 - * your own identifying information:
   22.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   22.26 - *
   22.27 - * Contributor(s):
   22.28 - *
   22.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   22.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   22.31 - * Microsystems, Inc. All Rights Reserved.
   22.32 - *
   22.33 - * If you wish your version of this file to be governed by only the CDDL
   22.34 - * or only the GPL Version 2, indicate your decision by adding
   22.35 - * "[Contributor] elects to include this software in this distribution
   22.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   22.37 - * single choice of license, a recipient has the option to distribute
   22.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   22.39 - * to extend the choice of license to its licensees as provided above.
   22.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   22.41 - * Version 2 license, then the option applies only if the new code is
   22.42 - * made subject to such option by the copyright holder.
   22.43 - */
   22.44 -package org.netbeans.bluej.ui.window;
   22.45 -
   22.46 -import java.awt.Component;
   22.47 -import java.awt.Container;
   22.48 -import java.awt.Image;
   22.49 -import java.beans.BeanInfo;
   22.50 -import javax.swing.Icon;
   22.51 -import javax.swing.ImageIcon;
   22.52 -import javax.swing.JList;
   22.53 -import org.openide.awt.HtmlRenderer;
   22.54 -import org.openide.explorer.view.NodeRenderer;
   22.55 -import org.openide.explorer.view.Visualizer;
   22.56 -import org.openide.nodes.Node;
   22.57 -
   22.58 -/**
   22.59 - *
   22.60 - * @author mkleint
   22.61 - */
   22.62 -public class HackedNodeRenderer extends NodeRenderer {
   22.63 -
   22.64 -    private HtmlRenderer.Renderer renderer = HtmlRenderer.createRenderer();
   22.65 -
   22.66 -    /** Creates a new instance of HackedNodeRenderer */
   22.67 -    public HackedNodeRenderer() {
   22.68 -    }
   22.69 -    
   22.70 -    /** This is the only method defined by <code>ListCellRenderer</code>.  We just
   22.71 -     * reconfigure the <code>Jlabel</code> each time we're called.
   22.72 -     */
   22.73 -    public Component getListCellRendererComponent(
   22.74 -        JList list, Object value, int index, boolean sel, boolean cellHasFocus
   22.75 -    ) {
   22.76 -        Node vis = findVisualizerNode(value);
   22.77 -
   22.78 -        String text = vis.getHtmlDisplayName();
   22.79 -        boolean isHtml = text != null;
   22.80 -
   22.81 -        if (!isHtml) {
   22.82 -            text = vis.getDisplayName();
   22.83 -        }
   22.84 -
   22.85 -        //Get our result value - really it is ren, but this call causes
   22.86 -        //it to configure itself with the passed values
   22.87 -        Component result = renderer.getListCellRendererComponent(
   22.88 -                list, text, index, sel, cellHasFocus
   22.89 -            );
   22.90 -        renderer.setHtml(isHtml);
   22.91 -        result.setEnabled(list.isEnabled());
   22.92 -
   22.93 -        //Do our additional configuration - set up the icon and possibly
   22.94 -        //do some hacks to make it look focused for TreeTableView
   22.95 -        configureFrom(renderer, list, false, sel, vis);
   22.96 -//
   22.97 -//            //Indent elements in a ListView/ChoiceView relative to their position
   22.98 -//            //in the node tree.  Only does anything if you've subclassed and
   22.99 -//            //overridden createModel().  Does anybody do that?
  22.100 -//            if (list.getModel() instanceof NodeListModel && (((NodeListModel) list.getModel()).getDepth() > 1)) {
  22.101 -//                int indent = iconWidth * NodeListModel.findVisualizerDepth(list.getModel(), vis);
  22.102 -//
  22.103 -//                renderer.setIndent(indent);
  22.104 -//            }
  22.105 -
  22.106 -        return result;
  22.107 -    }
  22.108 -    
  22.109 -    /** Utility method which performs configuration which is common to all of the renderer
  22.110 -     * implementations - sets the icon and focus properties on the renderer
  22.111 -     * from the VisualizerNode.
  22.112 -     *
  22.113 -     */
  22.114 -    private int configureFrom(
  22.115 -        HtmlRenderer.Renderer ren, Container target, boolean useOpenedIcon, boolean sel, Node vis
  22.116 -    ) { //NOPMD
  22.117 -        int iconType = BeanInfo.ICON_COLOR_16x16;//large ? BeanInfo.ICON_COLOR_32x32 : BeanInfo.ICON_COLOR_16x16;
  22.118 -
  22.119 -        Image image = useOpenedIcon ? vis.getOpenedIcon(iconType) : vis.getIcon(iconType);
  22.120 -        Icon icon = new ImageIcon(image);
  22.121 -        if (icon.getIconWidth() == 55) {
  22.122 -            ren.setIconTextGap(4);
  22.123 -        } else if (icon.getIconWidth() > 0) {
  22.124 -            //Max annotated icon width is 24, so to have all the text and all
  22.125 -            //the icons come out aligned, set the icon text gap to the difference
  22.126 -            //plus a two pixel margin
  22.127 -            ren.setIconTextGap(55 - icon.getIconWidth() + 4);
  22.128 -        } else {
  22.129 -            //If the icon width is 0, fill the space and add in
  22.130 -            //the extra two pixels so the node names are aligned (btw, this
  22.131 -            //does seem to waste a frightful amount of horizontal space in
  22.132 -            //a tree that can use all it can get)
  22.133 -            ren.setIndent(55 + 4);
  22.134 -        }
  22.135 -
  22.136 -        ren.setIcon(icon);
  22.137 -
  22.138 -        return (icon.getIconWidth() == 0) ? 55 : icon.getIconWidth();
  22.139 -    }
  22.140 -
  22.141 -    /** Utility method to find a visualizer node for the object passed to
  22.142 -     * any of the cell renderer methods as the value */
  22.143 -    private static final Node findVisualizerNode(Object value) {
  22.144 -        return Visualizer.findNode(value);
  22.145 -    }
  22.146 -    
  22.147 -}
    23.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/OpenCloseImpl.java	Thu Jul 10 19:13:29 2008 +0800
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,85 +0,0 @@
    23.4 -/*
    23.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    23.6 - *
    23.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    23.8 - *
    23.9 - * The contents of this file are subject to the terms of either the GNU
   23.10 - * General Public License Version 2 only ("GPL") or the Common
   23.11 - * Development and Distribution License("CDDL") (collectively, the
   23.12 - * "License"). You may not use this file except in compliance with the
   23.13 - * License. You can obtain a copy of the License at
   23.14 - * http://www.netbeans.org/cddl-gplv2.html
   23.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   23.16 - * specific language governing permissions and limitations under the
   23.17 - * License.  When distributing the software, include this License Header
   23.18 - * Notice in each file and include the License file at
   23.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   23.20 - * particular file as subject to the "Classpath" exception as provided
   23.21 - * by Sun in the GPL Version 2 section of the License file that
   23.22 - * accompanied this code. If applicable, add the following below the
   23.23 - * License Header, with the fields enclosed by brackets [] replaced by
   23.24 - * your own identifying information:
   23.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   23.26 - *
   23.27 - * Contributor(s):
   23.28 - *
   23.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   23.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   23.31 - * Microsystems, Inc. All Rights Reserved.
   23.32 - *
   23.33 - * If you wish your version of this file to be governed by only the CDDL
   23.34 - * or only the GPL Version 2, indicate your decision by adding
   23.35 - * "[Contributor] elects to include this software in this distribution
   23.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   23.37 - * single choice of license, a recipient has the option to distribute
   23.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   23.39 - * to extend the choice of license to its licensees as provided above.
   23.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   23.41 - * Version 2 license, then the option applies only if the new code is
   23.42 - * made subject to such option by the copyright holder.
   23.43 - */
   23.44 -package org.netbeans.bluej.ui.window;
   23.45 -
   23.46 -import java.lang.reflect.InvocationTargetException;
   23.47 -import javax.swing.SwingUtilities;
   23.48 -import org.netbeans.bluej.api.BluejOpenCloseCallback;
   23.49 -import org.openide.windows.WindowManager;
   23.50 -
   23.51 -/**
   23.52 - *
   23.53 - * @author mkleint
   23.54 - */
   23.55 -public class OpenCloseImpl implements BluejOpenCloseCallback {
   23.56 -
   23.57 -    /** Creates a new instance of OpenCloseImpl */
   23.58 -    public OpenCloseImpl() {
   23.59 -    }
   23.60 -
   23.61 -    public void projectOpened(final org.netbeans.api.project.Project project) {
   23.62 -        // very ugly, needs to be like this because the component listens on 
   23.63 -        // opened project changes and needs to be opened to do so..
   23.64 -        // a better solution would be to start listening on opened project changes right at the start of IDE
   23.65 -        try {
   23.66 -            SwingUtilities.invokeAndWait(new Runnable() {
   23.67 -                public void run() {
   23.68 -                    if (WindowManager.getDefault().getMainWindow().isVisible()) {
   23.69 -                        BluejViewTopComponent tc = BluejViewTopComponent.findInstance();
   23.70 -                        if (!tc.isOpened()) {
   23.71 -                            //TODO
   23.72 -                            tc.open();
   23.73 -                        }
   23.74 -                    }
   23.75 -                }
   23.76 -            });
   23.77 -        } catch (InvocationTargetException ex) {
   23.78 -            ex.printStackTrace();
   23.79 -        } catch (InterruptedException ex) {
   23.80 -            ex.printStackTrace();
   23.81 -        }
   23.82 -    }
   23.83 -    
   23.84 -    public void projectClosed(final org.netbeans.api.project.Project project) {
   23.85 -        //TODO possibly close when empty??
   23.86 -    }
   23.87 -    
   23.88 -}
    24.1 --- a/bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/OpenedBluejProjects.java	Thu Jul 10 19:13:29 2008 +0800
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,220 +0,0 @@
    24.4 -/*
    24.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    24.6 - *
    24.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    24.8 - *
    24.9 - * The contents of this file are subject to the terms of either the GNU
   24.10 - * General Public License Version 2 only ("GPL") or the Common
   24.11 - * Development and Distribution License("CDDL") (collectively, the
   24.12 - * "License"). You may not use this file except in compliance with the
   24.13 - * License. You can obtain a copy of the License at
   24.14 - * http://www.netbeans.org/cddl-gplv2.html
   24.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   24.16 - * specific language governing permissions and limitations under the
   24.17 - * License.  When distributing the software, include this License Header
   24.18 - * Notice in each file and include the License file at
   24.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   24.20 - * particular file as subject to the "Classpath" exception as provided
   24.21 - * by Sun in the GPL Version 2 section of the License file that
   24.22 - * accompanied this code. If applicable, add the following below the
   24.23 - * License Header, with the fields enclosed by brackets [] replaced by
   24.24 - * your own identifying information:
   24.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   24.26 - *
   24.27 - * Contributor(s):
   24.28 - *
   24.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   24.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   24.31 - * Microsystems, Inc. All Rights Reserved.
   24.32 - *
   24.33 - * If you wish your version of this file to be governed by only the CDDL
   24.34 - * or only the GPL Version 2, indicate your decision by adding
   24.35 - * "[Contributor] elects to include this software in this distribution
   24.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   24.37 - * single choice of license, a recipient has the option to distribute
   24.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   24.39 - * to extend the choice of license to its licensees as provided above.
   24.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   24.41 - * Version 2 license, then the option applies only if the new code is
   24.42 - * made subject to such option by the copyright holder.
   24.43 - */
   24.44 -
   24.45 -package org.netbeans.bluej.ui.window;
   24.46 -
   24.47 -import java.beans.PropertyChangeEvent;
   24.48 -import java.beans.PropertyChangeListener;
   24.49 -
   24.50 -import java.util.ArrayList;
   24.51 -import java.util.Collection;
   24.52 -import java.util.Iterator;
   24.53 -
   24.54 -import javax.swing.ComboBoxModel;
   24.55 -import javax.swing.DefaultComboBoxModel;
   24.56 -import javax.swing.SwingUtilities;
   24.57 -
   24.58 -import org.netbeans.api.project.Project;
   24.59 -import org.netbeans.api.project.ProjectUtils;
   24.60 -import org.netbeans.api.project.ui.OpenProjects;
   24.61 -import org.netbeans.bluej.api.BluejLogicalViewProvider;
   24.62 -import org.openide.windows.TopComponent;
   24.63 -import org.openide.windows.WindowManager;
   24.64 -
   24.65 -/**
   24.66 - * Class holding opened BlueJ projects and providing ComboBoxModel
   24.67 - *
   24.68 - * @author Milan Kubec
   24.69 - */
   24.70 -public class OpenedBluejProjects implements PropertyChangeListener {
   24.71 -    
   24.72 -    private DefaultComboBoxModel model;
   24.73 -    private PropChange topComponentChanger;
   24.74 -
   24.75 -    private static OpenedBluejProjects instance;
   24.76 -    
   24.77 -    /** Creates a new instance of OpenedBluejProjects */
   24.78 -    private OpenedBluejProjects() {
   24.79 -        model = new DefaultComboBoxModel();
   24.80 -        topComponentChanger = new PropChange();
   24.81 -    }
   24.82 -    
   24.83 -    public static synchronized OpenedBluejProjects getInstance() {
   24.84 -        if (instance == null) {
   24.85 -            instance = new OpenedBluejProjects();
   24.86 -        }
   24.87 -        return instance;
   24.88 -    }
   24.89 -    
   24.90 -    public void addNotify() {
   24.91 -        OpenProjects.getDefault().addPropertyChangeListener(this);
   24.92 -        doUpdate(false);
   24.93 -    }
   24.94 -    
   24.95 -    public void removeNotify() {
   24.96 -        OpenProjects.getDefault().removePropertyChangeListener(this);
   24.97 -    }
   24.98 -    
   24.99 -    public ComboBoxModel getComboModel() {
  24.100 -        return model;
  24.101 -    }
  24.102 -    
  24.103 -    public Project getSelectedProject() {
  24.104 -        Object sel = model.getSelectedItem();
  24.105 -        if (sel != null) {
  24.106 -            return ((ComboWrapper)sel).getProject();
  24.107 -        }
  24.108 -        return null;
  24.109 -    }
  24.110 -    
  24.111 -    
  24.112 -    public void propertyChange(PropertyChangeEvent evt) {
  24.113 -        if (OpenProjects.PROPERTY_OPEN_PROJECTS.equals(evt.getPropertyName())) {
  24.114 -            if (SwingUtilities.isEventDispatchThread()) {
  24.115 -                doUpdate(true);
  24.116 -            } else {
  24.117 -                SwingUtilities.invokeLater(new Runnable() {
  24.118 -                    public void run() {
  24.119 -                        doUpdate(true);
  24.120 -                    }
  24.121 -                });
  24.122 -            }
  24.123 -        }
  24.124 -    }
  24.125 -    
  24.126 -    private void doUpdate(boolean trapProjectsView) {
  24.127 -        Collection existing = new ArrayList();
  24.128 -        for (int i = 0; i < model.getSize(); i++) {
  24.129 -            existing.add(((ComboWrapper)model.getElementAt(i)).getProject());
  24.130 -        }
  24.131 -        Collection newones = new ArrayList();
  24.132 -        Project[] prjs = OpenProjects.getDefault().getOpenProjects();
  24.133 -        for (int i = 0; i < prjs.length; i++) {
  24.134 -            if (prjs[i].getLookup().lookup(BluejLogicalViewProvider.class) != null) {
  24.135 -                if (existing.contains(prjs[i])) {
  24.136 -                    existing.remove(prjs[i]);
  24.137 -                } else {
  24.138 -                    newones.add(prjs[i]);
  24.139 -                }
  24.140 -            }
  24.141 -        }
  24.142 -        Iterator it = existing.iterator();
  24.143 -        while (it.hasNext()) {
  24.144 -            Project elem = (Project) it.next();
  24.145 -            for (int i = 0; i < model.getSize(); i++) {
  24.146 -                if (elem == ((ComboWrapper)model.getElementAt(i)).getProject()) {
  24.147 -                    model.removeElementAt(i);
  24.148 -                    break;
  24.149 -                }
  24.150 -            }
  24.151 -        }
  24.152 -        if (newones.size() > 0) {
  24.153 -            it = newones.iterator();
  24.154 -            ComboWrapper wr = null;
  24.155 -            while (it.hasNext()) {
  24.156 -                Project elem = (Project) it.next();
  24.157 -                wr = new ComboWrapper(elem);
  24.158 -                model.addElement(wr);
  24.159 -            }
  24.160 -            if (trapProjectsView) {
  24.161 -                model.setSelectedItem(wr);
  24.162 -                topComponentChanger.projectWasOpened();
  24.163 -            }
  24.164 -        }
  24.165 -        if (model.getSelectedItem() == null && model.getSize() > 0) {
  24.166 -            model.setSelectedItem(model.getElementAt(0));
  24.167 -        }
  24.168 -        if (model.getSize() == 0 && model.getSelectedItem() != null) {
  24.169 -            model.setSelectedItem(null);
  24.170 -        }
  24.171 -    }
  24.172 -    
  24.173 -    private static class ComboWrapper {
  24.174 -        private Project project;
  24.175 -        ComboWrapper(Project proj) {
  24.176 -            project = proj;
  24.177 -        }
  24.178 -        
  24.179 -        public String toString() {
  24.180 -            return ProjectUtils.getInformation(project).getDisplayName();
  24.181 -        }
  24.182 -        
  24.183 -        public Project getProject() {
  24.184 -            return project;
  24.185 -        }
  24.186 -        
  24.187 -    }
  24.188 -    
  24.189 -    private static class PropChange implements PropertyChangeListener{
  24.190 -        private boolean listenerAdded = false;
  24.191 -        PropChange() {
  24.192 -        }
  24.193 -        
  24.194 -        void projectWasOpened() {
  24.195 -            if (listenerAdded) {
  24.196 -                return;
  24.197 -            }
  24.198 -            listenerAdded = true;
  24.199 -            assert SwingUtilities.isEventDispatchThread();
  24.200 -            TopComponent active = TopComponent.getRegistry().getActivated();
  24.201 -            String id = WindowManager.getDefault().findTopComponentID(active);
  24.202 -            if ("projectTabLogical_tc".equals(id)) { // NOI18N
  24.203 -                BluejViewTopComponent.findInstance().open();
  24.204 -                BluejViewTopComponent.findInstance().requestActive();
  24.205 -            }
  24.206 -            TopComponent.getRegistry().addPropertyChangeListener(this);
  24.207 -        }
  24.208 -        
  24.209 -        public void propertyChange(PropertyChangeEvent evt) {
  24.210 -            if (TopComponent.Registry.PROP_ACTIVATED.equals(evt.getPropertyName())) {
  24.211 -                TopComponent active = TopComponent.getRegistry().getActivated();
  24.212 -                String id = WindowManager.getDefault().findTopComponentID(active);
  24.213 -                if ("projectTabLogical_tc".equals(id)) { // NOI18N
  24.214 -                    TopComponent.getRegistry().removePropertyChangeListener(this);
  24.215 -                    listenerAdded = false;
  24.216 -                    BluejViewTopComponent.findInstance().open();
  24.217 -                    BluejViewTopComponent.findInstance().requestActive();
  24.218 -                }
  24.219 -            }
  24.220 -        }
  24.221 -    }
  24.222 -    
  24.223 -}
    25.1 Binary file bluej-suite/bluej-ui/src/org/netbeans/bluej/ui/window/bluejview.png has changed
    26.1 --- a/bluej-suite/bluej/antsrc/org/netbeans/bluej/ant/task/BlueJava.java	Thu Jul 10 19:13:29 2008 +0800
    26.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.3 @@ -1,279 +0,0 @@
    26.4 -/*
    26.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    26.6 - * 
    26.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    26.8 - * 
    26.9 - * The contents of this file are subject to the terms of either the GNU
   26.10 - * General Public License Version 2 only ("GPL") or the Common
   26.11 - * Development and Distribution License("CDDL") (collectively, the
   26.12 - * "License"). You may not use this file except in compliance with the
   26.13 - * License. You can obtain a copy of the License at
   26.14 - * http://www.netbeans.org/cddl-gplv2.html
   26.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   26.16 - * specific language governing permissions and limitations under the
   26.17 - * License.  When distributing the software, include this License Header
   26.18 - * Notice in each file and include the License file at
   26.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   26.20 - * particular file as subject to the "Classpath" exception as provided
   26.21 - * by Sun in the GPL Version 2 section of the License file that
   26.22 - * accompanied this code. If applicable, add the following below the
   26.23 - * License Header, with the fields enclosed by brackets [] replaced by
   26.24 - * your own identifying information:
   26.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   26.26 - *
   26.27 - * Contributor(s):
   26.28 - *
   26.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   26.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   26.31 - * Microsystems, Inc. All Rights Reserved.
   26.32 - *
   26.33 - * If you wish your version of this file to be governed by only the CDDL
   26.34 - * or only the GPL Version 2, indicate your decision by adding
   26.35 - * "[Contributor] elects to include this software in this distribution
   26.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   26.37 - * single choice of license, a recipient has the option to distribute
   26.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   26.39 - * to extend the choice of license to its licensees as provided above.
   26.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   26.41 - * Version 2 license, then the option applies only if the new code is
   26.42 - * made subject to such option by the copyright holder.
   26.43 - */
   26.44 -package org.netbeans.bluej.ant.task;
   26.45 -
   26.46 -import java.io.BufferedReader;
   26.47 -import java.io.IOException;
   26.48 -import java.io.InputStream;
   26.49 -import java.io.InputStreamReader;
   26.50 -import java.io.OutputStream;
   26.51 -import java.io.OutputStreamWriter;
   26.52 -import java.io.PrintWriter;
   26.53 -import java.io.Reader;
   26.54 -import java.util.Iterator;
   26.55 -import java.util.Map;
   26.56 -import java.util.WeakHashMap;
   26.57 -import org.apache.tools.ant.BuildException;
   26.58 -import org.apache.tools.ant.Task;
   26.59 -import org.apache.tools.ant.taskdefs.ExecuteStreamHandler;
   26.60 -import org.apache.tools.ant.taskdefs.Java;
   26.61 -import org.apache.tools.ant.taskdefs.Redirector;
   26.62 -import org.openide.util.RequestProcessor;
   26.63 -import org.openide.windows.IOProvider;
   26.64 -import org.openide.windows.InputOutput;
   26.65 -import org.openide.windows.OutputWriter;
   26.66 -
   26.67 -/**
   26.68 - * Ant task for redirecting the output of java task to the netbeans output window.
   26.69 - * @author Milos Kleint
   26.70 - */
   26.71 -public class BlueJava extends Java  {
   26.72 -    
   26.73 -    public BlueJava() {
   26.74 -        redirector = new MyRedirector(this);
   26.75 -    }
   26.76 -
   26.77 -    
   26.78 -    private class MyRedirector extends Redirector {
   26.79 -        public MyRedirector(Task task) {
   26.80 -            super(task);
   26.81 -        }
   26.82 -        public ExecuteStreamHandler createHandler() throws BuildException {
   26.83 -            createStreams();
   26.84 -            return new NbOutputStreamHandler(getProject().getName());
   26.85 -        }
   26.86 -        
   26.87 -    }
   26.88 -    
   26.89 -    private static final RequestProcessor PROCESSOR = new RequestProcessor("Netbeans-Bluej Run IO redirection", 5);
   26.90 -    /**
   26.91 -     * All tabs which were used for some process which has now ended.
   26.92 -     * These are closed when you start a fresh process.
   26.93 -     * Map from tab to tab display name.
   26.94 -     * @see "#43001"
   26.95 -     */
   26.96 -    private static final Map freeTabs = new WeakHashMap();
   26.97 -    
   26.98 -    
   26.99 -    private static class NbOutputStreamHandler implements ExecuteStreamHandler {
  26.100 -        private InputOutput io;
  26.101 -        private RequestProcessor.Task outTask;
  26.102 -        private RequestProcessor.Task errTask;
  26.103 -        private RequestProcessor.Task inTask;
  26.104 -        private Input input;
  26.105 -        private String displayName;
  26.106 -        public NbOutputStreamHandler(String name) {
  26.107 -            displayName = "Run " + name;
  26.108 -                // OutputWindow
  26.109 -//                if (AntSettings.getDefault().getAutoCloseTabs()) { // #47753
  26.110 -                synchronized (freeTabs) {
  26.111 -                    Iterator it = freeTabs.entrySet().iterator();
  26.112 -                    while (it.hasNext()) {
  26.113 -                        Map.Entry entry = (Map.Entry)it.next();
  26.114 -                        InputOutput free = (InputOutput)entry.getKey();
  26.115 -                        String freeName = (String)entry.getValue();
  26.116 -                        if (io == null && freeName.equals(displayName)) {
  26.117 -                            // Reuse it.
  26.118 -                            io = free;
  26.119 -                            try {
  26.120 -                                io.getOut().reset();
  26.121 -                                io.getErr().reset();
  26.122 -                            } catch (IOException ex) {
  26.123 -                                ex.printStackTrace();
  26.124 -                            }
  26.125 -                                // useless: io.flushReader();
  26.126 -                        } else {
  26.127 -                                // Discard it.
  26.128 -                            free.closeInputOutput();
  26.129 -                        }
  26.130 -                    }
  26.131 -                    freeTabs.clear();
  26.132 -                }
  26.133 -//                }
  26.134 -                if (io == null) {
  26.135 -                    io = IOProvider.getDefault().getIO(displayName, true);
  26.136 -                }
  26.137 -            
  26.138 -        }
  26.139 -        public void stop() {
  26.140 -            if (input != null) {
  26.141 -                input.closeReader();
  26.142 -            }
  26.143 -            if (inTask != null) {
  26.144 -                inTask.waitFinished();
  26.145 -            }
  26.146 -            if (errTask != null) {
  26.147 -                errTask.waitFinished();
  26.148 -            }
  26.149 -            if (outTask != null) {
  26.150 -                outTask.waitFinished();
  26.151 -            }
  26.152 -            synchronized (freeTabs) {
  26.153 -                freeTabs.put(io, displayName);
  26.154 -            }
  26.155 -        }
  26.156 -
  26.157 -        public void start() throws IOException {
  26.158 -            io.select();
  26.159 -        }
  26.160 -
  26.161 -        public void setProcessOutputStream(InputStream inputStream) throws IOException {
  26.162 -            Output out = new Output(inputStream, io.getOut());
  26.163 -            outTask = PROCESSOR.post(out);
  26.164 -        }
  26.165 -
  26.166 -        public void setProcessErrorStream(InputStream inputStream) throws IOException {
  26.167 -            Output err = new Output(inputStream, io.getErr());
  26.168 -            errTask = PROCESSOR.post(err);
  26.169 -        }
  26.170 -
  26.171 -        public void setProcessInputStream(OutputStream outputStream) throws IOException {
  26.172 -            input = new Input(io.getIn(), outputStream);
  26.173 -            inTask = PROCESSOR.post(input);
  26.174 -        }
  26.175 -        
  26.176 -    }
  26.177 -    
  26.178 -    private static class Output implements Runnable {
  26.179 -        private InputStreamReader str;
  26.180 -        private OutputWriter writer;
  26.181 -        public Output(InputStream instream, OutputWriter out) {
  26.182 -            str = new InputStreamReader(instream);
  26.183 -            writer = out;
  26.184 -        }
  26.185 -        
  26.186 -        public void run() {
  26.187 -            try {
  26.188 -                long stamp = System.currentTimeMillis();
  26.189 -                int chr = str.read();
  26.190 -                StringBuffer buf = new StringBuffer();
  26.191 -                while (chr != -1) {
  26.192 -                    if (chr == (int)'\n') {
  26.193 -                        if (buf.length() > 0 && buf.charAt(buf.length() - 1) == '\r') {
  26.194 -                            // should fix issues on windows..
  26.195 -                            buf.setLength(buf.length() - 1);
  26.196 -                        }
  26.197 -                        writer.println(buf.toString());
  26.198 -                        buf.setLength(0);
  26.199 -                        stamp = System.currentTimeMillis();
  26.200 -                    } else {
  26.201 -                        buf.append((char)chr);
  26.202 -                    }
  26.203 -                    while (true) {
  26.204 -                        if (str.ready()) {
  26.205 -                            chr = str.read();
  26.206 -                            break;
  26.207 -                        } else {
  26.208 -                            if (System.currentTimeMillis() - stamp > 700) {
  26.209 -                                writer.print(buf.toString());
  26.210 -                                buf.setLength(0);
  26.211 -                                chr = str.read();
  26.212 -                                stamp = System.currentTimeMillis();
  26.213 -                                break;
  26.214 -                            }
  26.215 -                            try {
  26.216 -                                Thread.sleep(100);
  26.217 -                            } catch (Exception e) {
  26.218 -                            }
  26.219 -                        }
  26.220 -                    }
  26.221 -                }
  26.222 -            } catch (IOException ex) {
  26.223 -                ex.printStackTrace();
  26.224 -            } finally {
  26.225 -                try {
  26.226 -                    str.close();
  26.227 -                } catch (IOException ex) {
  26.228 -                    ex.printStackTrace();
  26.229 -                }
  26.230 -                closeWriter();
  26.231 -            }
  26.232 -        }
  26.233 -        
  26.234 -        public void closeWriter() {
  26.235 -            writer.close();
  26.236 -        }
  26.237 -    }
  26.238 -    
  26.239 -    private static class Input implements Runnable {
  26.240 -        private Reader ioReader;
  26.241 -        private BufferedReader str;
  26.242 -        private PrintWriter writer;
  26.243 -        public Input(Reader instream, OutputStream out) {
  26.244 -            ioReader = instream;
  26.245 -            str = new BufferedReader(instream);
  26.246 -            writer = new PrintWriter(new OutputStreamWriter(out));
  26.247 -        }
  26.248 -        
  26.249 -        public void closeReader() {
  26.250 -                try {
  26.251 -                    //somehow the original reader needs to be closed first..
  26.252 -                    ioReader.close();
  26.253 -                    str.close();
  26.254 -                    writer.close();
  26.255 -                } catch (IOException exc) {
  26.256 -                    exc.printStackTrace();
  26.257 -                }
  26.258 -        }
  26.259 -        
  26.260 -        public void run() {
  26.261 -            try {
  26.262 -                String line = str.readLine();
  26.263 -                while (line != null) {
  26.264 -                    if (!writer.checkError()) {
  26.265 -                        writer.println(line);
  26.266 -                        writer.flush();
  26.267 -                    } else {
  26.268 -                        break;
  26.269 -                    }
  26.270 -                    line = str.readLine();
  26.271 -                }
  26.272 -            } catch (IOException ex) {
  26.273 -                ex.printStackTrace();
  26.274 -            } finally {
  26.275 -                writer.close();
  26.276 -            }
  26.277 -        }
  26.278 -        
  26.279 -    }
  26.280 -    
  26.281 -}
  26.282 -
    27.1 --- a/bluej-suite/bluej/antsrc/org/netbeans/bluej/antlib.xml	Thu Jul 10 19:13:29 2008 +0800
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,4 +0,0 @@
    27.4 -<?xml version="1.0" encoding="UTF-8"?>
    27.5 -<antlib>
    27.6 -    <taskdef name="java" classname="org.netbeans.bluej.ant.task.BlueJava"/>
    27.7 -</antlib>
    28.1 --- a/bluej-suite/bluej/build.xml	Thu Jul 10 19:13:29 2008 +0800
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,30 +0,0 @@
    28.4 -<?xml version="1.0" encoding="UTF-8"?>
    28.5 -<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
    28.6 -<!-- for some information on what you could do (e.g. targets to override). -->
    28.7 -<!-- If you delete this file and reopen the project it will be recreated. -->
    28.8 -<project name="org.netbeans.bluej" default="netbeans" basedir=".">
    28.9 -    <description>Builds, tests, and runs the project org.netbeans.bluej.</description>
   28.10 -    
   28.11 -    <property file="../external-references.properties"/>
   28.12 -    <import file="nbproject/build-impl.xml"/>
   28.13 -    <target name="nblib" depends="init">
   28.14 -        
   28.15 -        <mkdir dir="build/antclasses"/>
   28.16 -        <!-- moved here from suite.properties file because the stuff doesn't resolve otherwise -->
   28.17 -        <property name="antsrc.cp" value="${ant.jar}:${netbeans.dest.dir}/${bluej_platform_cluster}/modules/org-openide-io.jar:${netbeans.dest.dir}/${bluej_platform_cluster}/lib/org-openide-util.jar"/>
   28.18 -        <javac srcdir="antsrc" destdir="build/antclasses" source="1.4" debug="true" deprecation="true">
   28.19 -            <classpath>
   28.20 -                <pathelement path="${antsrc.cp}"/>
   28.21 -            </classpath>
   28.22 -        </javac>
   28.23 -        <copy todir="build/antclasses">
   28.24 -            <fileset dir="antsrc" excludes="${jar-excludes}"/>
   28.25 -        </copy>
   28.26 -        <mkdir dir="${cluster}/ant/nblib"/>
   28.27 -        <jar jarfile="${cluster}/ant/nblib/org-netbeans-bluej.jar" compress="false">
   28.28 -            <fileset dir="build/antclasses"/>
   28.29 -        </jar>
   28.30 -    </target>
   28.31 -
   28.32 -    <target name="netbeans-extra" depends="nblib"/>
   28.33 -</project>
    29.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-about-help.html	Thu Jul 10 19:13:29 2008 +0800
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,37 +0,0 @@
    29.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    29.5 -<!--
    29.6 -*     Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
    29.7 -*     Use is subject to license terms.
    29.8 -*
    29.9 --->
   29.10 -<HTML>
   29.11 -<HEAD>
   29.12 -    <TITLE>Using General NetBeans IDE Help in the BlueJ Edition</TITLE>
   29.13 -    <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
   29.14 -    </TITLE>
   29.15 -</HEAD>
   29.16 -<BODY>
   29.17 -
   29.18 -<h2>Using General NetBeans IDE Help in the BlueJ Edition</h2>
   29.19 -<p> <small><a href="#seealso">See Also</a></small></p>
   29.20 -
   29.21 -<p>The help topics in the NetBeans IDE BlueJ Edition Help section of the table of 
   29.22 -contents provide information specific to the BlueJ Edition of the IDE. The rest of 
   29.23 -the help files were written for the standard edition of NetBeans IDE. Though most of 
   29.24 -the topics contain valid information for the BlueJ Edition, some details may not 
   29.25 -apply to the BlueJ Edition.</p>
   29.26 -
   29.27 -
   29.28 -
   29.29 -  
   29.30 -          <dl>
   29.31 -              <dt><a name="seealso">See Also</a></dt>
   29.32 -              <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/shortcuts/jhshortcuts.html">Help Viewer Shortcuts</a></dd>
   29.33 -              <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/accessibility/alternate_browser.html">Displaying Help in a Web 
   29.34 -              Browser</a></dd>
   29.35 -              <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/javadoc/show_in_editor.html">Viewing Javadoc Documentation</a></dd>
   29.36 -          </dl>
   29.37 -
   29.38 -<hr>
   29.39 -
   29.40 -<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
    30.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-about.html	Thu Jul 10 19:13:29 2008 +0800
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,62 +0,0 @@
    30.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    30.5 -<!--
    30.6 -*     Copyright � 2006 Sun Microsystems, Inc. All rights reserved.
    30.7 -*     Use is subject to license terms.
    30.8 -*
    30.9 --->
   30.10 -<HTML>
   30.11 -<HEAD>
   30.12 -    <TITLE>About Using NetBeans IDE BlueJ plugin</TITLE>
   30.13 -    <link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css"></TITLE>
   30.14 -</HEAD>
   30.15 -<BODY>
   30.16 -
   30.17 -<h2>About Using NetBeans IDE BlueJ plugin</h2>
   30.18 -<p> <small><a href="#seealso">See Also</a></small></p>
   30.19 -<p>Welcome to NetBeans IDE BlueJ plugin. If you have been using BlueJ 
   30.20 -to learn Java technology, using NetBeans IDE BlueJ support is a logical next 
   30.21 -step in extending your understanding of Java program development and 
   30.22 -creating more complex applications. </p>
   30.23 -<p>You can create new projects and files 
   30.24 -much as you would in BlueJ and then take advantage of NetBeans IDE coding productivity 
   30.25 -and project management features to extend the range of your applications.</p>
   30.26 -<p>NetBeans IDE provides a wealth of features that make it easier to code applications 
   30.27 -of all sizes. These features include:</p>
   30.28 -<ul>
   30.29 -    <li><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/codecompletion/intro.html">Code completion</a>, 
   30.30 -    which helps you find and quickly fill in classes, methods, and fields. 
   30.31 -    The code completion window is paired 
   30.32 -    with a Javadoc box that displays documentation for the code elements that 
   30.33 -    you browse in the code completion box.</li>
   30.34 -    <li>Marking of syntax errors in the Source Editor <i>before</i> you compile.</li>
   30.35 -    <li>A variety of 
   30.36 -<a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/editor_navigation.html">navigation commands</a> that enable you to easily navigate between 
   30.37 -    code elements and files.</li>
   30.38 -    <li>A <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/gui/gui_about.html">GUI builder</a>, which enables you to visually design the user interfaces for 
   30.39 -    Swing-based desktop applications.</li>
   30.40 -    <li><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/macros/abbreviations.html">Code templates</a> that allow you to enter long code snippets with just a few 
   30.41 -    key strokes.</li>
   30.42 -</ul>
   30.43 -<p>The BlueJ plugin in NetBeans IDE is designed so that you can work in either 
   30.44 -of or a combination of the following two ways:</p>
   30.45 -<ul>
   30.46 -    <li>Keep working with the BlueJ project structure but take advantage of the 
   30.47 -    NetBeans IDE coding productivity features.</li>
   30.48 -    <li>Convert to the NetBeans IDE project structure in order to create larger, 
   30.49 -    more scalable projects.</li>
   30.50 -</ul>
   30.51 -
   30.52 -        <dl>
   30.53 -            <dt><a name="seealso">See Also</a></dt>
   30.54 -            <dd><a href="bluej-proj-import.html">Importing a BlueJ Project</a></dd>
   30.55 -            <dd><a href="bluej-proj-new.html">Creating a New Project</a></dd>
   30.56 -            <dd><a href="bluej-proj-convert.html">Converting a BlueJ Project to a Standard IDE Project</a></dd>
   30.57 -            <dd><a href="bluej-quickref.html">Basic NetBeans IDE Tasks: Quick Reference</a></dd>
   30.58 -            <dd><a href="bluej-editor-quickref.html">Source Editor Tips</a></dd>
   30.59 -        </dl>
   30.60 -
   30.61 -<hr>
   30.62 -<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
   30.63 -
   30.64 -</body>
   30.65 -</html>
    31.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-editor-quickref.html	Thu Jul 10 19:13:29 2008 +0800
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,239 +0,0 @@
    31.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    31.5 -<!--       
    31.6 - *     Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
    31.7 - *     Use is subject to license terms.
    31.8 - *
    31.9 --->
   31.10 -<html>
   31.11 -    <head>
   31.12 -        <title>Source Editor Tips</title>
   31.13 -        <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css"></TITLE>
   31.14 -    </head>
   31.15 -
   31.16 -    <body>
   31.17 -
   31.18 -        <h2>Source Editor Tips</h2>
   31.19 -
   31.20 -        <p>The following table shows how to accomplish some common tasks 
   31.21 -and gives you some tips for working in the IDE's Source Editor.</p>
   31.22 -
   31.23 -        <table border="1" cellpadding="5" cellspacing="0" summary="The left column lists the
   31.24 -            task name. The right column lists the steps to perform.">
   31.25 -            <tr valign="top"> 
   31.26 -                <th scope="col" align="left">To perform this task</th>
   31.27 -                <th scope="col" align="left">Follow these steps</th>
   31.28 -
   31.29 -            </tr>
   31.30 -            <tr valign="top"> 
   31.31 -                <td>Handle the automatic insertion of quotation marks, parentheses, and so on.</td>
   31.32 -
   31.33 -                <td> 
   31.34 -                    <p>When you type a character that typically is used in pairs (such 
   31.35 -                    as a quotation mark or a parenthesis, the IDE also automatically inserts 
   31.36 -                    the closing character (such as another quotation mark or the 
   31.37 -                    closing parenthesis). If you find this distracts your typing, 
   31.38 -                    you can simply type the closing characters as you would normally. 
   31.39 -                    The IDE will use the closing character that you type and delete the 
   31.40 -                    character that it inserted.</p>
   31.41 -                </td>
   31.42 -            </tr> 
   31.43 -            
   31.44 -            <tr valign="top"> 
   31.45 -                <td>Format code automatically with consistent indentation.</td>
   31.46 -
   31.47 -                <td> 
   31.48 -                    <ul><li>Right-click in the Source Editor and choose Reformat Code. 
   31.49 -                    <p>If any text is selected, only 
   31.50 -                    that text will be reformatted. If no text is selected, then the whole file is reformatted.</p></li></ol>
   31.51 -                </td>
   31.52 -            </tr> 
   31.53 -
   31.54 -            <tr valign="top"> 
   31.55 -                <td>Find the appropriate code element (class, method, or field) 
   31.56 -                and insert it into your code.</td>
   31.57 -
   31.58 -                <td> 
   31.59 -                    <ol>
   31.60 -                    <li>When typing in the Source Editor, press Ctrl-Space to open 
   31.61 -                    the 
   31.62 -                    <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/codecompletion/intro.html">code completion</a> box.</li>
   31.63 -                    </li>
   31.64 -                    <li>Scroll the list of code elements provided, select the one you 
   31.65 -                    want, and press Enter. </li></ol>
   31.66 -                </td>
   31.67 -            </tr>            
   31.68 -            
   31.69 -            <tr valign="top"> 
   31.70 -                <td>Insert a commonly used code snippet.</td>
   31.71 -                <td> 
   31.72 -
   31.73 -                    <ul>
   31.74 -                        <li>Type the abbreviation for the code snippet and press Shift-Space.</li>
   31.75 -                    </ul>
   31.76 -                    <p>See <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/shortcuts/abbreviations-list.html">Code Template Abbreviations: Quick Reference</a>.</p>
   31.77 -                </td>
   31.78 -            </tr>
   31.79 -            <tr valign="top"> 
   31.80 -                <td>Quickly insert a word that you have already typed elsewhere.</td>
   31.81 -                <td> 
   31.82 -                    <ol>
   31.83 -                        <li>Type the beginning character of the word that you have 
   31.84 -                        previously typed.</li>
   31.85 -                        <li>Type Ctrl-K to insert the closest previous word that matches 
   31.86 -                        those beginning characters.</li>
   31.87 -                    </ol>
   31.88 -                    
   31.89 -                    <p>For example, consider the following code:
   31.90 -                    <pre>BufferedReader br = new BufferedReader(<i>...</i>)</pre>
   31.91 -                    <p>You can save yourself several keystrokes by doing the following:
   31.92 -                    <ol>
   31.93 -                        <li>Type 
   31.94 -                        <pre>BufferedReader br = new B</pre></li>
   31.95 -
   31.96 -                        <li>Press Ctrl-K to insert <tt>ufferedReader</tt>
   31.97 -
   31.98 -                        </li>
   31.99 -                    </ol>
  31.100 -                    <p>See <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/wordmatch.html">Using the Word Match Feature</a> 
  31.101 -                    for more information.</p>
  31.102 -                </td>
  31.103 -            </tr>            
  31.104 -            <tr valign="top"> 
  31.105 -                <td>Go to the Java source for the identifier the insertion point is on.</td>
  31.106 -                <td> 
  31.107 -                    <ul><li>Press Alt-O, or choose 
  31.108 -                        Navigate &gt; Go to Source.
  31.109 -                    </li></ul>
  31.110 -                </td>
  31.111 -            </tr>
  31.112 -            <tr valign="top"> 
  31.113 -                <td>Go to a Java file via hyperlinks.</td>
  31.114 -                <td> 
  31.115 -                    <ul>
  31.116 -                        <li>Hold down the Ctrl key and, at the same time, move your mouse over and click a
  31.117 -                        Java identifier (package, class, method, variable).</li>
  31.118 -                    </ul>
  31.119 -
  31.120 -                </td>
  31.121 -            </tr>
  31.122 -
  31.123 -            <tr valign="top"> 
  31.124 -                <td>Go to a Java class.</td>
  31.125 -                <td> 
  31.126 -                    <ul><li>Choose Edit&nbsp; &gt; Go To Class or press Alt-Shift-O.
  31.127 -                    .
  31.128 -                    <p>
  31.129 -                    </p></li></ul>
  31.130 -                </td>
  31.131 -            </tr>
  31.132 -            <tr valign="top"> 
  31.133 -                <td>Jump to the declaration for the Java method or field the insertion point is on.</td>
  31.134 -                <td> 
  31.135 -                    <ul><li>Press Alt-G, or right-click and choose 
  31.136 -                        Go To  &gt; Declaration from 
  31.137 -                        the pop-up menu.
  31.138 -                    </li></ul>
  31.139 -                </td>
  31.140 -            </tr>
  31.141 -            <tr valign="top"> 
  31.142 -                <td>Go to a specific method or field in the currently displayed Java class.</td>
  31.143 -                <td> 
  31.144 -                    <ul>
  31.145 -                        <li>Double-click the method or field 
  31.146 -                        in the Navigator window.</li>
  31.147 -                    </ul>
  31.148 -                </td>
  31.149 -            </tr>
  31.150 -
  31.151 -            <tr valign="top"> 
  31.152 -                <td>Jump back and forth among areas of code in which you 
  31.153 -                have been working.</td>
  31.154 -                <td> 
  31.155 -                    <ul>
  31.156 -                        <li>Use the Alt-K and Alt-L <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/jumplist.html">jump list</a> 
  31.157 -                        keyboard shortcuts.</li>
  31.158 -                    </ul>
  31.159 -                </td>
  31.160 -            </tr>
  31.161 -            <tr valign="top"> 
  31.162 -                <td>Bookmark a line of code.</td>
  31.163 -                <td> 
  31.164 -                    <ul>
  31.165 -                        <li>Click anywhere in the line that you want to bookmark and press Ctrl-F2.
  31.166 -                        <p>Press F2 to cycle through your bookmarks.</p>
  31.167 -                        <p>Press Ctrl-F2 on a bookmarked line to remove the bookmark.</li>
  31.168 -                    </ul>
  31.169 -                </td>
  31.170 -            </tr>
  31.171 -            
  31.172 -            <tr valign="top"> 
  31.173 -                <td>Maximize the Source Editor.</td>
  31.174 -                <td> 
  31.175 -                    <p>Do one of the following:</p>
  31.176 -                    <ul>
  31.177 -                        <li>Double-click a file's tab in the Source Editor.
  31.178 -                        </li>
  31.179 -
  31.180 -                        <li>Make sure that the Source Editor window has focus and then press Shift-Escape.</li>
  31.181 -                        <li>Choose Window&nbsp; &gt; Maximize.</li>
  31.182 -                    </ul>
  31.183 -                </td>
  31.184 -            </tr>
  31.185 -            <td>Revert a maximized Source Editor to its previous size.</td>
  31.186 -
  31.187 -            <td> 
  31.188 -                <p>Do one of the following:</p>
  31.189 -                <ul>
  31.190 -                    <li>Double-click a file's tab in the Source Editor.</li>
  31.191 -                    <li>Press Shift-Escape.</li>
  31.192 -                    <li>Choose Window&nbsp; &gt; Restore.
  31.193 -                    </li>
  31.194 -
  31.195 -                </ul>
  31.196 -            </td>
  31.197 -            </tr>
  31.198 -            <tr valign="top"> 
  31.199 -                <td>Display line numbers.</td>
  31.200 -                <td>Choose View
  31.201 -                    &gt; Show Line Numbers.
  31.202 -                </td>
  31.203 -            </tr>
  31.204 -
  31.205 -            <tr valign="top"> 
  31.206 -                <td>View two files simultaneously.</td>
  31.207 -                <td> 
  31.208 -                    <ol><li>Open two or more files.</li>
  31.209 -                    <li>Click the tab of one of the files and drag it to the side of the window 
  31.210 -                    where you want the file to be 
  31.211 -                    placed. When a red preview box appears to show you where the window will be placed, 
  31.212 -                    release the mouse button to drop the window.
  31.213 -                    <p>The window can be split horizontally or vertically, depending on where you drag 
  31.214 -                    the tab.</li></ol>
  31.215 -                </td>
  31.216 -            </tr> 
  31.217 -            <tr valign="top"> 
  31.218 -                <td>Split the view of a single file.</td>
  31.219 -
  31.220 -                <td> 
  31.221 -                    <ol>
  31.222 -                    <li>Right-click the document's tab in the Source Editor and choose 
  31.223 -                        Clone Document.
  31.224 -                    </li>
  31.225 -                    <li>Click the tab of the cloned document and drag it to the part of the window 
  31.226 -                    where you want the copy to be placed. </li></ol>
  31.227 -                </td>
  31.228 -            </tr>
  31.229 -
  31.230 -            
  31.231 -
  31.232 -
  31.233 -            
  31.234 -        </table>
  31.235 -
  31.236 -
  31.237 -        <hr>
  31.238 -
  31.239 -        <small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
  31.240 -
  31.241 -    </body>
  31.242 -</html>
    32.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-hs.xml	Thu Jul 10 19:13:29 2008 +0800
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,27 +0,0 @@
    32.4 -<?xml version="1.0" encoding="UTF-8"?>
    32.5 -<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
    32.6 -<helpset version="2.0">
    32.7 -    <title>BlueJ project type Help</title>
    32.8 -    <maps>
    32.9 -        <homeID>org.netbeans.bluej.about</homeID>
   32.10 -        <mapref location="bluej-map.xml"/>
   32.11 -    </maps>
   32.12 -    <view mergetype="javax.help.AppendMerge">
   32.13 -        <name>TOC</name>
   32.14 -        <label>Table of Contents</label>
   32.15 -        <type>javax.help.TOCView</type>
   32.16 -        <data>bluej-toc.xml</data>
   32.17 -    </view>
   32.18 -    <view mergetype="javax.help.AppendMerge">
   32.19 -        <name>Index</name>
   32.20 -        <label>Index</label>
   32.21 -        <type>javax.help.IndexView</type>
   32.22 -        <data>bluej-idx.xml</data>
   32.23 -    </view>
   32.24 -    <view>
   32.25 -        <name>Search</name>
   32.26 -        <label>Search</label>
   32.27 -        <type>javax.help.SearchView</type>
   32.28 -        <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
   32.29 -    </view>
   32.30 -</helpset>
    33.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-idx.xml	Thu Jul 10 19:13:29 2008 +0800
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,5 +0,0 @@
    33.4 -<?xml version="1.0" encoding="UTF-8"?>
    33.5 -<!DOCTYPE index PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 2.0//EN" "http://java.sun.com/products/javahelp/index_2_0.dtd">
    33.6 -<index version="2.0">
    33.7 -    <indexitem text="BlueJ plugin, about" target="org.netbeans.bluej.about"/>
    33.8 -</index>
    34.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-map.xml	Thu Jul 10 19:13:29 2008 +0800
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,12 +0,0 @@
    34.4 -<?xml version="1.0" encoding="UTF-8"?>
    34.5 -<!DOCTYPE map PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 2.0//EN" "http://java.sun.com/products/javahelp/map_2_0.dtd">
    34.6 -<map version="2.0">
    34.7 -    <mapID target="org.netbeans.bluej.about" url="bluej-about.html"/>
    34.8 -    <mapID target="bluej-about-help" url="bluej-about-help.html"/>
    34.9 -    <mapID target="bluej-proj-import" url="bluej-proj-import.html"/>
   34.10 -    <mapID target="bluej-proj-new" url="bluej-proj-new.html"/>
   34.11 -    <mapID target="bluej-proj-convert" url="bluej-proj-convert.html"/>    
   34.12 -    <mapID target="bluej-quickref" url="bluej-quickref.html"/>
   34.13 -    <mapID target="bluej-editor-quickref" url="bluej-editor-quickref.html"/>
   34.14 -    
   34.15 -</map>
    35.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-convert.html	Thu Jul 10 19:13:29 2008 +0800
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,51 +0,0 @@
    35.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    35.5 -<!--
    35.6 -*     Copyright � 2006 Sun Microsystems, Inc. All rights reserved.
    35.7 -*     Use is subject to license terms.
    35.8 -*
    35.9 --->
   35.10 -<HTML>
   35.11 -<HEAD>
   35.12 -    <TITLE>Converting a BlueJ Project to a Standard IDE Project</TITLE>
   35.13 -    <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
   35.14 -    </TITLE>
   35.15 -</HEAD>
   35.16 -<BODY>
   35.17 -
   35.18 -<h2>Converting a BlueJ Project to a Standard IDE Project</h2>
   35.19 -<p> <small><a href="#seealso">See Also</a></small></p>
   35.20 -
   35.21 -<p>If you no longer need the BlueJ visual representation of classes and need to use 
   35.22 -the capabilities of standard IDE projects, you can convert your BlueJ 
   35.23 -projects to NetBeans IDE projects.</p>
   35.24 -
   35.25 -<p><b>To convert a BlueJ project into a NetBeans IDE project:</b></p>
   35.26 -<ol>
   35.27 -    <li>Open the BlueJ project in NetBeans IDE.</li>
   35.28 -    <li>In the Projects window, right-click the project's node and choose 
   35.29 -    Convert to Java SE Project.</li>
   35.30 -</ol>
   35.31 -    <p>When you convert a BlueJ project into a standard Java SE project, 
   35.32 -    the IDE copies the sources from your existing project and places them 
   35.33 -    into a new project, where sources and compiled classes are separated into 
   35.34 -    different folders. Your BlueJ project remains, but is separate from the 
   35.35 -    newly created project. The converted project is not visible in the BlueJ view 
   35.36 -and can not be opened in BlueJ. </p> 
   35.37 -<p>In the converted project, you can easily manage the classpath through 
   35.38 - the Libraries node. You can manage the way the application is built and packaged 
   35.39 -through the Project Properties dialog box, which you can open by right-clicking the project's node and choosing 
   35.40 -Properties.
   35.41 -
   35.42 -        <dl>
   35.43 -            <dt><a name="seealso">See Also</a></dt>
   35.44 -            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_about.html">About Projects</a></dd>
   35.45 -            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_process.html">Working With Projects</a></dd>
   35.46 -            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_quickref.html">Project Tasks: Quick Reference</a></dd>
   35.47 -        </dl>
   35.48 -
   35.49 -
   35.50 -<hr>
   35.51 -
   35.52 -<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
   35.53 -</body>
   35.54 -</html>
    36.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-import.html	Thu Jul 10 19:13:29 2008 +0800
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,77 +0,0 @@
    36.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    36.5 -<!--
    36.6 -*     Copyright � 2006 Sun Microsystems, Inc. All rights reserved.
    36.7 -*     Use is subject to license terms.
    36.8 -*
    36.9 --->
   36.10 -<HTML>
   36.11 -<HEAD>
   36.12 -    <TITLE>Importing a BlueJ Project</TITLE>
   36.13 -    <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
   36.14 -    </TITLE>
   36.15 -</HEAD>
   36.16 -<BODY>
   36.17 -
   36.18 -<h2>Importing a BlueJ Project</h2>
   36.19 -<p> <small><a href="#seealso">See Also</a></small></p>
   36.20 -<p>You can work with existing BlueJ projects in the following two ways in the 
   36.21 -NetBeans IDE with BlueJ Module:</p>
   36.22 -<ul>
   36.23 -    <li>By opening the project in the IDE and keeping the same BlueJ
   36.24 -    project structure.
   36.25 -    <p>The advantage of this approach is that you can continue working much as you 
   36.26 -    have in BlueJ, but with the benefit of features in the NetBeans IDE editor.</li>
   36.27 -    <li>By opening the project in the IDE and then converting the project 
   36.28 -        into a standard NetBeans IDE Java SE project.
   36.29 -        <p>The advantage of this approach is that the NetBeans IDE project system 
   36.30 -        is more suitable for large projects. For example, you have more features in 
   36.31 -        the IDE for managing the classpath (such as for adding JAR files or the output of another 
   36.32 -        project to your classpath) and managing the way the application is built and 
   36.33 -        packaged. In addition, sources, unit tests, 
   36.34 -        and classes are placed in different folder.</p>
   36.35 -    </li>
   36.36 -</ul>
   36.37 -
   36.38 -
   36.39 -<p><b>To import an existing BlueJ project into NetBeans IDE:</b></p>
   36.40 -<ol>
   36.41 -    <li>In NetBeans IDE, choose File &gt; Open Project.</li>
   36.42 -    <li>In the Open Project dialog box, navigate to and select the folder for the 
   36.43 -    BlueJ project that you want to open. 
   36.44 -    (Project folders are indicated with the <img src="images/projectFolder.gif" alt="project folder image"> image.)
   36.45 -    Then click Open Project.</li>
   36.46 -</ol>
   36.47 -
   36.48 -<p>The project opens up in the IDE. You can view the project in either the BlueJ View 
   36.49 -window or the IDE's standard Projects window.</p>
   36.50 -
   36.51 -<p><b>To convert a BlueJ project into a NetBeans IDE project:</b></p>
   36.52 -<ol>
   36.53 -    <li>Open the BlueJ project in NetBeans IDE, as described in the procedure above.</li>
   36.54 -    <li>In the Projects window, right-click the project's node and choose 
   36.55 -    Convert to Java SE Project.</li>
   36.56 -</ol>
   36.57 -    <p>When you convert a BlueJ project into a standard Java SE project, 
   36.58 -    the IDE copies the sources from your existing project and places them 
   36.59 -    into a new project, where sources and compiled classes are separated into 
   36.60 -    different folders. Your BlueJ project remains, but is separate from the 
   36.61 -    newly created project. The converted project is not visible in the BlueJ view 
   36.62 -and can not be opened in BlueJ. </p> 
   36.63 -<p>In the converted project, you can easily manage the classpath through 
   36.64 - the Libraries node. You can manage the way the application is built and packaged 
   36.65 -through the Project Properties dialog box, which you can open by right-clicking the project's node and choosing 
   36.66 -Properties.
   36.67 -
   36.68 -        <dl>
   36.69 -            <dt><a name="seealso">See Also</a></dt>
   36.70 -            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_about.html">About Projects</a></dd>
   36.71 -            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_process.html">Working With Projects</a></dd>
   36.72 -            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_quickref.html">Project Tasks: Quick Reference</a></dd>
   36.73 -        </dl>
   36.74 -
   36.75 -
   36.76 -<hr>
   36.77 -
   36.78 -<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
   36.79 -</body>
   36.80 -</html>
    37.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-new.html	Thu Jul 10 19:13:29 2008 +0800
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,55 +0,0 @@
    37.4 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    37.5 -<!--
    37.6 -*     Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
    37.7 -*     Use is subject to license terms.
    37.8 -*
    37.9 --->
   37.10 -<HTML>
   37.11 -<HEAD>
   37.12 -    <TITLE>Creating a New Project</TITLE>
   37.13 -    <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
   37.14 -    </TITLE>
   37.15 -</HEAD>
   37.16 -<BODY>
   37.17 -
   37.18 -<h2>Creating a New Project</h2>
   37.19 -<p> <small><a href="#seealso">See Also</a></small></p>
   37.20 -
   37.21 -<p>If you want to create a new application in the IDE, you need 
   37.22 -to first have a project to work in. You can 
   37.23 -open an existing project or create a new project.</p>
   37.24 -<p>When you create a project, you have your choice between the  
   37.25 -following groups of templates:</p>
   37.26 -<ul>
   37.27 -    <li><b>BlueJ</b>. Contains the Empty BlueJ Project template, 
   37.28 -    which enables you to create a project that can be opened in  
   37.29 -    both NetBeans IDE and BlueJ. Projects created with this template 
   37.30 -    do not contain the full set of NetBeans IDE project features, 
   37.31 -    but you can later convert such a project into a NetBeans IDE project.</li>
   37.32 -    <li><b>General</b>. Contains several different project templates 
   37.33 -    for creating Java SE projects. When you select a template, 
   37.34 -    a description of that template appears in the bottom panel. If you are creating a new application, 
   37.35 -    the Java Application template is the most useful template.
   37.36 -    <p>When you use one of these templates, 
   37.37 -    your project has the full range of NetBeans IDE project features, 
   37.38 -    but the project can not be opened in BlueJ or in the IDE's BlueJ View 
   37.39 -    window.</p></li>
   37.40 -    <li><b>Samples</b>. This folder contains a sample application and 
   37.41 -    a sample project that contains examples of some Swing user interfaces.</li>
   37.42 -</ul>
   37.43 -<p><b>To create a new IDE project:</b></p>
   37.44 -<ol>
   37.45 -    <li>Choose File &gt; New Project.</li>
   37.46 -    <li>In the wizard, select a template and complete the wizard.</li>
   37.47 -</ol>
   37.48 -
   37.49 -        <dl>
   37.50 -            <dt><a name="seealso">See Also</a></dt>
   37.51 -            <dd><a href="bluej-proj-import.html">Importing a BlueJ Project</a></dd>
   37.52 -        </dl>
   37.53 -
   37.54 -<hr>
   37.55 -
   37.56 -<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
   37.57 -</body>
   37.58 -</html>
    38.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-quickref.html	Thu Jul 10 19:13:29 2008 +0800
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,229 +0,0 @@
    38.4 -<html>
    38.5 -    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    38.6 -    <!--
    38.7 -    * Copyright � 2006 Sun Microsystems, Inc.
    38.8 -    * All rights reserved. 
    38.9 -    * Use is subject to license terms.
   38.10 -    -->
   38.11 -    <head>
   38.12 -        <title>Basic IDE Tasks: Quick Reference</title>
   38.13 -        <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
   38.14 -    </head>
   38.15 -
   38.16 -    <body>
   38.17 -        <h2>Basic IDE Tasks: Quick Reference</h2>
   38.18 -        <p> This topic describes common tasks you can perform in the NetBeans IDE 
   38.19 -         after you have created a project. 
   38.20 -        For more detailed information on these tasks, click the links 
   38.21 -        provided or browse the rest of the IDE's help. </p>
   38.22 -
   38.23 -        <table border="1" cellpadding="5" cellspacing="0" summary="The left column lists the
   38.24 -            task name. The right column lists the steps to perform.">
   38.25 -            <tr valign="top"> 
   38.26 -                <th scope="col" align="left">To perform this task</th>
   38.27 -                <th scope="col" align="left">Follow these steps</th>
   38.28 -            </tr>
   38.29 -            <tr valign="top"> 
   38.30 -                <td>Create a new file.</td>
   38.31 -                <td> 
   38.32 -                    <ol>
   38.33 -                        <li>Choose File &gt; New File. </li>
   38.34 -                        <li>In the wizard, select a file type from one of the categories 
   38.35 -                        and complete the wizard.</li>
   38.36 -                    </ol>
   38.37 -                </td>
   38.38 -            </tr>
   38.39 -            
   38.40 -            <tr valign="top"> 
   38.41 -                <td>Build a project.</td>
   38.42 -                <td> 
   38.43 -                    <ol>
   38.44 -                        <li>Select the node of the project you want to build. </li>
   38.45 -                        <li>Choose Build  &gt; Build
   38.46 -                        Main Project (F11) or right-click any project in the Projects window
   38.47 -                        and choose Build Project. </li>
   38.48 -                    </ol>
   38.49 -                </td>
   38.50 -            </tr>
   38.51 -            <tr valign="top"> 
   38.52 -                <td>Stop building a project.</td>
   38.53 -                <td><ul>
   38.54 -                    <li>Choose Build  &gt;  Stop Build/Run from the main menu.</li>
   38.55 -                </ul>
   38.56 -                </td>
   38.57 -            </tr>
   38.58 -
   38.59 -
   38.60 -            <tr valign="top"> 
   38.61 -                <td>Compile a single file.</td>
   38.62 -                <td> 
   38.63 -                    <ol>
   38.64 -                        <li>Select the node of the file you want to build. </li>
   38.65 -                        <li>Choose Build  &gt; Compile
   38.66 -                        File (F9).</li>
   38.67 -                    </ol>
   38.68 -                </td>
   38.69 -            </tr>
   38.70 -            
   38.71 -            <tr valign="top"> 
   38.72 -                <td>Add a JAR file to a project's classpath.</td>
   38.73 -                <td> 
   38.74 -                    <ol>
   38.75 -                        <li>Open the Project Properties dialog box by 
   38.76 -                        right-clicking the  project node and choosing Properties from the Project
   38.77 -                        window.        	</li>
   38.78 -                        <li>Select the Libraries node in the Categories pane. Then click the
   38.79 -                        Compile tab.</li>
   38.80 -                        <li>Click Add JAR and select the JAR file in the file chooser.</li>
   38.81 -                    </ol>
   38.82 -                </td>
   38.83 -            </tr>
   38.84 -            <tr valign="top"> 
   38.85 -                <td>Add an IDE project to a project's classpath.</td>
   38.86 -                <td> 
   38.87 -                    <ol>
   38.88 -                        <li>Open the Project Properties dialog box by right-clicking the project
   38.89 -                        node and choosing Properties from the Project window. </li>
   38.90 -                        <li>Select the Libraries node in the
   38.91 -                        Categories pane. Then click the Compile tab.</li>
   38.92 -                        <li>Click <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/compile/comp_dependencies.html">Add Project</a> and select
   38.93 -                        the project directory for the  project you want to add. </li>
   38.94 -                    </ol>
   38.95 -                </td>
   38.96 -            </tr>
   38.97 -
   38.98 -            <tr valign="top"> 
   38.99 -                <td>Clean a project (delete compiled classes and other artifacts of 
  38.100 -                the built project).</td>
  38.101 -                <td> 
  38.102 -                    <ul>
  38.103 -                        <li>In the Projects window, right-click the project node and choose Clean 
  38.104 -                        Project.</li>
  38.105 -                    </ul>
  38.106 -                </td>
  38.107 -            </tr>
  38.108 -            <tr valign="top"> 
  38.109 -                <td>Clean and build the main project.</td>
  38.110 -                <td> 
  38.111 -                    <ol>
  38.112 -                        <li>Select the node of the project you want to clean and build. </li>
  38.113 -                        <li>Choose Build  &gt; Clean
  38.114 -                        and Build Main Project (Shift-F11).</li>
  38.115 -                    </ol>
  38.116 -                </td>
  38.117 -            </tr>
  38.118 -            <tr valign="top"> 
  38.119 -                <td>View files created by the build.</td>
  38.120 -                <td> 
  38.121 -                    <ol>
  38.122 -                        <li>Open the Files window (Windows &gt; Files) and expand the project folder node. </li>
  38.123 -                        <li>Expand the <tt>build</tt> folder to view compiled classes. </li>
  38.124 -                        <li>Expand the <tt>dist</tt> folder to view Javadoc
  38.125 -                        files and built libraries, such as  JAR files.</li>
  38.126 -                    </ol>
  38.127 -                </td>
  38.128 -            </tr>
  38.129 -            <tr valign="top"> 
  38.130 -                <td>Correct compilation errors.</td>
  38.131 -                <td> 
  38.132 -                    <ul>
  38.133 -                        <li>In the <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/compile/comp_output.html">Output window</a>, double-click 
  38.134 -                        any Java syntax error to jump to the location in the source code where 
  38.135 -                        the error occurred.</li>
  38.136 -                    </ul>
  38.137 -                </td>
  38.138 -            </tr>
  38.139 -            <tr valign="top"> 
  38.140 -                <td>Set the project main class</td>
  38.141 -                <td> 
  38.142 -                    <ol>
  38.143 -                        <li>Right-click the project node in the Projects window and choose Properties.</li>
  38.144 -                        <li>Select the Run node in the Categories pane.</li>
  38.145 -                        <li>Type the fully qualified name of the class in the 
  38.146 -                        <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/run/run_args.html">Main Class field</a>.</li>
  38.147 -                    </ol>
  38.148 -                </td>
  38.149 -            </tr>
  38.150 -            <tr valign="top"> 
  38.151 -                <td>Set the runtime arguments (arguments to the program's main method).</td>
  38.152 -                <td> 
  38.153 -                    <ol>
  38.154 -                        <li>Right-click the project node in the Projects window and choose Properties.</li>
  38.155 -                        <li>Select the Run node in the Categories pane.</li>
  38.156 -                        <li>Enter the arguments in the Arguments field.</li>
  38.157 -                    </ol>
  38.158 -                </td>
  38.159 -            </tr>
  38.160 -            <tr valign="top"> 
  38.161 -                <td>Set the runtime classpath.</td>
  38.162 -                <td> 
  38.163 -                    <ol>
  38.164 -                        <li>Right-click the project node in the Projects window and choose Properties.</li>
  38.165 -                        <li>Select the Libraries node in the Categories pane.</li>
  38.166 -                        <li>Click <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/compile/comp_dependencies.html">Add Project</a>, <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/compile/comp_libraries.html">Add
  38.167 -                            Library</a>,
  38.168 -                            or Add JAR/Folder.<!--<p> By default, the project's runtime classpath contains the project's 
  38.169 -                            compiled sources and everything on the compilation classpath. -->
  38.170 -                        </li>
  38.171 -                    </ol>
  38.172 -                </td>
  38.173 -            </tr>
  38.174 -            <tr valign="top"> 
  38.175 -                <td>Set JVM arguments.</td>
  38.176 -                <td> 
  38.177 -                    <ol>
  38.178 -                        <li>Right-click the project node in the Projects window and choose Properties.</li>
  38.179 -                        <li>Select the Run node in the Categories pane.</li>
  38.180 -                        <li>Type a space-separated list of arguments in the VM Options field.</li>
  38.181 -                    </ol>
  38.182 -                </td>
  38.183 -            </tr>
  38.184 -            <tr valign="top"> 
  38.185 -                <td>Set the working directory for execution.</td>
  38.186 -                <td> 
  38.187 -                    <ol>
  38.188 -                        <li>Right-click the project node in the Projects window and choose Properties.</li>
  38.189 -                        <li>Select the Run node in the Categories pane.</li>
  38.190 -                        <li>Type the full path to the working directory in the Working Directory 
  38.191 -                        field.</li>
  38.192 -                    </ol>
  38.193 -                </td>
  38.194 -            </tr>
  38.195 -            <tr valign="top"> 
  38.196 -                <td>Run a project.</td>
  38.197 -                <td> 
  38.198 -                    <ul>
  38.199 -                        <li>Choose Run  &gt; <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/run/run_app.html">Run 
  38.200 -                        Main Project</a> (F6) or right-click any project in the Projects window 
  38.201 -                        and choose Run Project. </li>
  38.202 -                    </ul>
  38.203 -                </td>
  38.204 -            </tr>
  38.205 -            <tr valign="top"> 
  38.206 -                <td> 
  38.207 -                    <p>Run a single file.</p>
  38.208 -                </td>
  38.209 -                <td> 
  38.210 -                    <ol>
  38.211 -                        <li>Select one or more files in the Projects window, Files window, or 
  38.212 -                        Source Editor.</li>
  38.213 -                        <li>Choose Run  &gt; Run
  38.214 -                        File  &gt; <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/run/run_file.html">Run
  38.215 -                        Class</a> from the main menu.</li>
  38.216 -                    </ol>
  38.217 -                </td>
  38.218 -            </tr>
  38.219 -            
  38.220 -            
  38.221 -        </table>
  38.222 -
  38.223 -        <hr>
  38.224 -        <small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
  38.225 -        <table cellpadding="50" border="0">
  38.226 -            <tr>
  38.227 -                <td>&nbsp;</td>
  38.228 -            </tr>
  38.229 -        </table> 
  38.230 -    </body>
  38.231 -</html>
  38.232 -
    39.1 --- a/bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/bluej-toc.xml	Thu Jul 10 19:13:29 2008 +0800
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,12 +0,0 @@
    39.4 -<?xml version="1.0" encoding="UTF-8"?>
    39.5 -<!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN" "http://java.sun.com/products/javahelp/toc_2_0.dtd">
    39.6 -<toc version="2.0">
    39.7 -    <tocitem text="NetBeans IDE BlueJ Plugin Help">
    39.8 -        <tocitem text="About Using NetBeans IDE BlueJ Plugin" target="org.netbeans.bluej.about"/>
    39.9 -        <tocitem text="Importing a BlueJ Project" target="bluej-proj-import"/>
   39.10 -        <tocitem text="Creating a New Project" target="bluej-proj-new"/>
   39.11 -        <tocitem text="Converting a BlueJ Project to a Standard IDE Project" target="bluej-proj-convert"/>
   39.12 -        <tocitem text="Basic NetBeans IDE Tasks: Quick Reference" target="bluej-quickref"/>
   39.13 -        <tocitem text="Source Editor Tips" target="bluej-editor-quickref"/>
   39.14 -    </tocitem>
   39.15 -</toc>
    40.1 Binary file bluej-suite/bluej/javahelp/org/netbeans/bluej/docs/images/projectFolder.gif has changed
    41.1 --- a/bluej-suite/bluej/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
    41.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.3 @@ -1,7 +0,0 @@
    41.4 -Manifest-Version: 1.0
    41.5 -OpenIDE-Module: org.netbeans.bluej
    41.6 -OpenIDE-Module-Layer: org/netbeans/bluej/layer.xml
    41.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/bluej/Bundle.properties
    41.8 -OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help
    41.9 -OpenIDE-Module-Specification-Version: 1.2
   41.10 -
    42.1 --- a/bluej-suite/bluej/nbproject/build-impl.xml	Thu Jul 10 19:13:29 2008 +0800
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,30 +0,0 @@
    42.4 -<?xml version="1.0" encoding="UTF-8"?>
    42.5 -<!--
    42.6 -*** GENERATED FROM project.xml - DO NOT EDIT  ***
    42.7 -***         EDIT ../build.xml INSTEAD         ***
    42.8 --->
    42.9 -<project name="org.netbeans.bluej-impl" basedir="..">
   42.10 -    <property file="nbproject/private/suite-private.properties"/>
   42.11 -    <property file="nbproject/suite.properties"/>
   42.12 -    <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
   42.13 -    <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
   42.14 -    <property file="${suite.dir}/nbproject/platform.properties"/>
   42.15 -    <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
   42.16 -        <attribute name="name"/>
   42.17 -        <attribute name="value"/>
   42.18 -        <sequential>
   42.19 -            <property name="@{name}" value="${@{value}}"/>
   42.20 -        </sequential>
   42.21 -    </macrodef>
   42.22 -    <property file="${user.properties.file}"/>
   42.23 -    <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
   42.24 -    <nbmproject2:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
   42.25 -    <fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'">
   42.26 -        <condition>
   42.27 -            <not>
   42.28 -                <available file="${harness.dir}" type="dir"/>
   42.29 -            </not>
   42.30 -        </condition>
   42.31 -    </fail>
   42.32 -    <import file="${harness.dir}/build.xml"/>
   42.33 -</project>
    43.1 --- a/bluej-suite/bluej/nbproject/genfiles.properties	Thu Jul 10 19:13:29 2008 +0800
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,8 +0,0 @@
    43.4 -build.xml.data.CRC32=5fc25ec3
    43.5 -build.xml.script.CRC32=f9613591
    43.6 -build.xml.stylesheet.CRC32=05353c81
    43.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    43.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    43.9 -nbproject/build-impl.xml.data.CRC32=9750d98e
   43.10 -nbproject/build-impl.xml.script.CRC32=44346c8c
   43.11 -nbproject/build-impl.xml.stylesheet.CRC32=deb65f65
    44.1 --- a/bluej-suite/bluej/nbproject/project.properties	Thu Jul 10 19:13:29 2008 +0800
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,3 +0,0 @@
    44.4 -license.file=../../../nbbuild/standard-nbm-license.txt
    44.5 -nbm.homepage=http://bluej.org/netbeans/
    44.6 -nbm.module.author=Milos Kleint, Michael Koelling, Ian Utting
    45.1 --- a/bluej-suite/bluej/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
    45.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.3 @@ -1,242 +0,0 @@
    45.4 -<?xml version="1.0" encoding="UTF-8"?>
    45.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
    45.6 -    <type>org.netbeans.modules.apisupport.project</type>
    45.7 -    <configuration>
    45.8 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
    45.9 -            <code-name-base>org.netbeans.bluej</code-name-base>
   45.10 -            <suite-component/>
   45.11 -            <module-dependencies>
   45.12 -                <dependency>
   45.13 -                    <code-name-base>org.apache.tools.ant.module</code-name-base>
   45.14 -                    <build-prerequisite/>
   45.15 -                    <compile-dependency/>
   45.16 -                    <run-dependency>
   45.17 -                        <release-version>3</release-version>
   45.18 -                        <specification-version>3.24.1.1</specification-version>
   45.19 -                    </run-dependency>
   45.20 -                </dependency>
   45.21 -                <dependency>
   45.22 -                    <code-name-base>org.jdesktop.layout</code-name-base>
   45.23 -                    <build-prerequisite/>
   45.24 -                    <compile-dependency/>
   45.25 -                    <run-dependency>
   45.26 -                        <release-version>1</release-version>
   45.27 -                        <specification-version>1.3.1</specification-version>
   45.28 -                    </run-dependency>
   45.29 -                </dependency>
   45.30 -                <dependency>
   45.31 -                    <code-name-base>org.netbeans.api.java</code-name-base>
   45.32 -                    <build-prerequisite/>
   45.33 -                    <compile-dependency/>
   45.34 -                    <run-dependency>
   45.35 -                        <release-version>1</release-version>
   45.36 -                        <specification-version>1.10</specification-version>
   45.37 -                    </run-dependency>
   45.38 -                </dependency>
   45.39 -                <!--we still want to run in 6.1
   45.40 -                dependency>
   45.41 -                    <code-name-base>org.netbeans.api.java.classpath</code-name-base>
   45.42 -                    <build-prerequisite/>
   45.43 -                    <compile-dependency/>
   45.44 -                    <run-dependency>
   45.45 -                        <release-version>1</release-version>
   45.46 -                        <specification-version>1.0</specification-version>
   45.47 -                    </run-dependency>
   45.48 -                </dependency-->
   45.49 -                <dependency>
   45.50 -                    <code-name-base>org.netbeans.api.progress</code-name-base>
   45.51 -                    <build-prerequisite/>
   45.52 -                    <compile-dependency/>
   45.53 -                    <run-dependency>
   45.54 -                        <release-version>1</release-version>
   45.55 -                        <specification-version>1.5</specification-version>
   45.56 -                    </run-dependency>
   45.57 -                </dependency>
   45.58 -                <dependency>
   45.59 -                    <code-name-base>org.netbeans.libs.javacapi</code-name-base>
   45.60 -                    <build-prerequisite/>
   45.61 -                    <compile-dependency/>
   45.62 -                    <run-dependency>
   45.63 -                        <specification-version>0.5.1</specification-version>
   45.64 -                    </run-dependency>
   45.65 -                </dependency>
   45.66 -                <dependency>
   45.67 -                    <code-name-base>org.netbeans.modules.java.platform</code-name-base>
   45.68 -                    <build-prerequisite/>
   45.69 -                    <compile-dependency/>
   45.70 -                    <run-dependency>
   45.71 -                        <release-version>1</release-version>
   45.72 -                        <specification-version>1.7.1</specification-version>
   45.73 -                    </run-dependency>
   45.74 -                </dependency>
   45.75 -                <dependency>
   45.76 -                    <code-name-base>org.netbeans.modules.java.project</code-name-base>
   45.77 -                    <build-prerequisite/>
   45.78 -                    <compile-dependency/>
   45.79 -                    <run-dependency>
   45.80 -                        <release-version>1</release-version>
   45.81 -                        <specification-version>1.8.1</specification-version>
   45.82 -                    </run-dependency>
   45.83 -                </dependency>
   45.84 -                <dependency>
   45.85 -                    <code-name-base>org.netbeans.modules.java.source</code-name-base>
   45.86 -                    <build-prerequisite/>
   45.87 -                    <compile-dependency/>
   45.88 -                    <run-dependency>
   45.89 -                        <specification-version>0.4</specification-version>
   45.90 -                    </run-dependency>
   45.91 -                </dependency>
   45.92 -                <dependency>
   45.93 -                    <code-name-base>org.netbeans.modules.options.api</code-name-base>
   45.94 -                    <build-prerequisite/>
   45.95 -                    <compile-dependency/>
   45.96 -                    <run-dependency>
   45.97 -                        <release-version>0-1</release-version>
   45.98 -                        <specification-version>1.3.1</specification-version>
   45.99 -                    </run-dependency>
  45.100 -                </dependency>
  45.101 -                <dependency>
  45.102 -                    <code-name-base>org.netbeans.modules.project.ant</code-name-base>
  45.103 -                    <build-prerequisite/>
  45.104 -                    <compile-dependency/>
  45.105 -                    <run-dependency>
  45.106 -                        <release-version>1</release-version>
  45.107 -                        <specification-version>1.12.1</specification-version>
  45.108 -                    </run-dependency>
  45.109 -                </dependency>
  45.110 -                <dependency>
  45.111 -                    <code-name-base>org.netbeans.modules.project.libraries</code-name-base>
  45.112 -                    <build-prerequisite/>
  45.113 -                    <compile-dependency/>
  45.114 -                    <run-dependency>
  45.115 -                        <release-version>1</release-version>
  45.116 -                        <specification-version>1.13</specification-version>
  45.117 -                    </run-dependency>
  45.118 -                </dependency>
  45.119 -                <dependency>
  45.120 -                    <code-name-base>org.netbeans.modules.projectapi</code-name-base>
  45.121 -                    <build-prerequisite/>
  45.122 -                    <compile-dependency/>
  45.123 -                    <run-dependency>
  45.124 -                        <release-version>1</release-version>
  45.125 -                        <specification-version>1.9.1</specification-version>
  45.126 -                    </run-dependency>
  45.127 -                </dependency>
  45.128 -                <dependency>
  45.129 -                    <code-name-base>org.netbeans.modules.projectuiapi</code-name-base>
  45.130 -                    <build-prerequisite/>
  45.131 -                    <compile-dependency/>
  45.132 -                    <run-dependency>
  45.133 -                        <release-version>1</release-version>
  45.134 -                        <specification-version>1.13.1.5</specification-version>
  45.135 -                    </run-dependency>
  45.136 -                </dependency>
  45.137 -                <dependency>
  45.138 -                    <code-name-base>org.netbeans.modules.queries</code-name-base>
  45.139 -                    <build-prerequisite/>
  45.140 -                    <compile-dependency/>
  45.141 -                    <run-dependency>
  45.142 -                        <release-version>1</release-version>
  45.143 -                        <specification-version>1.7.1</specification-version>
  45.144 -                    </run-dependency>
  45.145 -                </dependency>
  45.146 -                <dependency>
  45.147 -                    <code-name-base>org.openide.actions</code-name-base>
  45.148 -                    <build-prerequisite/>
  45.149 -                    <compile-dependency/>
  45.150 -                    <run-dependency>
  45.151 -                        <specification-version>6.5.1</specification-version>
  45.152 -                    </run-dependency>
  45.153 -                </dependency>
  45.154 -                <dependency>
  45.155 -                    <code-name-base>org.openide.awt</code-name-base>
  45.156 -                    <build-prerequisite/>
  45.157 -                    <compile-dependency/>
  45.158 -                    <run-dependency/>
  45.159 -                </dependency>
  45.160 -                <dependency>
  45.161 -                    <code-name-base>org.openide.dialogs</code-name-base>
  45.162 -                    <build-prerequisite/>
  45.163 -                    <compile-dependency/>
  45.164 -                    <run-dependency>
  45.165 -                        <specification-version>6.5.1</specification-version>
  45.166 -                    </run-dependency>
  45.167 -                </dependency>
  45.168 -                <dependency>
  45.169 -                    <code-name-base>org.openide.execution</code-name-base>
  45.170 -                    <build-prerequisite/>
  45.171 -                    <compile-dependency/>
  45.172 -                    <run-dependency>
  45.173 -                        <specification-version>1.8.1</specification-version>
  45.174 -                    </run-dependency>
  45.175 -                </dependency>
  45.176 -                <dependency>
  45.177 -                    <code-name-base>org.openide.filesystems</code-name-base>
  45.178 -                    <build-prerequisite/>
  45.179 -                    <compile-dependency/>
  45.180 -                    <run-dependency>
  45.181 -                        <specification-version>6.4.1</specification-version>
  45.182 -                    </run-dependency>
  45.183 -                </dependency>
  45.184 -                <dependency>
  45.185 -                    <code-name-base>org.openide.io</code-name-base>
  45.186 -                    <build-prerequisite/>
  45.187 -                    <compile-dependency/>
  45.188 -                    <run-dependency>
  45.189 -                        <specification-version>1.9</specification-version>
  45.190 -                    </run-dependency>
  45.191 -                </dependency>
  45.192 -                <dependency>
  45.193 -                    <code-name-base>org.openide.loaders</code-name-base>
  45.194 -                    <build-prerequisite/>
  45.195 -                    <compile-dependency/>
  45.196 -                    <run-dependency>
  45.197 -                        <specification-version>5.9.1</specification-version>
  45.198 -                    </run-dependency>
  45.199 -                </dependency>
  45.200 -                <dependency>
  45.201 -                    <code-name-base>org.openide.modules</code-name-base>
  45.202 -                    <build-prerequisite/>
  45.203 -                    <compile-dependency/>
  45.204 -                    <run-dependency>
  45.205 -                        <specification-version>6.5.1</specification-version>
  45.206 -                    </run-dependency>
  45.207 -                </dependency>
  45.208 -                <dependency>
  45.209 -                    <code-name-base>org.openide.nodes</code-name-base>
  45.210 -                    <build-prerequisite/>
  45.211 -                    <compile-dependency/>
  45.212 -                    <run-dependency>
  45.213 -                        <specification-version>6.7.1</specification-version>
  45.214 -                    </run-dependency>
  45.215 -                </dependency>
  45.216 -                <dependency>
  45.217 -                    <code-name-base>org.openide.util</code-name-base>
  45.218 -                    <build-prerequisite/>
  45.219 -                    <compile-dependency/>
  45.220 -                    <run-dependency>
  45.221 -                        <specification-version>6.8.1</specification-version>
  45.222 -                    </run-dependency>
  45.223 -                </dependency>
  45.224 -                <dependency>
  45.225 -                    <code-name-base>org.openide.windows</code-name-base>
  45.226 -                    <build-prerequisite/>
  45.227 -                    <compile-dependency/>
  45.228 -                    <run-dependency>
  45.229 -                        <specification-version>6.5</specification-version>
  45.230 -                    </run-dependency>
  45.231 -                </dependency>
  45.232 -            </module-dependencies>
  45.233 -            <friend-packages>
  45.234 -                <friend>org.netbeans.bluej.ui</friend>
  45.235 -                <package>org.netbeans.bluej.api</package>
  45.236 -            </friend-packages>
  45.237 -            <extra-compilation-unit>
  45.238 -                <package-root>antsrc</package-root>
  45.239 -                <classpath>${ant.home}/lib/ant.jar</classpath>
  45.240 -                <built-to>build/antclasses</built-to>
  45.241 -                <built-to>${cluster}/ant/nblib/${code.name.base.dashes}.jar</built-to>
  45.242 -            </extra-compilation-unit>
  45.243 -        </data>
  45.244 -    </configuration>
  45.245 -</project>
    46.1 --- a/bluej-suite/bluej/nbproject/suite.properties	Thu Jul 10 19:13:29 2008 +0800
    46.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.3 @@ -1,12 +0,0 @@
    46.4 -suite.dir=${basedir}/..
    46.5 -ant.jar=${ant.home}/lib/ant.jar
    46.6 -javac.source=1.5
    46.7 -javahelp.hs=bluej-hs.xml
    46.8 -## for some reason cluster cannot contain ${bluej_cluster} prop
    46.9 -cluster=${suite.dir}/build/nbbluej6.0
   46.10 -
   46.11 -#antsrc.cp=\
   46.12 -#    ${ant.jar}:\
   46.13 -#    ${openide/io.dir}/${bluej_platform_cluster}/modules/org-openide-io.jar:\
   46.14 -#    ${openide/util.dir}/${bluej_platform_cluster}/lib/org-openide-util.jar
   46.15 -
    47.1 --- a/bluej-suite/bluej/src/META-INF/services/org.apache.tools.ant.module.spi.AntLogger	Thu Jul 10 19:13:29 2008 +0800
    47.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.3 @@ -1,2 +0,0 @@
    47.4 -org.netbeans.bluej.ant.BluejAntLogger
    47.5 -#position=1
    48.1 --- a/bluej-suite/bluej/src/META-INF/services/org.netbeans.spi.project.ProjectFactory	Thu Jul 10 19:13:29 2008 +0800
    48.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.3 @@ -1,1 +0,0 @@
    48.4 -org.netbeans.bluej.BluejProjectFactory
    49.1 --- a/bluej-suite/bluej/src/META-INF/services/org.netbeans.spi.project.support.ant.AntBasedProjectType	Thu Jul 10 19:13:29 2008 +0800
    49.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.3 @@ -1,1 +0,0 @@
    49.4 -org.netbeans.bluej.BluejProjectType
    50.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BJClassPathExtender.java	Thu Jul 10 19:13:29 2008 +0800
    50.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.3 @@ -1,108 +0,0 @@
    50.4 -/*
    50.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    50.6 - *
    50.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    50.8 - *
    50.9 - * The contents of this file are subject to the terms of either the GNU
   50.10 - * General Public License Version 2 only ("GPL") or the Common
   50.11 - * Development and Distribution License("CDDL") (collectively, the
   50.12 - * "License"). You may not use this file except in compliance with the
   50.13 - * License. You can obtain a copy of the License at
   50.14 - * http://www.netbeans.org/cddl-gplv2.html
   50.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   50.16 - * specific language governing permissions and limitations under the
   50.17 - * License.  When distributing the software, include this License Header
   50.18 - * Notice in each file and include the License file at
   50.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   50.20 - * particular file as subject to the "Classpath" exception as provided
   50.21 - * by Sun in the GPL Version 2 section of the License file that
   50.22 - * accompanied this code. If applicable, add the following below the
   50.23 - * License Header, with the fields enclosed by brackets [] replaced by
   50.24 - * your own identifying information:
   50.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   50.26 - *
   50.27 - * Contributor(s):
   50.28 - *
   50.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   50.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   50.31 - * Microsystems, Inc. All Rights Reserved.
   50.32 - *
   50.33 - * If you wish your version of this file to be governed by only the CDDL
   50.34 - * or only the GPL Version 2, indicate your decision by adding
   50.35 - * "[Contributor] elects to include this software in this distribution
   50.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   50.37 - * single choice of license, a recipient has the option to distribute
   50.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   50.39 - * to extend the choice of license to its licensees as provided above.
   50.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   50.41 - * Version 2 license, then the option applies only if the new code is
   50.42 - * made subject to such option by the copyright holder.
   50.43 - */
   50.44 -
   50.45 -package org.netbeans.bluej;
   50.46 -
   50.47 -import java.io.IOException;
   50.48 -import java.net.URI;
   50.49 -import java.net.URL;
   50.50 -import java.util.Iterator;
   50.51 -import org.netbeans.api.project.ant.AntArtifact;
   50.52 -import org.netbeans.bluej.classpath.ClassPathProviderImpl;
   50.53 -import org.netbeans.spi.java.project.classpath.ProjectClassPathExtender;
   50.54 -import org.openide.filesystems.FileObject;
   50.55 -import org.openide.filesystems.FileUtil;
   50.56 -import org.openide.filesystems.URLMapper;
   50.57 -
   50.58 -/**
   50.59 - *
   50.60 - * @author mkleint
   50.61 - */
   50.62 -public class BJClassPathExtender implements ProjectClassPathExtender{
   50.63 -
   50.64 -    private BluejProject project;
   50.65 -    
   50.66 -    /** Creates a new instance of BJClassPathExtender */
   50.67 -    public BJClassPathExtender(BluejProject proj) {
   50.68 -        project = proj;
   50.69 -    }
   50.70 -
   50.71 -    public boolean addLibrary(org.netbeans.api.project.libraries.Library library) throws IOException {
   50.72 -        FileObject libs = project.getProjectDirectory().getFileObject("+libs"); //NOI18N
   50.73 -        if (libs == null) {
   50.74 -            libs = project.getProjectDirectory().createFolder("+libs"); //NOI18N
   50.75 -        }
   50.76 -        Iterator it = library.getContent("classpath").iterator(); //NOI18N
   50.77 -        while (it.hasNext()) {
   50.78 -            URL url = (URL) it.next();
   50.79 -            if (FileUtil.getArchiveFile(url) != null) {
   50.80 -                url = FileUtil.getArchiveFile(url);
   50.81 -            }
   50.82 -            FileObject fo = URLMapper.findFileObject(url);
   50.83 -            FileObject newLib = libs.getFileObject(fo.getNameExt());
   50.84 -            if (newLib == null) {
   50.85 -                FileUtil.copyFile(fo, libs, fo.getName());
   50.86 -            }
   50.87 -        }
   50.88 -        ClassPathProviderImpl prov = (ClassPathProviderImpl) project.getLookup().lookup(ClassPathProviderImpl.class);
   50.89 -        prov.getBluejCPImpl().fireChange();
   50.90 -        return true;
   50.91 -    }
   50.92 -
   50.93 -    public boolean addArchiveFile(FileObject archiveFile) throws IOException {
   50.94 -        FileObject libs = project.getProjectDirectory().getFileObject("+libs"); //NOI18N
   50.95 -        if (libs == null) {
   50.96 -            libs = project.getProjectDirectory().createFolder("+libs"); //NOI18N
   50.97 -        }
   50.98 -        FileObject newLib = libs.getFileObject(archiveFile.getNameExt());
   50.99 -        if (newLib == null) {
  50.100 -            FileUtil.copyFile(archiveFile, libs, archiveFile.getName());
  50.101 -        }
  50.102 -        ClassPathProviderImpl prov = (ClassPathProviderImpl) project.getLookup().lookup(ClassPathProviderImpl.class);
  50.103 -        prov.getBluejCPImpl().fireChange();
  50.104 -        return true;
  50.105 -    }
  50.106 -
  50.107 -    public boolean addAntArtifact(AntArtifact artifact, URI artifactElement) throws IOException {
  50.108 -        throw new IOException("It is not possible to create project dependencies in BlueJ projects. Please convert the project to J2SE Project first.");
  50.109 -    }
  50.110 -    
  50.111 -}
    51.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejActionProvider.java	Thu Jul 10 19:13:29 2008 +0800
    51.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.3 @@ -1,616 +0,0 @@
    51.4 -/*
    51.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    51.6 - *
    51.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    51.8 - *
    51.9 - * The contents of this file are subject to the terms of either the GNU
   51.10 - * General Public License Version 2 only ("GPL") or the Common
   51.11 - * Development and Distribution License("CDDL") (collectively, the
   51.12 - * "License"). You may not use this file except in compliance with the
   51.13 - * License. You can obtain a copy of the License at
   51.14 - * http://www.netbeans.org/cddl-gplv2.html
   51.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   51.16 - * specific language governing permissions and limitations under the
   51.17 - * License.  When distributing the software, include this License Header
   51.18 - * Notice in each file and include the License file at
   51.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   51.20 - * particular file as subject to the "Classpath" exception as provided
   51.21 - * by Sun in the GPL Version 2 section of the License file that
   51.22 - * accompanied this code. If applicable, add the following below the
   51.23 - * License Header, with the fields enclosed by brackets [] replaced by
   51.24 - * your own identifying information:
   51.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   51.26 - *
   51.27 - * Contributor(s):
   51.28 - *
   51.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   51.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   51.31 - * Microsystems, Inc. All Rights Reserved.
   51.32 - *
   51.33 - * If you wish your version of this file to be governed by only the CDDL
   51.34 - * or only the GPL Version 2, indicate your decision by adding
   51.35 - * "[Contributor] elects to include this software in this distribution
   51.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   51.37 - * single choice of license, a recipient has the option to distribute
   51.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   51.39 - * to extend the choice of license to its licensees as provided above.
   51.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   51.41 - * Version 2 license, then the option applies only if the new code is
   51.42 - * made subject to such option by the copyright holder.
   51.43 - */
   51.44 -
   51.45 -package org.netbeans.bluej;
   51.46 -
   51.47 -import java.awt.Dialog;
   51.48 -import java.awt.event.MouseEvent;
   51.49 -import java.io.IOException;
   51.50 -import java.text.MessageFormat;
   51.51 -import java.util.HashMap;
   51.52 -import java.util.List;
   51.53 -import java.util.Map;
   51.54 -import java.util.Properties;
   51.55 -import java.util.regex.Pattern;
   51.56 -import javax.swing.JButton;
   51.57 -import javax.swing.event.ChangeEvent;
   51.58 -import javax.swing.event.ChangeListener;
   51.59 -import org.apache.tools.ant.module.api.support.ActionUtils;
   51.60 -import org.netbeans.api.fileinfo.NonRecursiveFolder;
   51.61 -import org.netbeans.api.java.project.JavaProjectConstants;
   51.62 -import org.netbeans.api.java.source.SourceUtils;
   51.63 -import org.netbeans.api.project.ProjectManager;
   51.64 -import org.netbeans.api.project.ProjectUtils;
   51.65 -import org.netbeans.spi.project.ActionProvider;
   51.66 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   51.67 -import org.netbeans.spi.project.support.ant.EditableProperties;
   51.68 -import org.netbeans.spi.project.support.ant.GeneratedFilesHelper;
   51.69 -import org.openide.DialogDescriptor;
   51.70 -import org.openide.DialogDisplayer;
   51.71 -import org.openide.ErrorManager;
   51.72 -import org.openide.NotifyDescriptor;
   51.73 -import org.openide.awt.MouseUtils;
   51.74 -import org.openide.execution.ExecutorTask;
   51.75 -import org.openide.filesystems.FileObject;
   51.76 -import org.openide.filesystems.FileUtil;
   51.77 -import org.openide.util.Lookup;
   51.78 -import org.openide.util.NbBundle;
   51.79 -
   51.80 -/** Action provider of the J2SE project. This is the place where to do
   51.81 - * strange things to J2SE actions. E.g. compile-single.
   51.82 - */
   51.83 -class BluejActionProvider implements ActionProvider {
   51.84 -    
   51.85 -    // Commands available from J2SE project
   51.86 -    private static final String[] supportedActions = {
   51.87 -        COMMAND_BUILD,
   51.88 -        COMMAND_CLEAN,
   51.89 -        COMMAND_REBUILD,
   51.90 -        COMMAND_COMPILE_SINGLE,
   51.91 -        COMMAND_RUN,
   51.92 -        COMMAND_RUN_SINGLE,
   51.93 -        COMMAND_DEBUG,
   51.94 -        COMMAND_DEBUG_SINGLE,
   51.95 -        JavaProjectConstants.COMMAND_JAVADOC,
   51.96 -        COMMAND_TEST,
   51.97 -        COMMAND_TEST_SINGLE,
   51.98 -        COMMAND_DEBUG_TEST_SINGLE,
   51.99 -        JavaProjectConstants.COMMAND_DEBUG_FIX,
  51.100 -        COMMAND_DEBUG_STEP_INTO,
  51.101 -    };
  51.102 -    
  51.103 -    
  51.104 -    // Project
  51.105 -    BluejProject project;
  51.106 -    
  51.107 -////    // Ant project helper of the project
  51.108 -    private UpdateHelper updateHelper;
  51.109 -    
  51.110 -    
  51.111 -    /** Map from commands to ant targets */
  51.112 -    Map/*<String,String[]>*/ commands;
  51.113 -    
  51.114 -    public BluejActionProvider(BluejProject project, UpdateHelper updateHelper) {
  51.115 -        
  51.116 -        commands = new HashMap();
  51.117 -        commands.put(COMMAND_BUILD, new String[] {"jar"}); // NOI18N
  51.118 -        commands.put(COMMAND_CLEAN, new String[] {"clean"}); // NOI18N
  51.119 -        commands.put(COMMAND_REBUILD, new String[] {"clean", "jar"}); // NOI18N
  51.120 -        commands.put(COMMAND_COMPILE_SINGLE, new String[] {"compile-single"}); // NOI18N
  51.121 -        // commands.put(COMMAND_COMPILE_TEST_SINGLE, new String[] {"compile-test-single"}); // NOI18N
  51.122 -        commands.put(COMMAND_RUN, new String[] {"run"}); // NOI18N
  51.123 -        commands.put(COMMAND_RUN_SINGLE, new String[] {"run-single"}); // NOI18N
  51.124 -        commands.put(COMMAND_DEBUG, new String[] {"debug"}); // NOI18N
  51.125 -        commands.put(COMMAND_DEBUG_SINGLE, new String[] {"debug-single"}); // NOI18N
  51.126 -        commands.put(JavaProjectConstants.COMMAND_JAVADOC, new String[] {"javadoc"}); // NOI18N
  51.127 -        commands.put(COMMAND_TEST, new String[] {"test"}); // NOI18N
  51.128 -        commands.put(COMMAND_TEST_SINGLE, new String[] {"test-single"}); // NOI18N
  51.129 -        commands.put(COMMAND_DEBUG_TEST_SINGLE, new String[] {"debug-test"}); // NOI18N
  51.130 -        commands.put(JavaProjectConstants.COMMAND_DEBUG_FIX, new String[] {"debug-fix"}); // NOI18N
  51.131 -        commands.put(COMMAND_DEBUG_STEP_INTO, new String[] {"debug-stepinto"}); // NOI18N
  51.132 -        
  51.133 -        this.updateHelper = updateHelper;
  51.134 -        this.project = project;
  51.135 -    }
  51.136 -    
  51.137 -    private FileObject findBuildXml() {
  51.138 -        return project.getProjectDirectory().getFileObject(GeneratedFilesHelper.BUILD_XML_PATH);
  51.139 -    }
  51.140 -    
  51.141 -    public String[] getSupportedActions() {
  51.142 -        return supportedActions;
  51.143 -    }
  51.144 -    
  51.145 -    public void invokeAction( final String command, final Lookup context ) throws IllegalArgumentException {
  51.146 -        Runnable action = new Runnable() {
  51.147 -            public void run() {
  51.148 -                Properties p = new Properties();
  51.149 -                String[] targetNames;
  51.150 -                
  51.151 -                targetNames = getTargetNames(command, context, p);
  51.152 -                if (targetNames == null) {
  51.153 -                    return;
  51.154 -                }
  51.155 -                if (targetNames.length == 0) {
  51.156 -                    targetNames = null;
  51.157 -                }
  51.158 -                if (p.keySet().size() == 0) {
  51.159 -                    p = null;
  51.160 -                }
  51.161 -                try {
  51.162 -                    FileObject buildFo = findBuildXml();
  51.163 -                    if (buildFo == null || !buildFo.isValid()) {
  51.164 -                        //The build.xml was deleted after the isActionEnabled was called
  51.165 -                        NotifyDescriptor nd = new NotifyDescriptor.Message(NbBundle.getMessage(BluejActionProvider.class,
  51.166 -                                "LBL_No_Build_XML_Found"), NotifyDescriptor.WARNING_MESSAGE);
  51.167 -                        DialogDisplayer.getDefault().notify(nd);
  51.168 -                    } else {
  51.169 -                        ExecutorTask task = ActionUtils.runTarget(buildFo, targetNames, p);
  51.170 -                    }
  51.171 -                } catch (IOException e) {
  51.172 -                    ErrorManager.getDefault().notify(e);
  51.173 -                }
  51.174 -            }
  51.175 -        };
  51.176 -        
  51.177 -        action.run();
  51.178 -    }
  51.179 -    
  51.180 -    /**
  51.181 -     * @return array of targets or null to stop execution; can return empty array
  51.182 -     */
  51.183 -    /*private*/ String[] getTargetNames(String command, Lookup context, Properties p) throws IllegalArgumentException {
  51.184 -        String[] targetNames = new String[0];
  51.185 -        if ( command.equals( COMMAND_COMPILE_SINGLE ) ) {
  51.186 -            FileObject[] sourceRoots = new FileObject[] { project.getProjectDirectory() };
  51.187 -            FileObject[] files = findSourcesAndPackages( context, sourceRoots);
  51.188 -            boolean recursive = (context.lookup(NonRecursiveFolder.class) == null);
  51.189 -            if (files != null) {
  51.190 -                p.setProperty("javac.includes", ActionUtils.antIncludesList(files, getRoot(sourceRoots,files[0]), recursive)); // NOI18N
  51.191 -                targetNames = new String[] {"compile-single"}; // NOI18N
  51.192 -            }
  51.193 -            //TODO what to do here if we have all source in one root..
  51.194 -////            else {
  51.195 -////                FileObject[] testRoots = project.getTestSourceRoots().getRoots();
  51.196 -////                files = findSourcesAndPackages(context, testRoots);
  51.197 -////                p.setProperty("javac.includes", ActionUtils.antIncludesList(files, getRoot(testRoots,files[0]), recursive)); // NOI18N
  51.198 -////                targetNames = new String[] {"compile-test-single"}; // NOI18N
  51.199 -////            }
  51.200 -        } else if ( command.equals( COMMAND_TEST_SINGLE ) ) {
  51.201 -            FileObject[] files = findTestSourcesForSources(context);
  51.202 -            targetNames = setupTestSingle(p, files);
  51.203 -        } else if ( command.equals( COMMAND_DEBUG_TEST_SINGLE ) ) {
  51.204 -            FileObject[] files = findTestSourcesForSources(context);
  51.205 -            targetNames = setupDebugTestSingle(p, files);
  51.206 -        }
  51.207 -////        else if ( command.equals( JavaProjectConstants.COMMAND_DEBUG_FIX ) ) {
  51.208 -////            FileObject[] files = findSources( context );
  51.209 -////            String path = null;
  51.210 -////            if (files != null) {
  51.211 -////                path = FileUtil.getRelativePath(getRoot(project.getProjectDirectory(),files[0]), files[0]);
  51.212 -////                targetNames = new String[] {"debug-fix"}; // NOI18N
  51.213 -////            //TODO what to do here if we have all source in one root..
  51.214 -////
  51.215 -////            } else {
  51.216 -////                files = findTestSources(context, false);
  51.217 -////                path = FileUtil.getRelativePath(getRoot(project.getProjectDirectory(),files[0]), files[0]);
  51.218 -////                targetNames = new String[] {"debug-fix-test"}; // NOI18N
  51.219 -////            }
  51.220 -////            // Convert foo/FooTest.java -> foo/FooTest
  51.221 -////            if (path.endsWith(".java")) { // NOI18N
  51.222 -////                path = path.substring(0, path.length() - 5);
  51.223 -////            }
  51.224 -////            p.setProperty("fix.includes", path); // NOI18N
  51.225 -////        }
  51.226 -        else if (command.equals(COMMAND_RUN) || command.equals(COMMAND_DEBUG) || command.equals(COMMAND_DEBUG_STEP_INTO)) {
  51.227 -            EditableProperties ep = updateHelper.getProperties (AntProjectHelper.PROJECT_PROPERTIES_PATH);
  51.228 -            EditableProperties eprivate = updateHelper.getProperties (AntProjectHelper.PRIVATE_PROPERTIES_PATH);
  51.229 -            if (eprivate == null) {
  51.230 -                eprivate = new EditableProperties();
  51.231 -                updateHelper.putProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH, eprivate);
  51.232 -            }
  51.233 -            // check project's main class
  51.234 -            String mainClass = (String)ep.get ("main.class"); // NOI18N
  51.235 -            
  51.236 -//                if (!JMManager.getManager().isScanInProgress()) {
  51.237 -//                    // in case the value gets back in some reasonable time,
  51.238 -//                    // check if we have just one mainclass and use it then without a dialog.
  51.239 -//                    List lst = MainClassChooser.getMainClasses(new FileObject[] { project.getProjectDirectory() }, false);
  51.240 -//                    if (lst.size() == 1) {
  51.241 -//                        showDialog = false;
  51.242 -//                        ep.put ("main.class", lst.get(0) == null ? "" : (String)lst.get(0)); // NOI18N
  51.243 -//                    }
  51.244 -//                }
  51.245 -                if (mainClass == null) {
  51.246 -                    // show warning, if cancel then return
  51.247 -                    if (showMainClassWarning(mainClass, ProjectUtils.getInformation(project).getDisplayName(), ep, eprivate, -1)) {
  51.248 -                        return null;
  51.249 -                    }
  51.250 -                    mainClass = (String)ep.get("main.class"); // NOI18N
  51.251 -                }
  51.252 -//                result = isSetMainClass(project.getProjectDirectory(), mainClass);
  51.253 -            try {
  51.254 -                if (updateHelper.requestSave()) {
  51.255 -                    updateHelper.putProperties(AntProjectHelper.PROJECT_PROPERTIES_PATH, ep);
  51.256 -                    updateHelper.putProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH, eprivate);
  51.257 -                    ProjectManager.getDefault().saveProject(project);
  51.258 -                }
  51.259 -            } catch (IOException ioe) {
  51.260 -                ErrorManager.getDefault().log(ErrorManager.INFORMATIONAL, "Error while saving project: " + ioe);
  51.261 -            }
  51.262 -            if (!command.equals(COMMAND_RUN)) {
  51.263 -                p.setProperty("debug.class", mainClass); // NOI18N
  51.264 -            }
  51.265 -
  51.266 -            targetNames = (String[])commands.get(command);
  51.267 -            if (targetNames == null) {
  51.268 -                throw new IllegalArgumentException(command);
  51.269 -            }
  51.270 -        } else if (command.equals(COMMAND_RUN_SINGLE) || command.equals(COMMAND_DEBUG_SINGLE)) {
  51.271 -            FileObject[] files = findTestSources(context, false);
  51.272 -            if (files != null) {
  51.273 -                if (command.equals(COMMAND_RUN_SINGLE)) {
  51.274 -                    targetNames = setupTestSingle(p, files);
  51.275 -                } else {
  51.276 -                    targetNames = setupDebugTestSingle(p, files);
  51.277 -                }
  51.278 -            } else {
  51.279 -                FileObject file = findSources(context)[0];
  51.280 -                String clazz = FileUtil.getRelativePath(project.getProjectDirectory(), file);
  51.281 -                p.setProperty("javac.includes", clazz); // NOI18N
  51.282 -                // Convert foo/FooTest.java -> foo.FooTest
  51.283 -                if (clazz.endsWith(".java")) { // NOI18N
  51.284 -                    clazz = clazz.substring(0, clazz.length() - 5);
  51.285 -                }
  51.286 -                clazz = clazz.replace('/','.');
  51.287 -                
  51.288 -                if (!hasMainMethod(file)) {
  51.289 -                    NotifyDescriptor nd = new NotifyDescriptor.Message(NbBundle.getMessage(BluejActionProvider.class, "LBL_No_Main_Classs_Found", clazz), NotifyDescriptor.INFORMATION_MESSAGE);
  51.290 -                    DialogDisplayer.getDefault().notify(nd);
  51.291 -                    return null;
  51.292 -                } else {
  51.293 -                    if (command.equals(COMMAND_RUN_SINGLE)) {
  51.294 -                        p.setProperty("run.class", clazz); // NOI18N
  51.295 -                        targetNames = (String[])commands.get(COMMAND_RUN_SINGLE);
  51.296 -                    } else {
  51.297 -                        p.setProperty("debug.class", clazz); // NOI18N
  51.298 -                        targetNames = (String[])commands.get(COMMAND_DEBUG_SINGLE);
  51.299 -                    }
  51.300 -                }
  51.301 -            }
  51.302 -        } else {
  51.303 -            targetNames = (String[])commands.get(command);
  51.304 -            if (targetNames == null) {
  51.305 -                throw new IllegalArgumentException(command);
  51.306 -            }
  51.307 -        }
  51.308 -        return targetNames;
  51.309 -    }
  51.310 -    
  51.311 -    private String[] setupTestSingle(Properties p, FileObject[] files) {
  51.312 -        FileObject[] testSrcPath = new FileObject[] {project.getProjectDirectory()};
  51.313 -        FileObject root = getRoot(testSrcPath, files[0]);
  51.314 -        p.setProperty("test.includes", ActionUtils.antIncludesList(files, root)); // NOI18N
  51.315 -        p.setProperty("javac.includes", ActionUtils.antIncludesList(files, root)); // NOI18N
  51.316 -        return new String[] {"test-single"}; // NOI18N
  51.317 -    }
  51.318 -    
  51.319 -    private String[] setupDebugTestSingle(Properties p, FileObject[] files) {
  51.320 -        FileObject[] testSrcPath = new FileObject[] {project.getProjectDirectory()};
  51.321 -        FileObject root = getRoot(testSrcPath, files[0]);
  51.322 -        String path = FileUtil.getRelativePath(root, files[0]);
  51.323 -        // Convert foo/FooTest.java -> foo.FooTest
  51.324 -        p.setProperty("test.class", path.substring(0, path.length() - 5).replace('/', '.')); // NOI18N
  51.325 -        return new String[] {"debug-test"}; // NOI18N
  51.326 -    }
  51.327 -    
  51.328 -    public boolean isActionEnabled( String command, Lookup context ) {
  51.329 -        FileObject buildXml = findBuildXml();
  51.330 -        if (  buildXml == null || !buildXml.isValid()) {
  51.331 -            return false;
  51.332 -        }
  51.333 -        if ( command.equals( COMMAND_COMPILE_SINGLE ) ) {
  51.334 -            return findSourcesAndPackages( context, project.getProjectDirectory()) != null
  51.335 -                    || findSourcesAndPackages( context, project.getProjectDirectory()) != null;
  51.336 -        } else if ( command.equals( COMMAND_TEST_SINGLE ) ) {
  51.337 -            return findTestSourcesForSources(context) != null;
  51.338 -        } else if ( command.equals( COMMAND_DEBUG_TEST_SINGLE ) ) {
  51.339 -            FileObject[] files = findTestSourcesForSources(context);
  51.340 -            return files != null && files.length == 1;
  51.341 -        } else if (command.equals(COMMAND_RUN_SINGLE) ||
  51.342 -                command.equals(COMMAND_DEBUG_SINGLE) ||
  51.343 -                command.equals(JavaProjectConstants.COMMAND_DEBUG_FIX)) {
  51.344 -            FileObject fos[] = findSources(context);
  51.345 -            if (fos != null && fos.length == 1) {
  51.346 -                return true;
  51.347 -            }
  51.348 -            fos = findTestSources(context, false);
  51.349 -            return fos != null && fos.length == 1;
  51.350 -        } else {
  51.351 -            // other actions are global
  51.352 -            return true;
  51.353 -        }
  51.354 -    }
  51.355 -    
  51.356 -    
  51.357 -    
  51.358 -    // Private methods -----------------------------------------------------
  51.359 -    
  51.360 -    
  51.361 -    private static final Pattern SRCDIRJAVA = Pattern.compile("\\.java$"); // NOI18N
  51.362 -    private static final String SUBST = "Test.java"; // NOI18N
  51.363 -    
  51.364 -    /** Find selected sources, the sources has to be under single source root,
  51.365 -     *  @param context the lookup in which files should be found
  51.366 -     */
  51.367 -    private FileObject[] findSources(Lookup context) {
  51.368 -        FileObject[] srcPath = new FileObject[] {project.getProjectDirectory()};
  51.369 -        for (int i=0; i< srcPath.length; i++) {
  51.370 -            FileObject[] files = ActionUtils.findSelectedFiles(context, srcPath[i], ".java", true); // NOI18N
  51.371 -            if (files != null) {
  51.372 -                return files;
  51.373 -            }
  51.374 -        }
  51.375 -        return null;
  51.376 -    }
  51.377 -    
  51.378 -    private FileObject[] findSourcesAndPackages(Lookup context, FileObject srcDir) {
  51.379 -        if (srcDir != null) {
  51.380 -            FileObject[] files = ActionUtils.findSelectedFiles(context, srcDir, null, true); // NOI18N
  51.381 -            //Check if files are either packages of java files
  51.382 -            if (files != null) {
  51.383 -                for (int i = 0; i < files.length; i++) {
  51.384 -                    if (!files[i].isFolder() && !"java".equals(files[i].getExt())) { //NOI18N
  51.385 -                        return null;
  51.386 -                    }
  51.387 -                }
  51.388 -            }
  51.389 -            return files;
  51.390 -        } else {
  51.391 -            return null;
  51.392 -        }
  51.393 -    }
  51.394 -    
  51.395 -    private FileObject[] findSourcesAndPackages(Lookup context, FileObject[] srcRoots) {
  51.396 -        for (int i=0; i<srcRoots.length; i++) {
  51.397 -            FileObject[] result = findSourcesAndPackages(context, srcRoots[i]);
  51.398 -            if (result != null) {
  51.399 -                return result;
  51.400 -            }
  51.401 -        }
  51.402 -        return null;
  51.403 -    }
  51.404 -    
  51.405 -    /** Find either selected tests or tests which belong to selected source files
  51.406 -     */
  51.407 -    private FileObject[] findTestSources(Lookup context, boolean checkInSrcDir) {
  51.408 -        //XXX: Ugly, should be rewritten
  51.409 -        FileObject[] files = ActionUtils.findSelectedFiles(context, project.getProjectDirectory(), "Test.java", true); // NOI18N
  51.410 -        if (files != null) {
  51.411 -            return files;
  51.412 -        }
  51.413 -        if (checkInSrcDir) {
  51.414 -            files = findSources(context);
  51.415 -            if (files != null) {
  51.416 -                //Try to find the test under the test roots
  51.417 -                FileObject[] files2 = ActionUtils.regexpMapFiles(files, project.getProjectDirectory(), SRCDIRJAVA, project.getProjectDirectory(), SUBST, true);
  51.418 -                if (files2 != null) {
  51.419 -                    return files2;
  51.420 -                }
  51.421 -            }
  51.422 -        }
  51.423 -        return null;
  51.424 -    }
  51.425 -    
  51.426 -    
  51.427 -    /** Find tests corresponding to selected sources.
  51.428 -     */
  51.429 -    private FileObject[] findTestSourcesForSources(Lookup context) {
  51.430 -        FileObject[] sourceFiles = findSources(context);
  51.431 -        if (sourceFiles == null) {
  51.432 -            return null;
  51.433 -        }
  51.434 -        FileObject srcDir = project.getProjectDirectory();
  51.435 -            FileObject[] files2 = ActionUtils.regexpMapFiles(sourceFiles, srcDir, SRCDIRJAVA, project.getProjectDirectory(), SUBST, true);
  51.436 -            if (files2 != null) {
  51.437 -                return files2;
  51.438 -            }
  51.439 -        return null;
  51.440 -    }
  51.441 -    
  51.442 -    private FileObject getRoot(FileObject[] roots, FileObject file) {
  51.443 -        assert file != null : "File can't be null";   //NOI18N
  51.444 -        FileObject srcDir = null;
  51.445 -        for (int i=0; i< roots.length; i++) {
  51.446 -            assert roots[i] != null : "Source Path Root can't be null"; //NOI18N
  51.447 -            if (FileUtil.isParentOf(roots[i],file) || roots[i].equals(file)) {
  51.448 -                srcDir = roots[i];
  51.449 -                break;
  51.450 -            }
  51.451 -        }
  51.452 -        return srcDir;
  51.453 -    }
  51.454 -    
  51.455 -    
  51.456 -////    /**
  51.457 -////     * Tests if the main class is set
  51.458 -////     * @param sourcesRoots source roots
  51.459 -////     * @param mainClass main class name
  51.460 -////     * @return 0 if the main class is set and is valid
  51.461 -////     *        -1 if the main class is not set
  51.462 -////     *        -2 if the main class is set but is not valid
  51.463 -////     */
  51.464 -////    private int isSetMainClass (FileObject[] sourcesRoots, String mainClass) {
  51.465 -////
  51.466 -////        // support for unit testing
  51.467 -////        if (MainClassChooser.unitTestingSupport_hasMainMethodResult != null) {
  51.468 -////            return MainClassChooser.unitTestingSupport_hasMainMethodResult.booleanValue () ? 0 : -2;
  51.469 -////        }
  51.470 -////
  51.471 -////        if (mainClass == null || mainClass.length () == 0) {
  51.472 -////            return -1;
  51.473 -////        }
  51.474 -////
  51.475 -////        ClassPath classPath = ClassPath.getClassPath (sourcesRoots[0], ClassPath.EXECUTE);  //Single compilation unit
  51.476 -////        if (J2SEProjectUtil.isMainClass (mainClass, classPath)) {
  51.477 -////            return 0;
  51.478 -////        }
  51.479 -////        return -2;
  51.480 -////    }
  51.481 -    
  51.482 -////    /** Checks if given file object contains the main method.
  51.483 -////     *
  51.484 -////     * @param classFO file object represents java
  51.485 -////     * @return false if parameter is null or doesn't contain SourceCookie
  51.486 -////     * or SourceCookie doesn't contain the main method
  51.487 -////     */
  51.488 -////    public static boolean canBeRun (FileObject classFO) {
  51.489 -////        if (classFO == null) {
  51.490 -////            return false;
  51.491 -////        }
  51.492 -////        try {
  51.493 -////            DataObject classDO = DataObject.find (classFO);
  51.494 -////            Object obj = classDO.getCookie (SourceCookie.class);
  51.495 -////            if (obj == null || !(obj instanceof SourceCookie)) {
  51.496 -////                return false;
  51.497 -////            }
  51.498 -////            SourceCookie cookie = (SourceCookie) obj;
  51.499 -////            // check the main class
  51.500 -////            SourceElement source = cookie.getSource ();
  51.501 -////            ClassElement[] classes = source.getClasses();
  51.502 -////            boolean hasMain = false;
  51.503 -////            for (int i = 0; i < classes.length; i++) {
  51.504 -////                if (classes[i].hasMainMethod()) {
  51.505 -////                    return true;
  51.506 -////                }
  51.507 -////            }
  51.508 -////        } catch (DataObjectNotFoundException ex) {
  51.509 -////            // can ignore it, classFO could be wrongly set
  51.510 -////        }
  51.511 -////        return false;
  51.512 -////    }
  51.513 -    
  51.514 -    
  51.515 -    
  51.516 -////    private void showPlatformWarning() {
  51.517 -////        final JButton closeOption = new JButton(NbBundle.getMessage(BluejActionProvider.class, "CTL_BrokenPlatform_Close"));
  51.518 -////        closeOption.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(BluejActionProvider.class, "AD_BrokenPlatform_Close"));
  51.519 -////        final ProjectInformation pi = (ProjectInformation) this.project.getLookup().lookup(ProjectInformation.class);
  51.520 -////        final String projectDisplayName = pi == null ?
  51.521 -////            NbBundle.getMessage(BluejActionProvider.class,"TEXT_BrokenPlatform_UnknownProjectName")
  51.522 -////            : pi.getDisplayName();
  51.523 -////        final DialogDescriptor dd = new DialogDescriptor(
  51.524 -////                NbBundle.getMessage(BluejActionProvider.class, "TEXT_BrokenPlatform", projectDisplayName),
  51.525 -////                NbBundle.getMessage(BluejActionProvider.class, "MSG_BrokenPlatform_Title"),
  51.526 -////                true,
  51.527 -////                new Object[] {closeOption},
  51.528 -////                closeOption,
  51.529 -////                DialogDescriptor.DEFAULT_ALIGN,
  51.530 -////                null,
  51.531 -////                null);
  51.532 -////        dd.setMessageType(DialogDescriptor.WARNING_MESSAGE);
  51.533 -////        final Dialog dlg = DialogDisplayer.getDefault().createDialog(dd);
  51.534 -////        dlg.setVisible(true);
  51.535 -////    }
  51.536 -    
  51.537 -    /**
  51.538 -     * Asks user for name of main class
  51.539 -     * @param mainClass current main class
  51.540 -     * @param projectName the name of project
  51.541 -     * @param ep EditableProperties
  51.542 -     * @param messgeType type of dialog -1 when the main class is not set, -2 when the main class in not valid
  51.543 -     * @return true if user selected main class
  51.544 -     */
  51.545 -    private boolean showMainClassWarning (String mainClass, String projectName, EditableProperties ep, EditableProperties eprivate, int messageType) {
  51.546 -        boolean canceled;
  51.547 -        final JButton okButton = new JButton ("OK"); // NOI18N
  51.548 -//        okButton.getAccessibleContext().setAccessibleDescription (NbBundle.getMessage (MainClassWarning.class, "AD_MainClassWarning_ChooseMainClass_OK"));
  51.549 -        
  51.550 -        // main class goes wrong => warning
  51.551 -        String message;
  51.552 -        switch (messageType) {
  51.553 -            case -1:
  51.554 -                message = MessageFormat.format (NbBundle.getMessage(BluejActionProvider.class, "LBL_MainClassNotFound"), new Object[] {
  51.555 -                    projectName
  51.556 -                });
  51.557 -                break;
  51.558 -            case -2:
  51.559 -                message = MessageFormat.format (NbBundle.getMessage(BluejActionProvider.class, "LBL_MainClassWrong"), new Object[] {
  51.560 -                    mainClass,
  51.561 -                    projectName
  51.562 -                });
  51.563 -                break;
  51.564 -            default:
  51.565 -                throw new IllegalArgumentException ();
  51.566 -        }
  51.567 -        final MainClassWarning panel = new MainClassWarning (message, new FileObject[] { project.getProjectDirectory() } );
  51.568 -        panel.setArguments(eprivate.getProperty("application.args")); //NOI18N
  51.569 -        panel.setSelectedMainClass(ep.getProperty("main.class")); //NOI18N
  51.570 -        Object[] options = new Object[] {
  51.571 -            okButton,
  51.572 -            DialogDescriptor.CANCEL_OPTION
  51.573 -        };
  51.574 -        
  51.575 -        panel.addChangeListener (new ChangeListener () {
  51.576 -           public void stateChanged (ChangeEvent e) {
  51.577 -               if (e.getSource () instanceof MouseEvent && MouseUtils.isDoubleClick (((MouseEvent)e.getSource ()))) {
  51.578 -                   // click button and the finish dialog with selected class
  51.579 -                   okButton.doClick ();
  51.580 -               } else {
  51.581 -                   okButton.setEnabled (panel.getSelectedMainClass () != null);
  51.582 -               }
  51.583 -           }
  51.584 -        });
  51.585 -        
  51.586 -        okButton.setEnabled (false);
  51.587 -        DialogDescriptor desc = new DialogDescriptor (panel, "Run Project", // NOI18N
  51.588 -            true, options, options[0], DialogDescriptor.BOTTOM_ALIGN, null, null);
  51.589 -        desc.setMessageType (DialogDescriptor.INFORMATION_MESSAGE);
  51.590 -        Dialog dlg = DialogDisplayer.getDefault ().createDialog (desc);
  51.591 -        dlg.setVisible (true);
  51.592 -        if (desc.getValue() != options[0]) {
  51.593 -            canceled = true;
  51.594 -        } else {
  51.595 -            mainClass = panel.getSelectedMainClass ();
  51.596 -            canceled = false;
  51.597 -            ep.put ("main.class", mainClass == null ? "" : mainClass); // NOI18N
  51.598 -            eprivate.put("application.args", panel.getArguments()); //NOI18N
  51.599 -        }
  51.600 -        dlg.dispose();            
  51.601 -
  51.602 -        return canceled;
  51.603 -    }
  51.604 -    
  51.605 -    
  51.606 -    /** Check if the given file object represents a source with the main method.
  51.607 -     * 
  51.608 -     * @param fo source
  51.609 -     * @return true if the source contains the main method
  51.610 -     */
  51.611 -    public static boolean hasMainMethod(FileObject fo) {
  51.612 -        if (fo == null) {
  51.613 -            // ??? maybe better should be thrown IAE
  51.614 -            return false;
  51.615 -        }
  51.616 -        return !SourceUtils.getMainClasses(fo).isEmpty();
  51.617 -        }
  51.618 -    
  51.619 -}
    52.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejFileBuiltQuery.java	Thu Jul 10 19:13:29 2008 +0800
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,86 +0,0 @@
    52.4 -/*
    52.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    52.6 - * 
    52.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    52.8 - * 
    52.9 - * The contents of this file are subject to the terms of either the GNU
   52.10 - * General Public License Version 2 only ("GPL") or the Common
   52.11 - * Development and Distribution License("CDDL") (collectively, the
   52.12 - * "License"). You may not use this file except in compliance with the
   52.13 - * License. You can obtain a copy of the License at
   52.14 - * http://www.netbeans.org/cddl-gplv2.html
   52.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   52.16 - * specific language governing permissions and limitations under the
   52.17 - * License.  When distributing the software, include this License Header
   52.18 - * Notice in each file and include the License file at
   52.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   52.20 - * particular file as subject to the "Classpath" exception as provided
   52.21 - * by Sun in the GPL Version 2 section of the License file that
   52.22 - * accompanied this code. If applicable, add the following below the
   52.23 - * License Header, with the fields enclosed by brackets [] replaced by
   52.24 - * your own identifying information:
   52.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   52.26 - *
   52.27 - * Contributor(s):
   52.28 - *
   52.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   52.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   52.31 - * Microsystems, Inc. All Rights Reserved.
   52.32 - *
   52.33 - * If you wish your version of this file to be governed by only the CDDL
   52.34 - * or only the GPL Version 2, indicate your decision by adding
   52.35 - * "[Contributor] elects to include this software in this distribution
   52.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   52.37 - * single choice of license, a recipient has the option to distribute
   52.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   52.39 - * to extend the choice of license to its licensees as provided above.
   52.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   52.41 - * Version 2 license, then the option applies only if the new code is
   52.42 - * made subject to such option by the copyright holder.
   52.43 - */
   52.44 -package org.netbeans.bluej;
   52.45 -
   52.46 -import java.beans.PropertyChangeEvent;
   52.47 -import java.beans.PropertyChangeListener;
   52.48 -import org.openide.filesystems.FileObject;
   52.49 -import org.netbeans.api.queries.FileBuiltQuery;
   52.50 -import org.netbeans.spi.queries.FileBuiltQueryImplementation;
   52.51 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   52.52 -import org.netbeans.spi.project.support.ant.PropertyEvaluator;
   52.53 -
   52.54 -/**
   52.55 - * FileBuiltQueryImplementation for bluej projects..
   52.56 - * @author Milos Kleint
   52.57 - *
   52.58 - */
   52.59 -public class BluejFileBuiltQuery implements FileBuiltQueryImplementation, PropertyChangeListener {
   52.60 -
   52.61 -    private FileBuiltQueryImplementation delegate;
   52.62 -    private final AntProjectHelper helper;
   52.63 -    private final PropertyEvaluator evaluator;
   52.64 -
   52.65 -    BluejFileBuiltQuery (AntProjectHelper helper, PropertyEvaluator evaluator) {
   52.66 -        this.helper = helper;
   52.67 -        this.evaluator = evaluator;
   52.68 -    }
   52.69 -
   52.70 -    public synchronized FileBuiltQuery.Status getStatus(FileObject file) {
   52.71 -        if (this.delegate == null) {
   52.72 -            this.delegate = createDelegate ();
   52.73 -        }
   52.74 -        return this.delegate.getStatus (file);
   52.75 -    }
   52.76 -
   52.77 -
   52.78 -    private FileBuiltQueryImplementation createDelegate () {
   52.79 -        String[] from = new String [1];
   52.80 -        String[] to = new String [1];
   52.81 -        from[0] = "${basedir}/*.java"; // NOI18N
   52.82 -        to[0] = "${basedir}/*.class"; // NOI18N
   52.83 -        return helper.createGlobFileBuiltQuery(evaluator, from, to);    //Safe to pass APH
   52.84 -    }
   52.85 -
   52.86 -    public void propertyChange(PropertyChangeEvent evt) {
   52.87 -        //
   52.88 -    }
   52.89 -}
    53.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejLogicalViewProvider.java	Thu Jul 10 19:13:29 2008 +0800
    53.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.3 @@ -1,345 +0,0 @@
    53.4 -/*
    53.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    53.6 - *
    53.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    53.8 - *
    53.9 - * The contents of this file are subject to the terms of either the GNU
   53.10 - * General Public License Version 2 only ("GPL") or the Common
   53.11 - * Development and Distribution License("CDDL") (collectively, the
   53.12 - * "License"). You may not use this file except in compliance with the
   53.13 - * License. You can obtain a copy of the License at
   53.14 - * http://www.netbeans.org/cddl-gplv2.html
   53.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   53.16 - * specific language governing permissions and limitations under the
   53.17 - * License.  When distributing the software, include this License Header
   53.18 - * Notice in each file and include the License file at
   53.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   53.20 - * particular file as subject to the "Classpath" exception as provided
   53.21 - * by Sun in the GPL Version 2 section of the License file that
   53.22 - * accompanied this code. If applicable, add the following below the
   53.23 - * License Header, with the fields enclosed by brackets [] replaced by
   53.24 - * your own identifying information:
   53.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   53.26 - *
   53.27 - * Contributor(s):
   53.28 - *
   53.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   53.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   53.31 - * Microsystems, Inc. All Rights Reserved.
   53.32 - *
   53.33 - * If you wish your version of this file to be governed by only the CDDL
   53.34 - * or only the GPL Version 2, indicate your decision by adding
   53.35 - * "[Contributor] elects to include this software in this distribution
   53.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   53.37 - * single choice of license, a recipient has the option to distribute
   53.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   53.39 - * to extend the choice of license to its licensees as provided above.
   53.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   53.41 - * Version 2 license, then the option applies only if the new code is
   53.42 - * made subject to such option by the copyright holder.
   53.43 - */
   53.44 -
   53.45 -package org.netbeans.bluej;
   53.46 -
   53.47 -import java.awt.Image;
   53.48 -import java.util.ArrayList;
   53.49 -import java.util.Arrays;
   53.50 -import java.util.Collection;
   53.51 -import java.util.Enumeration;
   53.52 -import java.util.List;
   53.53 -import javax.swing.event.ChangeEvent;
   53.54 -import javax.swing.event.ChangeListener;
   53.55 -import org.netbeans.api.java.source.ClasspathInfo;
   53.56 -import org.netbeans.api.java.source.SourceUtils;
   53.57 -import org.netbeans.api.project.FileOwnerQuery;
   53.58 -import org.netbeans.api.project.Project;
   53.59 -import org.netbeans.api.project.Sources;
   53.60 -import org.netbeans.api.queries.FileBuiltQuery;
   53.61 -import org.netbeans.bluej.nodes.BluejLogicalViewRootNode;
   53.62 -import org.netbeans.spi.java.project.support.ui.PackageView;
   53.63 -import org.netbeans.spi.project.ui.LogicalViewProvider;
   53.64 -import org.openide.filesystems.FileAttributeEvent;
   53.65 -import org.openide.filesystems.FileChangeListener;
   53.66 -import org.openide.filesystems.FileEvent;
   53.67 -import org.openide.filesystems.FileObject;
   53.68 -import org.openide.filesystems.FileRenameEvent;
   53.69 -import org.openide.filesystems.FileUtil;
   53.70 -import org.openide.loaders.DataFolder;
   53.71 -import org.openide.loaders.DataObject;
   53.72 -import org.openide.nodes.Children;
   53.73 -import org.openide.nodes.FilterNode;
   53.74 -import org.openide.nodes.Node;
   53.75 -import org.openide.util.Lookup;
   53.76 -import org.openide.util.RequestProcessor;
   53.77 -import org.openide.util.Utilities;
   53.78 -import org.openide.util.lookup.Lookups;
   53.79 -
   53.80 -/**
   53.81 - * Support for creating logical views.
   53.82 - * @author Milos Kleint
   53.83 - */
   53.84 -public class BluejLogicalViewProvider implements LogicalViewProvider, org.netbeans.bluej.api.BluejLogicalViewProvider {
   53.85 -    
   53.86 -//    private static final RequestProcessor BROKEN_LINKS_RP = new RequestProcessor("BluejPhysicalViewProvider.BROKEN_LINKS_RP"); // NOI18N
   53.87 -    
   53.88 -    private final BluejProject project;
   53.89 -    private List changeListeners;
   53.90 -
   53.91 -    // Web service client
   53.92 -//    private static final Object KEY_SERVICE_REFS = "serviceRefs"; // NOI18N
   53.93 -    
   53.94 -    public BluejLogicalViewProvider(BluejProject project) {
   53.95 -        this.project = project;
   53.96 -        assert project != null;
   53.97 -    }
   53.98 -    
   53.99 -    public Node createLogicalView() {
  53.100 -        return new BluejLogicalViewRootNode(createLookup(project));
  53.101 -    }
  53.102 -    
  53.103 -    public Node findPath(Node root, Object target) {
  53.104 -        Project project = (Project) root.getLookup().lookup(Project.class);
  53.105 -        if (project == null) {
  53.106 -            return null;
  53.107 -        }
  53.108 -        
  53.109 -        if (target instanceof FileObject) {
  53.110 -            FileObject fo = (FileObject) target;
  53.111 -            Project owner = FileOwnerQuery.getOwner(fo);
  53.112 -            if (!project.equals(owner)) {
  53.113 -                return null; // Don't waste time if project does not own the fo
  53.114 -            }
  53.115 -            
  53.116 -            Node[] nodes = root.getChildren().getNodes(true);
  53.117 -            for (int i = 0; i < nodes.length; i++) {
  53.118 -                Node result = PackageView.findPath(nodes[i], target);
  53.119 -                if (result != null) {
  53.120 -                    return result;
  53.121 -                }
  53.122 -            }
  53.123 -        }
  53.124 -        
  53.125 -        return null;
  53.126 -    }
  53.127 -    
  53.128 -    
  53.129 -    
  53.130 -    public synchronized void addChangeListener(ChangeListener l) {
  53.131 -        if (this.changeListeners == null) {
  53.132 -            this.changeListeners = new ArrayList();
  53.133 -        }
  53.134 -        this.changeListeners.add(l);
  53.135 -    }
  53.136 -    
  53.137 -    public synchronized void removeChangeListener(ChangeListener l) {
  53.138 -        if (this.changeListeners == null) {
  53.139 -            return;
  53.140 -        }
  53.141 -        this.changeListeners.remove(l);
  53.142 -    }
  53.143 -    
  53.144 -    /**
  53.145 -     * Used by J2SEProjectCustomizer to mark the project as broken when it warns user
  53.146 -     * about project's broken references and advices him to use BrokenLinksAction to correct it.
  53.147 -     *
  53.148 -     */
  53.149 -    public void testBroken() {
  53.150 -        ChangeListener[] _listeners;
  53.151 -        synchronized (this) {
  53.152 -            if (this.changeListeners == null) {
  53.153 -                return;
  53.154 -            }
  53.155 -            _listeners = (ChangeListener[]) this.changeListeners.toArray(
  53.156 -                    new ChangeListener[this.changeListeners.size()]);
  53.157 -        }
  53.158 -        ChangeEvent event = new ChangeEvent(this);
  53.159 -        for (int i=0; i < _listeners.length; i++) {
  53.160 -            _listeners[i].stateChanged(event);
  53.161 -        }
  53.162 -    }
  53.163 -    
  53.164 -    private static Lookup createLookup( Project project ) {
  53.165 -        DataFolder rootFolder = DataFolder.findFolder(project.getProjectDirectory());
  53.166 -        // XXX Remove root folder after FindAction rewrite
  53.167 -        return Lookups.fixed(new Object[] {project, rootFolder});
  53.168 -    }
  53.169 -
  53.170 -    public Node getBigIconRootNode() {
  53.171 -        return new BigIconFilterNode(createLogicalView());
  53.172 -    }
  53.173 -    
  53.174 -    private static class BigIconFilterNode extends FilterNode {
  53.175 -        private String iconPath = null;
  53.176 -        private FileBuiltQuery.Status status = null;
  53.177 -        private boolean attached = false;
  53.178 -    
  53.179 -        BigIconFilterNode(Node original) {
  53.180 -            this(original, new BigIconFilterChilden(original));
  53.181 -            
  53.182 -        }
  53.183 -        BigIconFilterNode(Node original, org.openide.nodes.Children children) {
  53.184 -            super(original, children);
  53.185 -            DataObject dobj = (DataObject)original.getLookup().lookup(DataObject.class);
  53.186 -            if (dobj != null) {
  53.187 -                if ("java".equalsIgnoreCase(dobj.getPrimaryFile().getExt())) { //NOI18N
  53.188 -                    String name = dobj.getPrimaryFile().getName();
  53.189 -                    if (name.endsWith("Test")) {
  53.190 -                        name = name.substring(0, name.length() - "Test".length()); //NOI18N
  53.191 -//#77306 - remove the icon padding..                        
  53.192 -//                        if (dobj.getPrimaryFile().getParent().getFileObject(name, "java") != null) { //NOI18N
  53.193 -//                            iconPath = "org/netbeans/bluej/resources/bluej-testclass.png"; //NOI18N
  53.194 -//                            attached = true;
  53.195 -//                        } else {
  53.196 -                            iconPath = "org/netbeans/bluej/resources/bluej-testclass-unattached.png"; //NOI18N
  53.197 -//                        }
  53.198 -                    } else {
  53.199 -                        iconPath = "org/netbeans/bluej/resources/bluej-class.png"; //NOI18N
  53.200 -                    }
  53.201 -                    status = FileBuiltQuery.getStatus(dobj.getPrimaryFile());
  53.202 -                }
  53.203 -                if ("readme.txt".equalsIgnoreCase(dobj.getPrimaryFile().getNameExt())) { //NOI18N
  53.204 -                    iconPath = "org/netbeans/bluej/resources/readme.png"; //NOI18N
  53.205 -                }
  53.206 -            }
  53.207 -            
  53.208 -        }
  53.209 -
  53.210 -        public Image getIcon(int type) {
  53.211 -            Image retValue;
  53.212 -            if (iconPath != null) {
  53.213 -                retValue = Utilities.loadImage(iconPath);
  53.214 -                if (status != null && !status.isBuilt()) {
  53.215 -                    retValue = Utilities.mergeImages(retValue, Utilities.loadImage("org/netbeans/bluej/resources/compiled.png"), //NOI18N
  53.216 -                                                     attached ? 8 : 3, attached ? 11 : 13);
  53.217 -                }
  53.218 -                if (hasMain()) {
  53.219 -                    retValue = Utilities.mergeImages(retValue, Utilities.loadImage("org/netbeans/bluej/resources/executable-badge.gif"),  //NOI18N
  53.220 -                                                     attached ? 44 : 41, attached ? 5 : 7);
  53.221 -                }
  53.222 -            } else {
  53.223 -                retValue = super.getIcon(type);
  53.224 -            }
  53.225 -//            if (type == BeanInfo.ICON_COLOR_32x32 && retValue.getHeight(null) == 16) {
  53.226 -//                System.out.println("scaling");
  53.227 -                retValue = retValue.getScaledInstance(-1, 32, Image.SCALE_DEFAULT);
  53.228 -//            }
  53.229 -            return retValue;
  53.230 -        }
  53.231 -        
  53.232 -        private boolean hasMain() {
  53.233 -            DataObject dobj = (DataObject)getLookup().lookup(DataObject.class);
  53.234 -            if (dobj != null) {
  53.235 -                FileObject fo = dobj.getPrimaryFile();
  53.236 -                if(!fo.isValid()) {
  53.237 -                    return false;
  53.238 -                }
  53.239 -                Project prj = FileOwnerQuery.getOwner(fo);
  53.240 -                String path = FileUtil.getRelativePath(prj.getProjectDirectory(), fo);
  53.241 -                path = path.replace('/', '.').replace('\\', '.');
  53.242 -                path = path.substring(0, path.length() - (fo.getExt().length() + 1));
  53.243 -                return SourceUtils.isMainClass(path, ClasspathInfo.create(fo));
  53.244 -            }
  53.245 -            return false;
  53.246 -        }
  53.247 -        
  53.248 -        
  53.249 -    } 
  53.250 -    
  53.251 -    private static class BigIconFilterChilden extends FilterNode.Children {
  53.252 -        FileObject rootDir;
  53.253 -        private RootFileOobjectListener listener = null;
  53.254 -        BigIconFilterChilden(Node orig) {
  53.255 -            super(orig);
  53.256 -            DataObject dobj = (DataObject)orig.getLookup().lookup(DataObject.class);
  53.257 -            if (dobj != null) {
  53.258 -                Project prj = FileOwnerQuery.getOwner(dobj.getPrimaryFile());
  53.259 -                if (prj != null) {
  53.260 -                    rootDir = prj.getProjectDirectory();
  53.261 -                }
  53.262 -            }
  53.263 -        }
  53.264 -
  53.265 -        protected Node[] createNodes(Node object) {
  53.266 -            Node orig = (Node)object;
  53.267 -            DataObject dobj = (DataObject)orig.getLookup().lookup(DataObject.class);
  53.268 -            if (dobj != null) {
  53.269 -                // this has to be copied from the logicalviewrootnode, because
  53.270 -                // we need to construct the children from the root package directly from DataObjects..
  53.271 -                
  53.272 -                FileObject fo = dobj.getPrimaryFile();
  53.273 -                if ("bluej.pkg".equals(fo.getNameExt()) || //NOI18N
  53.274 -                        "build.xml".equals(fo.getNameExt()) || //NOI18N
  53.275 -                        "bluej.pkh".equals(fo.getNameExt()) || //NOI18N
  53.276 -                        ("+libs".equals(fo.getName()) && fo.isFolder()) || //NOI18N
  53.277 -                        ".DS_Store".equals(fo.getNameExt()) || //NOI18N
  53.278 -                        "ctxt".equals(fo.getExt()) || //NOI18N
  53.279 -                        "class".equals(fo.getExt()) || //NOI18N
  53.280 -                        (fo.isFolder() && fo.getFileObject("bluej.pkg") == null)) { //NOI18N
  53.281 -                    return new Node[0];
  53.282 -                }
  53.283 -                if (rootDir != null && rootDir.equals(fo)) {
  53.284 -                    if (listener == null) {
  53.285 -                        //add just once..
  53.286 -                        listener = new RootFileOobjectListener(this, orig, fo);
  53.287 -                        fo.addFileChangeListener(listener);
  53.288 -                    }
  53.289 -                    Enumeration en = ((DataFolder)dobj).children();
  53.290 -                    Collection col = new ArrayList();
  53.291 -                    while (en.hasMoreElements()) {
  53.292 -                        DataObject d2 = (DataObject)en.nextElement();
  53.293 -                        if (d2.getPrimaryFile().isData()) {
  53.294 -                            col.addAll(Arrays.asList(createNodes(d2.getNodeDelegate().cloneNode())));
  53.295 -                        }
  53.296 -                    }
  53.297 -                    return (Node[])col.toArray(new Node[col.size()]);
  53.298 -                }
  53.299 -                return new Node[] {new BigIconFilterNode(orig, fo.isData() ? Children.LEAF : new BigIconFilterChilden(orig))};
  53.300 -            }
  53.301 -            return new Node[0];
  53.302 -        }
  53.303 -        
  53.304 -        public void doRefresh(Node original) {
  53.305 -            refreshKey(original);
  53.306 -        }
  53.307 -        
  53.308 -    private static class RootFileOobjectListener implements FileChangeListener {
  53.309 -
  53.310 -        private BigIconFilterChilden children;
  53.311 -
  53.312 -        private Node node;
  53.313 -
  53.314 -        private FileObject fileObject;
  53.315 -        
  53.316 -        RootFileOobjectListener(BigIconFilterChilden childs, Node nd, FileObject fo) {
  53.317 -            children = childs;
  53.318 -            node = nd;
  53.319 -            fileObject = fo;
  53.320 -        }
  53.321 -        
  53.322 -        public void fileAttributeChanged(FileAttributeEvent fileAttributeEvent) {
  53.323 -        }
  53.324 -        public void fileChanged(FileEvent fileEvent) {
  53.325 -            //#75991 not posting it results in ugly assertions/exceptions from mdr.
  53.326 -            RequestProcessor.getDefault().post(new Runnable() {
  53.327 -                public void run() {
  53.328 -                    children.doRefresh(node);
  53.329 -                }
  53.330 -            });
  53.331 -        }
  53.332 -        public void fileDataCreated(FileEvent fileEvent) {
  53.333 -            children.doRefresh(node);
  53.334 -        }
  53.335 -        public void fileDeleted(FileEvent fileEvent) {
  53.336 -            children.doRefresh(node);
  53.337 -        }
  53.338 -        public void fileFolderCreated(FileEvent fileEvent) {
  53.339 -            children.doRefresh(node);
  53.340 -        }
  53.341 -        public void fileRenamed(FileRenameEvent fileRenameEvent) {
  53.342 -            children.doRefresh(node);
  53.343 -        }
  53.344 -        
  53.345 -    }
  53.346 -        
  53.347 -    }
  53.348 -}
  53.349 \ No newline at end of file
    54.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejProject.java	Thu Jul 10 19:13:29 2008 +0800
    54.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.3 @@ -1,582 +0,0 @@
    54.4 -/*
    54.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    54.6 - *
    54.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    54.8 - *
    54.9 - * The contents of this file are subject to the terms of either the GNU
   54.10 - * General Public License Version 2 only ("GPL") or the Common
   54.11 - * Development and Distribution License("CDDL") (collectively, the
   54.12 - * "License"). You may not use this file except in compliance with the
   54.13 - * License. You can obtain a copy of the License at
   54.14 - * http://www.netbeans.org/cddl-gplv2.html
   54.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   54.16 - * specific language governing permissions and limitations under the
   54.17 - * License.  When distributing the software, include this License Header
   54.18 - * Notice in each file and include the License file at
   54.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   54.20 - * particular file as subject to the "Classpath" exception as provided
   54.21 - * by Sun in the GPL Version 2 section of the License file that
   54.22 - * accompanied this code. If applicable, add the following below the
   54.23 - * License Header, with the fields enclosed by brackets [] replaced by
   54.24 - * your own identifying information:
   54.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   54.26 - *
   54.27 - * Contributor(s):
   54.28 - *
   54.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   54.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   54.31 - * Microsystems, Inc. All Rights Reserved.
   54.32 - *
   54.33 - * If you wish your version of this file to be governed by only the CDDL
   54.34 - * or only the GPL Version 2, indicate your decision by adding
   54.35 - * "[Contributor] elects to include this software in this distribution
   54.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   54.37 - * single choice of license, a recipient has the option to distribute
   54.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   54.39 - * to extend the choice of license to its licensees as provided above.
   54.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   54.41 - * Version 2 license, then the option applies only if the new code is
   54.42 - * made subject to such option by the copyright holder.
   54.43 - */
   54.44 -
   54.45 -package org.netbeans.bluej;
   54.46 -
   54.47 -import java.beans.PropertyChangeEvent;
   54.48 -import java.beans.PropertyChangeListener;
   54.49 -import java.beans.PropertyChangeSupport;
   54.50 -import java.io.File;
   54.51 -import java.io.IOException;
   54.52 -import javax.swing.Icon;
   54.53 -import javax.swing.ImageIcon;
   54.54 -import org.netbeans.api.java.classpath.ClassPath;
   54.55 -import org.netbeans.api.java.classpath.GlobalPathRegistry;
   54.56 -import org.netbeans.api.java.project.JavaProjectConstants;
   54.57 -import org.netbeans.api.project.Project;
   54.58 -import org.netbeans.api.project.ProjectInformation;
   54.59 -import org.netbeans.api.project.ProjectManager;
   54.60 -import org.netbeans.api.project.ant.AntArtifact;
   54.61 -import org.netbeans.bluej.api.BluejOpenCloseCallback;
   54.62 -import org.netbeans.bluej.classpath.ClassPathProviderImpl;
   54.63 -import org.netbeans.bluej.options.BlueJSettings;
   54.64 -import org.netbeans.spi.project.AuxiliaryConfiguration;
   54.65 -import org.netbeans.spi.project.SubprojectProvider;
   54.66 -import org.netbeans.spi.project.ant.AntArtifactProvider;
   54.67 -import org.netbeans.spi.project.support.ant.AntProjectEvent;
   54.68 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   54.69 -import org.netbeans.spi.project.support.ant.AntProjectListener;
   54.70 -import org.netbeans.spi.project.support.ant.EditableProperties;
   54.71 -import org.netbeans.spi.project.support.ant.GeneratedFilesHelper;
   54.72 -import org.netbeans.spi.project.support.ant.ProjectXmlSavedHook;
   54.73 -import org.netbeans.spi.project.support.ant.PropertyEvaluator;
   54.74 -import org.netbeans.spi.project.support.ant.PropertyUtils;
   54.75 -import org.netbeans.spi.project.support.ant.ReferenceHelper;
   54.76 -import org.netbeans.spi.project.ui.PrivilegedTemplates;
   54.77 -import org.netbeans.spi.project.ui.ProjectOpenedHook;
   54.78 -import org.netbeans.spi.project.ui.RecommendedTemplates;
   54.79 -import org.openide.ErrorManager;
   54.80 -import org.openide.filesystems.FileObject;
   54.81 -import org.openide.util.Lookup;
   54.82 -import org.openide.util.Mutex;
   54.83 -import org.openide.util.Utilities;
   54.84 -import org.openide.util.lookup.Lookups;
   54.85 -import org.w3c.dom.Element;
   54.86 -import org.w3c.dom.Text;
   54.87 -import org.w3c.dom.Node;
   54.88 -import org.w3c.dom.NodeList;
   54.89 -
   54.90 -/**
   54.91 - * Represents one bluej project.
   54.92 - * @author Milos Kleint
   54.93 - */
   54.94 -public final class BluejProject implements Project, AntProjectListener {
   54.95 -    
   54.96 -    private static final Icon BLUEJ_PROJECT_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/bluej/resources/bluejproject.png")); // NOI18N
   54.97 -
   54.98 -    private static final String PROP_BLUEJ_HOME = "bluej.userlib"; //NOI18N
   54.99 -    
  54.100 -    // Special properties of the project
  54.101 -    public static final String J2SE_PROJECT_NAME = "j2se.project.name"; // NOI18N
  54.102 -    public static final String JAVA_PLATFORM = "platform.active"; // NOI18N
  54.103 -    
  54.104 -    // Properties stored in the PROJECT.PROPERTIES    
  54.105 -    public static final String DIST_DIR = "dist.dir"; // NOI18N
  54.106 -    public static final String DIST_JAR = "dist.jar"; // NOI18N
  54.107 -    public static final String JAVAC_CLASSPATH = "javac.classpath"; // NOI18N
  54.108 -    public static final String RUN_CLASSPATH = "run.classpath"; // NOI18N
  54.109 -    public static final String RUN_JVM_ARGS = "run.jvmargs"; // NOI18N
  54.110 -    public static final String RUN_WORK_DIR = "work.dir"; // NOI18N
  54.111 -    public static final String DEBUG_CLASSPATH = "debug.classpath"; // NOI18N
  54.112 -    public static final String JAR_COMPRESS = "jar.compress"; // NOI18N
  54.113 -    public static final String MAIN_CLASS = "main.class"; // NOI18N
  54.114 -    public static final String JAVAC_SOURCE = "javac.source"; // NOI18N
  54.115 -    public static final String JAVAC_TARGET = "javac.target"; // NOI18N
  54.116 -    public static final String JAVAC_TEST_CLASSPATH = "javac.test.classpath"; // NOI18N
  54.117 -    public static final String JAVAC_DEBUG = "javac.debug"; // NOI18N
  54.118 -    public static final String JAVAC_DEPRECATION = "javac.deprecation"; // NOI18N
  54.119 -    public static final String JAVAC_COMPILER_ARG = "javac.compilerargs";    //NOI18N
  54.120 -    public static final String RUN_TEST_CLASSPATH = "run.test.classpath"; // NOI18N
  54.121 -    public static final String BUILD_DIR = "build.dir"; // NOI18N
  54.122 -    public static final String BUILD_CLASSES_DIR = "build.classes.dir"; // NOI18N
  54.123 -    public static final String BUILD_TEST_CLASSES_DIR = "build.test.classes.dir"; // NOI18N
  54.124 -    public static final String BUILD_TEST_RESULTS_DIR = "build.test.results.dir"; // NOI18N
  54.125 -    public static final String BUILD_CLASSES_EXCLUDES = "build.classes.excludes"; // NOI18N
  54.126 -    public static final String DIST_JAVADOC_DIR = "dist.javadoc.dir"; // NOI18N
  54.127 -    public static final String NO_DEPENDENCIES="no.dependencies"; // NOI18N
  54.128 -    public static final String DEBUG_TEST_CLASSPATH = "debug.test.classpath"; // NOI18N
  54.129 -    
  54.130 -    
  54.131 -    public static final String JAVADOC_PRIVATE="javadoc.private"; // NOI18N
  54.132 -    public static final String JAVADOC_NO_TREE="javadoc.notree"; // NOI18N
  54.133 -    public static final String JAVADOC_USE="javadoc.use"; // NOI18N
  54.134 -    public static final String JAVADOC_NO_NAVBAR="javadoc.nonavbar"; // NOI18N
  54.135 -    public static final String JAVADOC_NO_INDEX="javadoc.noindex"; // NOI18N
  54.136 -    public static final String JAVADOC_SPLIT_INDEX="javadoc.splitindex"; // NOI18N
  54.137 -    public static final String JAVADOC_AUTHOR="javadoc.author"; // NOI18N
  54.138 -    public static final String JAVADOC_VERSION="javadoc.version"; // NOI18N
  54.139 -    public static final String JAVADOC_WINDOW_TITLE="javadoc.windowtitle"; // NOI18N
  54.140 -    public static final String JAVADOC_ENCODING="javadoc.encoding"; // NOI18N
  54.141 -    public static final String JAVADOC_ADDITIONALPARAM="javadoc.additionalparam"; // NOI18N
  54.142 -                
  54.143 -    // Properties stored in the PRIVATE.PROPERTIES
  54.144 -    public static final String APPLICATION_ARGS = "application.args"; // NOI18N
  54.145 -    public static final String JAVADOC_PREVIEW="javadoc.preview"; // NOI18N
  54.146 -    
  54.147 -
  54.148 -    private final AuxiliaryConfiguration aux;
  54.149 -    private final AntProjectHelper helper;
  54.150 -    private final PropertyEvaluator eval;
  54.151 -    private final ReferenceHelper refHelper;
  54.152 -    private final GeneratedFilesHelper genFilesHelper;
  54.153 -    private final Lookup lookup;
  54.154 -    private final UpdateHelper updateHelper;
  54.155 -////    private MainClassUpdater mainClassUpdater;
  54.156 -////    private SourceRoots sourceRoots;
  54.157 -////    private SourceRoots testRoots;
  54.158 -    
  54.159 -
  54.160 -    BluejProject(AntProjectHelper helper) throws IOException {
  54.161 -        this.helper = helper;
  54.162 -        eval = createEvaluator();
  54.163 -        aux = helper.createAuxiliaryConfiguration();
  54.164 -        refHelper = new ReferenceHelper(helper, aux, eval);
  54.165 -        genFilesHelper = new GeneratedFilesHelper(helper);
  54.166 -        this.updateHelper = new UpdateHelper (this, this.helper, this.aux, this.genFilesHelper,
  54.167 -            UpdateHelper.createDefaultNotifier());
  54.168 -
  54.169 -        lookup = createLookup(aux);
  54.170 -        helper.addAntProjectListener(this);
  54.171 -    }
  54.172 -    
  54.173 -
  54.174 -    /**
  54.175 -     * Returns the project directory
  54.176 -     * @return the directory the project is located in
  54.177 -     */
  54.178 -    public FileObject getProjectDirectory() {
  54.179 -        return helper.getProjectDirectory();
  54.180 -    }
  54.181 -
  54.182 -    public String toString() {
  54.183 -        return "BluejProject[" + getProjectDirectory() + "]"; // NOI18N
  54.184 -    }
  54.185 -    
  54.186 -    private PropertyEvaluator createEvaluator() {
  54.187 -        // XXX might need to use a custom evaluator to handle active platform substitutions... TBD
  54.188 -        // It is currently safe to not use the UpdateHelper for PropertyEvaluator; UH.getProperties() delegates to APH
  54.189 -        return helper.getStandardPropertyEvaluator();
  54.190 -    }
  54.191 -    
  54.192 -    PropertyEvaluator evaluator() {
  54.193 -        return eval;
  54.194 -    }
  54.195 -
  54.196 -    ReferenceHelper getReferenceHelper () {
  54.197 -        return this.refHelper;
  54.198 -    }
  54.199 -
  54.200 -    public UpdateHelper getUpdateHelper() {
  54.201 -        return this.updateHelper;
  54.202 -    }
  54.203 -    
  54.204 -    public Lookup getLookup() {
  54.205 -        return lookup;
  54.206 -    }
  54.207 -    
  54.208 -    public AntProjectHelper getAntProjectHelper() {
  54.209 -        return helper;
  54.210 -    }
  54.211 -
  54.212 -    private Lookup createLookup(AuxiliaryConfiguration aux) {
  54.213 -        SubprojectProvider spp = refHelper.createSubprojectProvider();
  54.214 -        return Lookups.fixed(new Object[] {
  54.215 -            new Info(),
  54.216 -            aux,
  54.217 -            helper.createCacheDirectoryProvider(),
  54.218 -            spp,
  54.219 -            new BluejActionProvider( this, getUpdateHelper()),
  54.220 -            new BluejLogicalViewProvider(this),
  54.221 -            new BJClassPathExtender(this),
  54.222 -            new CustomizerProviderImpl(this, evaluator(), getUpdateHelper()),
  54.223 -////            // new J2SECustomizerProvider(this, this.updateHelper, evaluator(), refHelper),
  54.224 -////            new CustomizerProviderImpl(this, this.updateHelper, evaluator(), refHelper, this.genFilesHelper),        
  54.225 -            new ClassPathProviderImpl(this), 
  54.226 -            new SFBQueryImpl(this, helper, evaluator()),
  54.227 -////            new CompiledSourceForBinaryQuery(this.helper, evaluator(),getSourceRoots(),getTestSourceRoots()), //Does not use APH to get/put properties/cfgdata
  54.228 -            new AntArtifactProviderImpl(),
  54.229 -            new ProjectXmlSavedHookImpl(),
  54.230 -            new ProjectOpenedHookImpl(),
  54.231 -            new BluejUnitTestForSourceQuery(this),
  54.232 -////            new SourceLevelQueryImpl(evaluator()),
  54.233 -            new BluejSources (this),
  54.234 -////            new J2SESharabilityQuery (this.helper, evaluator(), getSourceRoots(), getTestSourceRoots()), //Does not use APH to get/put properties/cfgdata
  54.235 -            new BluejFileBuiltQuery(this.helper, evaluator()), //Does not use APH to get/put properties/cfgdata
  54.236 -            new RecommendedTemplatesImpl(),
  54.237 -////            new J2SEProjectClassPathExtender(this, this.updateHelper, eval,refHelper),
  54.238 -            this // never cast an externally obtained Project to BluejProject - use lookup instead
  54.239 -////            new J2SEProjectOperations(this),
  54.240 -////            new J2SEProjectWebServicesSupportProvider()
  54.241 -        });
  54.242 -    }
  54.243 -
  54.244 -    public void configurationXmlChanged(AntProjectEvent ev) {
  54.245 -        if (ev.getPath().equals(AntProjectHelper.PROJECT_XML_PATH)) {
  54.246 -            // Could be various kinds of changes, but name & displayName might have changed.
  54.247 -            Info info = (Info)getLookup().lookup(ProjectInformation.class);
  54.248 -            info.firePropertyChange(ProjectInformation.PROP_NAME);
  54.249 -            info.firePropertyChange(ProjectInformation.PROP_DISPLAY_NAME);
  54.250 -        }
  54.251 -    }
  54.252 -
  54.253 -    public void propertiesChanged(AntProjectEvent ev) {
  54.254 -        // currently ignored (probably better to listen to evaluator() if you need to)
  54.255 -    }
  54.256 -    
  54.257 -    // Package private methods -------------------------------------------------
  54.258 -
  54.259 -////    /**
  54.260 -////     * Returns the source roots of this project
  54.261 -////     * @return project's source roots
  54.262 -////     */
  54.263 -////    public synchronized SourceRoots getSourceRoots() {        
  54.264 -////        if (this.sourceRoots == null) { //Local caching, no project metadata access
  54.265 -////            this.sourceRoots = new SourceRoots(this.updateHelper, evaluator(), getReferenceHelper(), "source-roots", false, "src.{0}{1}.dir"); //NOI18N
  54.266 -////        }
  54.267 -////        return this.sourceRoots;
  54.268 -////    }
  54.269 -////    
  54.270 -////    public synchronized SourceRoots getTestSourceRoots() {
  54.271 -////        if (this.testRoots == null) { //Local caching, no project metadata access
  54.272 -////            this.testRoots = new SourceRoots(this.updateHelper, evaluator(), getReferenceHelper(), "test-roots", true, "test.{0}{1}.dir"); //NOI18N
  54.273 -////        }
  54.274 -////        return this.testRoots;
  54.275 -////    }
  54.276 -////    
  54.277 -////    File getTestClassesDirectory() {
  54.278 -////        String testClassesDir = evaluator().getProperty(J2SEProjectProperties.BUILD_TEST_CLASSES_DIR);
  54.279 -////        if (testClassesDir == null) {
  54.280 -////            return null;
  54.281 -////        }
  54.282 -////        return helper.resolveFile(testClassesDir);
  54.283 -////    }
  54.284 -    
  54.285 -    // Currently unused (but see #47230):
  54.286 -    /** Store configured project name. */
  54.287 -    public void setName(final String name) {
  54.288 -        ProjectManager.mutex().writeAccess(new Mutex.Action() {
  54.289 -            public Object run() {
  54.290 -                Element data = helper.getPrimaryConfigurationData(true);
  54.291 -                // XXX replace by XMLUtil when that has findElement, findText, etc.
  54.292 -                NodeList nl = data.getElementsByTagNameNS(BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE, "name");  // NOI18N
  54.293 -                Element nameEl;
  54.294 -                if (nl.getLength() == 1) {
  54.295 -                    nameEl = (Element) nl.item(0);
  54.296 -                    NodeList deadKids = nameEl.getChildNodes();
  54.297 -                    while (deadKids.getLength() > 0) {
  54.298 -                        nameEl.removeChild(deadKids.item(0));
  54.299 -                    }
  54.300 -                } else {
  54.301 -                    nameEl = data.getOwnerDocument().createElementNS(BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE, "name");
  54.302 -                    data.insertBefore(nameEl, /* OK if null */data.getChildNodes().item(0));
  54.303 -                }
  54.304 -                nameEl.appendChild(data.getOwnerDocument().createTextNode(name));
  54.305 -                helper.putPrimaryConfigurationData(data, true);
  54.306 -                return null;
  54.307 -            }
  54.308 -        });
  54.309 -    }
  54.310 -
  54.311 -
  54.312 -
  54.313 -
  54.314 -    // Private innerclasses ----------------------------------------------------
  54.315 -    
  54.316 -    private final class Info implements ProjectInformation {
  54.317 -        
  54.318 -        private final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
  54.319 -        
  54.320 -        Info() {}
  54.321 -        
  54.322 -        void firePropertyChange(String prop) {
  54.323 -            pcs.firePropertyChange(prop, null, null);
  54.324 -        }
  54.325 -        
  54.326 -        public String getName() {
  54.327 -            return PropertyUtils.getUsablePropertyName(getProjectDirectory().getName());
  54.328 -        }
  54.329 -        
  54.330 -        public String getDisplayName() {
  54.331 -            return (String) ProjectManager.mutex().readAccess(new Mutex.Action() {
  54.332 -                public Object run() {
  54.333 -                    Element data = updateHelper.getPrimaryConfigurationData(true);
  54.334 -                    // XXX replace by XMLUtil when that has findElement, findText, etc.
  54.335 -                    NodeList nl = data.getElementsByTagNameNS(BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE, "name"); // NOI18N
  54.336 -                    if (nl.getLength() == 1) {
  54.337 -                        nl = nl.item(0).getChildNodes();
  54.338 -                        if (nl.getLength() == 1 && nl.item(0).getNodeType() == Node.TEXT_NODE) {
  54.339 -                            return ((Text) nl.item(0)).getNodeValue() + " " + getProjectDirectory().getName();  // NOI18N
  54.340 -                        }
  54.341 -                    }
  54.342 -                    return getProjectDirectory().getName(); // NOI18N
  54.343 -                }
  54.344 -            });
  54.345 -        }
  54.346 -        
  54.347 -        public Icon getIcon() {
  54.348 -            return BLUEJ_PROJECT_ICON;
  54.349 -        }
  54.350 -        
  54.351 -        public Project getProject() {
  54.352 -            return BluejProject.this;
  54.353 -        }
  54.354 -        
  54.355 -        public void addPropertyChangeListener(PropertyChangeListener listener) {
  54.356 -            pcs.addPropertyChangeListener(listener);
  54.357 -        }
  54.358 -        
  54.359 -        public void removePropertyChangeListener(PropertyChangeListener listener) {
  54.360 -            pcs.removePropertyChangeListener(listener);
  54.361 -        }
  54.362 -        
  54.363 -    }
  54.364 -    
  54.365 -    private static final class ProjectXmlSavedHookImpl extends ProjectXmlSavedHook {
  54.366 -        
  54.367 -        ProjectXmlSavedHookImpl() {}
  54.368 -        
  54.369 -        protected void projectXmlSaved() throws IOException {
  54.370 -            //May be called by {@link AuxiliaryConfiguration#putConfigurationFragment}
  54.371 -            //which didn't affect the j2seproject 
  54.372 -////            if (updateHelper.isCurrent()) {
  54.373 -////                //Refresh build-impl.xml only for j2seproject/2
  54.374 -////                genFilesHelper.refreshBuildScript(
  54.375 -////                    GeneratedFilesHelper.BUILD_IMPL_XML_PATH,
  54.376 -////                    BluejProject.class.getResource("resources/build-impl.xsl"),
  54.377 -////                    false);
  54.378 -////                genFilesHelper.refreshBuildScript(
  54.379 -////                    GeneratedFilesHelper.BUILD_XML_PATH,
  54.380 -////                    BluejProject.class.getResource("resources/build.xsl"),
  54.381 -////                    false);
  54.382 -////            }
  54.383 -        }
  54.384 -        
  54.385 -    }
  54.386 -    
  54.387 -    public static File getUserLibPath(File bjHome) {
  54.388 -        
  54.389 -        File userlib;
  54.390 -        if (Utilities.getOperatingSystem() == Utilities.OS_MAC) {
  54.391 -            userlib = new File(bjHome.getParentFile(), bjHome.getName() + ".app/Contents/Resources/Java/userlib");
  54.392 -        } else {
  54.393 -            userlib = new File(new File(bjHome, "lib"), "userlib");
  54.394 -        }
  54.395 -        return userlib;
  54.396 -    }
  54.397 -    
  54.398 -    private final class ProjectOpenedHookImpl extends ProjectOpenedHook implements PropertyChangeListener {
  54.399 -        
  54.400 -        ProjectOpenedHookImpl() {}
  54.401 -        
  54.402 -        protected void projectOpened() {
  54.403 -            // Make it easier to run headless builds on the same machine at least.
  54.404 -            ProjectManager.mutex().writeAccess(new Mutex.Action() {
  54.405 -                public Object run() {
  54.406 -                    EditableProperties ep = updateHelper.getProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH);
  54.407 -                    File buildProperties = new File(System.getProperty("netbeans.user"), "build.properties"); // NOI18N
  54.408 -                    ep.setProperty("user.properties.file", buildProperties.getAbsolutePath()); // NOI18N                    
  54.409 -                    File bjHome = BlueJSettings.getDefault().getHome();
  54.410 -                    if (bjHome != null) {
  54.411 -                        
  54.412 -                        ep.setProperty(PROP_BLUEJ_HOME, getUserLibPath(bjHome).getAbsolutePath());
  54.413 -                        ep.setComment(PROP_BLUEJ_HOME, new String[] {
  54.414 -                            "## the bluej.userlib property is reset everytime the project is opened in netbeans according to the",
  54.415 -                            "## setting in the IDE that point to the location of the bluej installation's userlib directory.",
  54.416 -                            "## It is required to find and use the libraries located in BLUEJ_HOME/lib/userlib when building the project" 
  54.417 -                        }, true);
  54.418 -                    } else {
  54.419 -                        ep.remove(PROP_BLUEJ_HOME);
  54.420 -                    }
  54.421 -                    ep.setProperty("bluej.config.libraries", BlueJSettings.getDefault().getUserLibrariesAsClassPath());  // NOI18N
  54.422 -                    ep.setComment("bluej.config.libraries", new String[] {  // NOI18N
  54.423 -                        "## classpath entry that is composed from content of bluej.userlib.*.location properties in the user home's bluej.properties file..",
  54.424 -                        "## rebuilt on every opening of the project in netbeans"
  54.425 -                    }, true);
  54.426 -                    updateHelper.putProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH, ep);
  54.427 -                    try {
  54.428 -                        ProjectManager.getDefault().saveProject(BluejProject.this);
  54.429 -                    } catch (IOException e) {
  54.430 -                        ErrorManager.getDefault().notify(e);
  54.431 -                    }
  54.432 -                    return null;
  54.433 -                }
  54.434 -            });
  54.435 -            BlueJSettings.getDefault().addPropertyChangeListener(this);
  54.436 -            
  54.437 -////            // Check up on build scripts.
  54.438 -////            try {
  54.439 -////                if (updateHelper.isCurrent()) {
  54.440 -////                    //Refresh build-impl.xml only for j2seproject/2
  54.441 -////                    genFilesHelper.refreshBuildScript(
  54.442 -////                        GeneratedFilesHelper.BUILD_IMPL_XML_PATH,
  54.443 -////                        BluejProject.class.getResource("resources/build-impl.xsl"),
  54.444 -////                        true);
  54.445 -////                    genFilesHelper.refreshBuildScript(
  54.446 -////                        GeneratedFilesHelper.BUILD_XML_PATH,
  54.447 -////                        BluejProject.class.getResource("resources/build.xsl"),
  54.448 -////                        true);
  54.449 -////                }                
  54.450 -////            } catch (IOException e) {
  54.451 -////                ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
  54.452 -////            }
  54.453 -            
  54.454 -            // register project's classpaths to GlobalPathRegistry
  54.455 -            ClassPathProviderImpl cpProvider = (ClassPathProviderImpl)lookup.lookup(ClassPathProviderImpl.class);
  54.456 -            GlobalPathRegistry.getDefault().register(ClassPath.BOOT, cpProvider.getBootPath());
  54.457 -            GlobalPathRegistry.getDefault().register(ClassPath.SOURCE, cpProvider.getSourcePath());
  54.458 -            GlobalPathRegistry.getDefault().register(ClassPath.COMPILE, cpProvider.getCompileTimeClasspath());
  54.459 -
  54.460 -////            //register updater of main.class
  54.461 -////            //the updater is active only on the opened projects
  54.462 -////            mainClassUpdater = new MainClassUpdater (BluejProject.this, eval, updateHelper,
  54.463 -////                    cpProvider.getProjectClassPaths(ClassPath.SOURCE)[0], J2SEProjectProperties.MAIN_CLASS);
  54.464 -
  54.465 -////            J2SELogicalViewProvider physicalViewProvider = (J2SELogicalViewProvider)
  54.466 -////                BluejProject.this.getLookup().lookup (J2SELogicalViewProvider.class);
  54.467 -////            if (physicalViewProvider != null &&  physicalViewProvider.hasBrokenLinks()) {   
  54.468 -////                BrokenReferencesSupport.showAlert();
  54.469 -////            }
  54.470 -            BluejOpenCloseCallback callback = (BluejOpenCloseCallback) Lookup.getDefault().lookup(BluejOpenCloseCallback.class);
  54.471 -            if (callback != null) {
  54.472 -                callback.projectOpened(BluejProject.this);
  54.473 -            }
  54.474 -        }
  54.475 -        
  54.476 -        protected void projectClosed() {
  54.477 -            BlueJSettings.getDefault().removePropertyChangeListener(this);
  54.478 -            // Probably unnecessary, but just in case:
  54.479 -            try {
  54.480 -                ProjectManager.getDefault().saveProject(BluejProject.this);
  54.481 -            } catch (IOException e) {
  54.482 -                ErrorManager.getDefault().notify(e);
  54.483 -            }
  54.484 -            BluejOpenCloseCallback callback = (BluejOpenCloseCallback) Lookup.getDefault().lookup(BluejOpenCloseCallback.class);
  54.485 -            if (callback != null) {
  54.486 -                callback.projectClosed(BluejProject.this);
  54.487 -            }
  54.488 -            
  54.489 -            // unregister project's classpaths to GlobalPathRegistry
  54.490 -            ClassPathProviderImpl cpProvider = (ClassPathProviderImpl)lookup.lookup(ClassPathProviderImpl.class);
  54.491 -            GlobalPathRegistry.getDefault().unregister(ClassPath.BOOT, cpProvider.getBootPath());
  54.492 -            GlobalPathRegistry.getDefault().unregister(ClassPath.SOURCE, cpProvider.getSourcePath());
  54.493 -            GlobalPathRegistry.getDefault().unregister(ClassPath.COMPILE, cpProvider.getCompileTimeClasspath());
  54.494 -////            if (mainClassUpdater != null) {
  54.495 -////                mainClassUpdater.unregister ();
  54.496 -////                mainClassUpdater = null;
  54.497 -////            }
  54.498 -        }
  54.499 -
  54.500 -        public void propertyChange(PropertyChangeEvent evt) {
  54.501 -            ProjectManager.mutex().writeAccess(new Mutex.Action() {
  54.502 -                public Object run() {
  54.503 -                    EditableProperties ep = updateHelper.getProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH);
  54.504 -                    File bjHome = BlueJSettings.getDefault().getHome();
  54.505 -                    if (bjHome != null) {
  54.506 -                        ep.setProperty(PROP_BLUEJ_HOME, getUserLibPath(bjHome).getAbsolutePath());
  54.507 -                    } else {
  54.508 -                        ep.remove(PROP_BLUEJ_HOME);
  54.509 -                    }
  54.510 -                    updateHelper.putProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH, ep);
  54.511 -                    try {
  54.512 -                        ProjectManager.getDefault().saveProject(BluejProject.this);
  54.513 -                    } catch (IOException e) {
  54.514 -                        ErrorManager.getDefault().notify(e);
  54.515 -                    }
  54.516 -                    return null;
  54.517 -                }
  54.518 -            });
  54.519 -        }
  54.520 -        
  54.521 -    }
  54.522 -    
  54.523 -
  54.524 -    /**
  54.525 -     * Exports the main JAR as an official build product for use from other scripts.
  54.526 -     * The type of the artifact will be {@link AntArtifact#TYPE_JAR}.
  54.527 -     */
  54.528 -    private final class AntArtifactProviderImpl implements AntArtifactProvider {
  54.529 -
  54.530 -        public AntArtifact[] getBuildArtifacts() {
  54.531 -            return new AntArtifact[] {
  54.532 -                helper.createSimpleAntArtifact(JavaProjectConstants.ARTIFACT_TYPE_JAR, "dist.jar", evaluator(), "jar", "clean"), // NOI18N
  54.533 -            };
  54.534 -        }
  54.535 -
  54.536 -    }
  54.537 -    
  54.538 -    private static final class RecommendedTemplatesImpl implements RecommendedTemplates, PrivilegedTemplates {
  54.539 -        RecommendedTemplatesImpl() {
  54.540 -        }
  54.541 -        
  54.542 -        // List of primarily supported templates
  54.543 -        
  54.544 -        private static final String[] APPLICATION_TYPES = new String[] { 
  54.545 -            "java-classes",         // NOI18N
  54.546 -            "java-main-class",      // NOI18N
  54.547 -            "java-forms",           // NOI18N
  54.548 -            "gui-java-application", // NOI18N
  54.549 -            "java-beans",           // NOI18N
  54.550 -            "oasis-XML-catalogs",   // NOI18N
  54.551 -            "XML",                  // NOI18N
  54.552 -            "ant-script",           // NOI18N
  54.553 -            "ant-task",             // NOI18N
  54.554 -//            "web-service-clients",  // NOI18N
  54.555 -//            "wsdl",                 // NOI18N
  54.556 -            // "servlet-types",     // NOI18N
  54.557 -            // "web-types",         // NOI18N
  54.558 -            "junit",                // NOI18N
  54.559 -            // "MIDP",              // NOI18N
  54.560 -            "simple-files",         // NOI18N
  54.561 -            "bluej"                 // NOI18N
  54.562 -        };
  54.563 -        
  54.564 -        private static final String[] PRIVILEGED_NAMES = new String[] {
  54.565 -            "Templates/Bluej/StdClass.java", // NOI18N
  54.566 -            "Templates/Bluej/MainClass.java", // NOI18N
  54.567 -            "Templates/Classes/Package", // NOI18N
  54.568 -            "Templates/Bluej/Interface.java", // NOI18N
  54.569 -            "Templates/Bluej/Enum.java", // NOI18N
  54.570 -            "Templates/Bluej/Abstract.java", // NOI18N
  54.571 -            "Templates/Bluej/UnitTest.java", // NOI18N
  54.572 -
  54.573 -        };
  54.574 -        
  54.575 -        public String[] getRecommendedTypes() {
  54.576 -            return APPLICATION_TYPES;
  54.577 -        }
  54.578 -        
  54.579 -        public String[] getPrivilegedTemplates() {
  54.580 -            return PRIVILEGED_NAMES;
  54.581 -        }
  54.582 -        
  54.583 -    }
  54.584 -
  54.585 -}
  54.586 \ No newline at end of file
    55.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejProjectFactory.java	Thu Jul 10 19:13:29 2008 +0800
    55.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.3 @@ -1,197 +0,0 @@
    55.4 -package org.netbeans.bluej;
    55.5 -
    55.6 -import java.io.BufferedReader;
    55.7 -import java.io.File;
    55.8 -import java.io.IOException;
    55.9 -import java.io.InputStream;
   55.10 -import java.io.InputStreamReader;
   55.11 -import java.io.OutputStream;
   55.12 -import java.io.OutputStreamWriter;
   55.13 -import java.io.Writer;
   55.14 -import java.util.Iterator;
   55.15 -import org.netbeans.api.java.platform.JavaPlatformManager;
   55.16 -import org.netbeans.api.project.Project;
   55.17 -import org.netbeans.spi.project.ProjectFactory;
   55.18 -import org.netbeans.spi.project.ProjectState;
   55.19 -import org.netbeans.spi.project.support.ant.PropertyUtils;
   55.20 -import org.openide.filesystems.FileLock;
   55.21 -import org.openide.filesystems.FileObject;
   55.22 -import org.openide.filesystems.FileUtil;
   55.23 -import org.openide.util.Lookup;
   55.24 -import org.openide.xml.XMLUtil;
   55.25 -import org.w3c.dom.Document;
   55.26 -import org.w3c.dom.NodeList;
   55.27 -import org.xml.sax.InputSource;
   55.28 -import org.xml.sax.SAXException;
   55.29 -
   55.30 -/**
   55.31 - * factory of bluej projects, only applied when netbeans related files are not created..
   55.32 - * @author  Milos Kleint (mkleint@netbeans.org)
   55.33 - */
   55.34 -public class BluejProjectFactory implements ProjectFactory {
   55.35 -    /** Creates a new instance of BluejProjectFactory */
   55.36 -    public BluejProjectFactory() {
   55.37 -    }
   55.38 -    
   55.39 -    public boolean isProject(FileObject fileObject) {
   55.40 -        File projectDir = FileUtil.toFile(fileObject);
   55.41 -        if (projectDir == null) {
   55.42 -            return false;
   55.43 -        }
   55.44 -        if (fileObject.getFileObject("nbproject") != null && fileObject.getFileObject("build.xml") != null) {  // NOI18N
   55.45 -            return false;
   55.46 -        }
   55.47 -        File project = new File(projectDir, "bluej.pkg"); // NOI18N
   55.48 -        File parentProject = new File(projectDir.getParentFile(), "bluej.pkg");  // NOI18N
   55.49 -        return project.exists() && project.isFile() &&
   55.50 -                (!parentProject.exists()) && !"nbproject".equalsIgnoreCase(projectDir.getName()); // NOI18N
   55.51 -    }
   55.52 -    
   55.53 -    public Project loadProject(FileObject fileObject, ProjectState projectState) throws IOException {
   55.54 -        if (FileUtil.toFile(fileObject) == null) {
   55.55 -            return null;
   55.56 -        }
   55.57 -        if ("nbproject".equalsIgnoreCase(fileObject.getName())) {  //NOI18N
   55.58 -            return null;
   55.59 -        }
   55.60 -        FileObject projectFile = fileObject.getFileObject("bluej.pkg"); // NOI18N
   55.61 -        if (projectFile == null || !projectFile.isData()) {
   55.62 -            return null;
   55.63 -        }
   55.64 -        File projectDiskFile = FileUtil.toFile(projectFile);
   55.65 -        if (projectDiskFile == null)  {
   55.66 -            return null;
   55.67 -        }
   55.68 -        if (fileObject.getParent().getFileObject("bluej.pkg") != null) {  // NOI18N
   55.69 -            return null;
   55.70 -        }
   55.71 -        
   55.72 -        String projectName = removeSpaces(fileObject.getName());
   55.73 -        
   55.74 -        if (fileObject.getFileObject("nbproject") == null) {  // NOI18N
   55.75 -            String specVersion = JavaPlatformManager.getDefault().getDefaultPlatform().getSpecification().getVersion().toString();
   55.76 -            FileObject nbfolder = fileObject.createFolder("nbproject");  // NOI18N
   55.77 -            InputStream str = BluejProjectFactory.class.getResourceAsStream("resources/build.xml");  // NOI18N
   55.78 -            FileObject buildxml = fileObject.createData("build.xml");  // NOI18N
   55.79 -            FileLock lock = buildxml.lock();
   55.80 -            OutputStream out = buildxml.getOutputStream(lock);
   55.81 -            copyAndReplaceInStream(str, out, "@PROJECTNAME@", projectName);  // NOI18N
   55.82 -            out.close();
   55.83 -            lock.releaseLock();
   55.84 -            str = BluejProjectFactory.class.getResourceAsStream("resources/build-impl.xml");  // NOI18N
   55.85 -            FileObject buildimplxml = nbfolder.createData("build-impl.xml");  // NOI18N
   55.86 -            lock = buildimplxml.lock();
   55.87 -            out = buildimplxml.getOutputStream(lock);
   55.88 -            copyAndReplaceInStream(str, out, "@PROJECTNAME@", projectName);  // NOI18N
   55.89 -            out.close();
   55.90 -            lock.releaseLock();
   55.91 -            str = BluejProjectFactory.class.getResourceAsStream("resources/project.properties");  // NOI18N
   55.92 -            FileObject props = nbfolder.createData("project.properties");  // NOI18N
   55.93 -            lock = props.lock();
   55.94 -            out = props.getOutputStream(lock);
   55.95 -            copyAndReplaceInStream(str, out, 
   55.96 -                new String[] { "@PROJECTNAME@", "@JAVAVERSION@" },
   55.97 -                new String[] { PropertyUtils.getUsablePropertyName(projectName), specVersion} );  // NOI18N
   55.98 -            out.close();
   55.99 -            lock.releaseLock();
  55.100 -            str = BluejProjectFactory.class.getResourceAsStream("resources/project.xml");  // NOI18N
  55.101 -            FileObject projxml = nbfolder.createData("project.xml");  // NOI18N
  55.102 -            lock = projxml.lock();
  55.103 -            out = projxml.getOutputStream(lock);
  55.104 -            FileUtil.copy(str, out);
  55.105 -            out.close();
  55.106 -            lock.releaseLock();
  55.107 -            Lookup.Result res = Lookup.getDefault().lookup(new Lookup.Template(ProjectFactory.class));
  55.108 -            Iterator it = res.allInstances().iterator();
  55.109 -            try {
  55.110 -                Thread.sleep(1000);
  55.111 -            } catch (InterruptedException ex) {
  55.112 -                ex.printStackTrace();
  55.113 -            }
  55.114 -            while (it.hasNext()) {
  55.115 -                ProjectFactory elem = (ProjectFactory) it.next();
  55.116 -                if (elem.getClass().getName().indexOf("AntBasedProjectFactorySingleton") != -1) {  // NOI18N
  55.117 -                    return elem.loadProject(fileObject, projectState);
  55.118 -                }
  55.119 -            }
  55.120 -        } else {
  55.121 -            //handle upgrading
  55.122 -            FileObject xml = fileObject.getFileObject(org.netbeans.spi.project.support.ant.AntProjectHelper.PROJECT_XML_PATH);
  55.123 -            if (xml == null || !xml.isData()) {
  55.124 -                return null;
  55.125 -            }
  55.126 -            File f = FileUtil.toFile(xml);
  55.127 -            try {
  55.128 -                 Document doc = XMLUtil.parse(new InputSource(f.toURI().toString()), false, true, null, null);
  55.129 -                 NodeList nl = doc.getDocumentElement().getElementsByTagNameNS("http://www.netbeans.org/ns/bluej-project/1", "data");
  55.130 -                 if (nl != null && nl.getLength() > 0) {
  55.131 -                     //upgrade to /2
  55.132 -                     InputStream str = BluejProjectFactory.class.getResourceAsStream("resources/build-impl.xml");  // NOI18N
  55.133 -                     FileObject buildimplxml = fileObject.getFileObject("nbproject/build-impl.xml");  // NOI18N
  55.134 -                     FileLock lock = buildimplxml.lock();
  55.135 -                     OutputStream out = buildimplxml.getOutputStream(lock);
  55.136 -                     copyAndReplaceInStream(str, out, "@PROJECTNAME@", projectName);  // NOI18N
  55.137 -                     out.close();
  55.138 -                     lock.releaseLock();
  55.139 -                     str = BluejProjectFactory.class.getResourceAsStream("resources/project.xml");  // NOI18N
  55.140 -                     FileObject projxml = xml;  // NOI18N
  55.141 -                     lock = projxml.lock();
  55.142 -                     out = projxml.getOutputStream(lock);
  55.143 -                     FileUtil.copy(str, out);
  55.144 -                     out.close();
  55.145 -                     lock.releaseLock();
  55.146 -                 }
  55.147 -            } catch (IOException e) {
  55.148 -                //                ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
  55.149 -            } catch (SAXException e) {
  55.150 -                //                ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
  55.151 -            }
  55.152 -            
  55.153 -        }
  55.154 -        return null;
  55.155 -    }
  55.156 -    
  55.157 -    public void saveProject(Project project) throws IOException {
  55.158 -        // when creating a project through this factory, route the saving to the ant based factory.
  55.159 -        Lookup.Result res = Lookup.getDefault().lookup(new Lookup.Template(ProjectFactory.class));
  55.160 -        Iterator it = res.allInstances().iterator();
  55.161 -        while (it.hasNext()) {
  55.162 -            ProjectFactory elem = (ProjectFactory) it.next();
  55.163 -            if (elem.getClass().getName().indexOf("AntBasedProjectFactorySingleton") != -1) {  // NOI18N
  55.164 -                elem.saveProject(project);
  55.165 -            }
  55.166 -        }
  55.167 -    }
  55.168 -    private void copyAndReplaceInStream(InputStream is, OutputStream os, 
  55.169 -            String ptrn, String rpl) throws IOException {
  55.170 -        copyAndReplaceInStream(is, os, new String[] {ptrn}, new String[] {rpl});
  55.171 -    }
  55.172 -    
  55.173 -    private void copyAndReplaceInStream(InputStream is, OutputStream os, 
  55.174 -            String[] ptrn, String[] rpl) throws IOException {
  55.175 -        String sep = System.getProperty("line.separator");  // NOI18N
  55.176 -        BufferedReader br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
  55.177 -        Writer writer = new OutputStreamWriter(os, "UTF-8");
  55.178 -        String line = br.readLine();
  55.179 -        while (line != null) {
  55.180 -            if (line.indexOf('@') != -1) {
  55.181 -                for (int i = 0; i < ptrn.length; i++) {
  55.182 -                    line = line.replaceAll(ptrn[i], rpl[i]);
  55.183 -                }
  55.184 -            }
  55.185 -            writer.write(line + sep);
  55.186 -            line = br.readLine();
  55.187 -        }
  55.188 -        writer.flush();
  55.189 -    }
  55.190 -    
  55.191 -    public static String removeSpaces(String s) {
  55.192 -        int si = s.indexOf(" ");  // NOI18N
  55.193 -        if (si != -1) {
  55.194 -            return s.substring(0, si) + removeSpaces(s.substring(si + 1));
  55.195 -        } else {
  55.196 -            return s;
  55.197 -        }
  55.198 -    }
  55.199 -    
  55.200 -}
    56.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejProjectProperties.java	Thu Jul 10 19:13:29 2008 +0800
    56.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56.3 @@ -1,215 +0,0 @@
    56.4 -/*
    56.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    56.6 - *
    56.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    56.8 - *
    56.9 - * The contents of this file are subject to the terms of either the GNU
   56.10 - * General Public License Version 2 only ("GPL") or the Common
   56.11 - * Development and Distribution License("CDDL") (collectively, the
   56.12 - * "License"). You may not use this file except in compliance with the
   56.13 - * License. You can obtain a copy of the License at
   56.14 - * http://www.netbeans.org/cddl-gplv2.html
   56.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   56.16 - * specific language governing permissions and limitations under the
   56.17 - * License.  When distributing the software, include this License Header
   56.18 - * Notice in each file and include the License file at
   56.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   56.20 - * particular file as subject to the "Classpath" exception as provided
   56.21 - * by Sun in the GPL Version 2 section of the License file that
   56.22 - * accompanied this code. If applicable, add the following below the
   56.23 - * License Header, with the fields enclosed by brackets [] replaced by
   56.24 - * your own identifying information:
   56.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   56.26 - *
   56.27 - * Contributor(s):
   56.28 - *
   56.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   56.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   56.31 - * Microsystems, Inc. All Rights Reserved.
   56.32 - *
   56.33 - * If you wish your version of this file to be governed by only the CDDL
   56.34 - * or only the GPL Version 2, indicate your decision by adding
   56.35 - * "[Contributor] elects to include this software in this distribution
   56.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   56.37 - * single choice of license, a recipient has the option to distribute
   56.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   56.39 - * to extend the choice of license to its licensees as provided above.
   56.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   56.41 - * Version 2 license, then the option applies only if the new code is
   56.42 - * made subject to such option by the copyright holder.
   56.43 - */
   56.44 -
   56.45 -package org.netbeans.bluej;
   56.46 -
   56.47 -import java.io.IOException;
   56.48 -import java.util.HashMap;
   56.49 -import java.util.Iterator;
   56.50 -import java.util.Properties;
   56.51 -import javax.swing.text.BadLocationException;
   56.52 -import javax.swing.text.Document;
   56.53 -import org.netbeans.api.project.ProjectManager;
   56.54 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   56.55 -import org.netbeans.spi.project.support.ant.EditableProperties;
   56.56 -import org.netbeans.spi.project.support.ant.PropertyEvaluator;
   56.57 -import org.netbeans.spi.project.support.ant.ui.StoreGroup;
   56.58 -import org.openide.ErrorManager;
   56.59 -import org.openide.util.Mutex;
   56.60 -import org.openide.util.MutexException;
   56.61 -
   56.62 -/**
   56.63 - * @author mkleint
   56.64 - */
   56.65 -public class BluejProjectProperties {
   56.66 -    
   56.67 -    
   56.68 -    // Properties stored in the PROJECT.PROPERTIES    
   56.69 -    public static final String RUN_JVM_ARGS = "run.jvmargs"; // NOI18N
   56.70 -    public static final String RUN_WORK_DIR = "work.dir"; // NOI18N
   56.71 -    public static final String MAIN_CLASS = "main.class"; // NOI18N
   56.72 -    
   56.73 -    
   56.74 -                
   56.75 -    // Properties stored in the PRIVATE.PROPERTIES
   56.76 -    public static final String APPLICATION_ARGS = "application.args"; // NOI18N
   56.77 -
   56.78 -    
   56.79 -
   56.80 -    // CustomizerRun
   56.81 -    Document MAIN_CLASS_MODEL;
   56.82 -    Document APPLICATION_ARGS_MODEL;
   56.83 -    Document RUN_JVM_ARGS_MODEL;
   56.84 -    Document RUN_WORK_DIR_MODEL;
   56.85 -
   56.86 -
   56.87 -    // CustomizerRunTest
   56.88 -
   56.89 -    // Private fields ----------------------------------------------------------    
   56.90 -    private BluejProject project;
   56.91 -    private HashMap properties;    
   56.92 -    private UpdateHelper updateHelper;
   56.93 -    private PropertyEvaluator evaluator;
   56.94 -    
   56.95 -    private StoreGroup privateGroup; 
   56.96 -    private StoreGroup projectGroup;
   56.97 -    
   56.98 -    private Properties additionalProperties;    
   56.99 -    
  56.100 -    BluejProject getProject() {
  56.101 -        return project;
  56.102 -    }
  56.103 -    
  56.104 -    /** Creates a new instance of J2SEUIProperties and initializes them */
  56.105 -    public BluejProjectProperties( BluejProject project, UpdateHelper updateHelper, PropertyEvaluator evaluator ) {
  56.106 -        this.project = project;
  56.107 -        this.updateHelper  = updateHelper;
  56.108 -        this.evaluator = evaluator;
  56.109 -        privateGroup = new StoreGroup();
  56.110 -        projectGroup = new StoreGroup();
  56.111 -                
  56.112 -        
  56.113 -        additionalProperties = new Properties();
  56.114 -        
  56.115 -        init(); // Load known properties        
  56.116 -    }
  56.117 -
  56.118 -    /** Initializes the visual models 
  56.119 -     */
  56.120 -    private void init() {
  56.121 -        
  56.122 -    
  56.123 -                
  56.124 -        // CustomizerLibraries
  56.125 -        EditableProperties projectProperties = updateHelper.getProperties( AntProjectHelper.PROJECT_PROPERTIES_PATH );                
  56.126 -        
  56.127 -
  56.128 -        // CustomizerRun
  56.129 -        MAIN_CLASS_MODEL = projectGroup.createStringDocument( evaluator, MAIN_CLASS ); 
  56.130 -        APPLICATION_ARGS_MODEL = privateGroup.createStringDocument( evaluator, APPLICATION_ARGS );
  56.131 -        RUN_JVM_ARGS_MODEL = projectGroup.createStringDocument( evaluator, RUN_JVM_ARGS );
  56.132 -        RUN_WORK_DIR_MODEL = privateGroup.createStringDocument( evaluator, RUN_WORK_DIR );
  56.133 -                
  56.134 -    }
  56.135 -    
  56.136 -    public void save() {
  56.137 -        try {                        
  56.138 -            // Store properties 
  56.139 -            Boolean result = (Boolean) ProjectManager.mutex().writeAccess(new Mutex.ExceptionAction() {
  56.140 -                public Object run() throws IOException {
  56.141 -                   
  56.142 -                    storeProperties();
  56.143 -                    return Boolean.TRUE;
  56.144 -                }
  56.145 -            });
  56.146 -            // and save the project
  56.147 -            if (result == Boolean.TRUE) {
  56.148 -                ProjectManager.getDefault().saveProject(project);
  56.149 -            }
  56.150 -        } 
  56.151 -        catch (MutexException e) {
  56.152 -            ErrorManager.getDefault().notify((IOException)e.getException());
  56.153 -        }
  56.154 -        catch ( IOException ex ) {
  56.155 -            ErrorManager.getDefault().notify( ex );
  56.156 -        }
  56.157 -    }
  56.158 -    
  56.159 -    
  56.160 -        
  56.161 -    private void storeProperties() throws IOException {
  56.162 -        // Store special properties
  56.163 -        
  56.164 -
  56.165 -        // Store standard properties
  56.166 -        EditableProperties projectProperties = updateHelper.getProperties( AntProjectHelper.PROJECT_PROPERTIES_PATH );        
  56.167 -        EditableProperties privateProperties = updateHelper.getProperties( AntProjectHelper.PRIVATE_PROPERTIES_PATH );
  56.168 -        
  56.169 -        if ( getDocumentText( RUN_WORK_DIR_MODEL ).trim().equals( "" ) ) { // NOI18N
  56.170 -            privateProperties.remove( RUN_WORK_DIR ); // Remove the property completely if not set
  56.171 -        }
  56.172 -        
  56.173 -        // Standard store of the properties
  56.174 -        projectGroup.store( projectProperties );        
  56.175 -        privateGroup.store( privateProperties );
  56.176 -                
  56.177 -        storeAdditionalProperties(projectProperties);
  56.178 -        
  56.179 -        // Store the property changes into the project
  56.180 -        updateHelper.putProperties( AntProjectHelper.PROJECT_PROPERTIES_PATH, projectProperties );
  56.181 -        updateHelper.putProperties( AntProjectHelper.PRIVATE_PROPERTIES_PATH, privateProperties );        
  56.182 -        
  56.183 -    }
  56.184 -  
  56.185 -    private void storeAdditionalProperties(EditableProperties projectProperties) {
  56.186 -        for (Iterator i = additionalProperties.keySet().iterator(); i.hasNext();) {
  56.187 -            String key = (String)i.next();
  56.188 -            projectProperties.put(key, additionalProperties.getProperty(key));
  56.189 -        }
  56.190 -    }
  56.191 -    
  56.192 -    private static String getDocumentText( Document document ) {
  56.193 -        try {
  56.194 -            return document.getText( 0, document.getLength() );
  56.195 -        }
  56.196 -        catch( BadLocationException e ) {
  56.197 -            return ""; // NOI18N
  56.198 -        }
  56.199 -    }
  56.200 -    
  56.201 -    /* This is used by CustomizerWSServiceHost */
  56.202 -    public void putAdditionalProperty(String propertyName, String propertyValue) {
  56.203 -        additionalProperties.setProperty(propertyName, propertyValue);
  56.204 -    }
  56.205 -    
  56.206 -//    private static boolean showModifiedMessage (String title) {
  56.207 -//        String message = NbBundle.getMessage(BluejProjectProperties.class,"TXT_Regenerate");
  56.208 -//        JButton regenerateButton = new JButton (NbBundle.getMessage(BluejProjectProperties.class,"CTL_RegenerateButton"));
  56.209 -//        regenerateButton.setDefaultCapable(true);
  56.210 -//        regenerateButton.getAccessibleContext().setAccessibleDescription (NbBundle.getMessage(BluejProjectProperties.class,"AD_RegenerateButton"));
  56.211 -//        NotifyDescriptor d = new NotifyDescriptor.Message (message, NotifyDescriptor.WARNING_MESSAGE);
  56.212 -//        d.setTitle(title);
  56.213 -//        d.setOptionType(NotifyDescriptor.OK_CANCEL_OPTION);
  56.214 -//        d.setOptions(new Object[] {regenerateButton, NotifyDescriptor.CANCEL_OPTION});        
  56.215 -//        return DialogDisplayer.getDefault().notify(d) == regenerateButton;
  56.216 -//    }
  56.217 -
  56.218 -}
    57.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejProjectType.java	Thu Jul 10 19:13:29 2008 +0800
    57.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.3 @@ -1,95 +0,0 @@
    57.4 -/*
    57.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    57.6 - *
    57.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    57.8 - *
    57.9 - * The contents of this file are subject to the terms of either the GNU
   57.10 - * General Public License Version 2 only ("GPL") or the Common
   57.11 - * Development and Distribution License("CDDL") (collectively, the
   57.12 - * "License"). You may not use this file except in compliance with the
   57.13 - * License. You can obtain a copy of the License at
   57.14 - * http://www.netbeans.org/cddl-gplv2.html
   57.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   57.16 - * specific language governing permissions and limitations under the
   57.17 - * License.  When distributing the software, include this License Header
   57.18 - * Notice in each file and include the License file at
   57.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   57.20 - * particular file as subject to the "Classpath" exception as provided
   57.21 - * by Sun in the GPL Version 2 section of the License file that
   57.22 - * accompanied this code. If applicable, add the following below the
   57.23 - * License Header, with the fields enclosed by brackets [] replaced by
   57.24 - * your own identifying information:
   57.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   57.26 - *
   57.27 - * Contributor(s):
   57.28 - *
   57.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   57.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   57.31 - * Microsystems, Inc. All Rights Reserved.
   57.32 - *
   57.33 - * If you wish your version of this file to be governed by only the CDDL
   57.34 - * or only the GPL Version 2, indicate your decision by adding
   57.35 - * "[Contributor] elects to include this software in this distribution
   57.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   57.37 - * single choice of license, a recipient has the option to distribute
   57.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   57.39 - * to extend the choice of license to its licensees as provided above.
   57.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   57.41 - * Version 2 license, then the option applies only if the new code is
   57.42 - * made subject to such option by the copyright holder.
   57.43 - */
   57.44 -
   57.45 -package org.netbeans.bluej;
   57.46 -
   57.47 -import java.io.IOException;
   57.48 -import java.lang.ref.WeakReference;
   57.49 -import java.util.ArrayList;
   57.50 -import java.util.Iterator;
   57.51 -import java.util.List;
   57.52 -import org.netbeans.api.project.Project;
   57.53 -import org.netbeans.spi.project.support.ant.AntBasedProjectType;
   57.54 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   57.55 -
   57.56 -/**
   57.57 - * Factory for simple bluej based projects.
   57.58 - * @author Milos Kleint
   57.59 - */
   57.60 -public final class BluejProjectType implements AntBasedProjectType {
   57.61 -    
   57.62 -    public static final String TYPE = "org.netbeans.bluej.bluejproject"; // NOI18N
   57.63 -    private static final String PROJECT_CONFIGURATION_NAME = "data"; // NOI18N
   57.64 -    public static final String PROJECT_CONFIGURATION_NAMESPACE = "http://www.netbeans.org/ns/bluej-project/1"; // NOI18N
   57.65 -    private static final String PRIVATE_CONFIGURATION_NAME = "data"; // NOI18N
   57.66 -    private static final String PRIVATE_CONFIGURATION_NAMESPACE = "http://www.netbeans.org/ns/bluej-project-private/1"; // NOI18N
   57.67 -    
   57.68 -    private List weakList = new ArrayList();
   57.69 -    /** Do nothing, just a service. */
   57.70 -    public BluejProjectType() {}
   57.71 -    
   57.72 -    public String getType() {
   57.73 -        return TYPE;
   57.74 -    }
   57.75 -    
   57.76 -    public Project createProject(AntProjectHelper helper) throws IOException {
   57.77 -        Iterator it = weakList.iterator();
   57.78 -        while (it.hasNext()) {
   57.79 -            WeakReference ref = (WeakReference) it.next();
   57.80 -            Project elem = (Project)ref.get();
   57.81 -            if (elem != null && elem.getProjectDirectory().equals(helper.getProjectDirectory())) {
   57.82 -                return elem;
   57.83 -            }
   57.84 -        }
   57.85 -        Project toReturn =  new BluejProject(helper);
   57.86 -        weakList.add(new WeakReference(toReturn));
   57.87 -        return toReturn;
   57.88 -    }
   57.89 -
   57.90 -    public String getPrimaryConfigurationDataElementName(boolean shared) {
   57.91 -        return shared ? PROJECT_CONFIGURATION_NAME : PRIVATE_CONFIGURATION_NAME;
   57.92 -    }
   57.93 -    
   57.94 -    public String getPrimaryConfigurationDataElementNamespace(boolean shared) {
   57.95 -        return shared ? PROJECT_CONFIGURATION_NAMESPACE : PRIVATE_CONFIGURATION_NAMESPACE;
   57.96 -    }
   57.97 -    
   57.98 -}
    58.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejSources.java	Thu Jul 10 19:13:29 2008 +0800
    58.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.3 @@ -1,142 +0,0 @@
    58.4 -/*
    58.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    58.6 - *
    58.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    58.8 - *
    58.9 - * The contents of this file are subject to the terms of either the GNU
   58.10 - * General Public License Version 2 only ("GPL") or the Common
   58.11 - * Development and Distribution License("CDDL") (collectively, the
   58.12 - * "License"). You may not use this file except in compliance with the
   58.13 - * License. You can obtain a copy of the License at
   58.14 - * http://www.netbeans.org/cddl-gplv2.html
   58.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   58.16 - * specific language governing permissions and limitations under the
   58.17 - * License.  When distributing the software, include this License Header
   58.18 - * Notice in each file and include the License file at
   58.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   58.20 - * particular file as subject to the "Classpath" exception as provided
   58.21 - * by Sun in the GPL Version 2 section of the License file that
   58.22 - * accompanied this code. If applicable, add the following below the
   58.23 - * License Header, with the fields enclosed by brackets [] replaced by
   58.24 - * your own identifying information:
   58.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   58.26 - *
   58.27 - * Contributor(s):
   58.28 - *
   58.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   58.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   58.31 - * Microsystems, Inc. All Rights Reserved.
   58.32 - *
   58.33 - * If you wish your version of this file to be governed by only the CDDL
   58.34 - * or only the GPL Version 2, indicate your decision by adding
   58.35 - * "[Contributor] elects to include this software in this distribution
   58.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   58.37 - * single choice of license, a recipient has the option to distribute
   58.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   58.39 - * to extend the choice of license to its licensees as provided above.
   58.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   58.41 - * Version 2 license, then the option applies only if the new code is
   58.42 - * made subject to such option by the copyright holder.
   58.43 - */
   58.44 -
   58.45 -package org.netbeans.bluej;
   58.46 -
   58.47 -import java.beans.PropertyChangeListener;
   58.48 -import java.util.ArrayList;
   58.49 -import java.util.List;
   58.50 -import javax.swing.Icon;
   58.51 -import javax.swing.ImageIcon;
   58.52 -import javax.swing.event.ChangeEvent;
   58.53 -import javax.swing.event.ChangeListener;
   58.54 -import org.openide.filesystems.FileObject;
   58.55 -import org.netbeans.api.project.Sources;
   58.56 -import org.netbeans.api.project.SourceGroup;
   58.57 -import org.netbeans.api.java.project.JavaProjectConstants;
   58.58 -import org.openide.util.NbBundle;
   58.59 -import org.openide.util.Utilities;
   58.60 -
   58.61 -
   58.62 -/**
   58.63 - * Implementation of {@link Sources} interface for BluejProject.
   58.64 - * @author Milos Kleint
   58.65 - */
   58.66 -public class BluejSources implements Sources {
   58.67 -    
   58.68 -    private SourceGroup[] javaSources;
   58.69 -
   58.70 -    private SourceGroup[] genericSources;
   58.71 -
   58.72 -    BluejSources(BluejProject project) {
   58.73 -        javaSources = new SourceGroup[] {new TheOneSourceGroup(project.getProjectDirectory())};
   58.74 -        genericSources = new SourceGroup[] {new TheOneSourceGroup(project.getProjectDirectory())};
   58.75 -    }
   58.76 -
   58.77 -    /**
   58.78 -     */
   58.79 -    public SourceGroup[] getSourceGroups(final String type) {
   58.80 -        if (JavaProjectConstants.SOURCES_TYPE_JAVA.equals(type)) {
   58.81 -            return javaSources;
   58.82 -        }
   58.83 -        if (Sources.TYPE_GENERIC.equals(type)) {
   58.84 -            return genericSources;
   58.85 -        }
   58.86 -        return new SourceGroup[0];
   58.87 -    }
   58.88 -
   58.89 -
   58.90 -    public void addChangeListener(ChangeListener changeListener) {
   58.91 -        // we never fire anything
   58.92 -    }
   58.93 -
   58.94 -    public void removeChangeListener(ChangeListener changeListener) {
   58.95 -        // we never fire anything..
   58.96 -    }
   58.97 -
   58.98 -    
   58.99 -    private static class TheOneSourceGroup implements SourceGroup {
  58.100 -
  58.101 -        private FileObject root;
  58.102 -        
  58.103 -        private TheOneSourceGroup(FileObject root) {
  58.104 -            this.root = root;
  58.105 -        }
  58.106 -        
  58.107 -        public FileObject getRootFolder() {
  58.108 -            return root;
  58.109 -        }
  58.110 -
  58.111 -        public String getName() {
  58.112 -            return "Sources";  // NOI18N
  58.113 -        }
  58.114 -
  58.115 -        public String getDisplayName() {
  58.116 -            return NbBundle.getMessage(BluejSources.class, "Source_Group_Display_Name");
  58.117 -        }
  58.118 -
  58.119 -        public Icon getIcon(boolean b) {
  58.120 -            return new ImageIcon(Utilities.loadImage("/org/netbeans/bluej/resources/bluejproject.png"));   // NOI18N
  58.121 -        }
  58.122 -
  58.123 -        public boolean contains(FileObject fileObject) throws IllegalArgumentException {
  58.124 -            if ("bluej.pkg".equals(fileObject.getNameExt())) {  // NOI18N
  58.125 -                return false;
  58.126 -            }
  58.127 -            if ("build.xml".equals(fileObject.getNameExt())) {  // NOI18N
  58.128 -                return false;
  58.129 -            } 
  58.130 -            if (fileObject.isFolder() && fileObject.getFileObject("bluej.pkg") == null) {  // NOI18N
  58.131 -                return false;
  58.132 -            }
  58.133 -            return true;
  58.134 -        }
  58.135 -
  58.136 -        public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {
  58.137 -        // we never fire anything
  58.138 -        }
  58.139 -
  58.140 -        public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener) {
  58.141 -        // we never fire anything
  58.142 -        }
  58.143 -        
  58.144 -    }
  58.145 -}
    59.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/BluejUnitTestForSourceQuery.java	Thu Jul 10 19:13:29 2008 +0800
    59.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.3 @@ -1,85 +0,0 @@
    59.4 -/*
    59.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    59.6 - *
    59.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    59.8 - *
    59.9 - * The contents of this file are subject to the terms of either the GNU
   59.10 - * General Public License Version 2 only ("GPL") or the Common
   59.11 - * Development and Distribution License("CDDL") (collectively, the
   59.12 - * "License"). You may not use this file except in compliance with the
   59.13 - * License. You can obtain a copy of the License at
   59.14 - * http://www.netbeans.org/cddl-gplv2.html
   59.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   59.16 - * specific language governing permissions and limitations under the
   59.17 - * License.  When distributing the software, include this License Header
   59.18 - * Notice in each file and include the License file at
   59.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   59.20 - * particular file as subject to the "Classpath" exception as provided
   59.21 - * by Sun in the GPL Version 2 section of the License file that
   59.22 - * accompanied this code. If applicable, add the following below the
   59.23 - * License Header, with the fields enclosed by brackets [] replaced by
   59.24 - * your own identifying information:
   59.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   59.26 - *
   59.27 - * Contributor(s):
   59.28 - *
   59.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   59.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   59.31 - * Microsystems, Inc. All Rights Reserved.
   59.32 - *
   59.33 - * If you wish your version of this file to be governed by only the CDDL
   59.34 - * or only the GPL Version 2, indicate your decision by adding
   59.35 - * "[Contributor] elects to include this software in this distribution
   59.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   59.37 - * single choice of license, a recipient has the option to distribute
   59.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   59.39 - * to extend the choice of license to its licensees as provided above.
   59.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   59.41 - * Version 2 license, then the option applies only if the new code is
   59.42 - * made subject to such option by the copyright holder.
   59.43 - */
   59.44 -
   59.45 -package org.netbeans.bluej;
   59.46 -
   59.47 -import java.net.URL;
   59.48 -import org.netbeans.spi.java.queries.MultipleRootsUnitTestForSourceQueryImplementation;
   59.49 -import org.openide.filesystems.FileObject;
   59.50 -import org.openide.filesystems.URLMapper;
   59.51 -
   59.52 -/**
   59.53 - *
   59.54 - * @author mkleint
   59.55 - */
   59.56 -public class BluejUnitTestForSourceQuery implements MultipleRootsUnitTestForSourceQueryImplementation {
   59.57 -
   59.58 -    private BluejProject project;
   59.59 -    
   59.60 -    /** Creates a new instance of BluejUnitTestForSourceQuery */
   59.61 -    public BluejUnitTestForSourceQuery(BluejProject proj) {
   59.62 -        project = proj;
   59.63 -    }
   59.64 -
   59.65 -    /**
   59.66 -     * Returns the test roots for a given source root.
   59.67 -     *
   59.68 -     * @param source a Java package root with sources
   59.69 -     * @return a corresponding Java package roots with unit tests. The
   59.70 -     *     returned URLs need not point to an existing folder. It can be null
   59.71 -     *     when no mapping from source to unit test is known.
   59.72 -     */
   59.73 -    public URL[] findUnitTests(FileObject source) {
   59.74 -        return new URL[] { URLMapper.findURL(project.getProjectDirectory(), URLMapper.EXTERNAL) }; 
   59.75 -    }
   59.76 -
   59.77 -    /**
   59.78 -     * Returns the source roots for a given test root.
   59.79 -     *
   59.80 -     * @param unitTest a Java package roots with unit tests
   59.81 -     * @return a corresponding Java package roots with sources. It can be null
   59.82 -     *     when no mapping from unit test to source is known.
   59.83 -     */
   59.84 -    public URL[] findSources(FileObject unitTest) {
   59.85 -        return new URL[] { URLMapper.findURL(project.getProjectDirectory(), URLMapper.EXTERNAL) }; 
   59.86 -    }
   59.87 -    
   59.88 -}
    60.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    60.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    60.3 @@ -1,66 +0,0 @@
    60.4 -OpenIDE-Module-Display-Category=Java
    60.5 -OpenIDE-Module-Long-Description=\
    60.6 -    The module allows users to open and work with projects created for the BlueJ IDE (http://www.bluej.org).
    60.7 -OpenIDE-Module-Name=BlueJ Project Support
    60.8 -LBL_No_Main_Classs_Found=Class "{0}" does not have a main method.
    60.9 -
   60.10 -#MainClassChooser
   60.11 -CTL_SelectAvaialableMainClasses=&Select the main class:
   60.12 -CTL_AvaialableMainClasses=&Main classes\:
   60.13 -LBL_ChooseMainClass_OK=Select Main Class
   60.14 -LBL_ChooseMainClass_Title=Browse Main Classes
   60.15 -LBL_ChooseMainClass_NO_CLASSES_NODE=<No main classes found>
   60.16 -
   60.17 -#MainClassWarning
   60.18 -CTL_MainClassWarning_Title=Run Project
   60.19 -LBL_MainClassNotFound=Please select the main class to run project {0} 
   60.20 -LBL_MainClassWrong={0} class wasn''t found in {1} project.
   60.21 -LBL_MainClassWarning_ChooseMainClass_OK=OK
   60.22 -AD_MainClassWarning_ChooseMainClass_OK=N/A
   60.23 -
   60.24 -LBL_ChooseMainClass_WARMUP_MESSAGE=Initializing view, please wait ...
   60.25 -LBL_ChooseMainClass_SCANNING_MESSAGE=Scanning in progress, please wait ...
   60.26 -AD_MainClassChooser=N/A
   60.27 -AD_MainClassWarning=N/A
   60.28 -AD_jMainClassList=N/A
   60.29 -
   60.30 -OpenIDE-Module-Short-Description=Allows to work with BlueJ projects in NetBeans
   60.31 -Templates/Bluej/Abstract.java=Abstract Class
   60.32 -Templates/Bluej/Enum.java=Enum
   60.33 -Templates/Bluej/Interface.java=Interface
   60.34 -Templates/Bluej/StdClass.java=Standard Class
   60.35 -Templates/Bluej/UnitTest.java=Unit Test
   60.36 -Templates/Bluej/MainClass.java=Class with main method
   60.37 -
   60.38 -Services/AutoupdateType/bluej.settings=Netbeans BlueJ Edition Update Center
   60.39 -
   60.40 -Templates/Project/BlueJ/EmptyBluejProject.zip=Empty BlueJ project
   60.41 -#NOI18N
   60.42 -URL_Default_N=http://www.netbeans.org/updates/nbbluej50_{$netbeans.autoupdate.version}_{$netbeans.autoupdate.regnum}.xml?{$netbeans.hash.code}
   60.43 -
   60.44 -LBL_Run_Arguments=Arguments\:
   60.45 -
   60.46 -Source_Group_Display_Name=Source Packages
   60.47 -
   60.48 -LBL_Customizer_Title=Project Properties - {0}
   60.49 -
   60.50 -AD_jTextFieldMainClass=N/A
   60.51 -AD_jButtonMainClass=N/A
   60.52 -AD_jTextFieldArgs=N/A
   60.53 -AD_CustomizeRun_Run_Working_Directory=N/A
   60.54 -AD_CustomizeRun_Run_Working_Directory_Browse=N/A
   60.55 -AD_CustomizeRun_Run_VM_Options=N/A
   60.56 -AD_ChooseMainClass_OK=N/A
   60.57 -
   60.58 -LBL_CustomizeRun_Run_Tab=Run
   60.59 -LBL_CustomizeRun_Run_MainClass_JLabel=&Main Class\:
   60.60 -LBL_CustomizeRun_Run_MainClass_JButton=&Browse...
   60.61 -LBL_CustomizeRun_Run_Args_JLabel=&Arguments\:
   60.62 -LBL_CustomizeRun_RunClasspath_JLabel=&Classpath for Running Project\:
   60.63 -LBL_CustomizeRun_Run_Working_Directory=&Working Directory:
   60.64 -LBL_CustomizeRun_Run_Working_Directory_Browse=Brow&se...
   60.65 -LBL_CustomizeRun_Run_Working_Directory_Browse_Title=Browse Working Directory
   60.66 -LBL_CustomizeRun_Run_VM_Options=&VM Options:
   60.67 -LBL_CustomizeRun_Run_VM_Options_Example=(e.g. -Xms10m)
   60.68 -
   60.69 -Menu/Help/org-netbeans-bluej-master.xml=Help &Contents
    61.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/CustomizerProviderImpl.java	Thu Jul 10 19:13:29 2008 +0800
    61.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.3 @@ -1,154 +0,0 @@
    61.4 -/*
    61.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    61.6 - *
    61.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    61.8 - *
    61.9 - * The contents of this file are subject to the terms of either the GNU
   61.10 - * General Public License Version 2 only ("GPL") or the Common
   61.11 - * Development and Distribution License("CDDL") (collectively, the
   61.12 - * "License"). You may not use this file except in compliance with the
   61.13 - * License. You can obtain a copy of the License at
   61.14 - * http://www.netbeans.org/cddl-gplv2.html
   61.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   61.16 - * specific language governing permissions and limitations under the
   61.17 - * License.  When distributing the software, include this License Header
   61.18 - * Notice in each file and include the License file at
   61.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   61.20 - * particular file as subject to the "Classpath" exception as provided
   61.21 - * by Sun in the GPL Version 2 section of the License file that
   61.22 - * accompanied this code. If applicable, add the following below the
   61.23 - * License Header, with the fields enclosed by brackets [] replaced by
   61.24 - * your own identifying information:
   61.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   61.26 - *
   61.27 - * Contributor(s):
   61.28 - *
   61.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   61.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   61.31 - * Microsystems, Inc. All Rights Reserved.
   61.32 - *
   61.33 - * If you wish your version of this file to be governed by only the CDDL
   61.34 - * or only the GPL Version 2, indicate your decision by adding
   61.35 - * "[Contributor] elects to include this software in this distribution
   61.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   61.37 - * single choice of license, a recipient has the option to distribute
   61.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   61.39 - * to extend the choice of license to its licensees as provided above.
   61.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   61.41 - * Version 2 license, then the option applies only if the new code is
   61.42 - * made subject to such option by the copyright holder.
   61.43 - */
   61.44 -
   61.45 -package org.netbeans.bluej;
   61.46 -
   61.47 -import java.awt.Dialog;
   61.48 -import java.awt.event.ActionEvent;
   61.49 -import java.awt.event.ActionListener;
   61.50 -import java.awt.event.WindowAdapter;
   61.51 -import java.awt.event.WindowEvent;
   61.52 -import java.text.MessageFormat;
   61.53 -import javax.swing.JComponent;
   61.54 -import org.netbeans.api.project.Project;
   61.55 -import org.netbeans.api.project.ProjectUtils;
   61.56 -import org.netbeans.spi.project.support.ant.PropertyEvaluator;
   61.57 -import org.netbeans.spi.project.ui.CustomizerProvider;
   61.58 -import org.netbeans.spi.project.ui.support.ProjectCustomizer;
   61.59 -import org.netbeans.spi.project.ui.support.ProjectCustomizer.CategoryComponentProvider;
   61.60 -import org.openide.util.NbBundle;
   61.61 -
   61.62 -/**
   61.63 - *
   61.64 - * @author mkleint
   61.65 - */
   61.66 -public class CustomizerProviderImpl implements CustomizerProvider {
   61.67 -    private BluejProject project;
   61.68 -
   61.69 -    private UpdateHelper updateHelper;
   61.70 -
   61.71 -    private PropertyEvaluator evaluator;
   61.72 -    /** Creates a new instance of CustomizerProviderImpl */
   61.73 -    public CustomizerProviderImpl(BluejProject proj, PropertyEvaluator eval, UpdateHelper helper) {
   61.74 -        project = proj;
   61.75 -        updateHelper = helper;
   61.76 -        evaluator = eval;
   61.77 -    }
   61.78 -    
   61.79 -    public void showCustomizer() {
   61.80 -        
   61.81 -        ProjectCustomizer.Category runCat = ProjectCustomizer.Category.create("run", "Run", null, null);
   61.82 -        BluejProjectProperties props = new BluejProjectProperties(project, updateHelper, evaluator);
   61.83 -        CategoryComponentProvider provider = new SubCategoryProvider(props);
   61.84 -        OptionListener listener = new OptionListener(project, props);
   61.85 -        Dialog dialog = ProjectCustomizer.createCustomizerDialog(new ProjectCustomizer.Category[] {runCat},  provider, null, listener, null);
   61.86 -////            OptionListener listener = new OptionListener( project, uiProperties );
   61.87 -//            dialog = ProjectCustomizer.createCustomizerDialog( CUSTOMIZER_FOLDER_PATH, context, preselectedCategory, listener, null );
   61.88 -            dialog.addWindowListener( listener );
   61.89 -            dialog.setTitle( MessageFormat.format(
   61.90 -                    NbBundle.getMessage( CustomizerProviderImpl.class, "LBL_Customizer_Title" ), // NOI18N
   61.91 -                    new Object[] { ProjectUtils.getInformation(project).getDisplayName() } ) );
   61.92 -//
   61.93 -        dialog.setVisible(true);
   61.94 -        
   61.95 -    }
   61.96 -    
   61.97 -    
   61.98 -    
   61.99 -    /** Listens to the actions on the Customizer's option buttons */
  61.100 -    private class OptionListener extends WindowAdapter implements ActionListener {
  61.101 -        
  61.102 -        private Project project;
  61.103 -        private BluejProjectProperties uiProperties;
  61.104 -        private Dialog dialog;
  61.105 -        
  61.106 -        OptionListener( Project project, BluejProjectProperties uiProperties ) {
  61.107 -            this.project = project;
  61.108 -            this.uiProperties = uiProperties;
  61.109 -        }
  61.110 -        
  61.111 -        public void setDialog(Dialog dial) {
  61.112 -            dialog = dial;
  61.113 -        }
  61.114 -        
  61.115 -        // Listening to OK button ----------------------------------------------
  61.116 -        
  61.117 -        public void actionPerformed( ActionEvent e ) {
  61.118 -            // Store the properties into project
  61.119 -            uiProperties.save();
  61.120 -            
  61.121 -            // Close & dispose the the dialog
  61.122 -            if ( dialog != null ) {
  61.123 -                dialog.setVisible(false);
  61.124 -                dialog.dispose();
  61.125 -            }
  61.126 -        }
  61.127 -        
  61.128 -        // Listening to window events ------------------------------------------
  61.129 -        
  61.130 -        public void windowClosed( WindowEvent e) {
  61.131 -        }
  61.132 -        
  61.133 -        public void windowClosing(WindowEvent e) {
  61.134 -            //Dispose the dialog otherwsie the {@link WindowAdapter#windowClosed}
  61.135 -            //may not be called
  61.136 -            if ( dialog != null ) {
  61.137 -                dialog.setVisible(false);
  61.138 -                dialog.dispose();
  61.139 -            }
  61.140 -        }
  61.141 -    }
  61.142 -    
  61.143 -    static final class SubCategoryProvider implements ProjectCustomizer.CategoryComponentProvider {
  61.144 -
  61.145 -        private BluejProjectProperties properties;
  61.146 -        
  61.147 -        
  61.148 -        SubCategoryProvider(BluejProjectProperties props) {
  61.149 -            properties = props;
  61.150 -        }
  61.151 -        
  61.152 -        public JComponent create(ProjectCustomizer.Category category) {
  61.153 -            return new CustomizerRun(properties);
  61.154 -        }
  61.155 -    }
  61.156 -    
  61.157 -}
    62.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/CustomizerRun.form	Thu Jul 10 19:13:29 2008 +0800
    62.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    62.3 @@ -1,201 +0,0 @@
    62.4 -<?xml version="1.0" encoding="UTF-8" ?>
    62.5 -
    62.6 -<Form version="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
    62.7 -  <AuxValues>
    62.8 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
    62.9 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
   62.10 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
   62.11 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
   62.12 -    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-115,0,0,1,-102"/>
   62.13 -  </AuxValues>
   62.14 -
   62.15 -  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
   62.16 -  <SubComponents>
   62.17 -    <Component class="javax.swing.JLabel" name="jLabelMainClass">
   62.18 -      <Properties>
   62.19 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   62.20 -          <ComponentRef name="jTextFieldMainClass"/>
   62.21 -        </Property>
   62.22 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   62.23 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_MainClass_JLabel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   62.24 -        </Property>
   62.25 -      </Properties>
   62.26 -      <AuxValues>
   62.27 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
   62.28 -      </AuxValues>
   62.29 -      <Constraints>
   62.30 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   62.31 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
   62.32 -        </Constraint>
   62.33 -      </Constraints>
   62.34 -    </Component>
   62.35 -    <Component class="javax.swing.JTextField" name="jTextFieldMainClass">
   62.36 -      <AccessibilityProperties>
   62.37 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   62.38 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="AD_jTextFieldMainClass" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   62.39 -        </Property>
   62.40 -      </AccessibilityProperties>
   62.41 -      <Constraints>
   62.42 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   62.43 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="5" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
   62.44 -        </Constraint>
   62.45 -      </Constraints>
   62.46 -    </Component>
   62.47 -    <Component class="javax.swing.JButton" name="jButtonMainClass">
   62.48 -      <Properties>
   62.49 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   62.50 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_MainClass_JButton" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   62.51 -        </Property>
   62.52 -      </Properties>
   62.53 -      <AccessibilityProperties>
   62.54 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   62.55 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="AD_jButtonMainClass" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   62.56 -        </Property>
   62.57 -      </AccessibilityProperties>
   62.58 -      <AuxValues>
   62.59 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
   62.60 -      </AuxValues>
   62.61 -      <Constraints>
   62.62 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   62.63 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="6" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
   62.64 -        </Constraint>
   62.65 -      </Constraints>
   62.66 -    </Component>
   62.67 -    <Component class="javax.swing.JLabel" name="jLabelArgs">
   62.68 -      <Properties>
   62.69 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   62.70 -          <ComponentRef name="jTextFieldArgs"/>
   62.71 -        </Property>
   62.72 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   62.73 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_Args_JLabel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   62.74 -        </Property>
   62.75 -      </Properties>
   62.76 -      <AuxValues>
   62.77 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
   62.78 -      </AuxValues>
   62.79 -      <Constraints>
   62.80 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   62.81 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="12" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
   62.82 -        </Constraint>
   62.83 -      </Constraints>
   62.84 -    </Component>
   62.85 -    <Component class="javax.swing.JTextField" name="jTextFieldArgs">
   62.86 -      <AccessibilityProperties>
   62.87 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   62.88 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="AD_jTextFieldArgs" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   62.89 -        </Property>
   62.90 -      </AccessibilityProperties>
   62.91 -      <Constraints>
   62.92 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   62.93 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="12" insetsRight="0" anchor="18" weightX="1.0" weightY="0.0"/>
   62.94 -        </Constraint>
   62.95 -      </Constraints>
   62.96 -    </Component>
   62.97 -    <Component class="javax.swing.JLabel" name="jLabelWorkingDirectory">
   62.98 -      <Properties>
   62.99 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  62.100 -          <ComponentRef name="jTextWorkingDirectory"/>
  62.101 -        </Property>
  62.102 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.103 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_Working_Directory" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  62.104 -        </Property>
  62.105 -      </Properties>
  62.106 -      <AuxValues>
  62.107 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
  62.108 -      </AuxValues>
  62.109 -      <Constraints>
  62.110 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  62.111 -          <GridBagConstraints gridX="-1" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
  62.112 -        </Constraint>
  62.113 -      </Constraints>
  62.114 -    </Component>
  62.115 -    <Component class="javax.swing.JTextField" name="jTextWorkingDirectory">
  62.116 -      <AccessibilityProperties>
  62.117 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.118 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="AD_CustomizeRun_Run_Working_Directory" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
  62.119 -        </Property>
  62.120 -      </AccessibilityProperties>
  62.121 -      <Constraints>
  62.122 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  62.123 -          <GridBagConstraints gridX="-1" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="5" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
  62.124 -        </Constraint>
  62.125 -      </Constraints>
  62.126 -    </Component>
  62.127 -    <Component class="javax.swing.JButton" name="jButtonWorkingDirectoryBrowse">
  62.128 -      <Properties>
  62.129 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.130 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_Working_Directory_Browse" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  62.131 -        </Property>
  62.132 -      </Properties>
  62.133 -      <AccessibilityProperties>
  62.134 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.135 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="AD_CustomizeRun_Run_Working_Directory_Browse" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
  62.136 -        </Property>
  62.137 -      </AccessibilityProperties>
  62.138 -      <Events>
  62.139 -        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonWorkingDirectoryBrowseActionPerformed"/>
  62.140 -      </Events>
  62.141 -      <AuxValues>
  62.142 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
  62.143 -      </AuxValues>
  62.144 -      <Constraints>
  62.145 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  62.146 -          <GridBagConstraints gridX="-1" gridY="2" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="6" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
  62.147 -        </Constraint>
  62.148 -      </Constraints>
  62.149 -    </Component>
  62.150 -    <Component class="javax.swing.JLabel" name="jLabelVMOptions">
  62.151 -      <Properties>
  62.152 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  62.153 -          <ComponentRef name="jTextVMOptions"/>
  62.154 -        </Property>
  62.155 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.156 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_VM_Options" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  62.157 -        </Property>
  62.158 -      </Properties>
  62.159 -      <AuxValues>
  62.160 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
  62.161 -      </AuxValues>
  62.162 -      <Constraints>
  62.163 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  62.164 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
  62.165 -        </Constraint>
  62.166 -      </Constraints>
  62.167 -    </Component>
  62.168 -    <Component class="javax.swing.JTextField" name="jTextVMOptions">
  62.169 -      <AccessibilityProperties>
  62.170 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.171 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="AD_CustomizeRun_Run_VM_Options" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
  62.172 -        </Property>
  62.173 -      </AccessibilityProperties>
  62.174 -      <Constraints>
  62.175 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  62.176 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
  62.177 -        </Constraint>
  62.178 -      </Constraints>
  62.179 -    </Component>
  62.180 -    <Component class="javax.swing.JLabel" name="jLabelVMOptionsExample">
  62.181 -      <Properties>
  62.182 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  62.183 -          <ComponentRef name="jTextFieldMainClass"/>
  62.184 -        </Property>
  62.185 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.186 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_VM_Options_Example" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  62.187 -        </Property>
  62.188 -      </Properties>
  62.189 -      <AccessibilityProperties>
  62.190 -        <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  62.191 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_CustomizeRun_Run_VM_Options_Example" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
  62.192 -        </Property>
  62.193 -      </AccessibilityProperties>
  62.194 -      <AuxValues>
  62.195 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
  62.196 -      </AuxValues>
  62.197 -      <Constraints>
  62.198 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  62.199 -          <GridBagConstraints gridX="1" gridY="4" gridWidth="0" gridHeight="0" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="12" insetsRight="0" anchor="18" weightX="0.0" weightY="1.0"/>
  62.200 -        </Constraint>
  62.201 -      </Constraints>
  62.202 -    </Component>
  62.203 -  </SubComponents>
  62.204 -</Form>
    63.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/CustomizerRun.java	Thu Jul 10 19:13:29 2008 +0800
    63.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.3 @@ -1,307 +0,0 @@
    63.4 -/*
    63.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    63.6 - *
    63.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    63.8 - *
    63.9 - * The contents of this file are subject to the terms of either the GNU
   63.10 - * General Public License Version 2 only ("GPL") or the Common
   63.11 - * Development and Distribution License("CDDL") (collectively, the
   63.12 - * "License"). You may not use this file except in compliance with the
   63.13 - * License. You can obtain a copy of the License at
   63.14 - * http://www.netbeans.org/cddl-gplv2.html
   63.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   63.16 - * specific language governing permissions and limitations under the
   63.17 - * License.  When distributing the software, include this License Header
   63.18 - * Notice in each file and include the License file at
   63.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   63.20 - * particular file as subject to the "Classpath" exception as provided
   63.21 - * by Sun in the GPL Version 2 section of the License file that
   63.22 - * accompanied this code. If applicable, add the following below the
   63.23 - * License Header, with the fields enclosed by brackets [] replaced by
   63.24 - * your own identifying information:
   63.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   63.26 - *
   63.27 - * Contributor(s):
   63.28 - *
   63.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   63.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   63.31 - * Microsystems, Inc. All Rights Reserved.
   63.32 - *
   63.33 - * If you wish your version of this file to be governed by only the CDDL
   63.34 - * or only the GPL Version 2, indicate your decision by adding
   63.35 - * "[Contributor] elects to include this software in this distribution
   63.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   63.37 - * single choice of license, a recipient has the option to distribute
   63.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   63.39 - * to extend the choice of license to its licensees as provided above.
   63.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   63.41 - * Version 2 license, then the option applies only if the new code is
   63.42 - * made subject to such option by the copyright holder.
   63.43 - */
   63.44 -
   63.45 -package org.netbeans.bluej;
   63.46 -
   63.47 -import java.awt.Dialog;
   63.48 -import java.awt.event.ActionEvent;
   63.49 -import java.awt.event.ActionListener;
   63.50 -import java.awt.event.MouseEvent;
   63.51 -import java.io.File;
   63.52 -import javax.swing.JButton;
   63.53 -import javax.swing.JFileChooser;
   63.54 -import javax.swing.JPanel;
   63.55 -import javax.swing.JTextField;
   63.56 -import javax.swing.event.ChangeEvent;
   63.57 -import javax.swing.event.ChangeListener;
   63.58 -import javax.swing.event.DocumentEvent;
   63.59 -import javax.swing.event.DocumentListener;
   63.60 -import org.netbeans.api.project.Project;
   63.61 -import org.openide.DialogDescriptor;
   63.62 -import org.openide.DialogDisplayer;
   63.63 -import org.openide.awt.MouseUtils;
   63.64 -import org.openide.filesystems.FileObject;
   63.65 -import org.openide.filesystems.FileUtil;
   63.66 -import org.openide.util.HelpCtx;
   63.67 -import org.openide.util.NbBundle;
   63.68 -
   63.69 -
   63.70 -/**
   63.71 - *
   63.72 - * @author  phrebejk
   63.73 - */
   63.74 -public class CustomizerRun extends JPanel implements HelpCtx.Provider {
   63.75 -    
   63.76 -    private BluejProject project;
   63.77 -    
   63.78 -    public CustomizerRun( BluejProjectProperties uiProperties ) {
   63.79 -        initComponents();
   63.80 -
   63.81 -        this.project = uiProperties.getProject();
   63.82 -        
   63.83 -        jTextFieldMainClass.setDocument( uiProperties.MAIN_CLASS_MODEL );
   63.84 -        jTextFieldArgs.setDocument( uiProperties.APPLICATION_ARGS_MODEL );
   63.85 -        jTextVMOptions.setDocument( uiProperties.RUN_JVM_ARGS_MODEL );
   63.86 -        jTextWorkingDirectory.setDocument( uiProperties.RUN_WORK_DIR_MODEL );
   63.87 -           
   63.88 -        jButtonMainClass.addActionListener( new MainClassListener( project.getProjectDirectory(), jTextFieldMainClass ) );
   63.89 -    }
   63.90 -        
   63.91 -    public HelpCtx getHelpCtx() {
   63.92 -        return new HelpCtx( CustomizerRun.class );
   63.93 -    }
   63.94 -    
   63.95 -    /** This method is called from within the constructor to
   63.96 -     * initialize the form.
   63.97 -     * WARNING: Do NOT modify this code. The content of this method is
   63.98 -     * always regenerated by the Form Editor.
   63.99 -     */
  63.100 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  63.101 -    private void initComponents() {
  63.102 -        java.awt.GridBagConstraints gridBagConstraints;
  63.103 -
  63.104 -        jLabelMainClass = new javax.swing.JLabel();
  63.105 -        jTextFieldMainClass = new javax.swing.JTextField();
  63.106 -        jButtonMainClass = new javax.swing.JButton();
  63.107 -        jLabelArgs = new javax.swing.JLabel();
  63.108 -        jTextFieldArgs = new javax.swing.JTextField();
  63.109 -        jLabelWorkingDirectory = new javax.swing.JLabel();
  63.110 -        jTextWorkingDirectory = new javax.swing.JTextField();
  63.111 -        jButtonWorkingDirectoryBrowse = new javax.swing.JButton();
  63.112 -        jLabelVMOptions = new javax.swing.JLabel();
  63.113 -        jTextVMOptions = new javax.swing.JTextField();
  63.114 -        jLabelVMOptionsExample = new javax.swing.JLabel();
  63.115 -
  63.116 -        setLayout(new java.awt.GridBagLayout());
  63.117 -
  63.118 -        jLabelMainClass.setLabelFor(jTextFieldMainClass);
  63.119 -        org.openide.awt.Mnemonics.setLocalizedText(jLabelMainClass, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_MainClass_JLabel"));
  63.120 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.121 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.122 -        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
  63.123 -        add(jLabelMainClass, gridBagConstraints);
  63.124 -
  63.125 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.126 -        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
  63.127 -        gridBagConstraints.weightx = 1.0;
  63.128 -        gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0);
  63.129 -        add(jTextFieldMainClass, gridBagConstraints);
  63.130 -        jTextFieldMainClass.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerRun.class).getString("AD_jTextFieldMainClass"));
  63.131 -
  63.132 -        org.openide.awt.Mnemonics.setLocalizedText(jButtonMainClass, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_MainClass_JButton"));
  63.133 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.134 -        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  63.135 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.136 -        gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0);
  63.137 -        add(jButtonMainClass, gridBagConstraints);
  63.138 -        jButtonMainClass.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerRun.class).getString("AD_jButtonMainClass"));
  63.139 -
  63.140 -        jLabelArgs.setLabelFor(jTextFieldArgs);
  63.141 -        org.openide.awt.Mnemonics.setLocalizedText(jLabelArgs, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_Args_JLabel"));
  63.142 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.143 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.144 -        gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
  63.145 -        add(jLabelArgs, gridBagConstraints);
  63.146 -
  63.147 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.148 -        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
  63.149 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
  63.150 -        gridBagConstraints.weightx = 1.0;
  63.151 -        gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0);
  63.152 -        add(jTextFieldArgs, gridBagConstraints);
  63.153 -        jTextFieldArgs.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerRun.class).getString("AD_jTextFieldArgs"));
  63.154 -
  63.155 -        jLabelWorkingDirectory.setLabelFor(jTextWorkingDirectory);
  63.156 -        org.openide.awt.Mnemonics.setLocalizedText(jLabelWorkingDirectory, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory"));
  63.157 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.158 -        gridBagConstraints.gridy = 2;
  63.159 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.160 -        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
  63.161 -        add(jLabelWorkingDirectory, gridBagConstraints);
  63.162 -
  63.163 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.164 -        gridBagConstraints.gridy = 2;
  63.165 -        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
  63.166 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.167 -        gridBagConstraints.weightx = 1.0;
  63.168 -        gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0);
  63.169 -        add(jTextWorkingDirectory, gridBagConstraints);
  63.170 -        jTextWorkingDirectory.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerRun.class, "AD_CustomizeRun_Run_Working_Directory"));
  63.171 -
  63.172 -        org.openide.awt.Mnemonics.setLocalizedText(jButtonWorkingDirectoryBrowse, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory_Browse"));
  63.173 -        jButtonWorkingDirectoryBrowse.addActionListener(new java.awt.event.ActionListener() {
  63.174 -            public void actionPerformed(java.awt.event.ActionEvent evt) {
  63.175 -                jButtonWorkingDirectoryBrowseActionPerformed(evt);
  63.176 -            }
  63.177 -        });
  63.178 -
  63.179 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.180 -        gridBagConstraints.gridy = 2;
  63.181 -        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  63.182 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.183 -        gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0);
  63.184 -        add(jButtonWorkingDirectoryBrowse, gridBagConstraints);
  63.185 -        jButtonWorkingDirectoryBrowse.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerRun.class, "AD_CustomizeRun_Run_Working_Directory_Browse"));
  63.186 -
  63.187 -        jLabelVMOptions.setLabelFor(jTextVMOptions);
  63.188 -        org.openide.awt.Mnemonics.setLocalizedText(jLabelVMOptions, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options"));
  63.189 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.190 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
  63.191 -        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
  63.192 -        add(jLabelVMOptions, gridBagConstraints);
  63.193 -
  63.194 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.195 -        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
  63.196 -        gridBagConstraints.weightx = 1.0;
  63.197 -        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
  63.198 -        add(jTextVMOptions, gridBagConstraints);
  63.199 -        jTextVMOptions.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerRun.class, "AD_CustomizeRun_Run_VM_Options"));
  63.200 -
  63.201 -        jLabelVMOptionsExample.setLabelFor(jTextFieldMainClass);
  63.202 -        org.openide.awt.Mnemonics.setLocalizedText(jLabelVMOptionsExample, org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options_Example"));
  63.203 -        gridBagConstraints = new java.awt.GridBagConstraints();
  63.204 -        gridBagConstraints.gridx = 1;
  63.205 -        gridBagConstraints.gridy = 4;
  63.206 -        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  63.207 -        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
  63.208 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
  63.209 -        gridBagConstraints.weighty = 1.0;
  63.210 -        gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0);
  63.211 -        add(jLabelVMOptionsExample, gridBagConstraints);
  63.212 -        jLabelVMOptionsExample.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_VM_Options_Example"));
  63.213 -
  63.214 -    }
  63.215 -    // </editor-fold>//GEN-END:initComponents
  63.216 -
  63.217 -    private void jButtonWorkingDirectoryBrowseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonWorkingDirectoryBrowseActionPerformed
  63.218 -        JFileChooser chooser = new JFileChooser();
  63.219 -        FileUtil.preventFileChooserSymlinkTraversal(chooser, null);
  63.220 -        chooser.setFileSelectionMode (JFileChooser.DIRECTORIES_ONLY);
  63.221 -        chooser.setMultiSelectionEnabled(false);
  63.222 -        
  63.223 -        String workDir = jTextWorkingDirectory.getText();
  63.224 -        if (workDir.equals("")) {
  63.225 -            workDir = FileUtil.toFile(project.getProjectDirectory()).getAbsolutePath();
  63.226 -        }
  63.227 -        chooser.setSelectedFile(new File(workDir));
  63.228 -        chooser.setDialogTitle(NbBundle.getMessage(CustomizerRun.class, "LBL_CustomizeRun_Run_Working_Directory_Browse_Title"));
  63.229 -        if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(this)) { //NOI18N
  63.230 -            File file = FileUtil.normalizeFile(chooser.getSelectedFile());
  63.231 -            jTextWorkingDirectory.setText(file.getAbsolutePath());
  63.232 -        }
  63.233 -    }//GEN-LAST:event_jButtonWorkingDirectoryBrowseActionPerformed
  63.234 -    
  63.235 -    
  63.236 -    // Variables declaration - do not modify//GEN-BEGIN:variables
  63.237 -    private javax.swing.JButton jButtonMainClass;
  63.238 -    private javax.swing.JButton jButtonWorkingDirectoryBrowse;
  63.239 -    private javax.swing.JLabel jLabelArgs;
  63.240 -    private javax.swing.JLabel jLabelMainClass;
  63.241 -    private javax.swing.JLabel jLabelVMOptions;
  63.242 -    private javax.swing.JLabel jLabelVMOptionsExample;
  63.243 -    private javax.swing.JLabel jLabelWorkingDirectory;
  63.244 -    private javax.swing.JTextField jTextFieldArgs;
  63.245 -    private javax.swing.JTextField jTextFieldMainClass;
  63.246 -    private javax.swing.JTextField jTextVMOptions;
  63.247 -    private javax.swing.JTextField jTextWorkingDirectory;
  63.248 -    // End of variables declaration//GEN-END:variables
  63.249 -    
  63.250 -    
  63.251 -    // Innercasses -------------------------------------------------------------
  63.252 -    
  63.253 -    private class MainClassListener implements ActionListener /*, DocumentListener */ {
  63.254 -        
  63.255 -        private final JButton okButton;
  63.256 -        private FileObject sourceRoot;
  63.257 -        private JTextField mainClassTextField;
  63.258 -        
  63.259 -        MainClassListener( FileObject root, JTextField mainClassTextField ) {            
  63.260 -            this.sourceRoot = root;
  63.261 -            this.mainClassTextField = mainClassTextField;
  63.262 -            this.okButton  = new JButton (NbBundle.getMessage (CustomizerRun.class, "LBL_ChooseMainClass_OK"));
  63.263 -            this.okButton.getAccessibleContext().setAccessibleDescription (NbBundle.getMessage (CustomizerRun.class, "AD_ChooseMainClass_OK"));
  63.264 -        }
  63.265 -        
  63.266 -        // Implementation of ActionListener ------------------------------------
  63.267 -        
  63.268 -        /** Handles button events
  63.269 -         */        
  63.270 -        public void actionPerformed( ActionEvent e ) {
  63.271 -            
  63.272 -            // only chooseMainClassButton can be performed
  63.273 -            
  63.274 -            final MainClassChooser panel = new MainClassChooser (new FileObject[] { sourceRoot }, null, false);
  63.275 -            Object[] options = new Object[] {
  63.276 -                okButton,
  63.277 -                DialogDescriptor.CANCEL_OPTION
  63.278 -            };
  63.279 -            panel.addChangeListener (new ChangeListener () {
  63.280 -               public void stateChanged(ChangeEvent e) {
  63.281 -                   if (e.getSource () instanceof MouseEvent && MouseUtils.isDoubleClick (((MouseEvent)e.getSource ()))) {
  63.282 -                       // click button and finish the dialog with selected class
  63.283 -                       okButton.doClick ();
  63.284 -                   } else {
  63.285 -                       okButton.setEnabled (panel.getSelectedMainClass () != null);
  63.286 -                   }
  63.287 -               }
  63.288 -            });
  63.289 -            okButton.setEnabled (false);
  63.290 -            DialogDescriptor desc = new DialogDescriptor (
  63.291 -                panel,
  63.292 -                NbBundle.getMessage (CustomizerRun.class, "LBL_ChooseMainClass_Title" ),
  63.293 -                true, 
  63.294 -                options, 
  63.295 -                options[0], 
  63.296 -                DialogDescriptor.BOTTOM_ALIGN, 
  63.297 -                null, 
  63.298 -                null);
  63.299 -            //desc.setMessageType (DialogDescriptor.INFORMATION_MESSAGE);
  63.300 -            Dialog dlg = DialogDisplayer.getDefault ().createDialog (desc);
  63.301 -            dlg.setVisible (true);
  63.302 -            if (desc.getValue() == options[0]) {
  63.303 -               mainClassTextField.setText (panel.getSelectedMainClass ());
  63.304 -            } 
  63.305 -            dlg.dispose();
  63.306 -        }
  63.307 -        
  63.308 -    }
  63.309 -    
  63.310 -}
    64.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/EmptyBluejProject.zip has changed
    65.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/MainClassChooser.form	Thu Jul 10 19:13:29 2008 +0800
    65.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    65.3 @@ -1,101 +0,0 @@
    65.4 -<?xml version="1.0" encoding="UTF-8" ?>
    65.5 -
    65.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
    65.7 -  <Properties>
    65.8 -    <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
    65.9 -      <Dimension value="[380, 300]"/>
   65.10 -    </Property>
   65.11 -  </Properties>
   65.12 -  <AccessibilityProperties>
   65.13 -    <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   65.14 -      <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="AD_MainClassChooser" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   65.15 -    </Property>
   65.16 -  </AccessibilityProperties>
   65.17 -  <AuxValues>
   65.18 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
   65.19 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
   65.20 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
   65.21 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
   65.22 -  </AuxValues>
   65.23 -
   65.24 -  <Layout>
   65.25 -    <DimensionLayout dim="0">
   65.26 -      <Group type="103" groupAlignment="0" attributes="0">
   65.27 -          <Group type="102" attributes="0">
   65.28 -              <EmptySpace max="-2" attributes="0"/>
   65.29 -              <Group type="103" groupAlignment="0" attributes="0">
   65.30 -                  <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="1"/>
   65.31 -                  <Group type="102" alignment="0" attributes="0">
   65.32 -                      <EmptySpace min="4" pref="4" max="4" attributes="0"/>
   65.33 -                      <Component id="jScrollPane1" pref="388" max="32767" attributes="1"/>
   65.34 -                  </Group>
   65.35 -                  <Group type="102" alignment="0" attributes="0">
   65.36 -                      <Component id="lblArguments" min="-2" max="-2" attributes="0"/>
   65.37 -                      <EmptySpace max="-2" attributes="0"/>
   65.38 -                      <Component id="txtArguments" pref="315" max="32767" attributes="0"/>
   65.39 -                  </Group>
   65.40 -              </Group>
   65.41 -              <EmptySpace max="-2" attributes="0"/>
   65.42 -          </Group>
   65.43 -      </Group>
   65.44 -    </DimensionLayout>
   65.45 -    <DimensionLayout dim="1">
   65.46 -      <Group type="103" groupAlignment="0" attributes="0">
   65.47 -          <Group type="102" attributes="0">
   65.48 -              <EmptySpace min="-2" max="-2" attributes="0"/>
   65.49 -              <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
   65.50 -              <EmptySpace min="-2" max="-2" attributes="0"/>
   65.51 -              <Component id="jScrollPane1" pref="154" max="32767" attributes="0"/>
   65.52 -              <EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
   65.53 -              <Group type="103" groupAlignment="3" attributes="0">
   65.54 -                  <Component id="lblArguments" alignment="3" min="-2" max="-2" attributes="0"/>
   65.55 -                  <Component id="txtArguments" alignment="3" min="-2" max="-2" attributes="0"/>
   65.56 -              </Group>
   65.57 -              <EmptySpace min="-2" pref="61" max="-2" attributes="0"/>
   65.58 -          </Group>
   65.59 -      </Group>
   65.60 -    </DimensionLayout>
   65.61 -  </Layout>
   65.62 -  <SubComponents>
   65.63 -    <Component class="javax.swing.JLabel" name="jLabel1">
   65.64 -      <Properties>
   65.65 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   65.66 -          <ComponentRef name="jMainClassList"/>
   65.67 -        </Property>
   65.68 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   65.69 -          <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="CTL_AvaialableMainClasses" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   65.70 -        </Property>
   65.71 -      </Properties>
   65.72 -      <AuxValues>
   65.73 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
   65.74 -      </AuxValues>
   65.75 -    </Component>
   65.76 -    <Container class="javax.swing.JScrollPane" name="jScrollPane1">
   65.77 -      <Properties>
   65.78 -        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
   65.79 -          <Dimension value="[100, 200]"/>
   65.80 -        </Property>
   65.81 -      </Properties>
   65.82 -
   65.83 -      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
   65.84 -      <SubComponents>
   65.85 -        <Component class="javax.swing.JList" name="jMainClassList">
   65.86 -          <AccessibilityProperties>
   65.87 -            <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   65.88 -              <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="AD_jMainClassList" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   65.89 -            </Property>
   65.90 -          </AccessibilityProperties>
   65.91 -        </Component>
   65.92 -      </SubComponents>
   65.93 -    </Container>
   65.94 -    <Component class="javax.swing.JLabel" name="lblArguments">
   65.95 -      <Properties>
   65.96 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   65.97 -          <ResourceString bundle="org/netbeans/bluej/Bundle.properties" key="LBL_Run_Arguments" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   65.98 -        </Property>
   65.99 -      </Properties>
  65.100 -    </Component>
  65.101 -    <Component class="javax.swing.JTextField" name="txtArguments">
  65.102 -    </Component>
  65.103 -  </SubComponents>
  65.104 -</Form>
    66.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/MainClassChooser.java	Thu Jul 10 19:13:29 2008 +0800
    66.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    66.3 @@ -1,302 +0,0 @@
    66.4 -/*
    66.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    66.6 - *
    66.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    66.8 - *
    66.9 - * The contents of this file are subject to the terms of either the GNU
   66.10 - * General Public License Version 2 only ("GPL") or the Common
   66.11 - * Development and Distribution License("CDDL") (collectively, the
   66.12 - * "License"). You may not use this file except in compliance with the
   66.13 - * License. You can obtain a copy of the License at
   66.14 - * http://www.netbeans.org/cddl-gplv2.html
   66.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   66.16 - * specific language governing permissions and limitations under the
   66.17 - * License.  When distributing the software, include this License Header
   66.18 - * Notice in each file and include the License file at
   66.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   66.20 - * particular file as subject to the "Classpath" exception as provided
   66.21 - * by Sun in the GPL Version 2 section of the License file that
   66.22 - * accompanied this code. If applicable, add the following below the
   66.23 - * License Header, with the fields enclosed by brackets [] replaced by
   66.24 - * your own identifying information:
   66.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   66.26 - *
   66.27 - * Contributor(s):
   66.28 - *
   66.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   66.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   66.31 - * Microsystems, Inc. All Rights Reserved.
   66.32 - *
   66.33 - * If you wish your version of this file to be governed by only the CDDL
   66.34 - * or only the GPL Version 2, indicate your decision by adding
   66.35 - * "[Contributor] elects to include this software in this distribution
   66.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   66.37 - * single choice of license, a recipient has the option to distribute
   66.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   66.39 - * to extend the choice of license to its licensees as provided above.
   66.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   66.41 - * Version 2 license, then the option applies only if the new code is
   66.42 - * made subject to such option by the copyright holder.
   66.43 - */
   66.44 -
   66.45 -package org.netbeans.bluej;
   66.46 -
   66.47 -import java.awt.Component;
   66.48 -import java.awt.event.MouseEvent;
   66.49 -import java.awt.event.MouseListener;
   66.50 -import java.util.Arrays;
   66.51 -import java.util.Collection;
   66.52 -import java.util.Comparator;
   66.53 -import javax.lang.model.element.TypeElement;
   66.54 -import javax.swing.DefaultListCellRenderer;
   66.55 -import javax.swing.JList;
   66.56 -import javax.swing.JPanel;
   66.57 -import javax.swing.ListSelectionModel;
   66.58 -import javax.swing.SwingUtilities;
   66.59 -import javax.swing.event.ChangeEvent;
   66.60 -import javax.swing.event.ChangeListener;
   66.61 -import javax.swing.event.ListSelectionEvent;
   66.62 -import javax.swing.event.ListSelectionListener;
   66.63 -import org.netbeans.api.java.source.ElementHandle;
   66.64 -import org.netbeans.api.java.source.SourceUtils;
   66.65 -import org.openide.awt.Mnemonics;
   66.66 -import org.openide.awt.MouseUtils;
   66.67 -import org.openide.filesystems.FileObject;
   66.68 -import org.openide.util.NbBundle;
   66.69 -import org.openide.util.RequestProcessor;
   66.70 -
   66.71 -/** Browses and allows to choose a project's main class.
   66.72 - *
   66.73 - * @author  Jiri Rechtacek
   66.74 - * @author Milos Kleint copied from j2se project type to bluej one
   66.75 - */
   66.76 -public class MainClassChooser extends JPanel {
   66.77 -
   66.78 -    private ChangeListener changeListener;
   66.79 -    private String dialogSubtitle = null;
   66.80 -    private Collection<ElementHandle<TypeElement>> possibleMainClasses;
   66.81 -
   66.82 -    private String selectedClass;
   66.83 -            
   66.84 -    /** Creates new form MainClassChooser */
   66.85 -    public MainClassChooser (FileObject[] sourcesRoots) {
   66.86 -        this (sourcesRoots, null);
   66.87 -    }
   66.88 -    
   66.89 -    public MainClassChooser (FileObject[] sourcesRoots, String subtitle, boolean showArguments) {
   66.90 -        this (sourcesRoots, subtitle);
   66.91 -        if (!showArguments) {
   66.92 -            lblArguments.setVisible(false);
   66.93 -            txtArguments.setVisible(false);
   66.94 -        }
   66.95 -    }
   66.96 -
   66.97 -    public MainClassChooser (FileObject[] sourcesRoots, String subtitle) {
   66.98 -        dialogSubtitle = subtitle;
   66.99 -        initComponents();
  66.100 -        initClassesView (sourcesRoots);
  66.101 -        jMainClassList.setCellRenderer(new MainClassRenderer());
  66.102 -    }
  66.103 -    
  66.104 -    private void initClassesView (final FileObject[] sourcesRoots) {
  66.105 -        possibleMainClasses = null;
  66.106 -        jMainClassList.setSelectionMode (ListSelectionModel.SINGLE_SELECTION);
  66.107 -        jMainClassList.setListData (getWarmupList ());
  66.108 -        jMainClassList.addListSelectionListener (new ListSelectionListener () {
  66.109 -            public void valueChanged (ListSelectionEvent evt) {
  66.110 -                if (changeListener != null) {
  66.111 -                    changeListener.stateChanged (new ChangeEvent (evt));
  66.112 -                }
  66.113 -            }
  66.114 -        });
  66.115 -        // support for double click to finish dialog with selected class
  66.116 -        jMainClassList.addMouseListener (new MouseListener () {
  66.117 -            public void mouseClicked (MouseEvent e) {
  66.118 -                if (MouseUtils.isDoubleClick (e)) {
  66.119 -                    if (getSelectedMainClass () != null) {
  66.120 -                        if (changeListener != null) {
  66.121 -                            changeListener.stateChanged (new ChangeEvent (e));
  66.122 -                        }
  66.123 -                    }
  66.124 -                }
  66.125 -            }
  66.126 -            public void mousePressed (MouseEvent e) {}
  66.127 -            public void mouseReleased (MouseEvent e) {}
  66.128 -            public void mouseEntered (MouseEvent e) {}
  66.129 -            public void mouseExited (MouseEvent e) {}
  66.130 -        });
  66.131 -        
  66.132 -        RequestProcessor.getDefault ().post (new Runnable () {
  66.133 -            public void run () {
  66.134 -                
  66.135 -                possibleMainClasses = SourceUtils.getMainClasses(sourcesRoots);
  66.136 -                if (possibleMainClasses.isEmpty ()) {                    
  66.137 -                    SwingUtilities.invokeLater( new Runnable () {
  66.138 -                        public void run () {
  66.139 -                            jMainClassList.setListData (new String[] { NbBundle.getMessage (MainClassChooser.class, "LBL_ChooseMainClass_NO_CLASSES_NODE") } ); // NOI18N
  66.140 -                        }
  66.141 -                    });                    
  66.142 -                } else {
  66.143 -                    final ElementHandle<TypeElement>[] arr = possibleMainClasses.toArray(new ElementHandle[possibleMainClasses.size()]);
  66.144 -                    // #46861, sort name of classes
  66.145 -                    Arrays.sort (arr, new MainClassComparator());
  66.146 -                    SwingUtilities.invokeLater(new Runnable () {
  66.147 -                        public void run () {
  66.148 -                            jMainClassList.setListData (arr);
  66.149 -                            jMainClassList.setSelectedIndex (0);
  66.150 -                            }
  66.151 -                    });                    
  66.152 -                }
  66.153 -            }
  66.154 -        });
  66.155 -        
  66.156 -        if (dialogSubtitle != null) {
  66.157 -            Mnemonics.setLocalizedText (jLabel1, dialogSubtitle);
  66.158 -        }
  66.159 -    }
  66.160 -    
  66.161 -    private Object[] getWarmupList () {        
  66.162 -          return new Object[] {NbBundle.getMessage (MainClassChooser.class, "LBL_ChooseMainClass_WARMUP_MESSAGE")};
  66.163 -    }
  66.164 -    
  66.165 -    private boolean isValidMainClassName (Object value) {
  66.166 -        return (possibleMainClasses != null) && (possibleMainClasses.contains (value));
  66.167 -    }
  66.168 -
  66.169 -
  66.170 -    /** Returns the selected main class.
  66.171 -     *
  66.172 -     * @return name of class or null if no class with the main method is selected
  66.173 -     */    
  66.174 -    public String getSelectedMainClass () {
  66.175 -        if (isValidMainClassName (jMainClassList.getSelectedValue ())) {
  66.176 -            return ((ElementHandle)jMainClassList.getSelectedValue ()).getQualifiedName();
  66.177 -        } else {
  66.178 -            return null;
  66.179 -        }
  66.180 -    }
  66.181 -    
  66.182 -    public String getArguments() {
  66.183 -        return txtArguments.getText();
  66.184 -    }
  66.185 -    
  66.186 -    public void addChangeListener (ChangeListener l) {
  66.187 -        changeListener = l;
  66.188 -    }
  66.189 -    
  66.190 -    public void removeChangeListener (ChangeListener l) {
  66.191 -        changeListener = null;
  66.192 -    }
  66.193 -    
  66.194 -    // Used only from unit tests to suppress check of main method. If value
  66.195 -    // is different from null it will be returned instead.
  66.196 -    public static Boolean unitTestingSupport_hasMainMethodResult = null;
  66.197 -    
  66.198 -    /** Checks if given file object contains the main method.
  66.199 -     *
  66.200 -     * @param classFO file object represents java 
  66.201 -     * @return false if parameter is null or doesn't contain SourceCookie
  66.202 -     * or SourceCookie doesn't contain the main method
  66.203 -     */    
  66.204 -    public static boolean hasMainMethod (FileObject classFO) {
  66.205 -        return BluejActionProvider.hasMainMethod (classFO);
  66.206 -    }
  66.207 -
  66.208 -    /** This method is called from within the constructor to
  66.209 -     * initialize the form.
  66.210 -     * WARNING: Do NOT modify this code. The content of this method is
  66.211 -     * always regenerated by the Form Editor.
  66.212 -     */
  66.213 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  66.214 -    private void initComponents() {
  66.215 -        java.awt.GridBagConstraints gridBagConstraints;
  66.216 -
  66.217 -        jLabel1 = new javax.swing.JLabel();
  66.218 -        jScrollPane1 = new javax.swing.JScrollPane();
  66.219 -        jMainClassList = new javax.swing.JList();
  66.220 -        lblArguments = new javax.swing.JLabel();
  66.221 -        txtArguments = new javax.swing.JTextField();
  66.222 -
  66.223 -        setPreferredSize(new java.awt.Dimension(380, 300));
  66.224 -        getAccessibleContext().setAccessibleDescription(null);
  66.225 -        jLabel1.setLabelFor(jMainClassList);
  66.226 -
  66.227 -        jScrollPane1.setMinimumSize(new java.awt.Dimension(100, 200));
  66.228 -        jScrollPane1.setViewportView(jMainClassList);
  66.229 -        jMainClassList.getAccessibleContext().setAccessibleDescription(null);
  66.230 -
  66.231 -        lblArguments.setText(org.openide.util.NbBundle.getMessage(MainClassChooser.class, "LBL_Run_Arguments"));
  66.232 -
  66.233 -        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  66.234 -        this.setLayout(layout);
  66.235 -        layout.setHorizontalGroup(
  66.236 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  66.237 -            .add(layout.createSequentialGroup()
  66.238 -                .addContainerGap()
  66.239 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  66.240 -                    .add(jLabel1)
  66.241 -                    .add(layout.createSequentialGroup()
  66.242 -                        .add(4, 4, 4)
  66.243 -                        .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE))
  66.244 -                    .add(layout.createSequentialGroup()
  66.245 -                        .add(lblArguments)
  66.246 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  66.247 -                        .add(txtArguments, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 315, Short.MAX_VALUE)))
  66.248 -                .addContainerGap())
  66.249 -        );
  66.250 -        layout.setVerticalGroup(
  66.251 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  66.252 -            .add(layout.createSequentialGroup()
  66.253 -                .addContainerGap()
  66.254 -                .add(jLabel1)
  66.255 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  66.256 -                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 154, Short.MAX_VALUE)
  66.257 -                .add(27, 27, 27)
  66.258 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
  66.259 -                    .add(lblArguments)
  66.260 -                    .add(txtArguments, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
  66.261 -                .add(61, 61, 61))
  66.262 -        );
  66.263 -    }// </editor-fold>//GEN-END:initComponents
  66.264 -
  66.265 -    
  66.266 - 
  66.267 -
  66.268 -    // Variables declaration - do not modify//GEN-BEGIN:variables
  66.269 -    private javax.swing.JLabel jLabel1;
  66.270 -    private javax.swing.JList jMainClassList;
  66.271 -    private javax.swing.JScrollPane jScrollPane1;
  66.272 -    private javax.swing.JLabel lblArguments;
  66.273 -    private javax.swing.JTextField txtArguments;
  66.274 -    // End of variables declaration//GEN-END:variables
  66.275 -
  66.276 -    
  66.277 -    void setSelectedMainClass(String clazz) {
  66.278 -        this.selectedClass = clazz;
  66.279 -    }
  66.280 -
  66.281 -    void setArguments(String args) {
  66.282 -        txtArguments.setText(args);
  66.283 -    }
  66.284 -    
  66.285 -    private static final class MainClassRenderer extends DefaultListCellRenderer {
  66.286 -        @Override
  66.287 -        public Component getListCellRendererComponent (JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
  66.288 -            String displayName;
  66.289 -            if (value instanceof ElementHandle) {
  66.290 -                displayName = ((ElementHandle)value).getQualifiedName();
  66.291 -            } else {
  66.292 -                displayName = value.toString ();
  66.293 -}
  66.294 -            return super.getListCellRendererComponent (list, displayName, index, isSelected, cellHasFocus);
  66.295 -        }
  66.296 -    }
  66.297 -    
  66.298 -    private static class MainClassComparator implements Comparator<ElementHandle> {
  66.299 -            
  66.300 -        public int compare(ElementHandle arg0, ElementHandle arg1) {
  66.301 -            return arg0.getQualifiedName().compareTo(arg1.getQualifiedName());
  66.302 -        }
  66.303 -    }
  66.304 -    
  66.305 -}
    67.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/MainClassWarning.form	Thu Jul 10 19:13:29 2008 +0800
    67.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    67.3 @@ -1,44 +0,0 @@
    67.4 -<?xml version="1.0" encoding="UTF-8" ?>
    67.5 -
    67.6 -<Form version="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
    67.7 -  <AccessibilityProperties>
    67.8 -    <Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
    67.9 -      <ResourceString bundle="org/netbeans/modules/java/j2seproject/ui/customizer/Bundle.properties" key="AD_MainClassWarning" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   67.10 -    </Property>
   67.11 -  </AccessibilityProperties>
   67.12 -  <AuxValues>
   67.13 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
   67.14 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
   67.15 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
   67.16 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
   67.17 -    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
   67.18 -  </AuxValues>
   67.19 -
   67.20 -  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
   67.21 -  <SubComponents>
   67.22 -    <Component class="javax.swing.JLabel" name="jLabel1">
   67.23 -      <Properties>
   67.24 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
   67.25 -          <Connection code="this.message" type="code"/>
   67.26 -        </Property>
   67.27 -      </Properties>
   67.28 -      <Constraints>
   67.29 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   67.30 -          <GridBagConstraints gridX="0" gridY="0" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="12" insetsBottom="6" insetsRight="12" anchor="18" weightX="1.0" weightY="0.0"/>
   67.31 -        </Constraint>
   67.32 -      </Constraints>
   67.33 -    </Component>
   67.34 -    <Container class="javax.swing.JPanel" name="jPanel1">
   67.35 -      <AuxValues>
   67.36 -        <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new MainClassChooser (sourcesRoots, org.openide.util.NbBundle.getBundle(MainClassWarning.class).getString(&quot;CTL_SelectAvaialableMainClasses&quot;));"/>
   67.37 -      </AuxValues>
   67.38 -      <Constraints>
   67.39 -        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
   67.40 -          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="0" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="12" insetsRight="12" anchor="18" weightX="0.1" weightY="0.1"/>
   67.41 -        </Constraint>
   67.42 -      </Constraints>
   67.43 -
   67.44 -      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
   67.45 -    </Container>
   67.46 -  </SubComponents>
   67.47 -</Form>
    68.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/MainClassWarning.java	Thu Jul 10 19:13:29 2008 +0800
    68.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    68.3 @@ -1,140 +0,0 @@
    68.4 -/*
    68.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    68.6 - *
    68.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    68.8 - *
    68.9 - * The contents of this file are subject to the terms of either the GNU
   68.10 - * General Public License Version 2 only ("GPL") or the Common
   68.11 - * Development and Distribution License("CDDL") (collectively, the
   68.12 - * "License"). You may not use this file except in compliance with the
   68.13 - * License. You can obtain a copy of the License at
   68.14 - * http://www.netbeans.org/cddl-gplv2.html
   68.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   68.16 - * specific language governing permissions and limitations under the
   68.17 - * License.  When distributing the software, include this License Header
   68.18 - * Notice in each file and include the License file at
   68.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   68.20 - * particular file as subject to the "Classpath" exception as provided
   68.21 - * by Sun in the GPL Version 2 section of the License file that
   68.22 - * accompanied this code. If applicable, add the following below the
   68.23 - * License Header, with the fields enclosed by brackets [] replaced by
   68.24 - * your own identifying information:
   68.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   68.26 - *
   68.27 - * Contributor(s):
   68.28 - *
   68.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   68.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   68.31 - * Microsystems, Inc. All Rights Reserved.
   68.32 - *
   68.33 - * If you wish your version of this file to be governed by only the CDDL
   68.34 - * or only the GPL Version 2, indicate your decision by adding
   68.35 - * "[Contributor] elects to include this software in this distribution
   68.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   68.37 - * single choice of license, a recipient has the option to distribute
   68.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   68.39 - * to extend the choice of license to its licensees as provided above.
   68.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   68.41 - * Version 2 license, then the option applies only if the new code is
   68.42 - * made subject to such option by the copyright holder.
   68.43 - */
   68.44 -
   68.45 -package org.netbeans.bluej;
   68.46 -
   68.47 -import javax.swing.JPanel;
   68.48 -import javax.swing.event.ChangeListener;
   68.49 -
   68.50 -import org.openide.filesystems.FileObject;
   68.51 -
   68.52 -/** Shows a warning that no main class is set and allows choose a main class.
   68.53 - *
   68.54 - * @author  Jiri Rechtacek
   68.55 - * @author Milos Kleint copied from j2se project type to bluej one
   68.56 - */
   68.57 -public class MainClassWarning extends JPanel {
   68.58 -   
   68.59 -    private String message;
   68.60 -    private FileObject[] sourcesRoots;
   68.61 -
   68.62 -    /** Creates new form LibrariesChooser */
   68.63 -    public MainClassWarning (String message, FileObject[] sourcesRoots) {
   68.64 -        this.sourcesRoots = sourcesRoots;
   68.65 -        this.message = message;
   68.66 -        initComponents();
   68.67 -        // add MainClassChooser
   68.68 -    }
   68.69 -    
   68.70 -    /** Returns the selected main class.
   68.71 -     *
   68.72 -     * @return name of class or null if no class with the main method is selected
   68.73 -     */ 
   68.74 -    public String getSelectedMainClass () {
   68.75 -        return ((MainClassChooser)jPanel1).getSelectedMainClass ();
   68.76 -    }
   68.77 -    
   68.78 -    public void setSelectedMainClass(String clazz) {
   68.79 -        ((MainClassChooser)jPanel1).setSelectedMainClass(clazz);
   68.80 -    }
   68.81 -    
   68.82 -    public String getArguments() {
   68.83 -        return ((MainClassChooser)jPanel1).getArguments();
   68.84 -    }
   68.85 -    
   68.86 -    public void setArguments(String args) {
   68.87 -        ((MainClassChooser)jPanel1).setArguments(args);
   68.88 -    }
   68.89 -
   68.90 -    public void addChangeListener (ChangeListener l) {
   68.91 -        ((MainClassChooser)jPanel1).addChangeListener (l);
   68.92 -    }
   68.93 -    
   68.94 -    public void removeChangeListener (ChangeListener l) {
   68.95 -        ((MainClassChooser)jPanel1).removeChangeListener (l);
   68.96 -    }
   68.97 -    
   68.98 -    /** This method is called from within the constructor to
   68.99 -     * initialize the form.
  68.100 -     * WARNING: Do NOT modify this code. The content of this method is
  68.101 -     * always regenerated by the Form Editor.
  68.102 -     */
  68.103 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  68.104 -    private void initComponents() {
  68.105 -        java.awt.GridBagConstraints gridBagConstraints;
  68.106 -
  68.107 -        jLabel1 = new javax.swing.JLabel();
  68.108 -        jPanel1 = new MainClassChooser (sourcesRoots, org.openide.util.NbBundle.getBundle(MainClassWarning.class).getString("CTL_SelectAvaialableMainClasses"));
  68.109 -
  68.110 -        setLayout(new java.awt.GridBagLayout());
  68.111 -
  68.112 -        getAccessibleContext().setAccessibleDescription(null);
  68.113 -        org.openide.awt.Mnemonics.setLocalizedText(jLabel1, this.message);
  68.114 -        gridBagConstraints = new java.awt.GridBagConstraints();
  68.115 -        gridBagConstraints.gridx = 0;
  68.116 -        gridBagConstraints.gridy = 0;
  68.117 -        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  68.118 -        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
  68.119 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
  68.120 -        gridBagConstraints.weightx = 1.0;
  68.121 -        gridBagConstraints.insets = new java.awt.Insets(12, 12, 6, 12);
  68.122 -        add(jLabel1, gridBagConstraints);
  68.123 -
  68.124 -        gridBagConstraints = new java.awt.GridBagConstraints();
  68.125 -        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  68.126 -        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
  68.127 -        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
  68.128 -        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
  68.129 -        gridBagConstraints.weightx = 0.1;
  68.130 -        gridBagConstraints.weighty = 0.1;
  68.131 -        gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 12);
  68.132 -        add(jPanel1, gridBagConstraints);
  68.133 -
  68.134 -    }// </editor-fold>//GEN-END:initComponents
  68.135 -
  68.136 -
  68.137 -    // Variables declaration - do not modify//GEN-BEGIN:variables
  68.138 -    private javax.swing.JLabel jLabel1;
  68.139 -    private javax.swing.JPanel jPanel1;
  68.140 -    // End of variables declaration//GEN-END:variables
  68.141 -
  68.142 -
  68.143 -}
    69.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/SFBQueryImpl.java	Thu Jul 10 19:13:29 2008 +0800
    69.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    69.3 @@ -1,194 +0,0 @@
    69.4 -/*
    69.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    69.6 - *
    69.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    69.8 - *
    69.9 - * The contents of this file are subject to the terms of either the GNU
   69.10 - * General Public License Version 2 only ("GPL") or the Common
   69.11 - * Development and Distribution License("CDDL") (collectively, the
   69.12 - * "License"). You may not use this file except in compliance with the
   69.13 - * License. You can obtain a copy of the License at
   69.14 - * http://www.netbeans.org/cddl-gplv2.html
   69.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   69.16 - * specific language governing permissions and limitations under the
   69.17 - * License.  When distributing the software, include this License Header
   69.18 - * Notice in each file and include the License file at
   69.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   69.20 - * particular file as subject to the "Classpath" exception as provided
   69.21 - * by Sun in the GPL Version 2 section of the License file that
   69.22 - * accompanied this code. If applicable, add the following below the
   69.23 - * License Header, with the fields enclosed by brackets [] replaced by
   69.24 - * your own identifying information:
   69.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   69.26 - *
   69.27 - * Contributor(s):
   69.28 - *
   69.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   69.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   69.31 - * Microsystems, Inc. All Rights Reserved.
   69.32 - *
   69.33 - * If you wish your version of this file to be governed by only the CDDL
   69.34 - * or only the GPL Version 2, indicate your decision by adding
   69.35 - * "[Contributor] elects to include this software in this distribution
   69.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   69.37 - * single choice of license, a recipient has the option to distribute
   69.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   69.39 - * to extend the choice of license to its licensees as provided above.
   69.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   69.41 - * Version 2 license, then the option applies only if the new code is
   69.42 - * made subject to such option by the copyright holder.
   69.43 - */
   69.44 -
   69.45 -package org.netbeans.bluej;
   69.46 -
   69.47 -import java.io.File;
   69.48 -import java.net.MalformedURLException;
   69.49 -import java.net.URL;
   69.50 -import java.util.HashMap;
   69.51 -import java.util.Map;
   69.52 -import javax.swing.event.ChangeListener;
   69.53 -import org.netbeans.api.java.queries.JavadocForBinaryQuery;
   69.54 -import org.netbeans.api.java.queries.SourceForBinaryQuery;
   69.55 -import org.netbeans.spi.java.queries.JavadocForBinaryQueryImplementation;
   69.56 -import org.netbeans.spi.java.queries.SourceForBinaryQueryImplementation;
   69.57 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   69.58 -import org.netbeans.spi.project.support.ant.PropertyEvaluator;
   69.59 -import org.openide.ErrorManager;
   69.60 -import org.openide.filesystems.FileObject;
   69.61 -import org.openide.filesystems.FileUtil;
   69.62 -
   69.63 -/**
   69.64 - *
   69.65 - * @author mkleint
   69.66 - */
   69.67 -public class SFBQueryImpl implements SourceForBinaryQueryImplementation, JavadocForBinaryQueryImplementation {
   69.68 -    
   69.69 -    private final AntProjectHelper helper;
   69.70 -    private final PropertyEvaluator evaluator;
   69.71 -    private Map/*<URL,SourceForBinaryQuery.Result>*/  cache = new HashMap ();
   69.72 -    private DocResult docResult;
   69.73 -
   69.74 -    private BluejProject project;
   69.75 -
   69.76 -    public SFBQueryImpl(BluejProject proj, AntProjectHelper helper, PropertyEvaluator evaluator) {
   69.77 -        this.helper = helper;
   69.78 -        this.evaluator = evaluator;
   69.79 -        project = proj;
   69.80 -    }
   69.81 -
   69.82 -    public SourceForBinaryQuery.Result findSourceRoots(URL binaryRoot) {
   69.83 -        if (FileUtil.getArchiveFile(binaryRoot) != null) {
   69.84 -            binaryRoot = FileUtil.getArchiveFile(binaryRoot);
   69.85 -            // XXX check whether this is really the root
   69.86 -        }
   69.87 -        SourceForBinaryQuery.Result res = (SourceForBinaryQuery.Result) cache.get (binaryRoot);
   69.88 -        if (res != null) {
   69.89 -            return res;
   69.90 -        }
   69.91 -        FileObject src = null;
   69.92 -        if (matches(binaryRoot,"build.classes.dir")) {   // NOI18N
   69.93 -            src = project.getProjectDirectory();
   69.94 -        }
   69.95 -        else if (matches (binaryRoot,"dist.jar")) {      // NOI18N
   69.96 -            src = project.getProjectDirectory();
   69.97 -        }
   69.98 -        else if (matches (binaryRoot,"build.test.classes.dir")) {    // NOI18N
   69.99 -            src = project.getProjectDirectory();
  69.100 -        }
  69.101 -        if (src == null) {
  69.102 -            return null;
  69.103 -        }
  69.104 -        else {
  69.105 -            res = new Result(src);
  69.106 -            cache.put (binaryRoot, res);
  69.107 -            return res;
  69.108 -        }
  69.109 -    }
  69.110 -
  69.111 -
  69.112 -    private boolean matches (URL binaryRoot, String binaryProperty) {
  69.113 -        try {
  69.114 -            String outDir = evaluator.getProperty(binaryProperty);
  69.115 -            if (outDir != null) {
  69.116 -                File f = helper.resolveFile (outDir);
  69.117 -                URL url = f.toURI().toURL();
  69.118 -                if (!f.exists() && !f.getPath().toLowerCase().endsWith(".jar")) { // NOI18N
  69.119 -                    // non-existing 
  69.120 -                    assert !url.toExternalForm().endsWith("/") : f; // NOI18N
  69.121 -                    url = new URL(url.toExternalForm() + "/"); // NOI18N
  69.122 -                }
  69.123 -                if (url.equals (binaryRoot)) {
  69.124 -                    return true;
  69.125 -                }
  69.126 -            }
  69.127 -        } catch (MalformedURLException malformedURL) {
  69.128 -            ErrorManager.getDefault().notify(malformedURL);
  69.129 -        }
  69.130 -        return false;
  69.131 -    }
  69.132 -
  69.133 -    public JavadocForBinaryQuery.Result findJavadoc(URL binaryRoot) {
  69.134 -        if (FileUtil.getArchiveFile(binaryRoot) != null) {
  69.135 -            binaryRoot = FileUtil.getArchiveFile(binaryRoot);
  69.136 -            // XXX check whether this is really the root
  69.137 -        }
  69.138 -        if (matches (binaryRoot, "build.classes.dir") || matches (binaryRoot, "dist.jar") ||  // NOI18N
  69.139 -                matches (binaryRoot, "build.test.classes.dir")) {   // NOI18N
  69.140 -            if (docResult == null) {
  69.141 -                //TODO make this relative to property?? the location should not be changed anyway because then
  69.142 -                // it stops working against bluej itself..
  69.143 -                File fil = new File(FileUtil.toFile(project.getProjectDirectory()), "doc");  // NOI18N
  69.144 -                try {
  69.145 -                    docResult = new DocResult(fil.toURI().toURL());
  69.146 -                } catch (MalformedURLException ex) {
  69.147 -                    ex.printStackTrace();
  69.148 -                }
  69.149 -            }
  69.150 -        }
  69.151 -        return docResult;
  69.152 -    }
  69.153 -    
  69.154 -    private static class Result implements SourceForBinaryQuery.Result {
  69.155 -        private FileObject[] sourceRoots;
  69.156 -        public Result(FileObject fo) {
  69.157 -            this.sourceRoots = new FileObject[] {fo};
  69.158 -        }
  69.159 -        
  69.160 -        public FileObject[] getRoots () {
  69.161 -            return this.sourceRoots; 
  69.162 -        }
  69.163 -        
  69.164 -        public synchronized void addChangeListener (ChangeListener l) {
  69.165 -        }
  69.166 -        
  69.167 -        public synchronized void removeChangeListener (ChangeListener l) {
  69.168 -        }
  69.169 -    }
  69.170 -
  69.171 -    private static class DocResult implements JavadocForBinaryQuery.Result {
  69.172 -
  69.173 -        private URL[] urls;
  69.174 -        public DocResult(URL url) {
  69.175 -            if (!url.toExternalForm().endsWith("/")) {  // NOI18N
  69.176 -                try {
  69.177 -                    url = new URL(url.toExternalForm() + "/"); // NOI18N
  69.178 -                } catch (MalformedURLException ex) {
  69.179 -                    ex.printStackTrace();
  69.180 -                } // NOI18N
  69.181 -            }
  69.182 -            urls = new URL[] {url};
  69.183 -
  69.184 -        }
  69.185 -
  69.186 -        public URL[] getRoots() {
  69.187 -            return urls;
  69.188 -        }
  69.189 -
  69.190 -        public void addChangeListener(ChangeListener l) {
  69.191 -        }
  69.192 -
  69.193 -        public void removeChangeListener(ChangeListener l) {
  69.194 -        }
  69.195 -    }
  69.196 -    
  69.197 -}
    70.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/UpdateHelper.java	Thu Jul 10 19:13:29 2008 +0800
    70.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    70.3 @@ -1,393 +0,0 @@
    70.4 -/*
    70.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    70.6 - * 
    70.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    70.8 - * 
    70.9 - * The contents of this file are subject to the terms of either the GNU
   70.10 - * General Public License Version 2 only ("GPL") or the Common
   70.11 - * Development and Distribution License("CDDL") (collectively, the
   70.12 - * "License"). You may not use this file except in compliance with the
   70.13 - * License. You can obtain a copy of the License at
   70.14 - * http://www.netbeans.org/cddl-gplv2.html
   70.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   70.16 - * specific language governing permissions and limitations under the
   70.17 - * License.  When distributing the software, include this License Header
   70.18 - * Notice in each file and include the License file at
   70.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   70.20 - * particular file as subject to the "Classpath" exception as provided
   70.21 - * by Sun in the GPL Version 2 section of the License file that
   70.22 - * accompanied this code. If applicable, add the following below the
   70.23 - * License Header, with the fields enclosed by brackets [] replaced by
   70.24 - * your own identifying information:
   70.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   70.26 - *
   70.27 - * Contributor(s):
   70.28 - *
   70.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   70.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   70.31 - * Microsystems, Inc. All Rights Reserved.
   70.32 - *
   70.33 - * If you wish your version of this file to be governed by only the CDDL
   70.34 - * or only the GPL Version 2, indicate your decision by adding
   70.35 - * "[Contributor] elects to include this software in this distribution
   70.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   70.37 - * single choice of license, a recipient has the option to distribute
   70.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   70.39 - * to extend the choice of license to its licensees as provided above.
   70.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   70.41 - * Version 2 license, then the option applies only if the new code is
   70.42 - * made subject to such option by the copyright holder.
   70.43 - */
   70.44 -
   70.45 -package org.netbeans.bluej;
   70.46 -
   70.47 -import java.io.IOException;
   70.48 -import javax.swing.JButton;
   70.49 -import org.w3c.dom.Comment;
   70.50 -import org.w3c.dom.Document;
   70.51 -import org.w3c.dom.Element;
   70.52 -import org.w3c.dom.NamedNodeMap;
   70.53 -import org.w3c.dom.Node;
   70.54 -import org.w3c.dom.NodeList;
   70.55 -import org.w3c.dom.Text;
   70.56 -import org.openide.DialogDisplayer;
   70.57 -import org.openide.ErrorManager;
   70.58 -import org.openide.NotifyDescriptor;
   70.59 -import org.openide.util.NbBundle;
   70.60 -import org.openide.util.Mutex;
   70.61 -import org.netbeans.api.project.Project;
   70.62 -import org.netbeans.api.project.ProjectManager;
   70.63 -import org.netbeans.spi.project.AuxiliaryConfiguration;
   70.64 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   70.65 -import org.netbeans.spi.project.support.ant.EditableProperties;
   70.66 -import org.netbeans.spi.project.support.ant.GeneratedFilesHelper;
   70.67 -
   70.68 -
   70.69 -/**
   70.70 - * Proxy for the AntProjectHelper which defers the update of the project metadata
   70.71 - * to explicit user action. Currently it is hard coded for update from
   70.72 - * "http://www.netbeans.org/ns/j2se-project/1" to "http://www.netbeans.org/ns/j2se-project/2".
   70.73 - * In future it should define plugable SPI.
   70.74 - *
   70.75 - * TODO not sure this is necessaryf or bluej projects
   70.76 - */
   70.77 -public class UpdateHelper {
   70.78 -
   70.79 -    private static final boolean TRANSPARENT_UPDATE = Boolean.getBoolean("j2seproject.transparentUpdate");   // NOI18N
   70.80 -    private static final String BUILD_NUMBER = System.getProperty("netbeans.buildnumber"); // NOI18N
   70.81 -    private static final String MINIMUM_ANT_VERSION_ELEMENT = "minimum-ant-version";  // NOI18N
   70.82 -
   70.83 -    private final Project project;
   70.84 -    private final AntProjectHelper helper;
   70.85 -    private final AuxiliaryConfiguration cfg;
   70.86 -    private final GeneratedFilesHelper genFileHelper;
   70.87 -    private final Notifier notifier;
   70.88 -    private boolean alreadyAskedInWriteAccess;
   70.89 -    private Boolean isCurrent;
   70.90 -    private Element cachedElement;
   70.91 -
   70.92 -    /**
   70.93 -     * Creates new UpdateHelper
   70.94 -     * @param project
   70.95 -     * @param helper AntProjectHelper
   70.96 -     * @param cfg AuxiliaryConfiguration
   70.97 -     * @param genFileHelper GeneratedFilesHelper
   70.98 -     * @param notifier used to ask user about project update
   70.99 -     */
  70.100 -    UpdateHelper (Project project, AntProjectHelper helper, AuxiliaryConfiguration cfg, GeneratedFilesHelper genFileHelper, Notifier notifier) {
  70.101 -        assert project != null && helper != null && cfg != null && genFileHelper != null && notifier != null;
  70.102 -        this.project = project;
  70.103 -        this.helper = helper;
  70.104 -        this.cfg = cfg;
  70.105 -        this.genFileHelper = genFileHelper;
  70.106 -        this.notifier = notifier;
  70.107 -    }
  70.108 -
  70.109 -    /**
  70.110 -     * Returns the AntProjectHelper.getProperties(), {@link AntProjectHelper#getProperties(String)}
  70.111 -     * @param path a relative URI in the project directory.
  70.112 -     * @return a set of properties
  70.113 -     */
  70.114 -    public EditableProperties getProperties (final String path) {
  70.115 -        //Properties are the same in both j2seproject/1 and j2seproject/2
  70.116 -        return (EditableProperties) ProjectManager.mutex().readAccess(new Mutex.Action (){
  70.117 -            public Object run() {
  70.118 -                if (!isCurrent() && AntProjectHelper.PROJECT_PROPERTIES_PATH.equals(path)) { //Only project properties were changed
  70.119 -                    return getUpdatedProjectProperties ();
  70.120 -                }
  70.121 -                else {
  70.122 -                    return helper.getProperties(path);                    
  70.123 -                }
  70.124 -            }
  70.125 -        });
  70.126 -    }
  70.127 -
  70.128 -    /**
  70.129 -     * In the case that the project is of current version or the properties are not {@link AntProjectHelper#PROJECT_PROPERTIES_PATH}
  70.130 -     * it calls AntProjectHelper.putProperties(), {@link AntProjectHelper#putProperties(String, EditableProperties)}
  70.131 -     * otherwise it asks user to updata project. If the user agrees with the project update, it does the update and calls
  70.132 -     * AntProjectHelper.putProperties().
  70.133 -     * @param path a relative URI in the project directory.
  70.134 -     * @param props a set of properties
  70.135 -     */
  70.136 -    public void putProperties (final String path, final EditableProperties props) {
  70.137 -        ProjectManager.mutex().writeAccess(
  70.138 -            new Runnable () {
  70.139 -                public void run() {
  70.140 -                    if (isCurrent() || !AntProjectHelper.PROJECT_PROPERTIES_PATH.equals(path)) {  //Only project props should cause update
  70.141 -                        helper.putProperties(path,props);
  70.142 -                    }
  70.143 -                    else if (canUpdate()) {
  70.144 -                        try {
  70.145 -                            saveUpdate ();
  70.146 -                            helper.putProperties(path,props);
  70.147 -                        } catch (IOException ioe) {
  70.148 -                            ErrorManager.getDefault().notify (ioe);
  70.149 -                        }
  70.150 -                    }
  70.151 -                }
  70.152 -            });
  70.153 -    }
  70.154 -
  70.155 -    /**
  70.156 -     * In the case that the project is of current version or shared is false it delegates to
  70.157 -     * AntProjectHelper.getPrimaryConfigurationData(), {@link AntProjectHelper#getPrimaryConfigurationData(boolean)}.
  70.158 -     * Otherwise it creates an in memory update of shared configuration data and returns it.
  70.159 -     * @param shared if true, refers to <code>project.xml</code>, else refers to
  70.160 -     *               <code>private.xml</code>
  70.161 -     * @return the configuration data that is available
  70.162 -     */
  70.163 -    public Element getPrimaryConfigurationData (final boolean shared) {
  70.164 -        return (Element) ProjectManager.mutex().readAccess(new Mutex.Action (){
  70.165 -            public Object run() {
  70.166 -                if (!shared || isCurrent()) { //Only shared props should cause update
  70.167 -                    return helper.getPrimaryConfigurationData(shared);
  70.168 -                }
  70.169 -                else {
  70.170 -                    return getUpdatedSharedConfigurationData ();
  70.171 -                }
  70.172 -            }
  70.173 -        });
  70.174 -    }
  70.175 -
  70.176 -    /**
  70.177 -     * In the case that the project is of current version or shared is false it calls AntProjectHelper.putPrimaryConfigurationData(),
  70.178 -     * {@link AntProjectHelper#putPrimaryConfigurationData(Element, boolean)}.
  70.179 -     * Otherwise it asks user to update the project. If the user agrees with the project update, it does the update and calls
  70.180 -     * AntProjectHelper.PrimaryConfigurationData().
  70.181 -     * @param element the configuration data
  70.182 -     * @param shared if true, refers to <code>project.xml</code>, else refers to
  70.183 -     * <code>private.xml</code>
  70.184 -     */
  70.185 -    public void putPrimaryConfigurationData (final Element element, final boolean shared) {
  70.186 -        ProjectManager.mutex().writeAccess(new Runnable () {
  70.187 -            public void run () {
  70.188 -                if (!shared || isCurrent()) {
  70.189 -                    helper.putPrimaryConfigurationData(element, shared);
  70.190 -                } else if (canUpdate()) {
  70.191 -                    try {
  70.192 -                        saveUpdate ();
  70.193 -                        helper.putPrimaryConfigurationData(element, shared);
  70.194 -                    } catch (IOException ioe) {
  70.195 -                        ErrorManager.getDefault().notify(ioe);
  70.196 -                    }
  70.197 -                }
  70.198 -            }
  70.199 -        });
  70.200 -    }
  70.201 -
  70.202 -    /**
  70.203 -     * Returns an AntProjectHelper. The helper may not be used for accessing/storing project metadata.
  70.204 -     * For project metadata manipulation the UpdateHelper must be used.
  70.205 -     * @return AntProjectHelper
  70.206 -     */
  70.207 -    public AntProjectHelper getAntProjectHelper () {
  70.208 -        return this.helper;
  70.209 -    }
  70.210 -
  70.211 -    /**
  70.212 -     * Request an saving of update. If the project is not of current version the user will be asked to update the project.
  70.213 -     * If the user agrees with an update the project is updated.
  70.214 -     * @return true if the metadata are of current version or updated
  70.215 -     */
  70.216 -    public boolean requestSave () throws IOException{
  70.217 -        if (isCurrent()) {
  70.218 -            return true;
  70.219 -        }
  70.220 -        if (!canUpdate()) {
  70.221 -            return false;
  70.222 -        }
  70.223 -        saveUpdate ();
  70.224 -        return true;
  70.225 -    }
  70.226 -
  70.227 -    /**
  70.228 -     * Returns true if the project is of current version.
  70.229 -     * @return true if the project is of current version, otherwise false.
  70.230 -     */
  70.231 -    public synchronized boolean isCurrent () {
  70.232 -        return true;
  70.233 -    }
  70.234 -
  70.235 -    private boolean canUpdate () {
  70.236 -        if (TRANSPARENT_UPDATE) {
  70.237 -            return true;
  70.238 -        }
  70.239 -        //Ask just once under a single write access
  70.240 -        if (alreadyAskedInWriteAccess) {
  70.241 -            return false;
  70.242 -        }
  70.243 -        else {
  70.244 -            boolean canUpdate = this.notifier.canUpdate();
  70.245 -            if (!canUpdate) {
  70.246 -                alreadyAskedInWriteAccess = true;
  70.247 -                ProjectManager.mutex().postReadRequest(new Runnable() {
  70.248 -                    public void run() {
  70.249 -                        alreadyAskedInWriteAccess = false;
  70.250 -                    }
  70.251 -                });
  70.252 -            }
  70.253 -            return canUpdate;
  70.254 -        }
  70.255 -    }
  70.256 -
  70.257 -    private void saveUpdate () throws IOException {
  70.258 -        this.helper.putPrimaryConfigurationData(getUpdatedSharedConfigurationData(),true);
  70.259 -////        this.cfg.removeConfigurationFragment("data","http://www.netbeans.org/ns/j2se-project/1",true); //NOI18N
  70.260 -////        this.cfg.removeConfigurationFragment("data","http://www.netbeans.org/ns/j2se-project/2",true); //NOI18N
  70.261 -        ProjectManager.getDefault().saveProject (this.project);
  70.262 -        synchronized(this) {
  70.263 -            this.isCurrent = Boolean.TRUE;
  70.264 -        }
  70.265 -    }
  70.266 -
  70.267 -    private synchronized Element getUpdatedSharedConfigurationData () {
  70.268 -        if (cachedElement == null) {
  70.269 -            Element  oldRoot = this.cfg.getConfigurationFragment("data","http://www.netbeans.org/ns/j2se-project/1",true);    // NOI18N
  70.270 -            if (oldRoot != null) {
  70.271 -                Document doc = oldRoot.getOwnerDocument();
  70.272 -                Element newRoot = doc.createElementNS (BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,"data"); // NOI18N
  70.273 -                copyDocument (doc, oldRoot, newRoot);
  70.274 -                Element sourceRoots = doc.createElementNS(BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,"source-roots");  // NOI18N
  70.275 -                Element root = doc.createElementNS (BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,"root");   // NOI18N
  70.276 -                root.setAttribute ("id","src.dir");   // NOI18N
  70.277 -                sourceRoots.appendChild(root);
  70.278 -                newRoot.appendChild (sourceRoots);
  70.279 -                Element testRoots = doc.createElementNS(BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,"test-roots");  // NOI18N
  70.280 -                root = doc.createElementNS (BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,"root");   // NOI18N
  70.281 -                root.setAttribute ("id","test.src.dir");   // NOI18N
  70.282 -                testRoots.appendChild (root);
  70.283 -                newRoot.appendChild (testRoots);                
  70.284 -                cachedElement = updateMinAntVersion (newRoot, doc);
  70.285 -            } else {
  70.286 -                oldRoot = this.cfg.getConfigurationFragment("data","http://www.netbeans.org/ns/j2se-project/2",true);    // NOI18N
  70.287 -                if (oldRoot != null) {
  70.288 -                    Document doc = oldRoot.getOwnerDocument();
  70.289 -                    Element newRoot = doc.createElementNS (BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,"data"); // NOI18N
  70.290 -                    copyDocument (doc, oldRoot, newRoot);
  70.291 -                    cachedElement = updateMinAntVersion (newRoot, doc);
  70.292 -                }
  70.293 -            }
  70.294 -        }
  70.295 -        return cachedElement;
  70.296 -    }
  70.297 -    
  70.298 -    private synchronized EditableProperties getUpdatedProjectProperties () {
  70.299 -        EditableProperties cachedProperties = this.helper.getProperties(AntProjectHelper.PROJECT_PROPERTIES_PATH);
  70.300 -        //The javadoc.additionalparam was not in NB 4.0
  70.301 -        if (cachedProperties.get (BluejProject.JAVADOC_ADDITIONALPARAM)==null) {
  70.302 -            cachedProperties.put (BluejProject.JAVADOC_ADDITIONALPARAM,"");    // NOI18N
  70.303 -        }
  70.304 -        if (cachedProperties.get ("build.generated.dir")==null) { // NOI18N
  70.305 -            cachedProperties.put ("build.generated.dir","${build.dir}/generated"); // NOI18N
  70.306 -        }
  70.307 -         if (cachedProperties.get ("meta.inf.dir")==null) { // NOI18N
  70.308 -            cachedProperties.put ("meta.inf.dir","${src.dir}/META-INF"); // NOI18N
  70.309 -        }
  70.310 -        return cachedProperties;
  70.311 -    }
  70.312 -
  70.313 -    private static void copyDocument (Document doc, Element from, Element to) {
  70.314 -        NodeList nl = from.getChildNodes();
  70.315 -        int length = nl.getLength();
  70.316 -        for (int i=0; i< length; i++) {
  70.317 -            Node node = nl.item (i);
  70.318 -            Node newNode = null;
  70.319 -            switch (node.getNodeType()) {
  70.320 -                case Node.ELEMENT_NODE:
  70.321 -                    Element oldElement = (Element) node;
  70.322 -                    newNode = doc.createElementNS(BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,oldElement.getTagName());
  70.323 -                    NamedNodeMap m = oldElement.getAttributes();
  70.324 -                    Element newElement = (Element) newNode;
  70.325 -                    for (int index = 0; index < m.getLength(); index++) {
  70.326 -                        Node attr = m.item(index);
  70.327 -                          newElement.setAttribute(attr.getNodeName(), attr.getNodeValue());
  70.328 -                    }
  70.329 -                    copyDocument(doc,oldElement,newElement);
  70.330 -                    break;
  70.331 -                case Node.TEXT_NODE:
  70.332 -                    Text oldText = (Text) node;
  70.333 -                    newNode = doc.createTextNode(oldText.getData());
  70.334 -                    break;
  70.335 -                case Node.COMMENT_NODE:
  70.336 -                    Comment oldComment = (Comment) node;
  70.337 -                    newNode = doc.createComment(oldComment.getData());
  70.338 -                    break;
  70.339 -            }
  70.340 -            if (newNode != null) {
  70.341 -                to.appendChild (newNode);
  70.342 -            }
  70.343 -        }
  70.344 -    }
  70.345 -
  70.346 -    static final String MINIMUM_ANT_VERSION = "1.6.5";  // NOI18N
  70.347 -    
  70.348 -    private static Element updateMinAntVersion (final Element root, final Document doc) {
  70.349 -        NodeList list = root.getElementsByTagNameNS (BluejProjectType.PROJECT_CONFIGURATION_NAMESPACE,MINIMUM_ANT_VERSION_ELEMENT);
  70.350 -        if (list.getLength() == 1) {
  70.351 -            Element me = (Element) list.item(0);
  70.352 -            list = me.getChildNodes();
  70.353 -            if (list.getLength() == 1) {
  70.354 -                me.replaceChild (doc.createTextNode(MINIMUM_ANT_VERSION), list.item(0));
  70.355 -                return root;
  70.356 -            }
  70.357 -        }
  70.358 -        assert false : "Invalid project file"; // NOI18N
  70.359 -        return root;
  70.360 -    }
  70.361 -
  70.362 -    /**
  70.363 -     * Creates an default Notifier. The default notifier displays a dialog warning user about project update.
  70.364 -     * @return notifier
  70.365 -     */
  70.366 -    public static Notifier createDefaultNotifier () {
  70.367 -        return new Notifier() {
  70.368 -            public boolean canUpdate() {
  70.369 -                JButton updateOption = new JButton (NbBundle.getMessage(UpdateHelper.class, "CTL_UpdateOption"));
  70.370 -                updateOption.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(UpdateHelper.class, "AD_UpdateOption"));
  70.371 -                return DialogDisplayer.getDefault().notify(
  70.372 -                    new NotifyDescriptor (NbBundle.getMessage(UpdateHelper.class,"TXT_ProjectUpdate", BUILD_NUMBER),
  70.373 -                        NbBundle.getMessage(UpdateHelper.class,"TXT_ProjectUpdateTitle"),
  70.374 -                        NotifyDescriptor.DEFAULT_OPTION,
  70.375 -                        NotifyDescriptor.WARNING_MESSAGE,
  70.376 -                        new Object[] {
  70.377 -                            updateOption,
  70.378 -                            NotifyDescriptor.CANCEL_OPTION
  70.379 -                        },
  70.380 -                        updateOption)) == updateOption;
  70.381 -            }
  70.382 -        };
  70.383 -    }
  70.384 -
  70.385 -    /**
  70.386 -     * Interface used by the UpdateHelper to ask user about
  70.387 -     * the project update.
  70.388 -     */
  70.389 -    public static interface Notifier {
  70.390 -        /**
  70.391 -         * Asks user to update the project
  70.392 -         * @return true if the project should be updated
  70.393 -         */
  70.394 -        public boolean canUpdate ();
  70.395 -    }
  70.396 -}
    71.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/ant/BluejAntLogger.java	Thu Jul 10 19:13:29 2008 +0800
    71.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    71.3 @@ -1,272 +0,0 @@
    71.4 -/*
    71.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    71.6 - *
    71.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    71.8 - *
    71.9 - * The contents of this file are subject to the terms of either the GNU
   71.10 - * General Public License Version 2 only ("GPL") or the Common
   71.11 - * Development and Distribution License("CDDL") (collectively, the
   71.12 - * "License"). You may not use this file except in compliance with the
   71.13 - * License. You can obtain a copy of the License at
   71.14 - * http://www.netbeans.org/cddl-gplv2.html
   71.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   71.16 - * specific language governing permissions and limitations under the
   71.17 - * License.  When distributing the software, include this License Header
   71.18 - * Notice in each file and include the License file at
   71.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   71.20 - * particular file as subject to the "Classpath" exception as provided
   71.21 - * by Sun in the GPL Version 2 section of the License file that
   71.22 - * accompanied this code. If applicable, add the following below the
   71.23 - * License Header, with the fields enclosed by brackets [] replaced by
   71.24 - * your own identifying information:
   71.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   71.26 - *
   71.27 - * Contributor(s):
   71.28 - *
   71.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   71.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   71.31 - * Microsystems, Inc. All Rights Reserved.
   71.32 - *
   71.33 - * If you wish your version of this file to be governed by only the CDDL
   71.34 - * or only the GPL Version 2, indicate your decision by adding
   71.35 - * "[Contributor] elects to include this software in this distribution
   71.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   71.37 - * single choice of license, a recipient has the option to distribute
   71.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   71.39 - * to extend the choice of license to its licensees as provided above.
   71.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   71.41 - * Version 2 license, then the option applies only if the new code is
   71.42 - * made subject to such option by the copyright holder.
   71.43 - */
   71.44 -
   71.45 -package org.netbeans.bluej.ant;
   71.46 -
   71.47 -import java.io.File;
   71.48 -import java.io.IOException;
   71.49 -import org.apache.tools.ant.module.spi.AntEvent;
   71.50 -import org.apache.tools.ant.module.spi.AntLogger;
   71.51 -import org.apache.tools.ant.module.spi.AntSession;
   71.52 -import org.netbeans.api.project.Project;
   71.53 -import org.netbeans.api.project.ProjectManager;
   71.54 -import org.netbeans.bluej.BluejProject;
   71.55 -import org.openide.filesystems.FileUtil;
   71.56 -
   71.57 -/**
   71.58 - *
   71.59 - * @author mkleint
   71.60 - */
   71.61 -public class BluejAntLogger extends AntLogger {
   71.62 -    
   71.63 -    /** Creates a new instance of BluejAntLogger */
   71.64 -    public BluejAntLogger() {
   71.65 -    }
   71.66 -
   71.67 -    /**
   71.68 -     * Mark which kinds of targets this logger is interested in.
   71.69 -     * This applies to both target start and finish events, as well as any other
   71.70 -     * events for which {@link AntEvent#getTargetName} is not null, such as task
   71.71 -     * start and finish events, and message log events.
   71.72 -     * If {@link #NO_TARGETS}, no events with specific targets will be sent to it.
   71.73 -     * If a specific list, only events with defined target names included in the list
   71.74 -     * will be sent to it.
   71.75 -     * If {@link #ALL_TARGETS}, all events not otherwise excluded will be sent to it.
   71.76 -     * 
   71.77 -     * @param session the relevant session
   71.78 -     * @return a nonempty (and non-null) list of target names; by default, {@link #NO_TARGETS}
   71.79 -     */
   71.80 -    public String[] interestedInTargets(AntSession session) {
   71.81 -        return AntLogger.ALL_TARGETS;
   71.82 -    }
   71.83 -
   71.84 -    /**
   71.85 -     * Mark whether this logger is interested in a given Ant session.
   71.86 -     * 
   71.87 -     * @param session a session which is about to be start
   71.88 -     * @return true to receive events about it; by default, false
   71.89 -     */
   71.90 -    public boolean interestedInSession(AntSession session) {
   71.91 -        return true;
   71.92 -    }
   71.93 -
   71.94 -    /**
   71.95 -     * Mark which kinds of message log events this logger is interested in.
   71.96 -     * This applies only to message log events and no others.
   71.97 -     * Only events with log levels included in the returned list will be delivered.
   71.98 -     * 
   71.99 -     * @param session the relevant session
  71.100 -     * @return a list of levels such as {@link AntEvent#LOG_INFO}; by default, an empty list
  71.101 -     * @see AntSession#getVerbosity
  71.102 -     */
  71.103 -    public int[] interestedInLogLevels(AntSession session) {
  71.104 -        int[] retValue;
  71.105 -        
  71.106 -        retValue = super.interestedInLogLevels(session);
  71.107 -        return retValue;
  71.108 -    }
  71.109 -
  71.110 -    /**
  71.111 -     * Mark whether this logger is interested in any Ant script.
  71.112 -     * If true, no events will be masked due to the script location.
  71.113 -     * Note that a few events have no defined script and so will only
  71.114 -     * be delivered to loggers interested in all scripts; typically this
  71.115 -     * applies to debugging messages when a project is just being configured.
  71.116 -     * 
  71.117 -     * @param session the relevant session
  71.118 -     * @return true to receive events for all scripts; by default, false
  71.119 -     */
  71.120 -    public boolean interestedInAllScripts(AntSession session) {
  71.121 -        return true;
  71.122 -    }
  71.123 -
  71.124 -    /**
  71.125 -     * Fired when a target is started.
  71.126 -     * It is <em>not</em> guaranteed that {@link AntEvent#getTargetName}
  71.127 -     * will be non-null (as can happen in some circumstances with
  71.128 -     * <code>&lt;import&gt;</code>, for example).
  71.129 -     * The default implementation does nothing.
  71.130 -     * 
  71.131 -     * @param event the associated event object
  71.132 -     */
  71.133 -    public void targetStarted(AntEvent event) {
  71.134 -        if (event.isConsumed()) {
  71.135 -            return;
  71.136 -        }
  71.137 -        event.consume();
  71.138 -        super.targetStarted(event);
  71.139 -    }
  71.140 -
  71.141 -    /**
  71.142 -     * Fired once when a build is started.
  71.143 -     * The default implementation does nothing.
  71.144 -     * 
  71.145 -     * @param event the associated event object
  71.146 -     */
  71.147 -    public void buildStarted(AntEvent event) {
  71.148 -        if (event.isConsumed()) {
  71.149 -            return;
  71.150 -        }
  71.151 -        super.buildStarted(event);
  71.152 -    }
  71.153 -
  71.154 -    /**
  71.155 -     * Fired when a target is finished.
  71.156 -     * It is <em>not</em> guaranteed that {@link AntEvent#getTargetName}
  71.157 -     * will be non-null.
  71.158 -     * The default implementation does nothing.
  71.159 -     * 
  71.160 -     * @param event the associated event object
  71.161 -     */
  71.162 -    public void targetFinished(AntEvent event) {
  71.163 -        if (event.isConsumed()) {
  71.164 -            return;
  71.165 -        }
  71.166 -        event.consume();
  71.167 -        super.targetFinished(event);
  71.168 -    }
  71.169 -
  71.170 -    /**
  71.171 -     * Fired once when a build is finished.
  71.172 -     * The default implementation does nothing.
  71.173 -     * 
  71.174 -     * @param event the associated event object
  71.175 -     * @see AntEvent#getException
  71.176 -     */
  71.177 -    public void buildFinished(AntEvent event) {
  71.178 -        if (event.isConsumed()) {
  71.179 -            return;
  71.180 -        }
  71.181 -        super.buildFinished(event);
  71.182 -    }
  71.183 -
  71.184 -    /**
  71.185 -     * Fired only if the build could not even be started.
  71.186 -     * {@link AntEvent#getException} will be non-null.
  71.187 -     * The default implementation does nothing.
  71.188 -     * 
  71.189 -     * @param event the associated event object
  71.190 -     */
  71.191 -    public void buildInitializationFailed(AntEvent event) {
  71.192 -        if (event.isConsumed()) {
  71.193 -            return;
  71.194 -        }
  71.195 -        super.buildInitializationFailed(event);
  71.196 -    }
  71.197 -
  71.198 -    /**
  71.199 -     * Fired when a message is logged.
  71.200 -     * The task and target fields may or may not be defined.
  71.201 -     * The default implementation does nothing.
  71.202 -     * 
  71.203 -     * @param event the associated event object
  71.204 -     */
  71.205 -    public void messageLogged(AntEvent event) {
  71.206 -        if (event.isConsumed()) {
  71.207 -            return;
  71.208 -        }
  71.209 -        super.messageLogged(event);
  71.210 -    }
  71.211 -
  71.212 -    /**
  71.213 -     * Fired when a task is started.
  71.214 -     * It is <em>not</em> guaranteed that {@link AntEvent#getTaskName} or
  71.215 -     * {@link AntEvent#getTaskStructure} will be non-null, though they will
  71.216 -     * usually be defined.
  71.217 -     * {@link AntEvent#getTargetName} might also be null.
  71.218 -     * The default implementation does nothing.
  71.219 -     * 
  71.220 -     * @param event the associated event object
  71.221 -     */
  71.222 -    public void taskStarted(AntEvent event) {
  71.223 -        if (event.isConsumed()) {
  71.224 -            return;
  71.225 -        }
  71.226 -        super.taskStarted(event);
  71.227 -    }
  71.228 -
  71.229 -    /**
  71.230 -     * Fired when a task is finished.
  71.231 -     * It is <em>not</em> guaranteed that {@link AntEvent#getTaskName} or
  71.232 -     * {@link AntEvent#getTaskStructure} will be non-null.
  71.233 -     * {@link AntEvent#getTargetName} might also be null.
  71.234 -     * The default implementation does nothing.
  71.235 -     * 
  71.236 -     * @param event the associated event object
  71.237 -     */
  71.238 -    public void taskFinished(AntEvent event) {
  71.239 -        if (event.isConsumed()) {
  71.240 -            return;
  71.241 -        }
  71.242 -        super.taskFinished(event);
  71.243 -    }
  71.244 -
  71.245 -    /**
  71.246 -     * Mark whether this logger is interested in a given Ant script.
  71.247 -     * Called only if {@link #interestedInAllScripts} is false.
  71.248 -     * Only events with a defined script according to {@link AntEvent#getScriptLocation}
  71.249 -     * which this logger is interested in will be delivered.
  71.250 -     * Note that a few events have no defined script and so will only
  71.251 -     * be delivered to loggers interested in all scripts; typically this
  71.252 -     * applies to debugging messages when a project is just being configured.
  71.253 -     * Note also that a single session can involve many different scripts.
  71.254 -     * 
  71.255 -     * @param script a particular build script
  71.256 -     * @param session the relevant session
  71.257 -     * @return true to receive events sent from this script; by default, false
  71.258 -     */
  71.259 -    public boolean interestedInScript(File script, AntSession session) {
  71.260 -        File folder = script.getParentFile();
  71.261 -        Project prj = null;
  71.262 -        try {
  71.263 -            prj = ProjectManager.getDefault().findProject(FileUtil.toFileObject(folder));
  71.264 -        } catch (IllegalArgumentException ex) {
  71.265 -            ex.printStackTrace();
  71.266 -        } catch (IOException ex) {
  71.267 -            ex.printStackTrace();
  71.268 -        }
  71.269 -        if (prj != null && prj.getLookup().lookup(BluejProject.class) != null) {
  71.270 -            return true;
  71.271 -        }
  71.272 -        return false;
  71.273 -    }
  71.274 -    
  71.275 -}
    72.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/api/BluejLogicalViewProvider.java	Thu Jul 10 19:13:29 2008 +0800
    72.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    72.3 @@ -1,52 +0,0 @@
    72.4 -/*
    72.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    72.6 - *
    72.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    72.8 - *
    72.9 - * The contents of this file are subject to the terms of either the GNU
   72.10 - * General Public License Version 2 only ("GPL") or the Common
   72.11 - * Development and Distribution License("CDDL") (collectively, the
   72.12 - * "License"). You may not use this file except in compliance with the
   72.13 - * License. You can obtain a copy of the License at
   72.14 - * http://www.netbeans.org/cddl-gplv2.html
   72.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   72.16 - * specific language governing permissions and limitations under the
   72.17 - * License.  When distributing the software, include this License Header
   72.18 - * Notice in each file and include the License file at
   72.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   72.20 - * particular file as subject to the "Classpath" exception as provided
   72.21 - * by Sun in the GPL Version 2 section of the License file that
   72.22 - * accompanied this code. If applicable, add the following below the
   72.23 - * License Header, with the fields enclosed by brackets [] replaced by
   72.24 - * your own identifying information:
   72.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   72.26 - *
   72.27 - * Contributor(s):
   72.28 - *
   72.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   72.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   72.31 - * Microsystems, Inc. All Rights Reserved.
   72.32 - *
   72.33 - * If you wish your version of this file to be governed by only the CDDL
   72.34 - * or only the GPL Version 2, indicate your decision by adding
   72.35 - * "[Contributor] elects to include this software in this distribution
   72.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   72.37 - * single choice of license, a recipient has the option to distribute
   72.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   72.39 - * to extend the choice of license to its licensees as provided above.
   72.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   72.41 - * Version 2 license, then the option applies only if the new code is
   72.42 - * made subject to such option by the copyright holder.
   72.43 - */
   72.44 -
   72.45 -package org.netbeans.bluej.api;
   72.46 -
   72.47 -import org.openide.nodes.Node;
   72.48 -
   72.49 -/**
   72.50 - *
   72.51 - * @author mkleint
   72.52 - */
   72.53 -public interface BluejLogicalViewProvider {
   72.54 -    Node getBigIconRootNode();
   72.55 -}
    73.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/api/BluejOpenCloseCallback.java	Thu Jul 10 19:13:29 2008 +0800
    73.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    73.3 @@ -1,53 +0,0 @@
    73.4 -/*
    73.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    73.6 - *
    73.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    73.8 - *
    73.9 - * The contents of this file are subject to the terms of either the GNU
   73.10 - * General Public License Version 2 only ("GPL") or the Common
   73.11 - * Development and Distribution License("CDDL") (collectively, the
   73.12 - * "License"). You may not use this file except in compliance with the
   73.13 - * License. You can obtain a copy of the License at
   73.14 - * http://www.netbeans.org/cddl-gplv2.html
   73.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   73.16 - * specific language governing permissions and limitations under the
   73.17 - * License.  When distributing the software, include this License Header
   73.18 - * Notice in each file and include the License file at
   73.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   73.20 - * particular file as subject to the "Classpath" exception as provided
   73.21 - * by Sun in the GPL Version 2 section of the License file that
   73.22 - * accompanied this code. If applicable, add the following below the
   73.23 - * License Header, with the fields enclosed by brackets [] replaced by
   73.24 - * your own identifying information:
   73.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   73.26 - *
   73.27 - * Contributor(s):
   73.28 - *
   73.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   73.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   73.31 - * Microsystems, Inc. All Rights Reserved.
   73.32 - *
   73.33 - * If you wish your version of this file to be governed by only the CDDL
   73.34 - * or only the GPL Version 2, indicate your decision by adding
   73.35 - * "[Contributor] elects to include this software in this distribution
   73.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   73.37 - * single choice of license, a recipient has the option to distribute
   73.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   73.39 - * to extend the choice of license to its licensees as provided above.
   73.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   73.41 - * Version 2 license, then the option applies only if the new code is
   73.42 - * made subject to such option by the copyright holder.
   73.43 - */
   73.44 -
   73.45 -package org.netbeans.bluej.api;
   73.46 -
   73.47 -import org.netbeans.api.project.Project;
   73.48 -
   73.49 -/**
   73.50 - *
   73.51 - * @author mkleint
   73.52 - */
   73.53 -public interface BluejOpenCloseCallback {
   73.54 -    void projectOpened(Project project);
   73.55 -    void projectClosed(Project project);
   73.56 -}
    74.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/bluej-helpset.xml	Thu Jul 10 19:13:29 2008 +0800
    74.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    74.3 @@ -1,3 +0,0 @@
    74.4 -<?xml version="1.0" encoding="UTF-8"?>
    74.5 -<!DOCTYPE helpsetref PUBLIC "-//NetBeans//DTD JavaHelp Help Set Reference 1.0//EN" "http://www.netbeans.org/dtds/helpsetref-1_0.dtd">
    74.6 -<helpsetref url="nbdocs:/org/netbeans/bluej/docs/bluej-hs.xml"/>
    75.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/classpath/CPImpl.java	Thu Jul 10 19:13:29 2008 +0800
    75.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    75.3 @@ -1,170 +0,0 @@
    75.4 -/*
    75.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    75.6 - *
    75.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    75.8 - *
    75.9 - * The contents of this file are subject to the terms of either the GNU
   75.10 - * General Public License Version 2 only ("GPL") or the Common
   75.11 - * Development and Distribution License("CDDL") (collectively, the
   75.12 - * "License"). You may not use this file except in compliance with the
   75.13 - * License. You can obtain a copy of the License at
   75.14 - * http://www.netbeans.org/cddl-gplv2.html
   75.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   75.16 - * specific language governing permissions and limitations under the
   75.17 - * License.  When distributing the software, include this License Header
   75.18 - * Notice in each file and include the License file at
   75.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   75.20 - * particular file as subject to the "Classpath" exception as provided
   75.21 - * by Sun in the GPL Version 2 section of the License file that
   75.22 - * accompanied this code. If applicable, add the following below the
   75.23 - * License Header, with the fields enclosed by brackets [] replaced by
   75.24 - * your own identifying information:
   75.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   75.26 - *
   75.27 - * Contributor(s):
   75.28 - *
   75.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   75.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   75.31 - * Microsystems, Inc. All Rights Reserved.
   75.32 - *
   75.33 - * If you wish your version of this file to be governed by only the CDDL
   75.34 - * or only the GPL Version 2, indicate your decision by adding
   75.35 - * "[Contributor] elects to include this software in this distribution
   75.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   75.37 - * single choice of license, a recipient has the option to distribute
   75.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   75.39 - * to extend the choice of license to its licensees as provided above.
   75.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   75.41 - * Version 2 license, then the option applies only if the new code is
   75.42 - * made subject to such option by the copyright holder.
   75.43 - */
   75.44 -
   75.45 -package org.netbeans.bluej.classpath;
   75.46 -
   75.47 -import java.beans.PropertyChangeEvent;
   75.48 -import java.beans.PropertyChangeListener;
   75.49 -import java.io.File;
   75.50 -import java.util.ArrayList;
   75.51 -import java.util.Iterator;
   75.52 -import java.util.List;
   75.53 -import java.util.StringTokenizer;
   75.54 -import org.netbeans.bluej.BluejProject;
   75.55 -import org.netbeans.bluej.options.BlueJSettings;
   75.56 -import org.netbeans.spi.java.classpath.ClassPathImplementation;
   75.57 -import org.netbeans.spi.java.classpath.support.ClassPathSupport;
   75.58 -import org.openide.filesystems.FileChangeAdapter;
   75.59 -import org.openide.filesystems.FileChangeListener;
   75.60 -import org.openide.filesystems.FileEvent;
   75.61 -import org.openide.filesystems.FileObject;
   75.62 -import org.openide.filesystems.FileRenameEvent;
   75.63 -import org.openide.filesystems.FileUtil;
   75.64 -import org.openide.filesystems.URLMapper;
   75.65 -import org.openide.util.WeakListeners;
   75.66 -
   75.67 -/**
   75.68 - *
   75.69 - * @author mkleint
   75.70 - */
   75.71 -public class CPImpl implements ClassPathImplementation {
   75.72 -    
   75.73 -    private List resources = null;
   75.74 -    private List listeners = new ArrayList();
   75.75 -
   75.76 -    private BluejProject project;
   75.77 -    private FileObject userLib;
   75.78 -    private PropertyChangeListener settingsListener = new PropertyChangeListener() {
   75.79 -        public void propertyChange(PropertyChangeEvent arg0) {
   75.80 -            fireChange();
   75.81 -        }
   75.82 -    };
   75.83 -    
   75.84 -    private FileChangeListener fileListener = new FileChangeAdapter() {
   75.85 -        public void fileDataCreated(FileEvent arg0) {
   75.86 -            fireChange();
   75.87 -        }
   75.88 -
   75.89 -        public void fileDeleted(FileEvent arg0) {
   75.90 -            fireChange();
   75.91 -        }
   75.92 -
   75.93 -        public void fileRenamed(FileRenameEvent arg0) {
   75.94 -            fireChange();
   75.95 -        }
   75.96 -    };
   75.97 -    /** Creates a new instance of CPImpl */
   75.98 -    public CPImpl(BluejProject prj) {
   75.99 -        project = prj;
  75.100 -        BlueJSettings.getDefault().addPropertyChangeListener(
  75.101 -                WeakListeners.propertyChange(settingsListener, BlueJSettings.getDefault()));
  75.102 -    }
  75.103 -
  75.104 -    public synchronized List getResources() {
  75.105 -        if (resources == null) {
  75.106 -            resources = new ArrayList();
  75.107 -            FileObject libs = project.getProjectDirectory().getFileObject("+libs");  // NOI18N
  75.108 -            if (libs != null) {
  75.109 -                FileObject[] fos = libs.getChildren();
  75.110 -                for (int i = 0; i < fos.length; i++) {
  75.111 -                    if (FileUtil.isArchiveFile(fos[i])) {
  75.112 -                        resources.add(ClassPathSupport.createResource(URLMapper.findURL(FileUtil.getArchiveRoot(fos[i]), URLMapper.INTERNAL)));
  75.113 -                    }
  75.114 -                }
  75.115 -            }
  75.116 -            File home = BlueJSettings.getDefault().getHome();
  75.117 -            if (home != null) {
  75.118 -                FileObject fo = FileUtil.toFileObject(BluejProject.getUserLibPath(home));
  75.119 -                if (fo != null) {
  75.120 -                    FileObject[] fos = fo.getChildren();
  75.121 -                    for (int i = 0; i < fos.length; i++) {
  75.122 -                        if (FileUtil.isArchiveFile(fos[i])) {
  75.123 -                            resources.add(ClassPathSupport.createResource(URLMapper.findURL(FileUtil.getArchiveRoot(fos[i]), URLMapper.INTERNAL)));
  75.124 -                        }
  75.125 -                    }
  75.126 -                } 
  75.127 -                if (userLib != null && !userLib.equals(fo)) {
  75.128 -                    //remove
  75.129 -                    userLib.removeFileChangeListener(fileListener);
  75.130 -                }
  75.131 -                userLib = fo;
  75.132 -                //add
  75.133 -                userLib.addFileChangeListener(fileListener);
  75.134 -            } else if (userLib != null) {
  75.135 -                //remove listener
  75.136 -                userLib.removeFileChangeListener(fileListener);
  75.137 -                userLib = null;
  75.138 -            }
  75.139 -            String userPath = BlueJSettings.getDefault().getUserLibrariesAsClassPath();
  75.140 -            if (userPath.length() > 0) {
  75.141 -                StringTokenizer tokens = new StringTokenizer(userPath, ":", false);  // NOI18N
  75.142 -                while (tokens.hasMoreTokens()) {
  75.143 -                    File fil = new File(tokens.nextToken());
  75.144 -                    FileObject fo = FileUtil.toFileObject(fil);
  75.145 -                    if (fo != null && FileUtil.isArchiveFile(fo)) {
  75.146 -                        resources.add(ClassPathSupport.createResource(URLMapper.findURL(FileUtil.getArchiveRoot(fo), URLMapper.INTERNAL)));
  75.147 -                    }
  75.148 -                }
  75.149 -            }
  75.150 -        }
  75.151 -        return resources;
  75.152 -    }
  75.153 -
  75.154 -    public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {
  75.155 -        listeners.add(listener);
  75.156 -    }
  75.157 -
  75.158 -    public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {
  75.159 -        listeners.remove(listener);
  75.160 -    }
  75.161 -    
  75.162 -    public synchronized void fireChange() {
  75.163 -        resources = null;
  75.164 -        List lst = new ArrayList();
  75.165 -        lst.addAll(listeners);
  75.166 -        Iterator it = lst.iterator();
  75.167 -        PropertyChangeEvent evnt = new PropertyChangeEvent(this, ClassPathImplementation.PROP_RESOURCES, null, null);
  75.168 -        while (it.hasNext()) {
  75.169 -            PropertyChangeListener listener = (PropertyChangeListener)it.next();
  75.170 -            listener.propertyChange(evnt);
  75.171 -        }
  75.172 -    }
  75.173 -}
    76.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/classpath/ClassPathProviderImpl.java	Thu Jul 10 19:13:29 2008 +0800
    76.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    76.3 @@ -1,157 +0,0 @@
    76.4 -/*
    76.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    76.6 - *
    76.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    76.8 - *
    76.9 - * The contents of this file are subject to the terms of either the GNU
   76.10 - * General Public License Version 2 only ("GPL") or the Common
   76.11 - * Development and Distribution License("CDDL") (collectively, the
   76.12 - * "License"). You may not use this file except in compliance with the
   76.13 - * License. You can obtain a copy of the License at
   76.14 - * http://www.netbeans.org/cddl-gplv2.html
   76.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   76.16 - * specific language governing permissions and limitations under the
   76.17 - * License.  When distributing the software, include this License Header
   76.18 - * Notice in each file and include the License file at
   76.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   76.20 - * particular file as subject to the "Classpath" exception as provided
   76.21 - * by Sun in the GPL Version 2 section of the License file that
   76.22 - * accompanied this code. If applicable, add the following below the
   76.23 - * License Header, with the fields enclosed by brackets [] replaced by
   76.24 - * your own identifying information:
   76.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   76.26 - *
   76.27 - * Contributor(s):
   76.28 - *
   76.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   76.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   76.31 - * Microsystems, Inc. All Rights Reserved.
   76.32 - *
   76.33 - * If you wish your version of this file to be governed by only the CDDL
   76.34 - * or only the GPL Version 2, indicate your decision by adding
   76.35 - * "[Contributor] elects to include this software in this distribution
   76.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   76.37 - * single choice of license, a recipient has the option to distribute
   76.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   76.39 - * to extend the choice of license to its licensees as provided above.
   76.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   76.41 - * Version 2 license, then the option applies only if the new code is
   76.42 - * made subject to such option by the copyright holder.
   76.43 - */
   76.44 -
   76.45 -package org.netbeans.bluej.classpath;
   76.46 -
   76.47 -import java.io.File;
   76.48 -import java.util.ArrayList;
   76.49 -import java.util.Collection;
   76.50 -import java.util.List;
   76.51 -import java.util.StringTokenizer;
   76.52 -import org.netbeans.api.java.classpath.ClassPath;
   76.53 -import org.netbeans.api.java.platform.JavaPlatformManager;
   76.54 -import org.netbeans.bluej.BluejProject;
   76.55 -import org.netbeans.bluej.options.BlueJSettings;
   76.56 -import org.netbeans.spi.java.classpath.ClassPathFactory;
   76.57 -import org.netbeans.spi.java.classpath.ClassPathImplementation;
   76.58 -import org.netbeans.spi.java.classpath.ClassPathProvider;
   76.59 -import org.netbeans.spi.java.classpath.support.ClassPathSupport;
   76.60 -import org.netbeans.spi.java.project.classpath.support.ProjectClassPathSupport;
   76.61 -import org.openide.filesystems.FileObject;
   76.62 -import org.openide.filesystems.FileUtil;
   76.63 -
   76.64 -/**
   76.65 - *
   76.66 - * @author mkleint
   76.67 - */
   76.68 -public class ClassPathProviderImpl implements ClassPathProvider {
   76.69 -
   76.70 -    private BluejProject project;
   76.71 -    
   76.72 -    private ClassPath boot;
   76.73 -    private ClassPath source;
   76.74 -    private ClassPath compile;
   76.75 -    private ClassPath[] boots;
   76.76 -    private ClassPath[] sources;
   76.77 -    private ClassPath[] compiles;
   76.78 -    
   76.79 -    private CPImpl cpimpl;
   76.80 -    
   76.81 -    
   76.82 -    /** Creates a new instance of ClassPathProviderImpl */
   76.83 -    public ClassPathProviderImpl(BluejProject prj) {
   76.84 -        project = prj;
   76.85 -    }
   76.86 -    
   76.87 -    public CPImpl getBluejCPImpl() {
   76.88 -        return cpimpl;
   76.89 -    }
   76.90 -
   76.91 -    public ClassPath findClassPath(FileObject file, String type) {
   76.92 -        if (type.equals(ClassPath.COMPILE)) {
   76.93 -            return getCompileTimeClasspath(file);
   76.94 -        } else if (type.equals(ClassPath.EXECUTE)) {
   76.95 -            return getRunTimeClasspath(file);
   76.96 -        } else if (type.equals(ClassPath.SOURCE)) {
   76.97 -            return getSourcepath(file);
   76.98 -        } else if (type.equals(ClassPath.BOOT)) {
   76.99 -            return getBootClassPath();
  76.100 -        } else {
  76.101 -            return null;
  76.102 -        }
  76.103 -    }
  76.104 -
  76.105 -    private ClassPath getBootClassPath() {
  76.106 -        if (boot == null) {
  76.107 -            boot = JavaPlatformManager.getDefault().getDefaultPlatform().getBootstrapLibraries();
  76.108 -        }
  76.109 -        return boot;
  76.110 -    }
  76.111 -
  76.112 -    private ClassPath getSourcepath(FileObject file) { //NOPMD we don't care about the file passed in.. always the project dir is root
  76.113 -        if (source == null) {
  76.114 -            source = ClassPathSupport.createClassPath(new FileObject[] { project.getProjectDirectory() });
  76.115 -        }
  76.116 -        return source;
  76.117 -    }
  76.118 -
  76.119 -    private ClassPath getRunTimeClasspath(FileObject file) { //NOPMD we don't care about the file passed in.. always the project dir is root
  76.120 -        return null;
  76.121 -    }
  76.122 -
  76.123 -    private ClassPath getCompileTimeClasspath(FileObject file) { //NOPMD we don't care about the file passed in.. always the project dir is root
  76.124 -        if (compile == null) {
  76.125 -            // do we need ant cp as it is?
  76.126 -                ClassPath antcp = ClassPathFactory.createClassPath(
  76.127 -                    ProjectClassPathSupport.createPropertyBasedClassPathImplementation(
  76.128 -                    FileUtil.toFile(project.getProjectDirectory()), project.getAntProjectHelper().getStandardPropertyEvaluator(), 
  76.129 -                new String[] {"javac.classpath"}));  // NOI18N
  76.130 -            cpimpl = new CPImpl(project);
  76.131 -            ClassPath bluejcp = ClassPathFactory.createClassPath(cpimpl);
  76.132 -            compile = ClassPathSupport.createProxyClassPath( new ClassPath[] {antcp, bluejcp} );
  76.133 -        } 
  76.134 -        return compile;
  76.135 -    }
  76.136 -    
  76.137 -    public ClassPath[] getCompileTimeClasspath() {
  76.138 -        if (compiles == null) {
  76.139 -            compiles = new ClassPath[] { getCompileTimeClasspath(project.getProjectDirectory()),
  76.140 -                                         //make source path, becuase it's equal with the built output path..
  76.141 -                                         ClassPathSupport.createClassPath(new FileObject[] { project.getProjectDirectory() })};
  76.142 -        }
  76.143 -        return compiles;
  76.144 -    }
  76.145 -    
  76.146 -    public ClassPath[] getSourcePath() {
  76.147 -        if (sources == null) {
  76.148 -            sources = new ClassPath[] { getSourcepath(project.getProjectDirectory()) };
  76.149 -        }
  76.150 -        return sources;
  76.151 -    }
  76.152 -    
  76.153 -    public ClassPath[] getBootPath() {
  76.154 -        if (boots == null) {
  76.155 -            boots = new ClassPath[] { getBootClassPath() };
  76.156 -        }
  76.157 -        return boots;
  76.158 -    }
  76.159 -    
  76.160 -}
    77.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/export/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    77.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    77.3 @@ -1,21 +0,0 @@
    77.4 -CTL_ConvertToJ2SEAction=Convert to Java SE project
    77.5 -
    77.6 -TITLE_Convert=Convert to NetBeans Java SE Project
    77.7 -
    77.8 -Progress_Display=Converting to Java SE Project
    77.9 -
   77.10 -LBL_Warning=Specify the BlueJ project to convert.
   77.11 -
   77.12 -LBL_Source=Project To Convert \:
   77.13 -
   77.14 -LBL_Folder=Destination Folder \:
   77.15 -
   77.16 -LBL_Warning2=Note\: This will convert the specified BlueJ project to a NetBeans project with split classes and tests.
   77.17 -
   77.18 -BTN_Folder=Browse...
   77.19 -
   77.20 -ERROR_noFolder=Please specify a folder to export to.
   77.21 -
   77.22 -ERROR_WrongFolder=Please select empty or non-existing directory.
   77.23 -
   77.24 -TIT_ExportPanel=Convert Project
   77.25 \ No newline at end of file
    78.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/export/ConvertToJ2SEAction.java	Thu Jul 10 19:13:29 2008 +0800
    78.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    78.3 @@ -1,289 +0,0 @@
    78.4 -/*
    78.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    78.6 - *
    78.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    78.8 - *
    78.9 - * The contents of this file are subject to the terms of either the GNU
   78.10 - * General Public License Version 2 only ("GPL") or the Common
   78.11 - * Development and Distribution License("CDDL") (collectively, the
   78.12 - * "License"). You may not use this file except in compliance with the
   78.13 - * License. You can obtain a copy of the License at
   78.14 - * http://www.netbeans.org/cddl-gplv2.html
   78.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   78.16 - * specific language governing permissions and limitations under the
   78.17 - * License.  When distributing the software, include this License Header
   78.18 - * Notice in each file and include the License file at
   78.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   78.20 - * particular file as subject to the "Classpath" exception as provided
   78.21 - * by Sun in the GPL Version 2 section of the License file that
   78.22 - * accompanied this code. If applicable, add the following below the
   78.23 - * License Header, with the fields enclosed by brackets [] replaced by
   78.24 - * your own identifying information:
   78.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   78.26 - *
   78.27 - * Contributor(s):
   78.28 - *
   78.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   78.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   78.31 - * Microsystems, Inc. All Rights Reserved.
   78.32 - *
   78.33 - * If you wish your version of this file to be governed by only the CDDL
   78.34 - * or only the GPL Version 2, indicate your decision by adding
   78.35 - * "[Contributor] elects to include this software in this distribution
   78.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   78.37 - * single choice of license, a recipient has the option to distribute
   78.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   78.39 - * to extend the choice of license to its licensees as provided above.
   78.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   78.41 - * Version 2 license, then the option applies only if the new code is
   78.42 - * made subject to such option by the copyright holder.
   78.43 - */
   78.44 -package org.netbeans.bluej.export;
   78.45 -
   78.46 -import java.awt.Component;
   78.47 -import java.awt.Dialog;
   78.48 -import java.awt.event.ActionEvent;
   78.49 -import java.io.File;
   78.50 -import java.io.IOException;
   78.51 -import java.io.InputStream;
   78.52 -import java.io.OutputStream;
   78.53 -import java.lang.reflect.InvocationTargetException;
   78.54 -import java.lang.reflect.Method;
   78.55 -import java.net.URL;
   78.56 -import java.text.MessageFormat;
   78.57 -import java.util.Iterator;
   78.58 -import javax.swing.AbstractAction;
   78.59 -import javax.swing.JComponent;
   78.60 -import javax.swing.SwingUtilities;
   78.61 -import org.netbeans.api.java.classpath.ClassPath;
   78.62 -import org.netbeans.api.progress.ProgressHandle;
   78.63 -import org.netbeans.api.progress.ProgressHandleFactory;
   78.64 -import org.netbeans.api.project.Project;
   78.65 -import org.netbeans.api.project.ProjectInformation;
   78.66 -import org.netbeans.api.project.ProjectManager;
   78.67 -import org.netbeans.api.project.ui.OpenProjects;
   78.68 -import org.netbeans.bluej.BluejProject;
   78.69 -import org.netbeans.bluej.UpdateHelper;
   78.70 -import org.netbeans.spi.java.project.classpath.ProjectClassPathExtender;
   78.71 -import org.netbeans.spi.project.support.ant.AntProjectHelper;
   78.72 -import org.netbeans.spi.project.support.ant.EditableProperties;
   78.73 -import org.openide.DialogDisplayer;
   78.74 -import org.openide.WizardDescriptor;
   78.75 -import org.openide.filesystems.FileLock;
   78.76 -import org.openide.filesystems.FileObject;
   78.77 -import org.openide.filesystems.FileUtil;
   78.78 -import org.openide.filesystems.URLMapper;
   78.79 -import org.openide.util.Lookup;
   78.80 -import org.openide.util.NbBundle;
   78.81 -import org.openide.util.RequestProcessor;
   78.82 -import org.openide.windows.TopComponent;
   78.83 -import org.openide.windows.WindowManager;
   78.84 -
   78.85 -public final class ConvertToJ2SEAction extends AbstractAction {
   78.86 -    
   78.87 -    private BluejProject project;
   78.88 -    private WizardDescriptor.Panel[] panels;
   78.89 -    
   78.90 -    public ConvertToJ2SEAction(BluejProject project) {
   78.91 -        putValue(NAME, getName());
   78.92 -        this.project = project;
   78.93 -    }
   78.94 -    
   78.95 -    public void actionPerformed(ActionEvent e) {
   78.96 -        
   78.97 -        final WizardDescriptor wizardDescriptor = new WizardDescriptor(getPanels());
   78.98 -        // {0} will be replaced by WizardDesriptor.Panel.getComponent().getName()
   78.99 -        wizardDescriptor.setTitleFormat(new MessageFormat("{0}"));   // NOI18N
  78.100 -        wizardDescriptor.setTitle(org.openide.util.NbBundle.getMessage(ConvertToJ2SEAction.class, "TITLE_Convert"));
  78.101 -        Dialog dialog = DialogDisplayer.getDefault().createDialog(wizardDescriptor);
  78.102 -        dialog.setVisible(true);
  78.103 -        dialog.toFront();
  78.104 -        boolean cancelled = wizardDescriptor.getValue() != WizardDescriptor.FINISH_OPTION;
  78.105 -        if (!cancelled) {
  78.106 -                final ProgressHandle handle = ProgressHandleFactory.createHandle(org.openide.util.NbBundle.getMessage(ConvertToJ2SEAction.class, "Progress_Display"));
  78.107 -                handle.start(10);
  78.108 -                RequestProcessor.getDefault().post(new Runnable() {
  78.109 -                    public void run() {
  78.110 -                        try {
  78.111 -                            doExport((File)wizardDescriptor.getProperty("NewProjectLocation"), handle);   // NOI18N
  78.112 -                        } catch (ClassNotFoundException ex) {
  78.113 -                            ex.printStackTrace();
  78.114 -                        } catch (InvocationTargetException ex) {
  78.115 -                            ex.printStackTrace();
  78.116 -                        } catch (IOException ex) {
  78.117 -                            ex.printStackTrace();
  78.118 -                        } catch (NoSuchMethodException ex) {
  78.119 -                            ex.printStackTrace();
  78.120 -                        } catch (IllegalAccessException ex) {
  78.121 -                            ex.printStackTrace();
  78.122 -                        }
  78.123 -                    }
  78.124 -                });
  78.125 -        }
  78.126 -    }
  78.127 -    
  78.128 -    
  78.129 -    /**
  78.130 -     * Initialize panels representing individual wizard's steps and sets
  78.131 -     * various properties for them influencing wizard appearance.
  78.132 -     */
  78.133 -    private WizardDescriptor.Panel[] getPanels() {
  78.134 -        if (panels == null) {
  78.135 -            panels = new WizardDescriptor.Panel[] {
  78.136 -                new ExportWizardPanel1(project.getProjectDirectory())
  78.137 -            };
  78.138 -            String[] steps = new String[panels.length];
  78.139 -            for (int i = 0; i < panels.length; i++) {
  78.140 -                Component c = panels[i].getComponent();
  78.141 -                // Default step name to component name of panel. Mainly useful
  78.142 -                // for getting the name of the target chooser to appear in the
  78.143 -                // list of steps.
  78.144 -                steps[i] = c.getName();
  78.145 -                if (c instanceof JComponent) { // assume Swing components
  78.146 -                    JComponent jc = (JComponent) c;
  78.147 -                    // Sets step number of a component
  78.148 -                    jc.putClientProperty("WizardPanel_contentSelectedIndex", new Integer(i));  // NOI18N
  78.149 -                    // Sets steps names for a panel
  78.150 -                    jc.putClientProperty("WizardPanel_contentData", steps);  // NOI18N
  78.151 -                    // Turn on subtitle creation on each step
  78.152 -                    jc.putClientProperty("WizardPanel_autoWizardStyle", Boolean.TRUE);  // NOI18N
  78.153 -                    // Show steps on the left side with the image on the background
  78.154 -                    jc.putClientProperty("WizardPanel_contentDisplayed", Boolean.TRUE);  // NOI18N
  78.155 -                    // Turn on numbering of all steps
  78.156 -                    jc.putClientProperty("WizardPanel_contentNumbered", Boolean.TRUE);  // NOI18N
  78.157 -                }
  78.158 -            }
  78.159 -        }
  78.160 -        return panels;
  78.161 -    }    
  78.162 -    
  78.163 -    public String getName() {
  78.164 -        return NbBundle.getMessage(ConvertToJ2SEAction.class, "CTL_ConvertToJ2SEAction");  // NOI18N
  78.165 -    }
  78.166 -    
  78.167 -    
  78.168 -    /**
  78.169 -     * lets assume the file is directory and it's empty or not existing..
  78.170 -     */
  78.171 -    private void doExport(File file, ProgressHandle handle) throws IOException, ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
  78.172 -        if (!file.exists()) {
  78.173 -            file.mkdirs();
  78.174 -        }
  78.175 -        handle.progress(1);
  78.176 -        ProjectInformation info = (ProjectInformation)project.getLookup().lookup(ProjectInformation.class);
  78.177 -        ClassLoader loader = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class);
  78.178 -        Class j2seclazz = loader.loadClass("org.netbeans.modules.java.j2seproject.J2SEProjectGenerator");  // NOI18N
  78.179 -        Method createMethod = j2seclazz.getMethod("createProject", new Class[] {  // NOI18N
  78.180 -            File.class, String.class, String.class, String.class, String.class
  78.181 -        });
  78.182 -        createMethod.invoke(null, new Object[] {
  78.183 -            file, info.getName(), null, null, null
  78.184 -        });
  78.185 -        handle.progress(5);
  78.186 -        
  78.187 -        
  78.188 -        FileObject root = FileUtil.toFileObject(file);
  78.189 -        Project j2seproject = ProjectManager.getDefault().findProject(root);
  78.190 -//        ProjectManager.getDefault().saveProject(j2seproject);
  78.191 -        FileObject originRoot = project.getProjectDirectory();
  78.192 -        FileObject targetTestRoot = root.getFileObject("test");  // NOI18N
  78.193 -        FileObject targetSrcRoot = root.getFileObject("src");  // NOI18N
  78.194 -        splitSources(originRoot, targetSrcRoot, targetTestRoot);
  78.195 -        handle.progress(7);
  78.196 -        ClassPath path = ClassPath.getClassPath(project.getProjectDirectory(), ClassPath.COMPILE);
  78.197 -        ProjectClassPathExtender extender = (ProjectClassPathExtender)j2seproject.getLookup().lookup(ProjectClassPathExtender.class);
  78.198 -        Iterator it = path.entries().iterator();
  78.199 -        FileObject libsFolder = root.getFileObject("libs");  // NOI18N
  78.200 -        if (it.hasNext() && libsFolder == null) {
  78.201 -            libsFolder = root.createFolder("libs");  // NOI18N
  78.202 -        }
  78.203 -        while (it.hasNext()) {
  78.204 -            ClassPath.Entry entry = (ClassPath.Entry) it.next();
  78.205 -            URL url = FileUtil.getArchiveFile(entry.getURL());
  78.206 -            FileObject fo = URLMapper.findFileObject(url);
  78.207 -            if (fo != null) {
  78.208 -                if (fo.getName().indexOf("junit") == -1) {  // NOI18N
  78.209 -                    // we don't want to copy junit..
  78.210 -                    FileObject createdOne = FileUtil.copyFile(fo, libsFolder, fo.getName());
  78.211 -                    extender.addArchiveFile(createdOne);
  78.212 -                }
  78.213 -            }
  78.214 -        }
  78.215 -        // if main class selected, add the main.class property to prop file.
  78.216 -        UpdateHelper updateHelper = project.getUpdateHelper();
  78.217 -        EditableProperties ep = updateHelper.getProperties (AntProjectHelper.PROJECT_PROPERTIES_PATH);
  78.218 -        String mainClass = (String)ep.get ("main.class"); // NOI18N
  78.219 -        
  78.220 -        if (mainClass != null) {
  78.221 -            FileObject fo = j2seproject.getProjectDirectory().getFileObject(AntProjectHelper.PROJECT_PROPERTIES_PATH);
  78.222 -            EditableProperties eds = new EditableProperties();
  78.223 -            InputStream instr = null;
  78.224 -            OutputStream outstr = null;
  78.225 -            FileLock lock = null;
  78.226 -            try {
  78.227 -                instr = fo.getInputStream();
  78.228 -                eds.load(instr);
  78.229 -                instr.close();
  78.230 -                instr = null;
  78.231 -                eds.setProperty("main.class", mainClass);
  78.232 -                if (ep.getProperty("application.args") != null) {
  78.233 -                    eds.setProperty("application.args", ep.getProperty("application.args"));
  78.234 -                }
  78.235 -                if (ep.getProperty("work.dir") != null) {
  78.236 -                    eds.setProperty("work.dir", ep.getProperty("work.dir"));
  78.237 -                }
  78.238 -                if (ep.getProperty("run.jvmargs") != null) {
  78.239 -                    eds.setProperty("run.jvmargs", ep.getProperty("run.jvmargs"));
  78.240 -                }
  78.241 -                lock = fo.lock();
  78.242 -                outstr = fo.getOutputStream(lock);
  78.243 -                eds.store(outstr);
  78.244 -            } catch (IOException ex) {
  78.245 -                
  78.246 -            } finally {
  78.247 -                if (instr != null) {
  78.248 -                    instr.close();
  78.249 -                }
  78.250 -                if (outstr != null) {
  78.251 -                    outstr.close();
  78.252 -                }
  78.253 -                if (lock != null) {
  78.254 -                    lock.releaseLock();
  78.255 -                }
  78.256 -            }
  78.257 -        }
  78.258 -        
  78.259 -        handle.progress(9);
  78.260 -        OpenProjects.getDefault().open(new Project[] { j2seproject }, false);
  78.261 -        SwingUtilities.invokeLater(new Runnable() {
  78.262 -            public void run() {
  78.263 -                TopComponent tc = WindowManager.getDefault().findTopComponent("projectTabLogical_tc");  // NOI18N
  78.264 -                if (tc != null) {
  78.265 -                    tc.open();
  78.266 -                    tc.requestActive();
  78.267 -                }
  78.268 -            }
  78.269 -        });
  78.270 -        handle.finish();
  78.271 -        
  78.272 -    }
  78.273 -    
  78.274 -    private void splitSources(FileObject originRoot, FileObject targetSrcRoot, FileObject targetTestRoot) throws IOException {
  78.275 -        FileObject[] sourceFOs = originRoot.getChildren();
  78.276 -        for (int i = 0; i < sourceFOs.length; i++) {
  78.277 -            if (sourceFOs[i].isData()) {
  78.278 -                if ("java".equals(sourceFOs[i].getExt())) {  // NOI18N
  78.279 -                    boolean test = sourceFOs[i].getName().endsWith("Test");  // NOI18N
  78.280 -                    FileUtil.copyFile(sourceFOs[i], test ? targetTestRoot : targetSrcRoot, sourceFOs[i].getName());
  78.281 -                }
  78.282 -            } else if (sourceFOs[i].getFileObject("bluej.pkg") != null) {  // NOI18N
  78.283 -                //only the bluej package items get copied.
  78.284 -                FileObject childTargetSrc  = targetSrcRoot.createFolder(sourceFOs[i].getName());
  78.285 -                FileObject childTargetTest  = targetTestRoot.createFolder(sourceFOs[i].getName());
  78.286 -                splitSources(sourceFOs[i], childTargetSrc, childTargetTest);
  78.287 -            }
  78.288 -        }
  78.289 -    }
  78.290 -    
  78.291 -    
  78.292 -}
    79.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/export/ExportPanel.form	Thu Jul 10 19:13:29 2008 +0800
    79.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    79.3 @@ -1,114 +0,0 @@
    79.4 -<?xml version="1.0" encoding="UTF-8" ?>
    79.5 -
    79.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
    79.7 -  <AuxValues>
    79.8 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
    79.9 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
   79.10 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
   79.11 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
   79.12 -  </AuxValues>
   79.13 -
   79.14 -  <Layout>
   79.15 -    <DimensionLayout dim="0">
   79.16 -      <Group type="103" groupAlignment="0" attributes="0">
   79.17 -          <Group type="102" attributes="0">
   79.18 -              <EmptySpace max="-2" attributes="0"/>
   79.19 -              <Group type="103" groupAlignment="0" attributes="0">
   79.20 -                  <Component id="lblWarning" alignment="0" min="-2" max="-2" attributes="0"/>
   79.21 -                  <Group type="102" alignment="0" attributes="0">
   79.22 -                      <Component id="lblSource" min="-2" max="-2" attributes="0"/>
   79.23 -                      <EmptySpace max="-2" attributes="0"/>
   79.24 -                      <Component id="txtSource" pref="518" max="32767" attributes="0"/>
   79.25 -                  </Group>
   79.26 -                  <Group type="102" alignment="0" attributes="0">
   79.27 -                      <Component id="lblFolder" min="-2" max="-2" attributes="0"/>
   79.28 -                      <EmptySpace min="-2" max="-2" attributes="0"/>
   79.29 -                      <Component id="txtFolder" pref="413" max="32767" attributes="0"/>
   79.30 -                      <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
   79.31 -                      <Component id="btnFolder" min="-2" pref="92" max="-2" attributes="0"/>
   79.32 -                  </Group>
   79.33 -                  <Component id="lblWarning2" alignment="0" min="-2" max="-2" attributes="0"/>
   79.34 -              </Group>
   79.35 -              <EmptySpace max="-2" attributes="0"/>
   79.36 -          </Group>
   79.37 -      </Group>
   79.38 -    </DimensionLayout>
   79.39 -    <DimensionLayout dim="1">
   79.40 -      <Group type="103" groupAlignment="0" attributes="0">
   79.41 -          <Group type="102" attributes="0">
   79.42 -              <EmptySpace max="-2" attributes="0"/>
   79.43 -              <Component id="lblWarning" min="-2" max="-2" attributes="0"/>
   79.44 -              <EmptySpace max="-2" attributes="0"/>
   79.45 -              <Group type="103" groupAlignment="3" attributes="0">
   79.46 -                  <Component id="lblSource" alignment="3" min="-2" max="-2" attributes="0"/>
   79.47 -                  <Component id="txtSource" alignment="3" min="-2" max="-2" attributes="0"/>
   79.48 -              </Group>
   79.49 -              <EmptySpace max="-2" attributes="0"/>
   79.50 -              <Group type="103" groupAlignment="3" attributes="0">
   79.51 -                  <Component id="lblFolder" alignment="3" min="-2" max="-2" attributes="0"/>
   79.52 -                  <Component id="txtFolder" alignment="3" min="-2" max="-2" attributes="0"/>
   79.53 -                  <Component id="btnFolder" alignment="3" min="-2" max="-2" attributes="0"/>
   79.54 -              </Group>
   79.55 -              <EmptySpace max="-2" attributes="0"/>
   79.56 -              <Component id="lblWarning2" min="-2" max="-2" attributes="0"/>
   79.57 -              <EmptySpace pref="178" max="32767" attributes="0"/>
   79.58 -          </Group>
   79.59 -      </Group>
   79.60 -    </DimensionLayout>
   79.61 -  </Layout>
   79.62 -  <SubComponents>
   79.63 -    <Component class="javax.swing.JLabel" name="lblWarning">
   79.64 -      <Properties>
   79.65 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   79.66 -          <ResourceString bundle="org/netbeans/bluej/export/Bundle.properties" key="LBL_Warning" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   79.67 -        </Property>
   79.68 -        <Property name="verticalAlignment" type="int" value="1"/>
   79.69 -      </Properties>
   79.70 -    </Component>
   79.71 -    <Component class="javax.swing.JLabel" name="lblFolder">
   79.72 -      <Properties>
   79.73 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   79.74 -          <ComponentRef name="lblFolder"/>
   79.75 -        </Property>
   79.76 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   79.77 -          <ResourceString bundle="org/netbeans/bluej/export/Bundle.properties" key="LBL_Folder" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   79.78 -        </Property>
   79.79 -      </Properties>
   79.80 -    </Component>
   79.81 -    <Component class="javax.swing.JTextField" name="txtFolder">
   79.82 -    </Component>
   79.83 -    <Component class="javax.swing.JButton" name="btnFolder">
   79.84 -      <Properties>
   79.85 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   79.86 -          <ResourceString bundle="org/netbeans/bluej/export/Bundle.properties" key="BTN_Folder" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
   79.87 -        </Property>
   79.88 -      </Properties>
   79.89 -      <Events>
   79.90 -        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnFolderActionPerformed"/>
   79.91 -      </Events>
   79.92 -    </Component>
   79.93 -    <Component class="javax.swing.JLabel" name="lblSource">
   79.94 -      <Properties>
   79.95 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   79.96 -          <ComponentRef name="txtSource"/>
   79.97 -        </Property>
   79.98 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   79.99 -          <ResourceString bundle="org/netbeans/bluej/export/Bundle.properties" key="LBL_Source" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  79.100 -        </Property>
  79.101 -      </Properties>
  79.102 -    </Component>
  79.103 -    <Component class="javax.swing.JTextField" name="txtSource">
  79.104 -      <Properties>
  79.105 -        <Property name="editable" type="boolean" value="false"/>
  79.106 -        <Property name="enabled" type="boolean" value="false"/>
  79.107 -      </Properties>
  79.108 -    </Component>
  79.109 -    <Component class="javax.swing.JLabel" name="lblWarning2">
  79.110 -      <Properties>
  79.111 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  79.112 -          <ResourceString bundle="org/netbeans/bluej/export/Bundle.properties" key="LBL_Warning2" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  79.113 -        </Property>
  79.114 -      </Properties>
  79.115 -    </Component>
  79.116 -  </SubComponents>
  79.117 -</Form>
    80.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/export/ExportPanel.java	Thu Jul 10 19:13:29 2008 +0800
    80.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    80.3 @@ -1,182 +0,0 @@
    80.4 -/*
    80.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    80.6 - *
    80.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    80.8 - *
    80.9 - * The contents of this file are subject to the terms of either the GNU
   80.10 - * General Public License Version 2 only ("GPL") or the Common
   80.11 - * Development and Distribution License("CDDL") (collectively, the
   80.12 - * "License"). You may not use this file except in compliance with the
   80.13 - * License. You can obtain a copy of the License at
   80.14 - * http://www.netbeans.org/cddl-gplv2.html
   80.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   80.16 - * specific language governing permissions and limitations under the
   80.17 - * License.  When distributing the software, include this License Header
   80.18 - * Notice in each file and include the License file at
   80.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   80.20 - * particular file as subject to the "Classpath" exception as provided
   80.21 - * by Sun in the GPL Version 2 section of the License file that
   80.22 - * accompanied this code. If applicable, add the following below the
   80.23 - * License Header, with the fields enclosed by brackets [] replaced by
   80.24 - * your own identifying information:
   80.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   80.26 - *
   80.27 - * Contributor(s):
   80.28 - *
   80.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   80.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   80.31 - * Microsystems, Inc. All Rights Reserved.
   80.32 - *
   80.33 - * If you wish your version of this file to be governed by only the CDDL
   80.34 - * or only the GPL Version 2, indicate your decision by adding
   80.35 - * "[Contributor] elects to include this software in this distribution
   80.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   80.37 - * single choice of license, a recipient has the option to distribute
   80.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   80.39 - * to extend the choice of license to its licensees as provided above.
   80.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   80.41 - * Version 2 license, then the option applies only if the new code is
   80.42 - * made subject to such option by the copyright holder.
   80.43 - */
   80.44 -
   80.45 -package org.netbeans.bluej.export;
   80.46 -
   80.47 -import java.io.File;
   80.48 -import javax.swing.JFileChooser;
   80.49 -import javax.swing.SwingUtilities;
   80.50 -import javax.swing.event.DocumentEvent;
   80.51 -import javax.swing.event.DocumentListener;
   80.52 -import org.openide.filesystems.FileObject;
   80.53 -import org.openide.filesystems.FileUtil;
   80.54 -import org.openide.util.NbBundle;
   80.55 -
   80.56 -/**
   80.57 - *
   80.58 - * @author  mkleint
   80.59 - */
   80.60 -public class ExportPanel extends javax.swing.JPanel {
   80.61 -    
   80.62 -    /** Creates new form ExportPanel */
   80.63 -    public ExportPanel(FileObject dir, final ExportWizardPanel1 wizPanel) {
   80.64 -        initComponents();
   80.65 -        txtSource.setText(dir.getPath());
   80.66 -        setName(NbBundle.getMessage(ExportPanel.class, "TIT_ExportPanel"));
   80.67 -        txtFolder.getDocument().addDocumentListener(new DocumentListener() {
   80.68 -            public void changedUpdate(DocumentEvent e) {
   80.69 -                wizPanel.updateValue(txtFolder.getText());
   80.70 -            }
   80.71 -            public void insertUpdate(DocumentEvent e) {
   80.72 -                wizPanel.updateValue(txtFolder.getText());
   80.73 -            }
   80.74 -            public void removeUpdate(DocumentEvent e) {
   80.75 -                wizPanel.updateValue(txtFolder.getText());
   80.76 -            }
   80.77 -        });
   80.78 -    }
   80.79 -    
   80.80 -    /** This method is called from within the constructor to
   80.81 -     * initialize the form.
   80.82 -     * WARNING: Do NOT modify this code. The content of this method is
   80.83 -     * always regenerated by the Form Editor.
   80.84 -     */
   80.85 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
   80.86 -    private void initComponents() {
   80.87 -        lblWarning = new javax.swing.JLabel();
   80.88 -        lblFolder = new javax.swing.JLabel();
   80.89 -        txtFolder = new javax.swing.JTextField();
   80.90 -        btnFolder = new javax.swing.JButton();
   80.91 -        lblSource = new javax.swing.JLabel();
   80.92 -        txtSource = new javax.swing.JTextField();
   80.93 -        lblWarning2 = new javax.swing.JLabel();
   80.94 -
   80.95 -        lblWarning.setText(org.openide.util.NbBundle.getMessage(ExportPanel.class, "LBL_Warning"));
   80.96 -        lblWarning.setVerticalAlignment(javax.swing.SwingConstants.TOP);
   80.97 -
   80.98 -        lblFolder.setLabelFor(lblFolder);
   80.99 -        lblFolder.setText(org.openide.util.NbBundle.getMessage(ExportPanel.class, "LBL_Folder"));
  80.100 -
  80.101 -        btnFolder.setText(org.openide.util.NbBundle.getMessage(ExportPanel.class, "BTN_Folder"));
  80.102 -        btnFolder.addActionListener(new java.awt.event.ActionListener() {
  80.103 -            public void actionPerformed(java.awt.event.ActionEvent evt) {
  80.104 -                btnFolderActionPerformed(evt);
  80.105 -            }
  80.106 -        });
  80.107 -
  80.108 -        lblSource.setLabelFor(txtSource);
  80.109 -        lblSource.setText(org.openide.util.NbBundle.getMessage(ExportPanel.class, "LBL_Source"));
  80.110 -
  80.111 -        txtSource.setEditable(false);
  80.112 -        txtSource.setEnabled(false);
  80.113 -
  80.114 -        lblWarning2.setText(org.openide.util.NbBundle.getMessage(ExportPanel.class, "LBL_Warning2"));
  80.115 -
  80.116 -        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  80.117 -        this.setLayout(layout);
  80.118 -        layout.setHorizontalGroup(
  80.119 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  80.120 -            .add(layout.createSequentialGroup()
  80.121 -                .addContainerGap()
  80.122 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  80.123 -                    .add(lblWarning)
  80.124 -                    .add(layout.createSequentialGroup()
  80.125 -                        .add(lblSource)
  80.126 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  80.127 -                        .add(txtSource, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 518, Short.MAX_VALUE))
  80.128 -                    .add(layout.createSequentialGroup()
  80.129 -                        .add(lblFolder)
  80.130 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  80.131 -                        .add(txtFolder, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 413, Short.MAX_VALUE)
  80.132 -                        .add(12, 12, 12)
  80.133 -                        .add(btnFolder, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 92, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
  80.134 -                    .add(lblWarning2))
  80.135 -                .addContainerGap())
  80.136 -        );
  80.137 -        layout.setVerticalGroup(
  80.138 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  80.139 -            .add(layout.createSequentialGroup()
  80.140 -                .addContainerGap()
  80.141 -                .add(lblWarning)
  80.142 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  80.143 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
  80.144 -                    .add(lblSource)
  80.145 -                    .add(txtSource, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
  80.146 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  80.147 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
  80.148 -                    .add(lblFolder)
  80.149 -                    .add(txtFolder, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  80.150 -                    .add(btnFolder))
  80.151 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  80.152 -                .add(lblWarning2)
  80.153 -                .addContainerGap(178, Short.MAX_VALUE))
  80.154 -        );
  80.155 -    }// </editor-fold>//GEN-END:initComponents
  80.156 -    
  80.157 -    private void btnFolderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnFolderActionPerformed
  80.158 -        JFileChooser chooser = new JFileChooser();
  80.159 -        FileUtil.preventFileChooserSymlinkTraversal(chooser, null);
  80.160 -        chooser.setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY );
  80.161 -        chooser.setMultiSelectionEnabled( false );
  80.162 -        int option = chooser.showOpenDialog( SwingUtilities.getWindowAncestor( this ) ); // Sow the chooser
  80.163 -        if (txtFolder.getText().length() > 0) {
  80.164 -            chooser.setCurrentDirectory(new File(txtFolder.getText().trim()));
  80.165 -        }
  80.166 -        if ( option == JFileChooser.APPROVE_OPTION ) {
  80.167 -            
  80.168 -            File file = chooser.getSelectedFile();
  80.169 -            txtFolder.setText(FileUtil.normalizeFile(file).getAbsolutePath());
  80.170 -        }
  80.171 -        
  80.172 -    }//GEN-LAST:event_btnFolderActionPerformed
  80.173 -    
  80.174 -    
  80.175 -    // Variables declaration - do not modify//GEN-BEGIN:variables
  80.176 -    private javax.swing.JButton btnFolder;
  80.177 -    private javax.swing.JLabel lblFolder;
  80.178 -    private javax.swing.JLabel lblSource;
  80.179 -    private javax.swing.JLabel lblWarning;
  80.180 -    private javax.swing.JLabel lblWarning2;
  80.181 -    private javax.swing.JTextField txtFolder;
  80.182 -    private javax.swing.JTextField txtSource;
  80.183 -    // End of variables declaration//GEN-END:variables
  80.184 -    
  80.185 -}
    81.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/export/ExportWizardPanel1.java	Thu Jul 10 19:13:29 2008 +0800
    81.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    81.3 @@ -1,153 +0,0 @@
    81.4 -/*
    81.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    81.6 - *
    81.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    81.8 - *
    81.9 - * The contents of this file are subject to the terms of either the GNU
   81.10 - * General Public License Version 2 only ("GPL") or the Common
   81.11 - * Development and Distribution License("CDDL") (collectively, the
   81.12 - * "License"). You may not use this file except in compliance with the
   81.13 - * License. You can obtain a copy of the License at
   81.14 - * http://www.netbeans.org/cddl-gplv2.html
   81.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   81.16 - * specific language governing permissions and limitations under the
   81.17 - * License.  When distributing the software, include this License Header
   81.18 - * Notice in each file and include the License file at
   81.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   81.20 - * particular file as subject to the "Classpath" exception as provided
   81.21 - * by Sun in the GPL Version 2 section of the License file that
   81.22 - * accompanied this code. If applicable, add the following below the
   81.23 - * License Header, with the fields enclosed by brackets [] replaced by
   81.24 - * your own identifying information:
   81.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   81.26 - *
   81.27 - * Contributor(s):
   81.28 - *
   81.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   81.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   81.31 - * Microsystems, Inc. All Rights Reserved.
   81.32 - *
   81.33 - * If you wish your version of this file to be governed by only the CDDL
   81.34 - * or only the GPL Version 2, indicate your decision by adding
   81.35 - * "[Contributor] elects to include this software in this distribution
   81.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   81.37 - * single choice of license, a recipient has the option to distribute
   81.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   81.39 - * to extend the choice of license to its licensees as provided above.
   81.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   81.41 - * Version 2 license, then the option applies only if the new code is
   81.42 - * made subject to such option by the copyright holder.
   81.43 - */
   81.44 -package org.netbeans.bluej.export;
   81.45 -
   81.46 -import java.awt.Component;
   81.47 -import java.io.File;
   81.48 -import java.util.HashSet;
   81.49 -import java.util.Iterator;
   81.50 -import java.util.Set;
   81.51 -import javax.swing.event.ChangeEvent;
   81.52 -import javax.swing.event.ChangeListener;
   81.53 -import org.openide.WizardDescriptor;
   81.54 -import org.openide.filesystems.FileObject;
   81.55 -import org.openide.util.HelpCtx;
   81.56 -
   81.57 -public class ExportWizardPanel1 implements WizardDescriptor.Panel {
   81.58 -    
   81.59 -    private String path;
   81.60 -    /**
   81.61 -     * The visual component that displays this panel. If you need to access the
   81.62 -     * component from this class, just use getComponent().
   81.63 -     */
   81.64 -    private Component component;
   81.65 -
   81.66 -    private FileObject dir;
   81.67 -    private boolean valid = false;
   81.68 -    private WizardDescriptor settings;
   81.69 -    
   81.70 -    ExportWizardPanel1(FileObject fo) {
   81.71 -        dir = fo;
   81.72 -    }
   81.73 -    
   81.74 -    // Get the visual component for the panel. In this template, the component
   81.75 -    // is kept separate. This can be more efficient: if the wizard is created
   81.76 -    // but never displayed, or not all panels are displayed, it is better to
   81.77 -    // create only those which really need to be visible.
   81.78 -    public Component getComponent() {
   81.79 -        if (component == null) {
   81.80 -            component = new ExportPanel(dir, this);
   81.81 -        }
   81.82 -        return component;
   81.83 -    }
   81.84 -    
   81.85 -    public HelpCtx getHelp() {
   81.86 -        // Show no Help button for this panel:
   81.87 -        return HelpCtx.DEFAULT_HELP;
   81.88 -        // If you have context help:
   81.89 -        // return new HelpCtx(SampleWizardPanel1.class);
   81.90 -    }
   81.91 -    
   81.92 -    public boolean isValid() {
   81.93 -        return valid;
   81.94 -    }
   81.95 -    
   81.96 -    private final Set listeners = new HashSet(1);
   81.97 -    public final void addChangeListener(ChangeListener l) {
   81.98 -        synchronized (listeners) {
   81.99 -            listeners.add(l);
  81.100 -        }
  81.101 -    }
  81.102 -    public final void removeChangeListener(ChangeListener l) {
  81.103 -        synchronized (listeners) {
  81.104 -            listeners.remove(l);
  81.105 -        }
  81.106 -    }
  81.107 -    protected final void fireChangeEvent() {
  81.108 -        Iterator it;
  81.109 -        synchronized (listeners) {
  81.110 -            it = new HashSet(listeners).iterator();
  81.111 -        }
  81.112 -        ChangeEvent ev = new ChangeEvent(this);
  81.113 -        while (it.hasNext()) {
  81.114 -            ((ChangeListener)it.next()).stateChanged(ev);
  81.115 -        }
  81.116 -    }
  81.117 -    
  81.118 -    // You can use a settings object to keep track of state. Normally the
  81.119 -    // settings object will be the WizardDescriptor, so you can use
  81.120 -    // WizardDescriptor.getProperty & putProperty to store information entered
  81.121 -    // by the user.
  81.122 -    public void readSettings(Object sets) {
  81.123 -        this.settings = (WizardDescriptor)sets;
  81.124 -        File fil = (File)settings.getProperty("NewProjectLocation");
  81.125 -        String path = fil != null ? fil.getAbsolutePath() : "";
  81.126 -        updateValue(path);
  81.127 -    }
  81.128 -    public void storeSettings(Object set) {
  81.129 -        WizardDescriptor wiz = (WizardDescriptor)set;
  81.130 -        if (path != null) {
  81.131 -            //#79637 can be null when immediately cancelling the wizard.
  81.132 -            wiz.putProperty("NewProjectLocation", new File(path.trim())); // NOI18N
  81.133 -        }
  81.134 -    }
  81.135 -
  81.136 -    void updateValue(String value) {
  81.137 -        path = value;
  81.138 -        if (path == null || path.trim().length() == 0) {
  81.139 -            settings.putProperty("WizardPanel_errorMessage", org.openide.util.NbBundle.getMessage(ExportWizardPanel1.class, "ERROR_noFolder"));
  81.140 -            valid = false;
  81.141 -        } else {
  81.142 -            File fil = new File(path.trim());
  81.143 -            if (fil.exists() && (fil.isFile() || (fil.isDirectory() && fil.listFiles().length > 0))) {
  81.144 -                settings.putProperty("WizardPanel_errorMessage", org.openide.util.NbBundle.getMessage(ExportWizardPanel1.class, "ERROR_WrongFolder"));
  81.145 -                valid = false;
  81.146 -            } else {
  81.147 -                settings.putProperty("WizardPanel_errorMessage", null);
  81.148 -                valid = true;
  81.149 -            }
  81.150 -        }
  81.151 -        
  81.152 -        fireChangeEvent();
  81.153 -    }
  81.154 -    
  81.155 -}
  81.156 -
    82.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/layer.xml	Thu Jul 10 19:13:29 2008 +0800
    82.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    82.3 @@ -1,89 +0,0 @@
    82.4 -<?xml version="1.0" encoding="UTF-8"?>
    82.5 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
    82.6 -<filesystem>
    82.7 -    <folder name="OptionsDialog">
    82.8 -        <folder name="Advanced">
    82.9 -            <file name="BlueJ.instance">
   82.10 -                <attr name="instanceClass" stringvalue="org.netbeans.bluej.options.BluejAdvancedOption"/>
   82.11 -            </file>
   82.12 -        </folder>
   82.13 -   </folder>
   82.14 -  <folder name="Services">
   82.15 -      <folder name="JavaHelp">
   82.16 -            <file name="bluej-helpset.xml" url="bluej-helpset.xml">
   82.17 -                <attr name="position" intvalue="353"/> <!-- after java helpset -->
   82.18 -             </file>
   82.19 -        </folder>
   82.20 -  </folder>
   82.21 -    <folder name="Templates">
   82.22 -        <folder name="Bluej">
   82.23 -            <attr name="position" intvalue="701"/>
   82.24 -            <file name="Abstract.java" url="resources/templates/newclass/abstract.tmpl">
   82.25 -                <attr name="instantiatingIterator" methodvalue="org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator"/>
   82.26 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.27 -                <attr name="position" intvalue="100"/>
   82.28 -                <attr name="template" boolvalue="true"/>
   82.29 -                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
   82.30 -                <attr name="templateCategory" stringvalue="bluej"/>
   82.31 -            </file>
   82.32 -            <file name="Enum.java" url="resources/templates/newclass/enum.tmpl">
   82.33 -                <attr name="instantiatingIterator" methodvalue="org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator"/>
   82.34 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.35 -                <attr name="position" intvalue="200"/>
   82.36 -                <attr name="template" boolvalue="true"/>
   82.37 -                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
   82.38 -                <attr name="templateCategory" stringvalue="bluej"/>
   82.39 -            </file>
   82.40 -            <file name="Interface.java" url="resources/templates/newclass/interface.tmpl">
   82.41 -                <attr name="instantiatingIterator" methodvalue="org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator"/>
   82.42 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.43 -                <attr name="position" intvalue="300"/>
   82.44 -                <attr name="template" boolvalue="true"/>
   82.45 -                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
   82.46 -                <attr name="templateCategory" stringvalue="bluej"/>
   82.47 -            </file>
   82.48 -            <file name="MainClass.java" url="resources/templates/newclass/mainclass.tmpl">
   82.49 -                <attr name="instantiatingIterator" methodvalue="org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator"/>
   82.50 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.51 -                <attr name="position" intvalue="400"/>
   82.52 -                <attr name="template" boolvalue="true"/>
   82.53 -                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
   82.54 -                <attr name="templateCategory" stringvalue="bluej"/>
   82.55 -            </file>
   82.56 -            <file name="StdClass.java" url="resources/templates/newclass/stdclass.tmpl">
   82.57 -                <attr name="instantiatingIterator" methodvalue="org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator"/>
   82.58 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.59 -                <attr name="position" intvalue="500"/>
   82.60 -                <attr name="template" boolvalue="true"/>
   82.61 -                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
   82.62 -                <attr name="templateCategory" stringvalue="bluej"/>
   82.63 -            </file>
   82.64 -            <file name="UnitTest.java" url="resources/templates/newclass/unittest.tmpl">
   82.65 -                <attr name="instantiatingIterator" methodvalue="org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator"/>
   82.66 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.67 -                <attr name="position" intvalue="600"/>
   82.68 -                <attr name="template" boolvalue="true"/>
   82.69 -                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
   82.70 -                <attr name="templateCategory" stringvalue="bluej"/>
   82.71 -            </file>
   82.72 -            <file name="Package.shadow">
   82.73 -                <attr name="originalFile" stringvalue="Templates/Classes/Package"/>
   82.74 -                <attr name="position" intvalue="700"/>
   82.75 -            </file>
   82.76 -            
   82.77 -        </folder>
   82.78 -        <folder name="Project">
   82.79 -            <folder name="BlueJ">
   82.80 -                <attr name="position" intvalue="701"/>
   82.81 -                <file name="EmptyBluejProject.zip" url="EmptyBluejProject.zip">
   82.82 -                    <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.bluej.Bundle"/>
   82.83 -                    <attr name="instantiatingIterator" methodvalue="org.netbeans.bluej.wizard.EmptyBluejWizardIterator.createIterator"/>
   82.84 -                    <attr name="instantiatingWizardURL" urlvalue="nbresloc:/org/netbeans/bluej/wizard/EmptyBluejDescription.html"/>
   82.85 -                    <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/bluej/resources/bluejproject.png"/>
   82.86 -                    <attr name="template" boolvalue="true"/>
   82.87 -                </file>
   82.88 -            </folder>
   82.89 -        </folder>
   82.90 -    </folder>
   82.91 -
   82.92 -</filesystem>
    83.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/master.xml	Thu Jul 10 19:13:29 2008 +0800
    83.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    83.3 @@ -1,46 +0,0 @@
    83.4 -<?xml version="1.0" encoding="UTF-8"?>
    83.5 -<!--
    83.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    83.7 -
    83.8 -Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    83.9 -
   83.10 -
   83.11 -The contents of this file are subject to the terms of either the GNU
   83.12 -General Public License Version 2 only ("GPL") or the Common
   83.13 -Development and Distribution License("CDDL") (collectively, the
   83.14 -"License"). You may not use this file except in compliance with the
   83.15 -License. You can obtain a copy of the License at
   83.16 -http://www.netbeans.org/cddl-gplv2.html
   83.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   83.18 -specific language governing permissions and limitations under the
   83.19 -License.  When distributing the software, include this License Header
   83.20 -Notice in each file and include the License file at
   83.21 -nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   83.22 -particular file as subject to the "Classpath" exception as provided
   83.23 -by Sun in the GPL Version 2 section of the License file that
   83.24 -accompanied this code. If applicable, add the following below the
   83.25 -License Header, with the fields enclosed by brackets [] replaced by
   83.26 -your own identifying information:
   83.27 -"Portions Copyrighted [year] [name of copyright owner]"
   83.28 -
   83.29 -Contributor(s):
   83.30 -
   83.31 -The Original Software is NetBeans. The Initial Developer of the Original
   83.32 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   83.33 -Microsystems, Inc. All Rights Reserved.
   83.34 -
   83.35 -If you wish your version of this file to be governed by only the CDDL
   83.36 -or only the GPL Version 2, indicate your decision by adding
   83.37 -"[Contributor] elects to include this software in this distribution
   83.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
   83.39 -single choice of license, a recipient has the option to distribute
   83.40 -your version of this file under either the CDDL, the GPL Version 2 or
   83.41 -to extend the choice of license to its licensees as provided above.
   83.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
   83.43 -Version 2 license, then the option applies only if the new code is
   83.44 -made subject to such option by the copyright holder.
   83.45 --->
   83.46 -<!DOCTYPE helpctx PUBLIC
   83.47 -          "-//NetBeans//DTD Help Context 1.0//EN"
   83.48 -          "http://www.netbeans.org/dtds/helpcontext-1_0.dtd">
   83.49 -<helpctx id="org.netbeans.bluej.about" showmaster="true"/>
    84.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/nodes/BluejLogicalViewRootNode.java	Thu Jul 10 19:13:29 2008 +0800
    84.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    84.3 @@ -1,225 +0,0 @@
    84.4 -/*
    84.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    84.6 - *
    84.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    84.8 - *
    84.9 - * The contents of this file are subject to the terms of either the GNU
   84.10 - * General Public License Version 2 only ("GPL") or the Common
   84.11 - * Development and Distribution License("CDDL") (collectively, the
   84.12 - * "License"). You may not use this file except in compliance with the
   84.13 - * License. You can obtain a copy of the License at
   84.14 - * http://www.netbeans.org/cddl-gplv2.html
   84.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   84.16 - * specific language governing permissions and limitations under the
   84.17 - * License.  When distributing the software, include this License Header
   84.18 - * Notice in each file and include the License file at
   84.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   84.20 - * particular file as subject to the "Classpath" exception as provided
   84.21 - * by Sun in the GPL Version 2 section of the License file that
   84.22 - * accompanied this code. If applicable, add the following below the
   84.23 - * License Header, with the fields enclosed by brackets [] replaced by
   84.24 - * your own identifying information:
   84.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   84.26 - *
   84.27 - * Contributor(s):
   84.28 - *
   84.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   84.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   84.31 - * Microsystems, Inc. All Rights Reserved.
   84.32 - *
   84.33 - * If you wish your version of this file to be governed by only the CDDL
   84.34 - * or only the GPL Version 2, indicate your decision by adding
   84.35 - * "[Contributor] elects to include this software in this distribution
   84.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   84.37 - * single choice of license, a recipient has the option to distribute
   84.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   84.39 - * to extend the choice of license to its licensees as provided above.
   84.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   84.41 - * Version 2 license, then the option applies only if the new code is
   84.42 - * made subject to such option by the copyright holder.
   84.43 - */
   84.44 -
   84.45 -package org.netbeans.bluej.nodes;
   84.46 -
   84.47 -import java.util.ArrayList;
   84.48 -import java.util.Iterator;
   84.49 -import java.util.List;
   84.50 -import java.util.ResourceBundle;
   84.51 -import javax.swing.Action;
   84.52 -import javax.swing.JSeparator;
   84.53 -import org.netbeans.api.java.project.JavaProjectConstants;
   84.54 -import org.netbeans.api.project.ProjectInformation;
   84.55 -import org.netbeans.api.project.ProjectUtils;
   84.56 -import org.netbeans.api.project.SourceGroup;
   84.57 -import org.netbeans.api.project.Sources;
   84.58 -import org.netbeans.bluej.BluejProject;
   84.59 -import org.netbeans.bluej.export.ConvertToJ2SEAction;
   84.60 -import org.netbeans.spi.java.project.support.ui.PackageView;
   84.61 -import org.netbeans.spi.project.ActionProvider;
   84.62 -import org.netbeans.spi.project.ui.support.CommonProjectActions;
   84.63 -import org.netbeans.spi.project.ui.support.ProjectSensitiveActions;
   84.64 -import org.openide.ErrorManager;
   84.65 -import org.openide.actions.FindAction;
   84.66 -import org.openide.actions.ToolsAction;
   84.67 -import org.openide.filesystems.FileObject;
   84.68 -import org.openide.filesystems.Repository;
   84.69 -import org.openide.loaders.DataFolder;
   84.70 -import org.openide.loaders.DataObject;
   84.71 -import org.openide.loaders.DataObjectNotFoundException;
   84.72 -import org.openide.loaders.FolderLookup;
   84.73 -import org.openide.nodes.AbstractNode;
   84.74 -import org.openide.nodes.FilterNode;
   84.75 -import org.openide.nodes.Node;
   84.76 -import org.openide.util.Lookup;
   84.77 -import org.openide.util.NbBundle;
   84.78 -import org.openide.util.actions.SystemAction;
   84.79 -
   84.80 -/**
   84.81 - *
   84.82 - * @author mkleint
   84.83 - */
   84.84 -public class BluejLogicalViewRootNode extends AbstractNode {
   84.85 -    
   84.86 -    /** Creates a new instance of BluejLogicalViewRootNode */
   84.87 -    public BluejLogicalViewRootNode(Lookup look) {
   84.88 -        super(new FilterChildrenImpl(look), look);
   84.89 -        setIconBaseWithExtension("org/netbeans/bluej/resources/bluejproject.png"); // NOI18N
   84.90 -    }
   84.91 -    
   84.92 -    public String getName() {
   84.93 -        return getProjectInfo(getLookup()).getName();
   84.94 -    }
   84.95 -    
   84.96 -    public String getDisplayName() {
   84.97 -        return getProjectInfo(getLookup()).getDisplayName();
   84.98 -    }
   84.99 -    
  84.100 -    private static BluejProject getProject(Lookup lkp) {
  84.101 -        return (BluejProject)lkp.lookup(BluejProject.class);
  84.102 -    }
  84.103 -    
  84.104 -    private static ProjectInformation getProjectInfo(Lookup lkp) {
  84.105 -        return (ProjectInformation)getProject(lkp).getLookup().lookup(ProjectInformation.class);
  84.106 -    }
  84.107 -    
  84.108 -    
  84.109 -    private static SourceGroup getSourceGroup(Lookup lkp) {
  84.110 -        BluejProject prj = getProject(lkp);
  84.111 -        Sources srcs = ProjectUtils.getSources(prj);
  84.112 -        SourceGroup[] grps = srcs.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
  84.113 -        assert grps.length > 0;
  84.114 -        return grps[0];
  84.115 -    }
  84.116 -    
  84.117 -    public Action[] getActions(boolean context) {
  84.118 -        
  84.119 -        ResourceBundle bundle = NbBundle.getBundle(BluejLogicalViewRootNode.class);
  84.120 -        
  84.121 -        List actions = new ArrayList();
  84.122 -        
  84.123 -        actions.add(CommonProjectActions.newFileAction());
  84.124 -        actions.add(null);
  84.125 -        actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_BUILD, bundle.getString("LBL_BuildAction_Name"), null)); // NOI18N
  84.126 -        actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_REBUILD, bundle.getString("LBL_RebuildAction_Name"), null)); // NOI18N
  84.127 -        actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_CLEAN, bundle.getString("LBL_CleanAction_Name"), null)); // NOI18N
  84.128 -        actions.add(ProjectSensitiveActions.projectCommandAction(JavaProjectConstants.COMMAND_JAVADOC, bundle.getString("LBL_JavadocAction_Name"), null)); // NOI18N
  84.129 -        actions.add(null);
  84.130 -        actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_RUN, bundle.getString("LBL_RunAction_Name"), null)); // NOI18N
  84.131 -        actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_DEBUG, bundle.getString("LBL_DebugAction_Name"), null)); // NOI18N
  84.132 -////        actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_TEST, bundle.getString("LBL_TestAction_Name"), null)); // NOI18N
  84.133 -        actions.add(null);
  84.134 -         actions.add(new ConvertToJ2SEAction(getProject(getLookup())));
  84.135 -        actions.add(CommonProjectActions.setAsMainProjectAction());
  84.136 -//        actions.add(CommonProjectActions.openSubprojectsAction());
  84.137 -        actions.add(CommonProjectActions.closeProjectAction());
  84.138 -        actions.add(null);
  84.139 -        actions.add(SystemAction.get(FindAction.class));
  84.140 -        
  84.141 -        // honor 57874 contact
  84.142 -        
  84.143 -        try {
  84.144 -            FileObject fo = Repository.getDefault().getDefaultFileSystem().findResource("Projects/Actions"); // NOI18N
  84.145 -            if (fo != null) {
  84.146 -                DataObject dobj = DataObject.find(fo);
  84.147 -                FolderLookup actionRegistry = new FolderLookup((DataFolder)dobj);
  84.148 -                Lookup.Template query = new Lookup.Template(Object.class);
  84.149 -                Lookup lookup = actionRegistry.getLookup();
  84.150 -                Iterator it = lookup.lookup(query).allInstances().iterator();
  84.151 -                if (it.hasNext()) {
  84.152 -                    actions.add(null);
  84.153 -                }
  84.154 -                while (it.hasNext()) {
  84.155 -                    Object next = it.next();
  84.156 -                    if (next instanceof Action) {
  84.157 -                        actions.add(next);
  84.158 -                    } else if (next instanceof JSeparator) {
  84.159 -                        actions.add(null);
  84.160 -                    }
  84.161 -                }
  84.162 -            }
  84.163 -        } catch (DataObjectNotFoundException ex) {
  84.164 -            // data folder for existing fileobject expected
  84.165 -            ErrorManager.getDefault().notify(ex);
  84.166 -        }
  84.167 -        
  84.168 -        actions.add(null);
  84.169 -        actions.add(SystemAction.get(ToolsAction.class));
  84.170 -        actions.add(null);
  84.171 -        actions.add(CommonProjectActions.customizeProjectAction());
  84.172 -        
  84.173 -        return (Action[]) actions.toArray(new Action[actions.size()]);
  84.174 -    }
  84.175 -    
  84.176 -    private static class FilterChildrenImpl extends FilterNode.Children {
  84.177 -        FilterChildrenImpl(Lookup lkp) {
  84.178 -            this(PackageView.createPackageView(getSourceGroup(lkp)));
  84.179 -        }
  84.180 -        
  84.181 -        FilterChildrenImpl(Node original) {
  84.182 -            super(original);
  84.183 -        }
  84.184 -        
  84.185 -        protected Node[] createNodes(Node orig) {
  84.186 -            DataObject dobj = (DataObject)orig.getLookup().lookup(DataObject.class);
  84.187 -            if (dobj != null) {
  84.188 -                FileObject fo = dobj.getPrimaryFile();
  84.189 -                if ("bluej.pkg".equals(fo.getNameExt()) || // NOI18N
  84.190 -                        "build.xml".equals(fo.getNameExt()) || // NOI18N
  84.191 -                        "bluej.pkh".equals(fo.getNameExt()) || // NOI18N
  84.192 -                        ("+libs".equals(fo.getName()) && fo.isFolder()) || // NOI18N
  84.193 -                        "ctxt".equals(fo.getExt()) || // NOI18N
  84.194 -                        "class".equals(fo.getExt()) || // NOI18N
  84.195 -                        ".DS_STORE".equals(fo.getNameExt()) || // NOI18N
  84.196 -                        (fo.isFolder() && fo.getFileObject("bluej.pkg") == null)) { // NOI18N
  84.197 -                    return new Node[0];
  84.198 -                }
  84.199 -                  return new Node[] {new MyFilterWithHtml(orig, new FilterChildrenImpl(orig))};
  84.200 -            }
  84.201 -            return new Node[] {new FilterNode(orig)};
  84.202 -        }
  84.203 -        
  84.204 -        
  84.205 -        public void doRefresh(Node original) {
  84.206 -            refreshKey(original);
  84.207 -        }
  84.208 -    }
  84.209 -    
  84.210 -    private static class MyFilterWithHtml extends FilterNode {
  84.211 -        MyFilterWithHtml(Node orig, Children children) {
  84.212 -            super(orig, children);
  84.213 -        }
  84.214 -        
  84.215 -        MyFilterWithHtml(Node orig) {
  84.216 -            super(orig);
  84.217 -        }
  84.218 -
  84.219 -        public String getHtmlDisplayName() {
  84.220 -            //for some reason the delegating to package view "<default package>" returns the
  84.221 -            // value in htmdisplayname and causes an error. workarounding..
  84.222 -            return null;
  84.223 -        }
  84.224 -        
  84.225 -    }
  84.226 -    
  84.227 -    
  84.228 -}
    85.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/nodes/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    85.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    85.3 @@ -1,49 +0,0 @@
    85.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    85.5 -# 
    85.6 -# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    85.7 -# 
    85.8 -# The contents of this file are subject to the terms of either the GNU
    85.9 -# General Public License Version 2 only ("GPL") or the Common
   85.10 -# Development and Distribution License("CDDL") (collectively, the
   85.11 -# "License"). You may not use this file except in compliance with the
   85.12 -# License. You can obtain a copy of the License at
   85.13 -# http://www.netbeans.org/cddl-gplv2.html
   85.14 -# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   85.15 -# specific language governing permissions and limitations under the
   85.16 -# License.  When distributing the software, include this License Header
   85.17 -# Notice in each file and include the License file at
   85.18 -# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   85.19 -# particular file as subject to the "Classpath" exception as provided
   85.20 -# by Sun in the GPL Version 2 section of the License file that
   85.21 -# accompanied this code. If applicable, add the following below the
   85.22 -# License Header, with the fields enclosed by brackets [] replaced by
   85.23 -# your own identifying information:
   85.24 -# "Portions Copyrighted [year] [name of copyright owner]"
   85.25 -#
   85.26 -# Contributor(s):
   85.27 -#
   85.28 -# The Original Software is NetBeans. The Initial Developer of the Original
   85.29 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   85.30 -# Microsystems, Inc. All Rights Reserved.
   85.31 -#
   85.32 -# If you wish your version of this file to be governed by only the CDDL
   85.33 -# or only the GPL Version 2, indicate your decision by adding
   85.34 -# "[Contributor] elects to include this software in this distribution
   85.35 -# under the [CDDL or GPL Version 2] license." If you do not indicate a
   85.36 -# single choice of license, a recipient has the option to distribute
   85.37 -# your version of this file under either the CDDL, the GPL Version 2 or
   85.38 -# to extend the choice of license to its licensees as provided above.
   85.39 -# However, if you add GPL Version 2 code and therefore, elected the GPL
   85.40 -# Version 2 license, then the option applies only if the new code is
   85.41 -# made subject to such option by the copyright holder.
   85.42 -
   85.43 -#Actions
   85.44 -LBL_CleanAction_Name=Clean Project
   85.45 -LBL_BuildAction_Name=Build Project
   85.46 -LBL_RebuildAction_Name=Clean and Build Project
   85.47 -LBL_RunAction_Name=Run Project
   85.48 -LBL_DebugAction_Name=Debug Project
   85.49 -LBL_JavadocAction_Name=Generate Javadoc for Project
   85.50 -LBL_TestAction_Name=Test Project
   85.51 -LBL_Properties_Action=Properties
   85.52 -
    86.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/options/BlueJPanel.form	Thu Jul 10 19:13:29 2008 +0800
    86.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    86.3 @@ -1,78 +0,0 @@
    86.4 -<?xml version="1.0" encoding="UTF-8" ?>
    86.5 -
    86.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
    86.7 -  <AuxValues>
    86.8 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
    86.9 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
   86.10 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
   86.11 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
   86.12 -  </AuxValues>
   86.13 -
   86.14 -  <Layout>
   86.15 -    <DimensionLayout dim="0">
   86.16 -      <Group type="103" groupAlignment="0" attributes="0">
   86.17 -          <Group type="102" alignment="0" attributes="0">
   86.18 -              <EmptySpace max="-2" attributes="0"/>
   86.19 -              <Group type="103" groupAlignment="0" attributes="0">
   86.20 -                  <Component id="lblHint" alignment="0" pref="431" max="32767" attributes="0"/>
   86.21 -                  <Group type="102" alignment="0" attributes="0">
   86.22 -                      <Component id="lblHome" min="-2" max="-2" attributes="0"/>
   86.23 -                      <EmptySpace max="-2" attributes="0"/>
   86.24 -                      <Component id="txtHome" pref="245" max="32767" attributes="0"/>
   86.25 -                      <EmptySpace max="-2" attributes="0"/>
   86.26 -                      <Component id="btnHome" min="-2" max="-2" attributes="0"/>
   86.27 -                  </Group>
   86.28 -              </Group>
   86.29 -              <EmptySpace max="-2" attributes="0"/>
   86.30 -          </Group>
   86.31 -      </Group>
   86.32 -    </DimensionLayout>
   86.33 -    <DimensionLayout dim="1">
   86.34 -      <Group type="103" groupAlignment="0" attributes="0">
   86.35 -          <Group type="102" alignment="0" attributes="0">
   86.36 -              <EmptySpace max="-2" attributes="0"/>
   86.37 -              <Group type="103" groupAlignment="3" attributes="0">
   86.38 -                  <Component id="lblHome" alignment="3" min="-2" max="-2" attributes="0"/>
   86.39 -                  <Component id="txtHome" alignment="3" min="-2" max="-2" attributes="0"/>
   86.40 -                  <Component id="btnHome" alignment="3" min="-2" max="-2" attributes="0"/>
   86.41 -              </Group>
   86.42 -              <EmptySpace max="-2" attributes="0"/>
   86.43 -              <Component id="lblHint" min="-2" pref="69" max="-2" attributes="0"/>
   86.44 -              <EmptySpace min="-2" pref="136" max="-2" attributes="0"/>
   86.45 -          </Group>
   86.46 -      </Group>
   86.47 -    </DimensionLayout>
   86.48 -  </Layout>
   86.49 -  <SubComponents>
   86.50 -    <Component class="javax.swing.JLabel" name="lblHome">
   86.51 -      <Properties>
   86.52 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
   86.53 -          <ComponentRef name="txtHome"/>
   86.54 -        </Property>
   86.55 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   86.56 -          <ResourceString bundle="org/netbeans/bluej/options/Bundle.properties" key="LBL_Home" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   86.57 -        </Property>
   86.58 -      </Properties>
   86.59 -    </Component>
   86.60 -    <Component class="javax.swing.JTextField" name="txtHome">
   86.61 -    </Component>
   86.62 -    <Component class="javax.swing.JButton" name="btnHome">
   86.63 -      <Properties>
   86.64 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   86.65 -          <ResourceString bundle="org/netbeans/bluej/options/Bundle.properties" key="BTN_Home" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   86.66 -        </Property>
   86.67 -      </Properties>
   86.68 -      <Events>
   86.69 -        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnHomeActionPerformed"/>
   86.70 -      </Events>
   86.71 -    </Component>
   86.72 -    <Component class="javax.swing.JLabel" name="lblHint">
   86.73 -      <Properties>
   86.74 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
   86.75 -          <ResourceString bundle="org/netbeans/bluej/options/Bundle.properties" key="LBL_Hint" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
   86.76 -        </Property>
   86.77 -        <Property name="verticalAlignment" type="int" value="1"/>
   86.78 -      </Properties>
   86.79 -    </Component>
   86.80 -  </SubComponents>
   86.81 -</Form>
    87.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/options/BlueJPanel.java	Thu Jul 10 19:13:29 2008 +0800
    87.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    87.3 @@ -1,180 +0,0 @@
    87.4 -/*
    87.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    87.6 - *
    87.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    87.8 - *
    87.9 - * The contents of this file are subject to the terms of either the GNU
   87.10 - * General Public License Version 2 only ("GPL") or the Common
   87.11 - * Development and Distribution License("CDDL") (collectively, the
   87.12 - * "License"). You may not use this file except in compliance with the
   87.13 - * License. You can obtain a copy of the License at
   87.14 - * http://www.netbeans.org/cddl-gplv2.html
   87.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   87.16 - * specific language governing permissions and limitations under the
   87.17 - * License.  When distributing the software, include this License Header
   87.18 - * Notice in each file and include the License file at
   87.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   87.20 - * particular file as subject to the "Classpath" exception as provided
   87.21 - * by Sun in the GPL Version 2 section of the License file that
   87.22 - * accompanied this code. If applicable, add the following below the
   87.23 - * License Header, with the fields enclosed by brackets [] replaced by
   87.24 - * your own identifying information:
   87.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   87.26 - *
   87.27 - * Contributor(s):
   87.28 - *
   87.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   87.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   87.31 - * Microsystems, Inc. All Rights Reserved.
   87.32 - *
   87.33 - * If you wish your version of this file to be governed by only the CDDL
   87.34 - * or only the GPL Version 2, indicate your decision by adding
   87.35 - * "[Contributor] elects to include this software in this distribution
   87.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   87.37 - * single choice of license, a recipient has the option to distribute
   87.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   87.39 - * to extend the choice of license to its licensees as provided above.
   87.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   87.41 - * Version 2 license, then the option applies only if the new code is
   87.42 - * made subject to such option by the copyright holder.
   87.43 - */
   87.44 -
   87.45 -package org.netbeans.bluej.options;
   87.46 -
   87.47 -import java.io.File;
   87.48 -import java.io.File;
   87.49 -import javax.swing.JFileChooser;
   87.50 -import javax.swing.SwingUtilities;
   87.51 -import javax.swing.filechooser.FileFilter;
   87.52 -import org.netbeans.bluej.BluejProject;
   87.53 -import org.openide.DialogDisplayer;
   87.54 -import org.openide.NotifyDescriptor;
   87.55 -import org.openide.util.NbBundle;
   87.56 -import org.openide.util.Utilities;
   87.57 -
   87.58 -/**
   87.59 - *
   87.60 - * @author  mkleint
   87.61 - */
   87.62 -public class BlueJPanel extends javax.swing.JPanel {
   87.63 -
   87.64 -    private boolean changed = false;
   87.65 -    /** Creates new form BlueJPanel */
   87.66 -    public BlueJPanel() {
   87.67 -        initComponents();
   87.68 -    }
   87.69 -    
   87.70 -    /** This method is called from within the constructor to
   87.71 -     * initialize the form.
   87.72 -     * WARNING: Do NOT modify this code. The content of this method is
   87.73 -     * always regenerated by the Form Editor.
   87.74 -     */
   87.75 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
   87.76 -    private void initComponents() {
   87.77 -        lblHome = new javax.swing.JLabel();
   87.78 -        txtHome = new javax.swing.JTextField();
   87.79 -        btnHome = new javax.swing.JButton();
   87.80 -        lblHint = new javax.swing.JLabel();
   87.81 -
   87.82 -        lblHome.setLabelFor(txtHome);
   87.83 -        lblHome.setText(org.openide.util.NbBundle.getBundle(BlueJPanel.class).getString("LBL_Home"));
   87.84 -
   87.85 -        btnHome.setText(org.openide.util.NbBundle.getBundle(BlueJPanel.class).getString("BTN_Home"));
   87.86 -        btnHome.addActionListener(new java.awt.event.ActionListener() {
   87.87 -            public void actionPerformed(java.awt.event.ActionEvent evt) {
   87.88 -                btnHomeActionPerformed(evt);
   87.89 -            }
   87.90 -        });
   87.91 -
   87.92 -        lblHint.setText(org.openide.util.NbBundle.getBundle(BlueJPanel.class).getString("LBL_Hint"));
   87.93 -        lblHint.setVerticalAlignment(javax.swing.SwingConstants.TOP);
   87.94 -
   87.95 -        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
   87.96 -        this.setLayout(layout);
   87.97 -        layout.setHorizontalGroup(
   87.98 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
   87.99 -            .add(layout.createSequentialGroup()
  87.100 -                .addContainerGap()
  87.101 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  87.102 -                    .add(lblHint, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 431, Short.MAX_VALUE)
  87.103 -                    .add(layout.createSequentialGroup()
  87.104 -                        .add(lblHome)
  87.105 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  87.106 -                        .add(txtHome, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 245, Short.MAX_VALUE)
  87.107 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  87.108 -                        .add(btnHome)))
  87.109 -                .addContainerGap())
  87.110 -        );
  87.111 -        layout.setVerticalGroup(
  87.112 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  87.113 -            .add(layout.createSequentialGroup()
  87.114 -                .addContainerGap()
  87.115 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
  87.116 -                    .add(lblHome)
  87.117 -                    .add(txtHome, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  87.118 -                    .add(btnHome))
  87.119 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  87.120 -                .add(lblHint, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 69, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  87.121 -                .add(136, 136, 136))
  87.122 -        );
  87.123 -    }// </editor-fold>//GEN-END:initComponents
  87.124 -
  87.125 -    private void btnHomeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnHomeActionPerformed
  87.126 -        JFileChooser chooser = new JFileChooser(txtHome.getText());
  87.127 -        if (Utilities.getOperatingSystem() == Utilities.OS_MAC) {
  87.128 -            chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
  87.129 -            chooser.setFileFilter(new FileFilter() {
  87.130 -                public boolean accept(File f) {
  87.131 -                    return f.isDirectory(); // || (f.isFile() && f.getName().endsWith(".app"));
  87.132 -                }
  87.133 -                public String getDescription() {
  87.134 -                    return NbBundle.getMessage(BlueJPanel.class, "Macosx_filter");
  87.135 -                }
  87.136 -            });
  87.137 -        } else {
  87.138 -            chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
  87.139 -        }
  87.140 -        int r = chooser.showDialog(
  87.141 -                SwingUtilities.getWindowAncestor(this),
  87.142 -                NbBundle.getMessage(BlueJPanel.class, "Select_Directory"));
  87.143 -        if (r == JFileChooser.APPROVE_OPTION) {
  87.144 -            File file = chooser.getSelectedFile();
  87.145 -            File bjLib = BluejProject.getUserLibPath(file);
  87.146 -            System.out.println("bjhome=" + bjLib.getAbsolutePath());
  87.147 -            if (!bjLib.exists()) {
  87.148 -                DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(
  87.149 -                        NbBundle.getMessage(BlueJPanel.class, "Not_a_bluej_home", file),
  87.150 -                        NotifyDescriptor.Message.WARNING_MESSAGE));
  87.151 -                return;
  87.152 -            }
  87.153 -            txtHome.setText(file.getAbsolutePath());
  87.154 -            changed = true;
  87.155 -        }
  87.156 -        
  87.157 -    }//GEN-LAST:event_btnHomeActionPerformed
  87.158 -
  87.159 -    boolean isChangedData() {
  87.160 -        return changed;
  87.161 -    }
  87.162 -
  87.163 -    boolean isValidData() {
  87.164 -        return true;
  87.165 -    }
  87.166 -
  87.167 -    String getBlueJHome() {
  87.168 -        return txtHome.getText().trim();
  87.169 -    }
  87.170 -
  87.171 -    void setBlueJHome(String home) {
  87.172 -        txtHome.setText(home);
  87.173 -    }
  87.174 -    
  87.175 -    
  87.176 -    // Variables declaration - do not modify//GEN-BEGIN:variables
  87.177 -    private javax.swing.JButton btnHome;
  87.178 -    private javax.swing.JLabel lblHint;
  87.179 -    private javax.swing.JLabel lblHome;
  87.180 -    private javax.swing.JTextField txtHome;
  87.181 -    // End of variables declaration//GEN-END:variables
  87.182 -    
  87.183 -}
    88.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/options/BlueJSettings.java	Thu Jul 10 19:13:29 2008 +0800
    88.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    88.3 @@ -1,154 +0,0 @@
    88.4 -/*
    88.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    88.6 - *
    88.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    88.8 - *
    88.9 - * The contents of this file are subject to the terms of either the GNU
   88.10 - * General Public License Version 2 only ("GPL") or the Common
   88.11 - * Development and Distribution License("CDDL") (collectively, the
   88.12 - * "License"). You may not use this file except in compliance with the
   88.13 - * License. You can obtain a copy of the License at
   88.14 - * http://www.netbeans.org/cddl-gplv2.html
   88.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   88.16 - * specific language governing permissions and limitations under the
   88.17 - * License.  When distributing the software, include this License Header
   88.18 - * Notice in each file and include the License file at
   88.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   88.20 - * particular file as subject to the "Classpath" exception as provided
   88.21 - * by Sun in the GPL Version 2 section of the License file that
   88.22 - * accompanied this code. If applicable, add the following below the
   88.23 - * License Header, with the fields enclosed by brackets [] replaced by
   88.24 - * your own identifying information:
   88.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   88.26 - *
   88.27 - * Contributor(s):
   88.28 - *
   88.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   88.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   88.31 - * Microsystems, Inc. All Rights Reserved.
   88.32 - *
   88.33 - * If you wish your version of this file to be governed by only the CDDL
   88.34 - * or only the GPL Version 2, indicate your decision by adding
   88.35 - * "[Contributor] elects to include this software in this distribution
   88.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   88.37 - * single choice of license, a recipient has the option to distribute
   88.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   88.39 - * to extend the choice of license to its licensees as provided above.
   88.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   88.41 - * Version 2 license, then the option applies only if the new code is
   88.42 - * made subject to such option by the copyright holder.
   88.43 - */
   88.44 -
   88.45 -package org.netbeans.bluej.options;
   88.46 -
   88.47 -import java.beans.PropertyChangeListener;
   88.48 -import java.beans.PropertyChangeSupport;
   88.49 -import java.io.File;
   88.50 -import java.io.FileInputStream;
   88.51 -import java.io.FileNotFoundException;
   88.52 -import java.io.IOException;
   88.53 -import java.util.Properties;
   88.54 -import java.util.prefs.Preferences;
   88.55 -import org.openide.util.NbPreferences;
   88.56 -import org.openide.util.Utilities;
   88.57 -
   88.58 -/**
   88.59 - * 
   88.60 - * @author Milos Kleint
   88.61 - */
   88.62 -public class BlueJSettings {
   88.63 -    public static final String PROP_HOME = "home"; // NOI18N
   88.64 -    
   88.65 -    private static final BlueJSettings INSTANCE = new BlueJSettings();
   88.66 -    
   88.67 -    private PropertyChangeSupport support = new PropertyChangeSupport(this);
   88.68 -    
   88.69 -    protected final Preferences getPreferences() {
   88.70 -        return NbPreferences.forModule(BlueJSettings.class);
   88.71 -    }
   88.72 -    
   88.73 -    protected final String putProperty(String key, String value) {
   88.74 -        String retval = getProperty(key);
   88.75 -        if (value != null) {
   88.76 -            getPreferences().put(key, value);
   88.77 -        } else {
   88.78 -            getPreferences().remove(key);
   88.79 -    }
   88.80 -        support.firePropertyChange(key, retval, value);
   88.81 -        return retval;
   88.82 -    }
   88.83 -    
   88.84 -    public void addPropertyChangeListener(PropertyChangeListener listener) {
   88.85 -        support.addPropertyChangeListener(listener);
   88.86 -    }
   88.87 -    
   88.88 -    public void removePropertyChangeListener(PropertyChangeListener listener) {
   88.89 -        support.removePropertyChangeListener(listener);
   88.90 -    }
   88.91 -
   88.92 -    protected final String getProperty(String key) {
   88.93 -        return getPreferences().get(key, null);
   88.94 -    }    
   88.95 -    
   88.96 -    public static BlueJSettings getDefault() {
   88.97 -        return INSTANCE;
   88.98 -    }
   88.99 -    
  88.100 -    public File getHome() {
  88.101 -        String s = getProperty(PROP_HOME);
  88.102 -        return s != null ? new File(s) : null;
  88.103 -    }
  88.104 -    
  88.105 -    public void setHome(File home) {
  88.106 -        putProperty(PROP_HOME, home == null ? null : home.getAbsolutePath());
  88.107 -    }    
  88.108 -    
  88.109 -    /**
  88.110 -     * There is a bluej.properties file in the user directory. It countains a row of properties 
  88.111 -     * named bluej.userlibrary.*.location, it's value is the path to the library, * is the number starting from
  88.112 -     * 1. The cycle stops when there is one number missing.
  88.113 -     * the user directory is in various places on each OS. Windows is "bluej" under user.home, on macosx it's "Library/Preferences/org.bluej" under user.home
  88.114 -     * any other platform is ".bluej" under user.home.
  88.115 -     * @return as ant classpath entry.
  88.116 -     */
  88.117 -    public String getUserLibrariesAsClassPath() {
  88.118 -        File userDir = new File(System.getProperty("user.home")); // NOI18N
  88.119 -        File bluejHome = null;
  88.120 -        if (Utilities.isWindows()) {
  88.121 -            bluejHome = new File(userDir, "bluej"); // NOI18N
  88.122 -        } else if (Utilities.getOperatingSystem() == Utilities.OS_MAC) {
  88.123 -            bluejHome = new File(userDir, "Library/Preferences/org.bluej"); // NOI18N
  88.124 -        } else {
  88.125 -            bluejHome = new File(userDir, ".bluej"); // NOI18N
  88.126 -        }
  88.127 -        File prop = new File(bluejHome, "bluej.properties"); // NOI18N
  88.128 -        String path = "";
  88.129 -        if (prop.exists()) {
  88.130 -            FileInputStream str = null;
  88.131 -            try {
  88.132 -                str = new FileInputStream(prop);
  88.133 -                Properties properties = new Properties();
  88.134 -                properties.load(str);
  88.135 -                int index = 1;
  88.136 -                while (true) {
  88.137 -                    String propKey = "bluej.userlibrary." + index + ".location"; // NOI18N
  88.138 -                    String value = properties.getProperty(propKey);
  88.139 -                    if (value != null) {
  88.140 -                        path = path + (path.length() == 0 ? "" : ":") + value; // NOI18N
  88.141 -                    } else {
  88.142 -                        //we're done.
  88.143 -                        break;
  88.144 -                    }
  88.145 -                    index = index + 1;
  88.146 -                }
  88.147 -            } catch (FileNotFoundException ex) {
  88.148 -                ex.printStackTrace();
  88.149 -            } catch (IOException ex) {
  88.150 -                ex.printStackTrace();
  88.151 -            }
  88.152 -                    
  88.153 -        }
  88.154 -        return path;
  88.155 -    }
  88.156 -    
  88.157 -}
    89.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/options/BluejAdvancedOption.java	Thu Jul 10 19:13:29 2008 +0800
    89.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    89.3 @@ -1,131 +0,0 @@
    89.4 -/*
    89.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    89.6 - *
    89.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    89.8 - *
    89.9 - * The contents of this file are subject to the terms of either the GNU
   89.10 - * General Public License Version 2 only ("GPL") or the Common
   89.11 - * Development and Distribution License("CDDL") (collectively, the
   89.12 - * "License"). You may not use this file except in compliance with the
   89.13 - * License. You can obtain a copy of the License at
   89.14 - * http://www.netbeans.org/cddl-gplv2.html
   89.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   89.16 - * specific language governing permissions and limitations under the
   89.17 - * License.  When distributing the software, include this License Header
   89.18 - * Notice in each file and include the License file at
   89.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   89.20 - * particular file as subject to the "Classpath" exception as provided
   89.21 - * by Sun in the GPL Version 2 section of the License file that
   89.22 - * accompanied this code. If applicable, add the following below the
   89.23 - * License Header, with the fields enclosed by brackets [] replaced by
   89.24 - * your own identifying information:
   89.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   89.26 - *
   89.27 - * Contributor(s):
   89.28 - *
   89.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   89.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   89.31 - * Microsystems, Inc. All Rights Reserved.
   89.32 - *
   89.33 - * If you wish your version of this file to be governed by only the CDDL
   89.34 - * or only the GPL Version 2, indicate your decision by adding
   89.35 - * "[Contributor] elects to include this software in this distribution
   89.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   89.37 - * single choice of license, a recipient has the option to distribute
   89.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   89.39 - * to extend the choice of license to its licensees as provided above.
   89.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   89.41 - * Version 2 license, then the option applies only if the new code is
   89.42 - * made subject to such option by the copyright holder.
   89.43 - */
   89.44 -
   89.45 -package org.netbeans.bluej.options;
   89.46 -
   89.47 -import java.beans.PropertyChangeListener;
   89.48 -import java.io.File;
   89.49 -import java.util.ArrayList;
   89.50 -import java.util.List;
   89.51 -import javax.swing.JComponent;
   89.52 -import org.netbeans.spi.options.OptionsPanelController;
   89.53 -import org.openide.util.HelpCtx;
   89.54 -import org.openide.util.Lookup;
   89.55 -import org.openide.util.NbBundle;
   89.56 -
   89.57 -/**
   89.58 - *
   89.59 - * @author mkleint
   89.60 - */
   89.61 -public class BluejAdvancedOption extends org.netbeans.spi.options.AdvancedOption {
   89.62 -    
   89.63 -    /** Creates a new instance of BluejAdvancedOption */
   89.64 -    public BluejAdvancedOption() {
   89.65 -    }
   89.66 -
   89.67 -    public OptionsPanelController create() {
   89.68 -        return new Controller();
   89.69 -    }
   89.70 -
   89.71 -    static class Controller extends OptionsPanelController {
   89.72 -        private List listeners = new ArrayList();
   89.73 -        private BlueJPanel panel;
   89.74 -        
   89.75 -        public void update() {
   89.76 -            File fil = BlueJSettings.getDefault().getHome();
   89.77 -            getPanel().setBlueJHome(fil != null ? fil.getAbsolutePath() : "");  // NOI18N
   89.78 -        }
   89.79 -
   89.80 -        public void applyChanges() {
   89.81 -            String str = getPanel().getBlueJHome().trim();
   89.82 -            File fil = null;
   89.83 -            if (str.length() > 0) {
   89.84 -                fil = new File(str);
   89.85 -            } 
   89.86 -            BlueJSettings.getDefault().setHome(fil);
   89.87 -        }
   89.88 -
   89.89 -        public void cancel() {
   89.90 -        }
   89.91 -
   89.92 -        public boolean isValid() {
   89.93 -            return getPanel().isValidData();
   89.94 -        }
   89.95 -
   89.96 -        public boolean isChanged() {
   89.97 -            return getPanel().isChangedData();
   89.98 -        }
   89.99 -
  89.100 -        public JComponent getComponent(Lookup masterLookup) {
  89.101 -            return getPanel();
  89.102 -        }
  89.103 -
  89.104 -        public HelpCtx getHelpCtx() {
  89.105 -            return HelpCtx.DEFAULT_HELP;
  89.106 -        }
  89.107 -
  89.108 -        public void addPropertyChangeListener(PropertyChangeListener l) {
  89.109 -            listeners.add(l);
  89.110 -        }
  89.111 -
  89.112 -        public void removePropertyChangeListener(PropertyChangeListener l) {
  89.113 -            listeners.remove(l);
  89.114 -        }
  89.115 -
  89.116 -        private BlueJPanel getPanel() {
  89.117 -            if(panel == null) {
  89.118 -                panel = new BlueJPanel();
  89.119 -            }
  89.120 -            return panel;
  89.121 -        }
  89.122 -        
  89.123 -    }
  89.124 -
  89.125 -    @Override
  89.126 -    public String getDisplayName() {
  89.127 -        return NbBundle.getBundle(BluejAdvancedOption.class).getString("AdvanceOption_title"); // NOI18N
  89.128 -    }
  89.129 -
  89.130 -    @Override
  89.131 -    public String getTooltip() {
  89.132 -        return NbBundle.getBundle(BluejAdvancedOption.class).getString("AdvancedOption_tooltip"); // NOI18N
  89.133 -    }
  89.134 -}
    90.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/options/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    90.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    90.3 @@ -1,55 +0,0 @@
    90.4 -##
    90.5 -## DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    90.6 -##
    90.7 -## Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    90.8 -##
    90.9 -## The contents of this file are subject to the terms of either the GNU
   90.10 -## General Public License Version 2 only ("GPL") or the Common
   90.11 -## Development and Distribution License("CDDL") (collectively, the
   90.12 -## "License"). You may not use this file except in compliance with the
   90.13 -## License. You can obtain a copy of the License at
   90.14 -## http://www.netbeans.org/cddl-gplv2.html
   90.15 -## or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   90.16 -## specific language governing permissions and limitations under the
   90.17 -## License.  When distributing the software, include this License Header
   90.18 -## Notice in each file and include the License file at
   90.19 -## nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   90.20 -## particular file as subject to the "Classpath" exception as provided
   90.21 -## by Sun in the GPL Version 2 section of the License file that
   90.22 -## accompanied this code. If applicable, add the following below the
   90.23 -## License Header, with the fields enclosed by brackets [] replaced by
   90.24 -## your own identifying information:
   90.25 -## "Portions Copyrighted [year] [name of copyright owner]"
   90.26 -##
   90.27 -## Contributor(s):
   90.28 -##
   90.29 -## The Original Software is NetBeans. The Initial Developer of the Original
   90.30 -## Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   90.31 -## Microsystems, Inc. All Rights Reserved.
   90.32 -##
   90.33 -## If you wish your version of this file to be governed by only the CDDL
   90.34 -## or only the GPL Version 2, indicate your decision by adding
   90.35 -## "[Contributor] elects to include this software in this distribution
   90.36 -## under the [CDDL or GPL Version 2] license." If you do not indicate a
   90.37 -## single choice of license, a recipient has the option to distribute
   90.38 -## your version of this file under either the CDDL, the GPL Version 2 or
   90.39 -## to extend the choice of license to its licensees as provided above.
   90.40 -## However, if you add GPL Version 2 code and therefore, elected the GPL
   90.41 -## Version 2 license, then the option applies only if the new code is
   90.42 -## made subject to such option by the copyright holder.
   90.43 -##
   90.44 -
   90.45 -BTN_Home=Browse...
   90.46 -LBL_Home=BlueJ Home \:
   90.47 -Select_Directory=Select Directory
   90.48 -Not_a_bluej_home=Not a BlueJ home directory.
   90.49 -LBL_Hint=<html>Set the root directory of your local BlueJ installation, to be able to find additional jars that belong on BlueJ project classpath.</html>
   90.50 -LBL_Settings=BlueJ Settings
   90.51 -SETTING_DisplayName=BlueJ Home
   90.52 -SETTING_Description=The installation directory where bluej is installed.
   90.53 -
   90.54 -AdvanceOption_title=BlueJ
   90.55 -
   90.56 -AdvancedOption_tooltip=BlueJ
   90.57 -
   90.58 -Macosx_filter=Directories and applications
    91.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/packagewizard/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
    91.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    91.3 @@ -1,2 +0,0 @@
    91.4 -# Sample ResourceBundle properties file
    91.5 -Templates/Classes/Package=Java Package
    91.6 \ No newline at end of file
    92.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/packagewizard/Package.html	Thu Jul 10 19:13:29 2008 +0800
    92.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    92.3 @@ -1,46 +0,0 @@
    92.4 -<!--
    92.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    92.6 -
    92.7 -Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    92.8 -
    92.9 -
   92.10 -The contents of this file are subject to the terms of either the GNU
   92.11 -General Public License Version 2 only ("GPL") or the Common
   92.12 -Development and Distribution License("CDDL") (collectively, the
   92.13 -"License"). You may not use this file except in compliance with the
   92.14 -License. You can obtain a copy of the License at
   92.15 -http://www.netbeans.org/cddl-gplv2.html
   92.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   92.17 -specific language governing permissions and limitations under the
   92.18 -License.  When distributing the software, include this License Header
   92.19 -Notice in each file and include the License file at
   92.20 -nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   92.21 -particular file as subject to the "Classpath" exception as provided
   92.22 -by Sun in the GPL Version 2 section of the License file that
   92.23 -accompanied this code. If applicable, add the following below the
   92.24 -License Header, with the fields enclosed by brackets [] replaced by
   92.25 -your own identifying information:
   92.26 -"Portions Copyrighted [year] [name of copyright owner]"
   92.27 -
   92.28 -Contributor(s):
   92.29 -
   92.30 -The Original Software is NetBeans. The Initial Developer of the Original
   92.31 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   92.32 -Microsystems, Inc. All Rights Reserved.
   92.33 -
   92.34 -If you wish your version of this file to be governed by only the CDDL
   92.35 -or only the GPL Version 2, indicate your decision by adding
   92.36 -"[Contributor] elects to include this software in this distribution
   92.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
   92.38 -single choice of license, a recipient has the option to distribute
   92.39 -your version of this file under either the CDDL, the GPL Version 2 or
   92.40 -to extend the choice of license to its licensees as provided above.
   92.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
   92.42 -Version 2 license, then the option applies only if the new code is
   92.43 -made subject to such option by the copyright holder.
   92.44 --->
   92.45 -
   92.46 -<HTML><BODY>
   92.47 -Creates a package to hold Java source files. This package physically takes the 
   92.48 -form of an empty folder on your disk.
   92.49 -</BODY></HTML>
    93.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/packagewizard/PackageWizardIterator.java	Thu Jul 10 19:13:29 2008 +0800
    93.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    93.3 @@ -1,164 +0,0 @@
    93.4 -/*
    93.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    93.6 - *
    93.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    93.8 - *
    93.9 - * The contents of this file are subject to the terms of either the GNU
   93.10 - * General Public License Version 2 only ("GPL") or the Common
   93.11 - * Development and Distribution License("CDDL") (collectively, the
   93.12 - * "License"). You may not use this file except in compliance with the
   93.13 - * License. You can obtain a copy of the License at
   93.14 - * http://www.netbeans.org/cddl-gplv2.html
   93.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   93.16 - * specific language governing permissions and limitations under the
   93.17 - * License.  When distributing the software, include this License Header
   93.18 - * Notice in each file and include the License file at
   93.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   93.20 - * particular file as subject to the "Classpath" exception as provided
   93.21 - * by Sun in the GPL Version 2 section of the License file that
   93.22 - * accompanied this code. If applicable, add the following below the
   93.23 - * License Header, with the fields enclosed by brackets [] replaced by
   93.24 - * your own identifying information:
   93.25 - * "Portions Copyrighted [year] [name of copyright owner]"
   93.26 - *
   93.27 - * Contributor(s):
   93.28 - *
   93.29 - * The Original Software is NetBeans. The Initial Developer of the Original
   93.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   93.31 - * Microsystems, Inc. All Rights Reserved.
   93.32 - *
   93.33 - * If you wish your version of this file to be governed by only the CDDL
   93.34 - * or only the GPL Version 2, indicate your decision by adding
   93.35 - * "[Contributor] elects to include this software in this distribution
   93.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
   93.37 - * single choice of license, a recipient has the option to distribute
   93.38 - * your version of this file under either the CDDL, the GPL Version 2 or
   93.39 - * to extend the choice of license to its licensees as provided above.
   93.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
   93.41 - * Version 2 license, then the option applies only if the new code is
   93.42 - * made subject to such option by the copyright holder.
   93.43 - */
   93.44 -
   93.45 -package org.netbeans.bluej.packagewizard;
   93.46 -
   93.47 -import java.io.IOException;
   93.48 -import java.lang.reflect.InvocationTargetException;
   93.49 -import java.lang.reflect.Method;
   93.50 -import java.util.Set;
   93.51 -import javax.swing.event.ChangeListener;
   93.52 -import org.netbeans.api.project.FileOwnerQuery;
   93.53 -import org.netbeans.api.project.Project;
   93.54 -import org.netbeans.bluej.BluejProject;
   93.55 -import org.netbeans.spi.project.ui.templates.support.Templates;
   93.56 -import org.openide.WizardDescriptor;
   93.57 -import org.openide.filesystems.FileObject;
   93.58 -import org.openide.filesystems.FileSystem;
   93.59 -import org.openide.util.Lookup;
   93.60 -
   93.61 -/**
   93.62 - * a hacky wrapper around the default package wizard iterator, making sure we create the bluej.pkg file in a package so
   93.63 - * that it appears in the bluej view.
   93.64 - * @author mkleint
   93.65 - */
   93.66 -public class PackageWizardIterator implements WizardDescriptor.InstantiatingIterator {
   93.67 -    
   93.68 -    private WizardDescriptor.InstantiatingIterator delegate;
   93.69 -
   93.70 -    private WizardDescriptor wiz;
   93.71 -
   93.72 -    private Set set;
   93.73 -    
   93.74 -    
   93.75 -    public static PackageWizardIterator createWizard() {
   93.76 -        return new PackageWizardIterator();
   93.77 -    }
   93.78 -    
   93.79 -    /** Creates a new instance of PackageWizardIterator */
   93.80 -    private PackageWizardIterator() {
   93.81 -        ClassLoader ldr = (ClassLoader) Lookup.getDefault().lookup(ClassLoader.class);
   93.82 -        Class clazz;
   93.83 -        Method method;
   93.84 -        try {
   93.85 -            clazz = Class.forName("org.netbeans.modules.java.project.NewJavaFileWizardIterator", true, ldr); // NOI18N
   93.86 -            method = clazz.getMethod("packageWizard", null); // NOI18N
   93.87 -            delegate = (WizardDescriptor.InstantiatingIterator)method.invoke(null, null);
   93.88 -        } catch (SecurityException ex) {
   93.89 -            ex.printStackTrace();
   93.90 -        } catch (NoSuchMethodException ex) {
   93.91 -            ex.printStackTrace();
   93.92 -        } catch (ClassNotFoundException ex) {
   93.93 -            ex.printStackTrace();
   93.94 -        } catch (IllegalArgumentException ex) {
   93.95 -            ex.printStackTrace();
   93.96 -        } catch (IllegalAccessException ex) {
   93.97 -            ex.printStackTrace();
   93.98 -        } catch (InvocationTargetException ex) {
   93.99 -            ex.printStackTrace();
  93.100 -        }
  93.101 -    }
  93.102 -
  93.103 -    public Set instantiate() throws IOException {
  93.104 -        FileObject dir = Templates.getTargetFolder( wiz );
  93.105 -        Project project = FileOwnerQuery.getOwner(dir);
  93.106 -        if (project.getLookup().lookup(BluejProject.class) != null) {
  93.107 -            FileSystem fs = dir.getFileSystem();
  93.108 -            
  93.109 -            fs.runAtomicAction(
  93.110 -                    new FileSystem.AtomicAction() {
  93.111 -                public void run() throws IOException {
  93.112 -                    set = delegate.instantiate();
  93.113 -                    FileObject fo = (FileObject)set.iterator().next();
  93.114 -                    fo.createData("bluej.pkg"); // NOI18N
  93.115 -                }
  93.116 -            }
  93.117 -            );
  93.118 -            
  93.119 -        } else {
  93.120 -            set = delegate.instantiate();
  93.121 -            
  93.122 -        }
  93.123 -        return set;
  93.124 -    }
  93.125 -
  93.126 -    public void initialize(WizardDescriptor wizard) {
  93.127 -        wiz = wizard;
  93.128 -        delegate.initialize(wizard);
  93.129 -    }
  93.130 -
  93.131 -    public void uninitialize(WizardDescriptor wizard) {
  93.132 -        delegate.uninitialize(wizard);
  93.133 -    }
  93.134 -
  93.135 -    public WizardDescriptor.Panel current() {
  93.136 -        return delegate.current();
  93.137 -    }
  93.138 -
  93.139 -    public String name() {
  93.140 -        return delegate.name();
  93.141 -    }
  93.142 -
  93.143 -    public boolean hasNext() {
  93.144 -        return delegate.hasNext();
  93.145 -    }
  93.146 -
  93.147 -    public boolean hasPrevious() {
  93.148 -        return delegate.hasPrevious();
  93.149 -    }
  93.150 -
  93.151 -    public void nextPanel() {
  93.152 -        delegate.nextPanel();
  93.153 -    }
  93.154 -
  93.155 -    public void previousPanel() {
  93.156 -        delegate.previousPanel();
  93.157 -    }
  93.158 -
  93.159 -    public void addChangeListener(ChangeListener l) {
  93.160 -        delegate.addChangeListener(l);
  93.161 -    }
  93.162 -
  93.163 -    public void removeChangeListener(ChangeListener l) {
  93.164 -        delegate.removeChangeListener(l);
  93.165 -    }
  93.166 -    
  93.167 -}
    94.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/bluej-class.png has changed
    95.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/bluej-testclass-unattached.png has changed
    96.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/bluej-testclass.png has changed
    97.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/bluejproject.png has changed
    98.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/build-impl.xml	Thu Jul 10 19:13:29 2008 +0800
    98.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    98.3 @@ -1,594 +0,0 @@
    98.4 -<?xml version="1.0" encoding="UTF-8"?>
    98.5 -<!--
    98.6 -*** GENERATED FROM project.xml - DO NOT EDIT  ***
    98.7 -***         EDIT ../build.xml INSTEAD         ***
    98.8 -
    98.9 -For the purpose of easier reading the script
   98.10 -is divided into following sections:
   98.11 -
   98.12 -  - initialization
   98.13 -  - compilation
   98.14 -  - jar
   98.15 -  - execution
   98.16 -  - debugging
   98.17 -  - javadoc
   98.18 -  - junit compilation
   98.19 -  - junit execution
   98.20 -  - junit debugging
   98.21 -  - applet
   98.22 -  - cleanup
   98.23 -
   98.24 --->
   98.25 -<project name="@PROJECTNAME@-impl" default="default" basedir=".." xmlns:bluejproject="http://www.netbeans.org/ns/bluej-project/2">
   98.26 -    <target name="default" depends="test,jar,javadoc" description="Build and test whole project."/>
   98.27 -    <!-- 
   98.28 -    ======================
   98.29 -    INITIALIZATION SECTION 
   98.30 -    ======================
   98.31 -    -->
   98.32 -    <target name="-pre-init">
   98.33 -        <!-- Empty placeholder for easier customization. -->
   98.34 -        <!-- You can override this target in the ../build.xml file. -->
   98.35 -    </target>
   98.36 -    <target name="-init-private" depends="-pre-init">
   98.37 -        <property file="nbproject/private/private.properties"/>
   98.38 -    </target>
   98.39 -    <target name="-init-user" depends="-pre-init,-init-private">
   98.40 -        <property file="${user.properties.file}"/>
   98.41 -        <!-- The two properties below are usually overridden -->
   98.42 -        <!-- by the active platform. Just a fallback. -->
   98.43 -        <property name="default.javac.source" value="1.4"/>
   98.44 -        <property name="default.javac.target" value="1.4"/>
   98.45 -    </target>
   98.46 -    <target name="-init-project" depends="-pre-init,-init-private,-init-user">
   98.47 -        <property file="nbproject/project.properties"/>
   98.48 -    </target>
   98.49 -    
   98.50 -    <target name="-init-bluej" depends="-do-init" if="bluej.home.available">
   98.51 -            <fileset dir="${bluej.userlib}" id="bluej.home.libraries">
   98.52 -                <include name="*.jar"/>
   98.53 -                <include name="*.zip"/>
   98.54 -            </fileset>
   98.55 -        <pathconvert property="bluej.libraries" refid="bluej.home.libraries"/>
   98.56 -    </target>
   98.57 -    
   98.58 -    <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">
   98.59 -        <condition property="bluej.home.available">
   98.60 -            <and>
   98.61 -                <isset property="bluej.userlib"/>
   98.62 -                <available file="${bluej.userlib}"/>
   98.63 -            </and>
   98.64 -        </condition>
   98.65 -        
   98.66 -        <condition property="main.class.available">
   98.67 -            <and>
   98.68 -                <isset property="main.class"/>
   98.69 -                <not>
   98.70 -                    <equals arg1="${main.class}" arg2="" trim="true"/>
   98.71 -                </not>
   98.72 -            </and>
   98.73 -        </condition>
   98.74 -        <available file="${manifest.file}" property="manifest.available"/>
   98.75 -        <condition property="manifest.available+main.class">
   98.76 -            <and>
   98.77 -                <isset property="manifest.available"/>
   98.78 -                <istrue value="${main.class.available}"/>
   98.79 -            </and>
   98.80 -        </condition>
   98.81 -        <condition property="manifest.available+main.class+mkdist.available">
   98.82 -            <and>
   98.83 -                <istrue value="${manifest.available+main.class}"/>
   98.84 -                <isset property="libs.CopyLibs.classpath"/>
   98.85 -            </and>
   98.86 -        </condition>
   98.87 -        <condition property="have.tests">
   98.88 -            <or>
   98.89 -                <available file="${test.src.dir}"/>
   98.90 -            </or>
   98.91 -        </condition>
   98.92 -        <condition property="have.sources">
   98.93 -            <or>
   98.94 -                <available file="${src.dir}"/>
   98.95 -            </or>
   98.96 -        </condition>
   98.97 -        <condition property="netbeans.home+have.tests">
   98.98 -            <and>
   98.99 -                <isset property="netbeans.home"/>
  98.100 -                <isset property="have.tests"/>
  98.101 -            </and>
  98.102 -        </condition>
  98.103 -        <condition property="no.javadoc.preview">
  98.104 -            <isfalse value="${javadoc.preview}"/>
  98.105 -        </condition>
  98.106 -        <property name="run.jvmargs" value=""/>
  98.107 -        <property name="javac.compilerargs" value=""/>
  98.108 -        <property name="work.dir" value="${basedir}"/>
  98.109 -        <condition property="no.deps">
  98.110 -            <and>
  98.111 -                <istrue value="${no.dependencies}"/>
  98.112 -            </and>
  98.113 -        </condition>
  98.114 -        <property name="javac.debug" value="true"/>
  98.115 -        <property name="javadoc.preview" value="true"/>
  98.116 -    </target>
  98.117 -    <target name="-post-init">
  98.118 -        <!-- Empty placeholder for easier customization. -->
  98.119 -        <!-- You can override this target in the ../build.xml file. -->
  98.120 -    </target>
  98.121 -    <target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">
  98.122 -        <fail unless="src.dir">Must set src.dir</fail>
  98.123 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
  98.124 -        <fail unless="build.dir">Must set build.dir</fail>
  98.125 -        <fail unless="dist.dir">Must set dist.dir</fail>
  98.126 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
  98.127 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
  98.128 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
  98.129 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
  98.130 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
  98.131 -        <fail unless="dist.jar">Must set dist.jar</fail>
  98.132 -    </target>
  98.133 -    <target name="-init-macrodef-property">
  98.134 -        <macrodef name="property" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.135 -            <attribute name="name"/>
  98.136 -            <attribute name="value"/>
  98.137 -            <sequential>
  98.138 -                <property name="@{name}" value="${@{value}}"/>
  98.139 -            </sequential>
  98.140 -        </macrodef>
  98.141 -    </target>
  98.142 -    <target name="-init-macrodef-javac">
  98.143 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.144 -            <attribute name="srcdir" default="${src.dir}"/>
  98.145 -            <attribute name="destdir" default="${build.classes.dir}"/>
  98.146 -            <attribute name="classpath" default="${javac.classpath}"/>
  98.147 -            <attribute name="debug" default="${javac.debug}"/>
  98.148 -            <element name="customize" optional="true"/>
  98.149 -            <sequential>
  98.150 -                <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" includeantruntime="false">
  98.151 -                    <classpath>
  98.152 -                        <path path="@{classpath}"/>
  98.153 -                        <fileset dir="${basedir}">
  98.154 -                            <include name="+libs/*.jar"/>
  98.155 -                            <include name="+libs/*.zip"/>
  98.156 -                        </fileset>
  98.157 -                        <path path="${bluej.libraries}"/>
  98.158 -                        <path path="${bluej.config.libraries}"/>
  98.159 -                    </classpath>
  98.160 -                    <compilerarg line="${javac.compilerargs}"/>
  98.161 -                    <customize/>
  98.162 -                </javac>
  98.163 -            </sequential>
  98.164 -        </macrodef>
  98.165 -    </target>
  98.166 -    <target name="-init-macrodef-junit">
  98.167 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.168 -            <attribute name="includes" default="**/*Test.java"/>
  98.169 -            <sequential>
  98.170 -                <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed">
  98.171 -                    <batchtest todir="${build.test.results.dir}">
  98.172 -                        <fileset dir="${test.src.dir}" includes="@{includes}"/>
  98.173 -                    </batchtest>
  98.174 -                    <classpath>
  98.175 -                        <path path="${run.test.classpath}"/>
  98.176 -                        <fileset dir="${basedir}">
  98.177 -                            <include name="+libs/*.jar"/>
  98.178 -                            <include name="+libs/*.zip"/>
  98.179 -                        </fileset>
  98.180 -                        <path path="${bluej.libraries}"/>
  98.181 -                        <path path="${bluej.config.libraries}"/>
  98.182 -
  98.183 -                        <!--path path="${run.test.classpath}"/-->
  98.184 -                    </classpath>
  98.185 -                    <syspropertyset>
  98.186 -                        <propertyref prefix="test-sys-prop."/>
  98.187 -                        <mapper type="glob" from="test-sys-prop.*" to="*"/>
  98.188 -                    </syspropertyset>
  98.189 -                    <formatter type="brief" usefile="false"/>
  98.190 -                    <formatter type="xml"/>
  98.191 -                    <jvmarg line="${run.jvmargs}"/>
  98.192 -                </junit>
  98.193 -            </sequential>
  98.194 -        </macrodef>
  98.195 -    </target>
  98.196 -    <target name="-init-macrodef-nbjpda">
  98.197 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.198 -            <attribute name="name" default="${main.class}"/>
  98.199 -            <attribute name="classpath" default="${debug.classpath}"/>
  98.200 -            <attribute name="stopclassname" default=""/>
  98.201 -            <sequential>
  98.202 -                <nbjpdastart transport="dt_socket" addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}">
  98.203 -                    <classpath>
  98.204 -                        <path path="@{classpath}"/>
  98.205 -                        <fileset dir="${basedir}">
  98.206 -                            <include name="+libs/*.jar"/>
  98.207 -                            <include name="+libs/*.zip"/>
  98.208 -                        </fileset>
  98.209 -                        <path path="${bluej.libraries}"/>
  98.210 -                        <path path="${bluej.config.libraries}"/>
  98.211 -                    </classpath>
  98.212 -                </nbjpdastart>
  98.213 -            </sequential>
  98.214 -        </macrodef>
  98.215 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.216 -            <attribute name="dir" default="${build.classes.dir}"/>
  98.217 -            <sequential>
  98.218 -                <nbjpdareload>
  98.219 -                    <fileset includes="${fix.includes}*.class" dir="@{dir}"/>
  98.220 -                </nbjpdareload>
  98.221 -            </sequential>
  98.222 -        </macrodef>
  98.223 -    </target>
  98.224 -    <target name="-init-macrodef-debug">
  98.225 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.226 -            <attribute name="classname" default="${main.class}"/>
  98.227 -            <attribute name="classpath" default="${debug.classpath}"/>
  98.228 -            <element name="customize" optional="true"/>
  98.229 -            <sequential>
  98.230 -                <java fork="true" classname="@{classname}" dir="${work.dir}">
  98.231 -                    <jvmarg value="-Xdebug"/>
  98.232 -                    <jvmarg value="-Xnoagent"/>
  98.233 -                    <jvmarg value="-Djava.compiler=none"/>
  98.234 -                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
  98.235 -                    <jvmarg line="${run.jvmargs}"/>
  98.236 -                    <classpath>
  98.237 -                        <path path="@{classpath}"/>
  98.238 -                        <fileset dir="${basedir}">
  98.239 -                            <include name="+libs/*.jar"/>
  98.240 -                            <include name="+libs/*.zip"/>
  98.241 -                        </fileset>
  98.242 -                        <path path="${bluej.libraries}"/>
  98.243 -                        <path path="${bluej.config.libraries}"/>
  98.244 -                    </classpath>
  98.245 -                    <syspropertyset>
  98.246 -                        <propertyref prefix="run-sys-prop."/>
  98.247 -                        <mapper type="glob" from="run-sys-prop.*" to="*"/>
  98.248 -                    </syspropertyset>
  98.249 -                    <customize/>
  98.250 -                </java>
  98.251 -            </sequential>
  98.252 -        </macrodef>
  98.253 -    </target>
  98.254 -    <target name="-init-macrodef-java">
  98.255 -        <macrodef name="java" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.256 -            <attribute name="classname" default="${main.class}"/>
  98.257 -            <element name="customize" optional="true"/>
  98.258 -            <sequential>
  98.259 -                <java fork="true" classname="@{classname}" dir="${work.dir}">
  98.260 -                    <jvmarg line="${run.jvmargs}"/>
  98.261 -                    <classpath>
  98.262 -                        <path path="${run.classpath}"/>
  98.263 -                        <fileset dir="${basedir}">
  98.264 -                            <include name="+libs/*.jar"/>
  98.265 -                            <include name="+libs/*.zip"/>
  98.266 -                        </fileset>
  98.267 -                        <path path="${bluej.libraries}"/>
  98.268 -                        <path path="${bluej.config.libraries}"/>
  98.269 -                    </classpath>
  98.270 -                    <syspropertyset>
  98.271 -                        <propertyref prefix="run-sys-prop."/>
  98.272 -                        <mapper type="glob" from="run-sys-prop.*" to="*"/>
  98.273 -                    </syspropertyset>
  98.274 -                    <customize/>
  98.275 -                </java>
  98.276 -            </sequential>
  98.277 -        </macrodef>
  98.278 -    </target>
  98.279 -    <target name="-init-presetdef-jar">
  98.280 -        <presetdef name="jar" uri="http://www.netbeans.org/ns/bluej-project/2">
  98.281 -            <jar jarfile="${dist.jar}" compress="${jar.compress}">
  98.282 -                <bluejproject:fileset dir="${build.classes.dir}" excludes="${dist.jar},dist/,doc/,nbproject/,build.xml,**/*.java,**/*.ctxt,**/bluej.pkg"/>
  98.283 -            </jar>
  98.284 -        </presetdef>
  98.285 -    </target>
  98.286 -    <target name="init" depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar, -init-bluej"/>
  98.287 -    <!--
  98.288 -    ===================
  98.289 -    COMPILATION SECTION
  98.290 -    ===================
  98.291 -    -->
  98.292 -    <target name="deps-jar" depends="init" unless="no.deps"/>
  98.293 -    <target name="-pre-pre-compile" depends="init,deps-jar">
  98.294 -        <mkdir dir="${build.classes.dir}"/>
  98.295 -    </target>
  98.296 -    <target name="-pre-compile">
  98.297 -        <!-- Empty placeholder for easier customization. -->
  98.298 -        <!-- You can override this target in the ../build.xml file. -->
  98.299 -    </target>
  98.300 -    <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile" if="have.sources">
  98.301 -        <bluejproject:javac/>
  98.302 -        <copy todir="${build.classes.dir}">
  98.303 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
  98.304 -        </copy>
  98.305 -    </target>
  98.306 -    <target name="-post-compile">
  98.307 -        <!-- Empty placeholder for easier customization. -->
  98.308 -        <!-- You can override this target in the ../build.xml file. -->
  98.309 -    </target>
  98.310 -    <target name="compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project."/>
  98.311 -    <target name="-pre-compile-single">
  98.312 -        <!-- Empty placeholder for easier customization. -->
  98.313 -        <!-- You can override this target in the ../build.xml file. -->
  98.314 -    </target>
  98.315 -    <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">
  98.316 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  98.317 -        <bluejproject:javac>
  98.318 -            <customize>
  98.319 -                <patternset includes="${javac.includes}"/>
  98.320 -            </customize>
  98.321 -        </bluejproject:javac>
  98.322 -    </target>
  98.323 -    <target name="-post-compile-single">
  98.324 -        <!-- Empty placeholder for easier customization. -->
  98.325 -        <!-- You can override this target in the ../build.xml file. -->
  98.326 -    </target>
  98.327 -    <target name="compile-single" depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single"/>
  98.328 -    <!--
  98.329 -    ====================
  98.330 -    JAR BUILDING SECTION
  98.331 -    ====================
  98.332 -    -->
  98.333 -    <target name="-pre-pre-jar" depends="init">
  98.334 -        <dirname property="dist.jar.dir" file="${dist.jar}"/>
  98.335 -        <mkdir dir="${dist.jar.dir}"/>
  98.336 -    </target>
  98.337 -    <target name="-pre-jar">
  98.338 -        <!-- Empty placeholder for easier customization. -->
  98.339 -        <!-- You can override this target in the ../build.xml file. -->
  98.340 -    </target>
  98.341 -    <target name="-do-jar-without-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" unless="main.class.available">
  98.342 -        <bluejproject:jar/>
  98.343 -    </target>
  98.344 -    <target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" if="main.class.available" unless="manifest.available">
  98.345 -        <bluejproject:jar>
  98.346 -            <bluejproject:manifest>
  98.347 -                <bluejproject:attribute name="Main-Class" value="${main.class}"/>
  98.348 -            </bluejproject:manifest>
  98.349 -        </bluejproject:jar>
  98.350 -    </target>
  98.351 -    <target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" unless="manifest.available+main.class">
  98.352 -        <bluejproject:jar manifest="${manifest.file}"/>
  98.353 -    </target>
  98.354 -    <target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" unless="manifest.available+main.class+mkdist.available">
  98.355 -        <bluejproject:jar manifest="${manifest.file}">
  98.356 -            <bluejproject:manifest>
  98.357 -                <bluejproject:attribute name="Main-Class" value="${main.class}"/>
  98.358 -            </bluejproject:manifest>
  98.359 -        </bluejproject:jar>
  98.360 -        <echo>To run this application from the command line without Ant, try:</echo>
  98.361 -        <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
  98.362 -        <property name="dist.jar.resolved" location="${dist.jar}"/>
  98.363 -        <pathconvert property="run.classpath.with.dist.jar">
  98.364 -            <path path="${run.classpath}"/>
  98.365 -            <fileset dir="${basedir}">
  98.366 -                <include name="+libs/*.jar"/>
  98.367 -                <include name="+libs/*.zip"/>
  98.368 -            </fileset>
  98.369 -            <path path="${bluej.libraries}"/>
  98.370 -            <path path="${bluej.config.libraries}"/>
  98.371 -            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
  98.372 -        </pathconvert>
  98.373 -        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
  98.374 -    </target>
  98.375 -    <target name="-do-jar-with-libraries" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available">
  98.376 -        <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
  98.377 -        <pathconvert property="run.classpath.without.build.classes.dir">
  98.378 -            <path path="${run.classpath}"/>
  98.379 -            <fileset dir="${basedir}">
  98.380 -                <include name="+libs/*.jar"/>
  98.381 -                <include name="+libs/*.zip"/>
  98.382 -            </fileset>
  98.383 -            <path path="${bluej.libraries}"/>
  98.384 -            <path path="${bluej.config.libraries}"/>
  98.385 -            <map from="${build.classes.dir.resolved}" to=""/>
  98.386 -        </pathconvert>
  98.387 -        <pathconvert property="jar.classpath" pathsep=" ">
  98.388 -            <path path="${run.classpath.without.build.classes.dir}"/>
  98.389 -            <chainedmapper>
  98.390 -                <flattenmapper/>
  98.391 -                <globmapper from="*" to="lib/*"/>
  98.392 -            </chainedmapper>
  98.393 -        </pathconvert>
  98.394 -        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" name="copylibs" classpath="${libs.CopyLibs.classpath}"/>
  98.395 -        <copylibs manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}" jarfile="${dist.jar}" compress="${jar.compress}">
  98.396 -            <fileset dir="${build.classes.dir}" excludes="${dist.jar}"/>
  98.397 -            <manifest>
  98.398 -                <attribute name="Main-Class" value="${main.class}"/>
  98.399 -                <attribute name="Class-Path" value="${jar.classpath}"/>
  98.400 -            </manifest>
  98.401 -        </copylibs>
  98.402 -        <echo>To run this application from the command line without Ant, try:</echo>
  98.403 -        <property name="dist.jar.resolved" location="${dist.jar}"/>
  98.404 -        <echo>java -jar "${dist.jar.resolved}"</echo>
  98.405 -    </target>
  98.406 -    <target name="-post-jar">
  98.407 -        <!-- Empty placeholder for easier customization. -->
  98.408 -        <!-- You can override this target in the ../build.xml file. -->
  98.409 -    </target>
  98.410 -    <target name="jar" depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-without-mainclass,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR."/>
  98.411 -    <!--
  98.412 -    =================
  98.413 -    EXECUTION SECTION
  98.414 -    =================
  98.415 -    -->
  98.416 -    <target name="run" depends="init,compile" description="Run a main class.">
  98.417 -        <bluejproject:java>
  98.418 -            <customize>
  98.419 -                <arg line="${application.args}"/>
  98.420 -            </customize>
  98.421 -        </bluejproject:java>
  98.422 -    </target>
  98.423 -    <target name="run-single" depends="init,compile-single">
  98.424 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  98.425 -        <bluejproject:java classname="${run.class}"/>
  98.426 -    </target>
  98.427 -    <!--
  98.428 -    =================
  98.429 -    DEBUGGING SECTION
  98.430 -    =================
  98.431 -    -->
  98.432 -    <target name="-debug-start-debugger" if="netbeans.home" depends="init">
  98.433 -        <bluejproject:nbjpdastart name="${debug.class}"/>
  98.434 -    </target>
  98.435 -    <target name="-debug-start-debuggee" depends="init,compile">
  98.436 -        <bluejproject:debug>
  98.437 -            <customize>
  98.438 -                <arg line="${application.args}"/>
  98.439 -            </customize>
  98.440 -        </bluejproject:debug>
  98.441 -    </target>
  98.442 -    <target name="debug" if="netbeans.home" depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE."/>
  98.443 -    <target name="-debug-start-debugger-stepinto" if="netbeans.home" depends="init">
  98.444 -        <bluejproject:nbjpdastart stopclassname="${main.class}"/>
  98.445 -    </target>
  98.446 -    <target name="debug-stepinto" if="netbeans.home" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee"/>
  98.447 -    <target name="-debug-start-debuggee-single" if="netbeans.home" depends="init,compile-single">
  98.448 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  98.449 -        <bluejproject:debug classname="${debug.class}"/>
  98.450 -    </target>
  98.451 -    <target name="debug-single" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single"/>
  98.452 -    <target name="-pre-debug-fix" depends="init">
  98.453 -        <fail unless="fix.includes">Must set fix.includes</fail>
  98.454 -        <property name="javac.includes" value="${fix.includes}.java"/>
  98.455 -    </target>
  98.456 -    <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single">
  98.457 -        <bluejproject:nbjpdareload/>
  98.458 -    </target>
  98.459 -    <target name="debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix"/>
  98.460 -    <!--
  98.461 -    ===============
  98.462 -    JAVADOC SECTION
  98.463 -    ===============
  98.464 -    -->
  98.465 -    <target name="-javadoc-build" depends="init">
  98.466 -        <mkdir dir="${dist.javadoc.dir}"/>
  98.467 -        <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true">
  98.468 -            <classpath>
  98.469 -                <path path="${javac.classpath}"/>
  98.470 -                <fileset dir="${basedir}">
  98.471 -                    <include name="+libs/*.jar"/>
  98.472 -                    <include name="+libs/*.zip"/>
  98.473 -                </fileset>
  98.474 -                <path path="${bluej.libraries}"/>
  98.475 -                <path path="${bluej.config.libraries}"/>
  98.476 -            </classpath>
  98.477 -            <sourcepath>
  98.478 -                <pathelement location="${src.dir}"/>
  98.479 -            </sourcepath>
  98.480 -            <packageset dir="${src.dir}" includes="*/**"/>
  98.481 -            <fileset dir="${src.dir}" includes="*.java"/>
  98.482 -        </javadoc>
  98.483 -    </target>
  98.484 -    <target name="-javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,-javadoc-build">
  98.485 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  98.486 -    </target>
  98.487 -    <target name="javadoc" depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc."/>
  98.488 -    <!--
  98.489 -    =========================
  98.490 -    JUNIT COMPILATION SECTION
  98.491 -    =========================
  98.492 -    -->
  98.493 -    <target name="-pre-pre-compile-test" if="have.tests" depends="init,compile">
  98.494 -        <mkdir dir="${build.test.classes.dir}"/>
  98.495 -    </target>
  98.496 -    <target name="-pre-compile-test">
  98.497 -        <!-- Empty placeholder for easier customization. -->
  98.498 -        <!-- You can override this target in the ../build.xml file. -->
  98.499 -    </target>
  98.500 -    <target name="-do-compile-test" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test">
  98.501 -        <bluejproject:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"/>
  98.502 -        <copy todir="${build.test.classes.dir}">
  98.503 -            <fileset dir="${test.src.dir}" excludes="**/*.java"/>
  98.504 -        </copy>
  98.505 -    </target>
  98.506 -    <target name="-post-compile-test">
  98.507 -        <!-- Empty placeholder for easier customization. -->
  98.508 -        <!-- You can override this target in the ../build.xml file. -->
  98.509 -    </target>
  98.510 -    <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
  98.511 -    <target name="-pre-compile-test-single">
  98.512 -        <!-- Empty placeholder for easier customization. -->
  98.513 -        <!-- You can override this target in the ../build.xml file. -->
  98.514 -    </target>
  98.515 -    <target name="-do-compile-test-single" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single">
  98.516 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  98.517 -        <bluejproject:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}">
  98.518 -            <customize>
  98.519 -                <patternset includes="${javac.includes}"/>
  98.520 -            </customize>
  98.521 -        </bluejproject:javac>
  98.522 -        <copy todir="${build.test.classes.dir}">
  98.523 -            <fileset dir="${test.src.dir}" excludes="**/*.java"/>
  98.524 -        </copy>
  98.525 -    </target>
  98.526 -    <target name="-post-compile-test-single">
  98.527 -        <!-- Empty placeholder for easier customization. -->
  98.528 -        <!-- You can override this target in the ../build.xml file. -->
  98.529 -    </target>
  98.530 -    <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single"/>
  98.531 -    <!--
  98.532 -    =======================
  98.533 -    JUNIT EXECUTION SECTION
  98.534 -    =======================
  98.535 -    -->
  98.536 -    <target name="-pre-test-run" if="have.tests" depends="init">
  98.537 -        <mkdir dir="${build.test.results.dir}"/>
  98.538 -    </target>
  98.539 -    <target name="-do-test-run" if="have.tests" depends="init,compile-test,-pre-test-run">
  98.540 -        <bluejproject:junit/>
  98.541 -    </target>
  98.542 -    <target name="-post-test-run" if="have.tests" depends="init,compile-test,-pre-test-run,-do-test-run">
  98.543 -        <fail if="tests.failed">Some tests failed; see details above.</fail>
  98.544 -    </target>
  98.545 -    <target name="test-report" if="have.tests" depends="init"/>
  98.546 -    <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
  98.547 -    <target name="test" depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
  98.548 -    <target name="-pre-test-run-single" if="have.tests" depends="init">
  98.549 -        <mkdir dir="${build.test.results.dir}"/>
  98.550 -    </target>
  98.551 -    <target name="-do-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single">
  98.552 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  98.553 -        <bluejproject:junit includes="${test.includes}"/>
  98.554 -    </target>
  98.555 -    <target name="-post-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single">
  98.556 -        <fail if="tests.failed">Some tests failed; see details above.</fail>
  98.557 -    </target>
  98.558 -    <target name="test-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test."/>
  98.559 -    <!--
  98.560 -    =======================
  98.561 -    JUNIT DEBUGGING SECTION
  98.562 -    =======================
  98.563 -    -->
  98.564 -    <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test">
  98.565 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  98.566 -        <bluejproject:debug classname="junit.textui.TestRunner" classpath="${debug.test.classpath}">
  98.567 -            <customize>
  98.568 -                <arg line="${test.class}"/>
  98.569 -            </customize>
  98.570 -        </bluejproject:debug>
  98.571 -    </target>
  98.572 -    <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test">
  98.573 -        <bluejproject:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/>
  98.574 -    </target>
  98.575 -    <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/>
  98.576 -    <target name="-do-debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,compile-test-single">
  98.577 -        <bluejproject:nbjpdareload dir="${build.test.classes.dir}"/>
  98.578 -    </target>
  98.579 -    <target name="debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix-test"/>
  98.580 -    <!--
  98.581 -    ===============
  98.582 -    CLEANUP SECTION
  98.583 -    ===============
  98.584 -    -->
  98.585 -    <target name="deps-clean" depends="init" unless="no.deps"/>
  98.586 -    <target name="-do-clean" depends="init">
  98.587 -        <delete>
  98.588 -            <fileset dir="${build.dir}" includes="**/*.class"/>
  98.589 -        </delete>
  98.590 -        <delete dir="${dist.dir}"/>
  98.591 -    </target>
  98.592 -    <target name="-post-clean">
  98.593 -        <!-- Empty placeholder for easier customization. -->
  98.594 -        <!-- You can override this target in the ../build.xml file. -->
  98.595 -    </target>
  98.596 -    <target name="clean" depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products."/>
  98.597 -</project>
    99.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/build.xml	Thu Jul 10 19:13:29 2008 +0800
    99.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    99.3 @@ -1,69 +0,0 @@
    99.4 -<?xml version="1.0" encoding="UTF-8"?>
    99.5 -<!-- You may freely edit this file. See commented blocks below for -->
    99.6 -<!-- some examples of how to customize the build. -->
    99.7 -<!-- (If you delete it and reopen the project it will be recreated.) -->
    99.8 -<project name="@PROJECTNAME@" default="default" basedir=".">
    99.9 -    <description>Builds, tests, and runs the project @PROJECTNAME@.</description>
   99.10 -    <import file="nbproject/build-impl.xml"/>
   99.11 -    <!--
   99.12 -
   99.13 -    There exist several targets which are by default empty and which can be 
   99.14 -    used for execution of your tasks. These targets are usually executed 
   99.15 -    before and after some main targets. They are: 
   99.16 -
   99.17 -      -pre-init:                 called before initialization of project properties
   99.18 -      -post-init:                called after initialization of project properties
   99.19 -      -pre-compile:              called before javac compilation
   99.20 -      -post-compile:             called after javac compilation
   99.21 -      -pre-compile-single:       called before javac compilation of single file
   99.22 -      -post-compile-single:      called after javac compilation of single file
   99.23 -      -pre-compile-test:         called before javac compilation of JUnit tests
   99.24 -      -post-compile-test:        called after javac compilation of JUnit tests
   99.25 -      -pre-compile-test-single:  called before javac compilation of single JUnit test
   99.26 -      -post-compile-test-single: called after javac compilation of single JUunit test
   99.27 -      -pre-jar:                  called before JAR building
   99.28 -      -post-jar:                 called after JAR building
   99.29 -      -post-clean:               called after cleaning build products
   99.30 -
   99.31 -    (Targets beginning with '-' are not intended to be called on their own.)
   99.32 -
   99.33 -    Example of inserting an obfuscator after compilation could look like this:
   99.34 -
   99.35 -        <target name="-post-compile">
   99.36 -            <obfuscate>
   99.37 -                <fileset dir="${build.classes.dir}"/>
   99.38 -            </obfuscate>
   99.39 -        </target>
   99.40 -
   99.41 -    For list of available properties check the imported 
   99.42 -    nbproject/build-impl.xml file. 
   99.43 -
   99.44 -
   99.45 -    Another way to customize the build is by overriding existing main targets.
   99.46 -    The targets of interest are: 
   99.47 -
   99.48 -      -init-macrodef-javac:     defines macro for javac compilation
   99.49 -      -init-macrodef-junit:     defines macro for junit execution
   99.50 -      -init-macrodef-debug:     defines macro for class debugging
   99.51 -      -init-macrodef-java:      defines macro for class execution
   99.52 -      -do-jar-with-manifest:    JAR building (if you are using a manifest)
   99.53 -      -do-jar-without-manifest: JAR building (if you are not using a manifest)
   99.54 -      run:                      execution of project 
   99.55 -      -javadoc-build:           Javadoc generation
   99.56 -      test-report:              JUnit report generation
   99.57 -
   99.58 -    An example of overriding the target for project execution could look like this:
   99.59 -
   99.60 -        <target name="run" depends="@PROJECTNAME@-impl.jar">
   99.61 -            <exec dir="bin" executable="launcher.exe">
   99.62 -                <arg file="${dist.jar}"/>
   99.63 -            </exec>
   99.64 -        </target>
   99.65 -
   99.66 -    Notice that the overridden target depends on the jar target and not only on 
   99.67 -    the compile target as the regular run target does. Again, for a list of available 
   99.68 -    properties which you can use, check the target you are overriding in the
   99.69 -    nbproject/build-impl.xml file. 
   99.70 -
   99.71 -    -->
   99.72 -</project>
   100.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/compiled.png has changed
   101.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/executable-badge.gif has changed
   102.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/project.properties	Thu Jul 10 19:13:29 2008 +0800
   102.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   102.3 @@ -1,59 +0,0 @@
   102.4 -application.args=
   102.5 -####build.classes.dir=${build.dir}/classes
   102.6 -build.classes.dir=${build.dir}
   102.7 -build.classes.excludes=**/*.java,**/*.form
   102.8 -# This directory is removed when the project is cleaned:
   102.9 -####build.dir=build
  102.10 -build.dir=${basedir}
  102.11 -build.generated.dir=${build.dir}/generated
  102.12 -# Only compile against the classpath explicitly listed here:
  102.13 -build.sysclasspath=ignore
  102.14 -####build.test.classes.dir=${build.dir}/test/classes
  102.15 -build.test.classes.dir=${build.dir}
  102.16 -build.test.results.dir=${build.dir}/test/results
  102.17 -debug.classpath=\
  102.18 -    ${run.classpath}
  102.19 -debug.test.classpath=\
  102.20 -    ${run.test.classpath}
  102.21 -# This directory is removed when the project is cleaned:
  102.22 -dist.dir=dist
  102.23 -dist.jar=${dist.dir}/@PROJECTNAME@.jar
  102.24 -dist.javadoc.dir=${build.dir}/doc
  102.25 -jar.compress=false
  102.26 -# Space-separated list of extra javac options
  102.27 -javac.compilerargs=
  102.28 -javac.deprecation=false
  102.29 -javac.source=@JAVAVERSION@
  102.30 -javac.target=@JAVAVERSION@
  102.31 -## we have the test and sources in the same place, just give it the same classpath..
  102.32 -##javac.classpath=
  102.33 -javac.classpath=\
  102.34 -    ${libs.junit.classpath}
  102.35 -javac.test.classpath=\
  102.36 -    ${javac.classpath}
  102.37 -javadoc.additionalparam=
  102.38 -javadoc.author=false
  102.39 -javadoc.encoding=
  102.40 -javadoc.noindex=false
  102.41 -javadoc.nonavbar=false
  102.42 -javadoc.notree=false
  102.43 -javadoc.private=false
  102.44 -javadoc.splitindex=true
  102.45 -javadoc.use=true
  102.46 -javadoc.version=false
  102.47 -javadoc.windowtitle=@PROJECTNAME@
  102.48 -manifest.file=manifest.mf
  102.49 -meta.inf.dir=${src.dir}/META-INF
  102.50 -platform.active=default_platform
  102.51 -run.classpath=\
  102.52 -    ${javac.classpath}:\
  102.53 -    ${build.classes.dir}
  102.54 -# Space-separated list of JVM arguments used when running the project
  102.55 -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
  102.56 -# or test-sys-prop.name=value to set system properties for unit tests):
  102.57 -run.jvmargs=
  102.58 -run.test.classpath=\
  102.59 -    ${javac.test.classpath}:\
  102.60 -    ${build.test.classes.dir}
  102.61 -src.dir=${basedir}
  102.62 -test.src.dir=${basedir}
   103.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/project.xml	Thu Jul 10 19:13:29 2008 +0800
   103.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   103.3 @@ -1,16 +0,0 @@
   103.4 -<?xml version="1.0" encoding="UTF-8"?>
   103.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
   103.6 -    <type>org.netbeans.bluej.bluejproject</type>
   103.7 -    <configuration>
   103.8 -        <data xmlns="http://www.netbeans.org/ns/bluej-project/2">
   103.9 -            <name></name>
  103.10 -            <minimum-ant-version>1.6.5</minimum-ant-version>
  103.11 -            <source-roots>
  103.12 -                <root id="src.dir"/>
  103.13 -            </source-roots>
  103.14 -            <test-roots>
  103.15 -                <root id="test.src.dir"/>
  103.16 -            </test-roots>
  103.17 -        </data>
  103.18 -    </configuration>
  103.19 -</project>
   104.1 Binary file bluej-suite/bluej/src/org/netbeans/bluej/resources/readme.png has changed
   105.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/abstract.tmpl	Thu Jul 10 19:13:29 2008 +0800
   105.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   105.3 @@ -1,30 +0,0 @@
   105.4 -<#assign licenseFirst = "/*">
   105.5 -<#assign licensePrefix = " * ">
   105.6 -<#assign licenseLast = " */">
   105.7 -<#include "../Licenses/license-${project.license}.txt">
   105.8 -
   105.9 -<#if package?? && package != "">
  105.10 -package ${package};
  105.11 -
  105.12 -</#if>
  105.13 -/**
  105.14 - * Abstract class ${name} - write a description of the class here
  105.15 - * 
  105.16 - * @author ${user}
  105.17 - * @version (version number or date here)
  105.18 - */
  105.19 -public abstract class ${name} {
  105.20 -	// instance variables - replace the example below with your own
  105.21 -	private int x;
  105.22 -
  105.23 -	/**
  105.24 -	 * An example of a method - replace this comment with your own
  105.25 -	 * 
  105.26 -	 * @param  y	a sample parameter for a method
  105.27 -	 * @return		the sum of x and y 
  105.28 -	 */
  105.29 -	public int sampleMethod(int y) {
  105.30 -		// put your code here
  105.31 -		return x + y;
  105.32 -	}
  105.33 -}
   106.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/appletj.tmpl	Thu Jul 10 19:13:29 2008 +0800
   106.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   106.3 @@ -1,118 +0,0 @@
   106.4 -<#assign licenseFirst = "/*">
   106.5 -<#assign licensePrefix = " * ">
   106.6 -<#assign licenseLast = " */">
   106.7 -<#include "../Licenses/license-${project.license}.txt">
   106.8 -
   106.9 -<#if package?? && package != "">
  106.10 -package ${package};
  106.11 -
  106.12 -</#if>
  106.13 -
  106.14 -import java.awt.*;
  106.15 -import javax.swing.*;
  106.16 -
  106.17 -/**
  106.18 - * Class ${name} - write a description of the class here
  106.19 - * 
  106.20 - * @author ${user}
  106.21 - * @version (a version number)
  106.22 - */
  106.23 -public class ${name} extends JApplet {
  106.24 -	// instance variables - replace the example below with your own
  106.25 -	private int x;
  106.26 -
  106.27 -	 /**
  106.28 -	 * Called by the browser or applet viewer to inform this JApplet that it
  106.29 -	 * has been loaded into the system. It is always called before the first 
  106.30 -	 * time that the start method is called.
  106.31 -	 */
  106.32 -	public void init() {
  106.33 -		// this is a workaround for a security conflict with some browsers
  106.34 -		// including some versions of Netscape & Internet Explorer which do 
  106.35 -        // not allow access to the AWT system event queue which JApplets do 
  106.36 -        // on startup to check access. May not be necessary with your browser. 
  106.37 -		JRootPane rootPane = this.getRootPane();	
  106.38 -		rootPane.putClientProperty("defeatSystemEventQueueCheck", Boolean.TRUE);
  106.39 -	
  106.40 -		// provide any initialisation necessary for your JApplet
  106.41 -	}
  106.42 -
  106.43 -	/**
  106.44 -	 * Called by the browser or applet viewer to inform this JApplet that it 
  106.45 -	 * should start its execution. It is called after the init method and 
  106.46 -	 * each time the JApplet is revisited in a Web page. 
  106.47 -	 */
  106.48 -	public void start() {
  106.49 -		// provide any code requred to run each time 
  106.50 -		// web page is visited
  106.51 -	}
  106.52 -
  106.53 -	/** 
  106.54 -	 * Called by the browser or applet viewer to inform this JApplet that
  106.55 -	 * it should stop its execution. It is called when the Web page that
  106.56 -	 * contains this JApplet has been replaced by another page, and also
  106.57 -	 * just before the JApplet is to be destroyed. 
  106.58 -	 */
  106.59 -	public void stop() {
  106.60 -		// provide any code that needs to be run when page
  106.61 -		// is replaced by another page or before JApplet is destroyed 
  106.62 -	}
  106.63 -
  106.64 -	/**
  106.65 -	 * Paint method for applet.
  106.66 -	 * 
  106.67 -	 * @param  g   the Graphics object for this applet
  106.68 -	 */
  106.69 -	public void paint(Graphics g) {
  106.70 -		// simple text displayed on applet
  106.71 -		g.setColor(Color.white);
  106.72 -		g.fillRect(0, 0, 200, 100);
  106.73 -		g.setColor(Color.black);
  106.74 -		g.drawString("Sample Applet", 20, 20);
  106.75 -		g.setColor(Color.blue);
  106.76 -		g.drawString("created by BlueJ", 20, 40);
  106.77 -	}
  106.78 -
  106.79 -	/**
  106.80 -	 * Called by the browser or applet viewer to inform this JApplet that it
  106.81 -	 * is being reclaimed and that it should destroy any resources that it
  106.82 -	 * has allocated. The stop method will always be called before destroy. 
  106.83 -	 */
  106.84 -	public void destroy() {
  106.85 -		// provide code to be run when JApplet is about to be destroyed.
  106.86 -	}
  106.87 -
  106.88 -
  106.89 -	/**
  106.90 -	 * Returns information about this applet. 
  106.91 -	 * An applet should override this method to return a String containing 
  106.92 -	 * information about the author, version, and copyright of the JApplet.
  106.93 -	 *
  106.94 -	 * @return a String representation of information about this JApplet
  106.95 -	 */
  106.96 -	public String getAppletInfo() {
  106.97 -		// provide information about the applet
  106.98 -		return "Title:   \nAuthor:   \nA simple applet example description. ";
  106.99 -	}
 106.100 -
 106.101 -
 106.102 -	/**
 106.103 -	 * Returns parameter information about this JApplet. 
 106.104 -	 * Returns information about the parameters than are understood by this JApplet.
 106.105 -	 * An applet should override this method to return an array of Strings 
 106.106 -	 * describing these parameters. 
 106.107 -	 * Each element of the array should be a set of three Strings containing 
 106.108 -	 * the name, the type, and a description.
 106.109 -	 *
 106.110 -	 * @return a String[] representation of parameter information about this JApplet
 106.111 -	 */
 106.112 -	public String[][] getParameterInfo() {
 106.113 -		// provide parameter information about the applet
 106.114 -		String paramInfo[][] = {
 106.115 -				 {"firstParameter",	"1-10",	"description of first parameter"},
 106.116 -				 {"status", "boolean", "description of second parameter"},
 106.117 -				 {"images",   "url",	 "description of third parameter"}
 106.118 -		};
 106.119 -		return paramInfo;
 106.120 -	}
 106.121 -}
   107.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/enum.tmpl	Thu Jul 10 19:13:29 2008 +0800
   107.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   107.3 @@ -1,21 +0,0 @@
   107.4 -<#assign licenseFirst = "/*">
   107.5 -<#assign licensePrefix = " * ">
   107.6 -<#assign licenseLast = " */">
   107.7 -<#include "../Licenses/license-${project.license}.txt">
   107.8 -
   107.9 -<#if package?? && package != "">
  107.10 -package ${package};
  107.11 -
  107.12 -</#if>
  107.13 -/**
  107.14 - * Enumeration class ${name} - write a description of the enum class here
  107.15 - * 
  107.16 - * @author ${user}
  107.17 - * @version (version number or date here)
  107.18 - */
  107.19 -public enum ${name} {
  107.20 -	monday, tuesday, wednesday, thursday, friday, saturday, sunday
  107.21 -}
  107.22 -
  107.23 -
  107.24 -
   108.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/interface.tmpl	Thu Jul 10 19:13:29 2008 +0800
   108.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   108.3 @@ -1,26 +0,0 @@
   108.4 -<#assign licenseFirst = "/*">
   108.5 -<#assign licensePrefix = " * ">
   108.6 -<#assign licenseLast = " */">
   108.7 -<#include "../Licenses/license-${project.license}.txt">
   108.8 -
   108.9 -<#if package?? && package != "">
  108.10 -package ${package};
  108.11 -
  108.12 -</#if>
  108.13 -
  108.14 -/**
  108.15 - * Write a description of interface ${name} here.
  108.16 - * 
  108.17 - * @author ${user} 
  108.18 - * @version (a version number or a date)
  108.19 - */
  108.20 -
  108.21 -public interface ${name} {
  108.22 -	/**
  108.23 -	 * An example of a method header - replace this comment with your own
  108.24 -	 * 
  108.25 -	 * @param  y	a sample parameter for a method
  108.26 -	 * @return		the result produced by sampleMethod 
  108.27 -	 */
  108.28 -	int sampleMethod(int y);
  108.29 -}
   109.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/mainclass.tmpl	Thu Jul 10 19:13:29 2008 +0800
   109.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   109.3 @@ -1,35 +0,0 @@
   109.4 -<#assign licenseFirst = "/*">
   109.5 -<#assign licensePrefix = " * ">
   109.6 -<#assign licenseLast = " */">
   109.7 -<#include "../Licenses/license-${project.license}.txt">
   109.8 -
   109.9 -<#if package?? && package != "">
  109.10 -package ${package};
  109.11 -
  109.12 -</#if>
  109.13 -
  109.14 -
  109.15 -/**
  109.16 - * Write a description of class ${name} here.
  109.17 - * 
  109.18 - * @author ${user}
  109.19 - * @version (a version number or a date)
  109.20 - */
  109.21 -public class ${name} {
  109.22 -
  109.23 -    /**
  109.24 -     * Constructor for objects of class ${name}
  109.25 -     */
  109.26 -    public ${name}() {
  109.27 -    }
  109.28 -
  109.29 -    /**
  109.30 -     * main method, application starts here.
  109.31 -     * 
  109.32 -     * @param args execution arguments
  109.33 -     */
  109.34 -    public static void main(String[] args) {
  109.35 -        // put your code here
  109.36 -        System.out.println("Hello World");
  109.37 -    }
  109.38 -}
   110.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/stdclass.tmpl	Thu Jul 10 19:13:29 2008 +0800
   110.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   110.3 @@ -1,39 +0,0 @@
   110.4 -<#assign licenseFirst = "/*">
   110.5 -<#assign licensePrefix = " * ">
   110.6 -<#assign licenseLast = " */">
   110.7 -<#include "../Licenses/license-${project.license}.txt">
   110.8 -
   110.9 -<#if package?? && package != "">
  110.10 -package ${package};
  110.11 -
  110.12 -</#if>
  110.13 -
  110.14 -/**
  110.15 - * Write a description of class ${name} here.
  110.16 - * 
  110.17 - * @author ${user}
  110.18 - * @version (a version number or a date)
  110.19 - */
  110.20 -public class ${name} {
  110.21 -    // instance variables - replace the example below with your own
  110.22 -    private int x;
  110.23 -
  110.24 -    /**
  110.25 -     * Constructor for objects of class ${name}
  110.26 -     */
  110.27 -    public ${name}() {
  110.28 -        // initialise instance variables
  110.29 -        x = 0;
  110.30 -    }
  110.31 -
  110.32 -    /**
  110.33 -     * An example of a method - replace this comment with your own
  110.34 -     * 
  110.35 -     * @param  y   a sample parameter for a method
  110.36 -     * @return     the sum of x and y 
  110.37 -     */
  110.38 -    public int sampleMethod(int y) {
  110.39 -        // put your code here
  110.40 -        return x + y;
  110.41 -    }
  110.42 -}
   111.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/resources/templates/newclass/unittest.tmpl	Thu Jul 10 19:13:29 2008 +0800
   111.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   111.3 @@ -1,39 +0,0 @@
   111.4 -<#assign licenseFirst = "/*">
   111.5 -<#assign licensePrefix = " * ">
   111.6 -<#assign licenseLast = " */">
   111.7 -<#include "../Licenses/license-${project.license}.txt">
   111.8 -
   111.9 -<#if package?? && package != "">
  111.10 -package ${package};
  111.11 -
  111.12 -</#if>
  111.13 -
  111.14 -/**
  111.15 - * The test class ${name}.
  111.16 - *
  111.17 - * @author  ${user}
  111.18 - * @version (a version number or a date)
  111.19 - */
  111.20 -public class ${name} extends junit.framework.TestCase {
  111.21 -    /**
  111.22 -     * Default constructor for test class ${name}
  111.23 -     */
  111.24 -    public ${name}() {
  111.25 -    }
  111.26 -
  111.27 -    /**
  111.28 -     * Sets up the test fixture.
  111.29 -     *
  111.30 -     * Called before every test case method.
  111.31 -     */
  111.32 -    protected void setUp() {
  111.33 -    }
  111.34 -
  111.35 -    /**
  111.36 -     * Tears down the test fixture.
  111.37 -     *
  111.38 -     * Called after every test case method.
  111.39 -     */
  111.40 -    protected void tearDown() {
  111.41 -    }
  111.42 -}
   112.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/wizard/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   112.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   112.3 @@ -1,19 +0,0 @@
   112.4 -LBL_CreateProjectStep=Name and Location
   112.5 -
   112.6 -projectNameLabel=Project &Name\:
   112.7 -
   112.8 -projectLocationLabel=Project &Location\:
   112.9 -
  112.10 -browseButton=Br&owse...
  112.11 -
  112.12 -createdFolderLabel=Project &Folder\:
  112.13 -
  112.14 -browse_dialog_title=Select Project Location
  112.15 -
  112.16 -ERROR_wrongName=Project Name is not a valid folder name.
  112.17 -ERROR_wrongFolder=Project Folder is not a valid path.
  112.18 -ERROR_cannot_create_folder=Project Folder cannot be created.
  112.19 -ERROR_wrong_path=Project Folder is not a valid path.
  112.20 -ERROR_exists=Project Folder already exists and is not empty.
  112.21 -
  112.22 -TITLE_Wizard={0} of {1}
   113.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejDescription.html	Thu Jul 10 19:13:29 2008 +0800
   113.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   113.3 @@ -1,5 +0,0 @@
   113.4 -<html>
   113.5 -    <body>
   113.6 -        Sample empty BlueJ project
   113.7 -    </body>
   113.8 -</html>
   114.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejPanelVisual.form	Thu Jul 10 19:13:29 2008 +0800
   114.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   114.3 @@ -1,115 +0,0 @@
   114.4 -<?xml version="1.0" encoding="UTF-8" ?>
   114.5 -
   114.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
   114.7 -  <AuxValues>
   114.8 -    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
   114.9 -    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  114.10 -    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  114.11 -    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  114.12 -  </AuxValues>
  114.13 -
  114.14 -  <Layout>
  114.15 -    <DimensionLayout dim="0">
  114.16 -      <Group type="103" groupAlignment="0" attributes="0">
  114.17 -          <Group type="102" attributes="0">
  114.18 -              <EmptySpace min="-2" max="-2" attributes="0"/>
  114.19 -              <Group type="103" groupAlignment="0" attributes="0">
  114.20 -                  <Component id="projectNameLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  114.21 -                  <Component id="projectLocationLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  114.22 -                  <Component id="createdFolderLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  114.23 -              </Group>
  114.24 -              <EmptySpace min="-2" max="-2" attributes="0"/>
  114.25 -              <Group type="103" groupAlignment="0" attributes="0">
  114.26 -                  <Component id="projectNameTextField" alignment="1" pref="191" max="32767" attributes="0"/>
  114.27 -                  <Component id="projectLocationTextField" alignment="1" pref="191" max="32767" attributes="0"/>
  114.28 -                  <Component id="createdFolderTextField" alignment="1" pref="191" max="32767" attributes="0"/>
  114.29 -              </Group>
  114.30 -              <EmptySpace min="-2" max="-2" attributes="0"/>
  114.31 -              <Component id="browseButton" min="-2" max="-2" attributes="0"/>
  114.32 -              <EmptySpace min="-2" max="-2" attributes="0"/>
  114.33 -          </Group>
  114.34 -      </Group>
  114.35 -    </DimensionLayout>
  114.36 -    <DimensionLayout dim="1">
  114.37 -      <Group type="103" groupAlignment="0" attributes="0">
  114.38 -          <Group type="102" attributes="0">
  114.39 -              <EmptySpace max="-2" attributes="0"/>
  114.40 -              <Group type="103" groupAlignment="3" attributes="0">
  114.41 -                  <Component id="projectNameLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  114.42 -                  <Component id="projectNameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
  114.43 -              </Group>
  114.44 -              <EmptySpace max="-2" attributes="0"/>
  114.45 -              <Group type="103" groupAlignment="3" attributes="0">
  114.46 -                  <Component id="projectLocationLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  114.47 -                  <Component id="projectLocationTextField" alignment="3" min="-2" max="-2" attributes="0"/>
  114.48 -                  <Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
  114.49 -              </Group>
  114.50 -              <EmptySpace max="-2" attributes="0"/>
  114.51 -              <Group type="103" groupAlignment="3" attributes="0">
  114.52 -                  <Component id="createdFolderLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  114.53 -                  <Component id="createdFolderTextField" alignment="3" min="-2" max="-2" attributes="0"/>
  114.54 -              </Group>
  114.55 -              <EmptySpace pref="213" max="32767" attributes="0"/>
  114.56 -          </Group>
  114.57 -      </Group>
  114.58 -    </DimensionLayout>
  114.59 -  </Layout>
  114.60 -  <SubComponents>
  114.61 -    <Component class="javax.swing.JLabel" name="projectNameLabel">
  114.62 -      <Properties>
  114.63 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  114.64 -          <ComponentRef name="projectNameTextField"/>
  114.65 -        </Property>
  114.66 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  114.67 -          <ResourceString bundle="org/netbeans/bluej/wizard/Bundle.properties" key="projectNameLabel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  114.68 -        </Property>
  114.69 -      </Properties>
  114.70 -      <AuxValues>
  114.71 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
  114.72 -      </AuxValues>
  114.73 -    </Component>
  114.74 -    <Component class="javax.swing.JTextField" name="projectNameTextField">
  114.75 -    </Component>
  114.76 -    <Component class="javax.swing.JLabel" name="projectLocationLabel">
  114.77 -      <Properties>
  114.78 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  114.79 -          <ComponentRef name="projectLocationTextField"/>
  114.80 -        </Property>
  114.81 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  114.82 -          <ResourceString bundle="org/netbeans/bluej/wizard/Bundle.properties" key="projectLocationLabel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  114.83 -        </Property>
  114.84 -      </Properties>
  114.85 -      <AuxValues>
  114.86 -        <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
  114.87 -      </AuxValues>
  114.88 -    </Component>
  114.89 -    <Component class="javax.swing.JTextField" name="projectLocationTextField">
  114.90 -    </Component>
  114.91 -    <Component class="javax.swing.JButton" name="browseButton">
  114.92 -      <Properties>
  114.93 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  114.94 -          <ResourceString bundle="org/netbeans/bluej/wizard/Bundle.properties" key="browseButton" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  114.95 -        </Property>
  114.96 -        <Property name="actionCommand" type="java.lang.String" value="BROWSE"/>
  114.97 -      </Properties>
  114.98 -      <Events>
  114.99 -        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
 114.100 -      </Events>
 114.101 -    </Component>
 114.102 -    <Component class="javax.swing.JLabel" name="createdFolderLabel">
 114.103 -      <Properties>
 114.104 -        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 114.105 -          <ComponentRef name="createdFolderTextField"/>
 114.106 -        </Property>
 114.107 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 114.108 -          <ResourceString bundle="org/netbeans/bluej/wizard/Bundle.properties" key="createdFolderLabel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 114.109 -        </Property>
 114.110 -      </Properties>
 114.111 -    </Component>
 114.112 -    <Component class="javax.swing.JTextField" name="createdFolderTextField">
 114.113 -      <Properties>
 114.114 -        <Property name="editable" type="boolean" value="false"/>
 114.115 -      </Properties>
 114.116 -    </Component>
 114.117 -  </SubComponents>
 114.118 -</Form>
   115.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejPanelVisual.java	Thu Jul 10 19:13:29 2008 +0800
   115.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   115.3 @@ -1,302 +0,0 @@
   115.4 -/*
   115.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   115.6 - *
   115.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   115.8 - *
   115.9 - * The contents of this file are subject to the terms of either the GNU
  115.10 - * General Public License Version 2 only ("GPL") or the Common
  115.11 - * Development and Distribution License("CDDL") (collectively, the
  115.12 - * "License"). You may not use this file except in compliance with the
  115.13 - * License. You can obtain a copy of the License at
  115.14 - * http://www.netbeans.org/cddl-gplv2.html
  115.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  115.16 - * specific language governing permissions and limitations under the
  115.17 - * License.  When distributing the software, include this License Header
  115.18 - * Notice in each file and include the License file at
  115.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  115.20 - * particular file as subject to the "Classpath" exception as provided
  115.21 - * by Sun in the GPL Version 2 section of the License file that
  115.22 - * accompanied this code. If applicable, add the following below the
  115.23 - * License Header, with the fields enclosed by brackets [] replaced by
  115.24 - * your own identifying information:
  115.25 - * "Portions Copyrighted [year] [name of copyright owner]"
  115.26 - *
  115.27 - * Contributor(s):
  115.28 - *
  115.29 - * The Original Software is NetBeans. The Initial Developer of the Original
  115.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  115.31 - * Microsystems, Inc. All Rights Reserved.
  115.32 - *
  115.33 - * If you wish your version of this file to be governed by only the CDDL
  115.34 - * or only the GPL Version 2, indicate your decision by adding
  115.35 - * "[Contributor] elects to include this software in this distribution
  115.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
  115.37 - * single choice of license, a recipient has the option to distribute
  115.38 - * your version of this file under either the CDDL, the GPL Version 2 or
  115.39 - * to extend the choice of license to its licensees as provided above.
  115.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
  115.41 - * Version 2 license, then the option applies only if the new code is
  115.42 - * made subject to such option by the copyright holder.
  115.43 - */
  115.44 -package org.netbeans.bluej.wizard;
  115.45 -
  115.46 -import java.io.File;
  115.47 -import javax.swing.JFileChooser;
  115.48 -import javax.swing.JPanel;
  115.49 -import javax.swing.event.DocumentEvent;
  115.50 -import javax.swing.event.DocumentListener;
  115.51 -import javax.swing.text.Document;
  115.52 -import org.netbeans.spi.project.ui.support.ProjectChooser;
  115.53 -import org.openide.WizardDescriptor;
  115.54 -import org.openide.WizardValidationException;
  115.55 -import org.openide.filesystems.FileUtil;
  115.56 -import org.openide.util.NbBundle;
  115.57 -
  115.58 -public class EmptyBluejPanelVisual extends JPanel implements DocumentListener {
  115.59 -    
  115.60 -    public static final String PROP_PROJECT_NAME = "projectName"; // NOI18N
  115.61 -    private static final String WIZ_PANEL_ERROR = "WizardPanel_errorMessage"; // NOI18N
  115.62 -    private EmptyBluejWizardPanel panel;
  115.63 -    
  115.64 -    /** Creates new form PanelProjectLocationVisual */
  115.65 -    public EmptyBluejPanelVisual(EmptyBluejWizardPanel panel) {
  115.66 -        initComponents();
  115.67 -        this.panel = panel;
  115.68 -        // Register listener on the textFields to make the automatic updates
  115.69 -        projectNameTextField.getDocument().addDocumentListener(this);
  115.70 -        projectLocationTextField.getDocument().addDocumentListener(this);
  115.71 -    }
  115.72 -    
  115.73 -    
  115.74 -    public String getProjectName() {
  115.75 -        return this.projectNameTextField.getText();
  115.76 -    }
  115.77 -    
  115.78 -    /** This method is called from within the constructor to
  115.79 -     * initialize the form.
  115.80 -     * WARNING: Do NOT modify this code. The content of this method is
  115.81 -     * always regenerated by the Form Editor.
  115.82 -     */
  115.83 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  115.84 -    private void initComponents() {
  115.85 -        projectNameLabel = new javax.swing.JLabel();
  115.86 -        projectNameTextField = new javax.swing.JTextField();
  115.87 -        projectLocationLabel = new javax.swing.JLabel();
  115.88 -        projectLocationTextField = new javax.swing.JTextField();
  115.89 -        browseButton = new javax.swing.JButton();
  115.90 -        createdFolderLabel = new javax.swing.JLabel();
  115.91 -        createdFolderTextField = new javax.swing.JTextField();
  115.92 -
  115.93 -        projectNameLabel.setLabelFor(projectNameTextField);
  115.94 -        org.openide.awt.Mnemonics.setLocalizedText(projectNameLabel, org.openide.util.NbBundle.getMessage(EmptyBluejPanelVisual.class, "projectNameLabel"));
  115.95 -
  115.96 -        projectLocationLabel.setLabelFor(projectLocationTextField);
  115.97 -        org.openide.awt.Mnemonics.setLocalizedText(projectLocationLabel, org.openide.util.NbBundle.getMessage(EmptyBluejPanelVisual.class, "projectLocationLabel"));
  115.98 -
  115.99 -        org.openide.awt.Mnemonics.setLocalizedText(browseButton, org.openide.util.NbBundle.getMessage(EmptyBluejPanelVisual.class, "browseButton"));
 115.100 -        browseButton.setActionCommand("BROWSE");
 115.101 -        browseButton.addActionListener(new java.awt.event.ActionListener() {
 115.102 -            public void actionPerformed(java.awt.event.ActionEvent evt) {
 115.103 -                browseButtonActionPerformed(evt);
 115.104 -            }
 115.105 -        });
 115.106 -
 115.107 -        createdFolderLabel.setLabelFor(createdFolderTextField);
 115.108 -        org.openide.awt.Mnemonics.setLocalizedText(createdFolderLabel, org.openide.util.NbBundle.getMessage(EmptyBluejPanelVisual.class, "createdFolderLabel"));
 115.109 -
 115.110 -        createdFolderTextField.setEditable(false);
 115.111 -
 115.112 -        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
 115.113 -        this.setLayout(layout);
 115.114 -        layout.setHorizontalGroup(
 115.115 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 115.116 -            .add(layout.createSequentialGroup()
 115.117 -                .addContainerGap()
 115.118 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 115.119 -                    .add(projectNameLabel)
 115.120 -                    .add(projectLocationLabel)
 115.121 -                    .add(createdFolderLabel))
 115.122 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 115.123 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 115.124 -                    .add(org.jdesktop.layout.GroupLayout.TRAILING, projectNameTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
 115.125 -                    .add(org.jdesktop.layout.GroupLayout.TRAILING, projectLocationTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
 115.126 -                    .add(org.jdesktop.layout.GroupLayout.TRAILING, createdFolderTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE))
 115.127 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 115.128 -                .add(browseButton)
 115.129 -                .addContainerGap())
 115.130 -        );
 115.131 -        layout.setVerticalGroup(
 115.132 -            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 115.133 -            .add(layout.createSequentialGroup()
 115.134 -                .addContainerGap()
 115.135 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 115.136 -                    .add(projectNameLabel)
 115.137 -                    .add(projectNameTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 115.138 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 115.139 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 115.140 -                    .add(projectLocationLabel)
 115.141 -                    .add(projectLocationTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 115.142 -                    .add(browseButton))
 115.143 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 115.144 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 115.145 -                    .add(createdFolderLabel)
 115.146 -                    .add(createdFolderTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 115.147 -                .addContainerGap(213, Short.MAX_VALUE))
 115.148 -        );
 115.149 -    }// </editor-fold>//GEN-END:initComponents
 115.150 -    
 115.151 -    private void browseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_browseButtonActionPerformed
 115.152 -        String command = evt.getActionCommand();
 115.153 -        if ("BROWSE".equals(command)) { // NOI18N
 115.154 -            JFileChooser chooser = new JFileChooser();
 115.155 -            FileUtil.preventFileChooserSymlinkTraversal(chooser, null);
 115.156 -            chooser.setDialogTitle(NbBundle.getMessage(EmptyBluejPanelVisual.class, "browse_dialog_title"));
 115.157 -            chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
 115.158 -            String path = this.projectLocationTextField.getText();
 115.159 -            if (path.length() > 0) {
 115.160 -                File f = new File(path);
 115.161 -                if (f.exists()) {
 115.162 -                    chooser.setSelectedFile(f);
 115.163 -                }
 115.164 -            }
 115.165 -            if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(this)) {
 115.166 -                File projectDir = chooser.getSelectedFile();
 115.167 -                projectLocationTextField.setText(FileUtil.normalizeFile(projectDir).getAbsolutePath());
 115.168 -            }
 115.169 -            panel.fireChangeEvent();
 115.170 -        }
 115.171 -        
 115.172 -    }//GEN-LAST:event_browseButtonActionPerformed
 115.173 -    
 115.174 -    
 115.175 -    // Variables declaration - do not modify//GEN-BEGIN:variables
 115.176 -    private javax.swing.JButton browseButton;
 115.177 -    private javax.swing.JLabel createdFolderLabel;
 115.178 -    private javax.swing.JTextField createdFolderTextField;
 115.179 -    private javax.swing.JLabel projectLocationLabel;
 115.180 -    private javax.swing.JTextField projectLocationTextField;
 115.181 -    private javax.swing.JLabel projectNameLabel;
 115.182 -    private javax.swing.JTextField projectNameTextField;
 115.183 -    // End of variables declaration//GEN-END:variables
 115.184 -    
 115.185 -    public void addNotify() {
 115.186 -        super.addNotify();
 115.187 -        //same problem as in 31086, initial focus on Cancel button
 115.188 -        projectNameTextField.requestFocus();
 115.189 -    }
 115.190 -    
 115.191 -    
 115.192 -    void store(WizardDescriptor d) {
 115.193 -        String name = projectNameTextField.getText().trim();
 115.194 -        String folder = createdFolderTextField.getText().trim();
 115.195 -        
 115.196 -        d.putProperty("projdir", new File(folder)); // NOI18N
 115.197 -        d.putProperty("name", name); // NOI18N
 115.198 -    }
 115.199 -    
 115.200 -    void read(WizardDescriptor settings) {
 115.201 -        File projectLocation = (File) settings.getProperty("projdir"); // NOI18N
 115.202 -        if (projectLocation == null || projectLocation.getParentFile() == null || !projectLocation.getParentFile().isDirectory()) {
 115.203 -            projectLocation = ProjectChooser.getProjectsFolder();
 115.204 -        } else {
 115.205 -            projectLocation = projectLocation.getParentFile();
 115.206 -        }
 115.207 -        this.projectLocationTextField.setText(projectLocation.getAbsolutePath());
 115.208 -        
 115.209 -        String projectName = (String) settings.getProperty("name"); // NOI18N
 115.210 -        if(projectName == null) {
 115.211 -            projectName = "EmptyBluej"; // NOI18N
 115.212 -        }
 115.213 -        this.projectNameTextField.setText(projectName);
 115.214 -        this.projectNameTextField.selectAll();
 115.215 -    }
 115.216 -    
 115.217 -    void validate(WizardDescriptor d) throws WizardValidationException {
 115.218 -        // nothing to validate
 115.219 -    }
 115.220 -
 115.221 -    public boolean valid(WizardDescriptor wizardDescriptor) {
 115.222 -        
 115.223 -        if (projectNameTextField.getText().length() == 0) {
 115.224 -            wizardDescriptor.putProperty(WIZ_PANEL_ERROR,
 115.225 -                    NbBundle.getMessage(EmptyBluejPanelVisual.class, "ERROR_wrongName"));
 115.226 -            return false; // Display name not specified
 115.227 -        }
 115.228 -        File f = FileUtil.normalizeFile(new File(projectLocationTextField.getText()).getAbsoluteFile());
 115.229 -        if (!f.isDirectory()) {
 115.230 -            String message = NbBundle.getMessage(EmptyBluejPanelVisual.class, "ERROR_wrongFolder");
 115.231 -            wizardDescriptor.putProperty(WIZ_PANEL_ERROR, message);
 115.232 -            return false;
 115.233 -        }
 115.234 -        final File destFolder = FileUtil.normalizeFile(new File(createdFolderTextField.getText()).getAbsoluteFile());
 115.235 -        
 115.236 -        File projLoc = destFolder;
 115.237 -        while (projLoc != null && !projLoc.exists()) {
 115.238 -            projLoc = projLoc.getParentFile();
 115.239 -        }
 115.240 -        if (projLoc == null || !projLoc.canWrite()) {
 115.241 -            wizardDescriptor.putProperty(WIZ_PANEL_ERROR,
 115.242 -                    NbBundle.getMessage(EmptyBluejPanelVisual.class, "ERROR_cannot_create_folder"));
 115.243 -            return false;
 115.244 -        }
 115.245 -        
 115.246 -        if (FileUtil.toFileObject(projLoc) == null) {
 115.247 -            String message = NbBundle.getMessage(EmptyBluejPanelVisual.class, "ERROR_wrong_path");
 115.248 -            wizardDescriptor.putProperty(WIZ_PANEL_ERROR, message);
 115.249 -            return false;
 115.250 -        }
 115.251 -        
 115.252 -        File[] kids = destFolder.listFiles();
 115.253 -        if (destFolder.exists() && kids != null && kids.length > 0) {
 115.254 -            // Folder exists and is not empty
 115.255 -            wizardDescriptor.putProperty(WIZ_PANEL_ERROR,
 115.256 -                    NbBundle.getMessage(EmptyBluejPanelVisual.class, "ERROR_exists"));
 115.257 -            return false;
 115.258 -        }
 115.259 -        wizardDescriptor.putProperty(WIZ_PANEL_ERROR, "");
 115.260 -        return true;
 115.261 -    }
 115.262 -    
 115.263 -    // Implementation of DocumentListener --------------------------------------
 115.264 -    
 115.265 -    public void changedUpdate(DocumentEvent e) {
 115.266 -        updateTexts(e);
 115.267 -        if (this.projectNameTextField.getDocument() == e.getDocument()) {
 115.268 -            firePropertyChange(PROP_PROJECT_NAME,null,this.projectNameTextField.getText());
 115.269 -        }
 115.270 -    }
 115.271 -    
 115.272 -    public void insertUpdate(DocumentEvent e) {
 115.273 -        updateTexts(e);
 115.274 -        if (this.projectNameTextField.getDocument() == e.getDocument()) {
 115.275 -            firePropertyChange(PROP_PROJECT_NAME,null,this.projectNameTextField.getText());
 115.276 -        }
 115.277 -    }
 115.278 -    
 115.279 -    public void removeUpdate(DocumentEvent e) {
 115.280 -        updateTexts(e);
 115.281 -        if (this.projectNameTextField.getDocument() == e.getDocument()) {
 115.282 -            firePropertyChange(PROP_PROJECT_NAME,null,this.projectNameTextField.getText());
 115.283 -        }
 115.284 -    }
 115.285 -    
 115.286 -    /** Handles changes in the Project name and project directory, */
 115.287 -    private void updateTexts(DocumentEvent e) {
 115.288 -        
 115.289 -        Document doc = e.getDocument();
 115.290 -        
 115.291 -        if (doc == projectNameTextField.getDocument() || doc == projectLocationTextField.getDocument()) {
 115.292 -            // Change in the project name
 115.293 -            
 115.294 -            String projectName = projectNameTextField.getText();
 115.295 -            String projectFolder = projectLocationTextField.getText();
 115.296 -            
 115.297 -            //if (projectFolder.trim().length() == 0 || projectFolder.equals(oldName)) {
 115.298 -            createdFolderTextField.setText(projectFolder + File.separatorChar + projectName);
 115.299 -            //}
 115.300 -            
 115.301 -        }
 115.302 -        panel.fireChangeEvent(); // Notify that the panel changed
 115.303 -    }
 115.304 -    
 115.305 -}
   116.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejWizardIterator.java	Thu Jul 10 19:13:29 2008 +0800
   116.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   116.3 @@ -1,211 +0,0 @@
   116.4 -/*
   116.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   116.6 - *
   116.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   116.8 - *
   116.9 - * The contents of this file are subject to the terms of either the GNU
  116.10 - * General Public License Version 2 only ("GPL") or the Common
  116.11 - * Development and Distribution License("CDDL") (collectively, the
  116.12 - * "License"). You may not use this file except in compliance with the
  116.13 - * License. You can obtain a copy of the License at
  116.14 - * http://www.netbeans.org/cddl-gplv2.html
  116.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  116.16 - * specific language governing permissions and limitations under the
  116.17 - * License.  When distributing the software, include this License Header
  116.18 - * Notice in each file and include the License file at
  116.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  116.20 - * particular file as subject to the "Classpath" exception as provided
  116.21 - * by Sun in the GPL Version 2 section of the License file that
  116.22 - * accompanied this code. If applicable, add the following below the
  116.23 - * License Header, with the fields enclosed by brackets [] replaced by
  116.24 - * your own identifying information:
  116.25 - * "Portions Copyrighted [year] [name of copyright owner]"
  116.26 - *
  116.27 - * Contributor(s):
  116.28 - *
  116.29 - * The Original Software is NetBeans. The Initial Developer of the Original
  116.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  116.31 - * Microsystems, Inc. All Rights Reserved.
  116.32 - *
  116.33 - * If you wish your version of this file to be governed by only the CDDL
  116.34 - * or only the GPL Version 2, indicate your decision by adding
  116.35 - * "[Contributor] elects to include this software in this distribution
  116.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
  116.37 - * single choice of license, a recipient has the option to distribute
  116.38 - * your version of this file under either the CDDL, the GPL Version 2 or
  116.39 - * to extend the choice of license to its licensees as provided above.
  116.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
  116.41 - * Version 2 license, then the option applies only if the new code is
  116.42 - * made subject to such option by the copyright holder.
  116.43 - */
  116.44 -package org.netbeans.bluej.wizard;
  116.45 -
  116.46 -import java.awt.Component;
  116.47 -import java.io.File;
  116.48 -import java.io.IOException;
  116.49 -import java.io.InputStream;
  116.50 -import java.io.OutputStream;
  116.51 -import java.text.MessageFormat;
  116.52 -import java.util.Enumeration;
  116.53 -import java.util.LinkedHashSet;
  116.54 -import java.util.NoSuchElementException;
  116.55 -import java.util.Set;
  116.56 -import java.util.zip.ZipEntry;
  116.57 -import java.util.zip.ZipInputStream;
  116.58 -import javax.swing.JComponent;
  116.59 -import javax.swing.event.ChangeListener;
  116.60 -import org.netbeans.api.project.ProjectManager;
  116.61 -import org.netbeans.spi.project.ui.support.ProjectChooser;
  116.62 -import org.netbeans.spi.project.ui.templates.support.Templates;
  116.63 -import org.openide.WizardDescriptor;
  116.64 -import org.openide.filesystems.FileLock;
  116.65 -import org.openide.filesystems.FileObject;
  116.66 -import org.openide.filesystems.FileUtil;
  116.67 -import org.openide.util.NbBundle;
  116.68 -
  116.69 -public class EmptyBluejWizardIterator implements WizardDescriptor.InstantiatingIterator {
  116.70 -    
  116.71 -    private int index;
  116.72 -    private WizardDescriptor.Panel[] panels;
  116.73 -    private WizardDescriptor wiz;
  116.74 -    
  116.75 -    public EmptyBluejWizardIterator() {}
  116.76 -    
  116.77 -    public static EmptyBluejWizardIterator createIterator() {
  116.78 -        return new EmptyBluejWizardIterator();
  116.79 -    }
  116.80 -    
  116.81 -    private WizardDescriptor.Panel[] createPanels() {
  116.82 -        return new WizardDescriptor.Panel[] {
  116.83 -            new EmptyBluejWizardPanel(),
  116.84 -        };
  116.85 -    }
  116.86 -    
  116.87 -    private String[] createSteps() {
  116.88 -        return new String[] {
  116.89 -            NbBundle.getMessage(EmptyBluejWizardIterator.class, "LBL_CreateProjectStep")
  116.90 -        };
  116.91 -    }
  116.92 -    
  116.93 -    public Set/*<FileObject>*/ instantiate() throws IOException {
  116.94 -        Set resultSet = new LinkedHashSet();
  116.95 -        File dirF = FileUtil.normalizeFile((File) wiz.getProperty("projdir")); // NOI18N
  116.96 -        dirF.mkdirs();
  116.97 -        
  116.98 -        FileObject template = Templates.getTemplate(wiz);
  116.99 -        FileObject dir = FileUtil.toFileObject(dirF);
 116.100 -        unZipFile(template.getInputStream(), dir);
 116.101 -        
 116.102 -        // Always open top dir as a project:
 116.103 -        resultSet.add(dir);
 116.104 -        // Look for nested projects to open as well:
 116.105 -        Enumeration e = dir.getFolders(true);
 116.106 -        while (e.hasMoreElements()) {
 116.107 -            FileObject subfolder = (FileObject) e.nextElement();
 116.108 -            if (ProjectManager.getDefault().isProject(subfolder)) {
 116.109 -                resultSet.add(subfolder);
 116.110 -            }
 116.111 -        }
 116.112 -        
 116.113 -        File parent = dirF.getParentFile();
 116.114 -        if (parent != null && parent.exists()) {
 116.115 -            ProjectChooser.setProjectsFolder(parent);
 116.116 -        }
 116.117 -        
 116.118 -        return resultSet;
 116.119 -    }
 116.120 -    
 116.121 -    public void initialize(WizardDescriptor wiz) {
 116.122 -        this.wiz = wiz;
 116.123 -        index = 0;
 116.124 -        panels = createPanels();
 116.125 -        // Make sure list of steps is accurate.
 116.126 -        String[] steps = createSteps();
 116.127 -        for (int i = 0; i < panels.length; i++) {
 116.128 -            Component c = panels[i].getComponent();
 116.129 -            if (steps[i] == null) {
 116.130 -                // Default step name to component name of panel.
 116.131 -                // Mainly useful for getting the name of the target
 116.132 -                // chooser to appear in the list of steps.
 116.133 -                steps[i] = c.getName();
 116.134 -            }
 116.135 -            if (c instanceof JComponent) { // assume Swing components
 116.136 -                JComponent jc = (JComponent) c;
 116.137 -                // Step #.
 116.138 -                jc.putClientProperty("WizardPanel_contentSelectedIndex", new Integer(i)); // NOI18N
 116.139 -                // Step name (actually the whole list for reference).
 116.140 -                jc.putClientProperty("WizardPanel_contentData", steps); // NOI18N
 116.141 -            }
 116.142 -        }
 116.143 -    }
 116.144 -    
 116.145 -    public void uninitialize(WizardDescriptor wiz) {
 116.146 -        this.wiz.putProperty("projdir",null); // NOI18N
 116.147 -        this.wiz.putProperty("name",null); // NOI18N
 116.148 -        this.wiz = null;
 116.149 -        panels = null;
 116.150 -    }
 116.151 -    
 116.152 -    public String name() {
 116.153 -        return MessageFormat.format(NbBundle.getMessage(EmptyBluejWizardIterator.class, "TITLE_Wizard"),
 116.154 -                new Object[] {new Integer(index + 1), new Integer(panels.length)});
 116.155 -    }
 116.156 -    
 116.157 -    public boolean hasNext() {
 116.158 -        return index < panels.length - 1;
 116.159 -    }
 116.160 -    
 116.161 -    public boolean hasPrevious() {
 116.162 -        return index > 0;
 116.163 -    }
 116.164 -    
 116.165 -    public void nextPanel() {
 116.166 -        if (!hasNext()) {
 116.167 -            throw new NoSuchElementException();
 116.168 -        }
 116.169 -        index++;
 116.170 -    }
 116.171 -    
 116.172 -    public void previousPanel() {
 116.173 -        if (!hasPrevious()) {
 116.174 -            throw new NoSuchElementException();
 116.175 -        }
 116.176 -        index--;
 116.177 -    }
 116.178 -    
 116.179 -    public WizardDescriptor.Panel current() {
 116.180 -        return panels[index];
 116.181 -    }
 116.182 -    
 116.183 -    // If nothing unusual changes in the middle of the wizard, simply:
 116.184 -    public final void addChangeListener(ChangeListener l) {}
 116.185 -    public final void removeChangeListener(ChangeListener l) {}
 116.186 -    
 116.187 -    private static void unZipFile(InputStream source, FileObject projectRoot) throws IOException {
 116.188 -        try {
 116.189 -            ZipInputStream str = new ZipInputStream(source);
 116.190 -            ZipEntry entry;
 116.191 -            while ((entry = str.getNextEntry()) != null) {
 116.192 -                if (entry.isDirectory()) {
 116.193 -                    FileUtil.createFolder(projectRoot, entry.getName());
 116.194 -                } else {
 116.195 -                    FileObject fo = FileUtil.createData(projectRoot, entry.getName());
 116.196 -                    FileLock lock = fo.lock();
 116.197 -                    try {
 116.198 -                        OutputStream out = fo.getOutputStream(lock);
 116.199 -                        try {
 116.200 -                            FileUtil.copy(str, out);
 116.201 -                        } finally {
 116.202 -                            out.close();
 116.203 -                        }
 116.204 -                    } finally {
 116.205 -                        lock.releaseLock();
 116.206 -                    }
 116.207 -                }
 116.208 -            }
 116.209 -        } finally {
 116.210 -            source.close();
 116.211 -        }
 116.212 -    }
 116.213 -    
 116.214 -}
   117.1 --- a/bluej-suite/bluej/src/org/netbeans/bluej/wizard/EmptyBluejWizardPanel.java	Thu Jul 10 19:13:29 2008 +0800
   117.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   117.3 @@ -1,125 +0,0 @@
   117.4 -/*
   117.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   117.6 - *
   117.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   117.8 - *
   117.9 - * The contents of this file are subject to the terms of either the GNU
  117.10 - * General Public License Version 2 only ("GPL") or the Common
  117.11 - * Development and Distribution License("CDDL") (collectively, the
  117.12 - * "License"). You may not use this file except in compliance with the
  117.13 - * License. You can obtain a copy of the License at
  117.14 - * http://www.netbeans.org/cddl-gplv2.html
  117.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  117.16 - * specific language governing permissions and limitations under the
  117.17 - * License.  When distributing the software, include this License Header
  117.18 - * Notice in each file and include the License file at
  117.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  117.20 - * particular file as subject to the "Classpath" exception as provided
  117.21 - * by Sun in the GPL Version 2 section of the License file that
  117.22 - * accompanied this code. If applicable, add the following below the
  117.23 - * License Header, with the fields enclosed by brackets [] replaced by
  117.24 - * your own identifying information:
  117.25 - * "Portions Copyrighted [year] [name of copyright owner]"
  117.26 - *
  117.27 - * Contributor(s):
  117.28 - *
  117.29 - * The Original Software is NetBeans. The Initial Developer of the Original
  117.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  117.31 - * Microsystems, Inc. All Rights Reserved.
  117.32 - *
  117.33 - * If you wish your version of this file to be governed by only the CDDL
  117.34 - * or only the GPL Version 2, indicate your decision by adding
  117.35 - * "[Contributor] elects to include this software in this distribution
  117.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
  117.37 - * single choice of license, a recipient has the option to distribute
  117.38 - * your version of this file under either the CDDL, the GPL Version 2 or
  117.39 - * to extend the choice of license to its licensees as provided above.
  117.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
  117.41 - * Version 2 license, then the option applies only if the new code is
  117.42 - * made subject to such option by the copyright holder.
  117.43 - */
  117.44 -package org.netbeans.bluej.wizard;
  117.45 -
  117.46 -import java.awt.Component;
  117.47 -import java.util.HashSet;
  117.48 -import java.util.Iterator;
  117.49 -import java.util.Set;
  117.50 -import javax.swing.event.ChangeEvent;
  117.51 -import javax.swing.event.ChangeListener;
  117.52 -import org.openide.WizardDescriptor;
  117.53 -import org.openide.WizardValidationException;
  117.54 -import org.openide.util.HelpCtx;
  117.55 -import org.openide.util.NbBundle;
  117.56 -
  117.57 -/**
  117.58 - * Panel just asking for basic info.
  117.59 - */
  117.60 -public class EmptyBluejWizardPanel implements WizardDescriptor.Panel,
  117.61 -        WizardDescriptor.ValidatingPanel, WizardDescriptor.FinishablePanel {
  117.62 -    
  117.63 -    private WizardDescriptor wizardDescriptor;
  117.64 -    private EmptyBluejPanelVisual component;
  117.65 -    
  117.66 -    /** Creates a new instance of templateWizardPanel */
  117.67 -    public EmptyBluejWizardPanel() {
  117.68 -    }
  117.69 -    
  117.70 -    public Component getComponent() {
  117.71 -        if (component == null) {
  117.72 -            component = new EmptyBluejPanelVisual(this);
  117.73 -            component.setName(NbBundle.getMessage(EmptyBluejWizardPanel.class, "LBL_CreateProjectStep"));
  117.74 -        }
  117.75 -        return component;
  117.76 -    }
  117.77 -    
  117.78 -    public HelpCtx getHelp() {
  117.79 -        return new HelpCtx(EmptyBluejWizardPanel.class);
  117.80 -    }
  117.81 -    
  117.82 -    public boolean isValid() {
  117.83 -        getComponent();
  117.84 -        return component.valid(wizardDescriptor);
  117.85 -    }
  117.86 -    
  117.87 -    private final Set/*<ChangeListener>*/ listeners = new HashSet(1);
  117.88 -    public final void addChangeListener(ChangeListener l) {
  117.89 -        synchronized (listeners) {
  117.90 -            listeners.add(l);
  117.91 -        }
  117.92 -    }
  117.93 -    public final void removeChangeListener(ChangeListener l) {
  117.94 -        synchronized (listeners) {
  117.95 -            listeners.remove(l);
  117.96 -        }
  117.97 -    }
  117.98 -    protected final void fireChangeEvent() {
  117.99 -        Iterator it;
 117.100 -        synchronized (listeners) {
 117.101 -            it = new HashSet(listeners).iterator();
 117.102 -        }
 117.103 -        ChangeEvent ev = new ChangeEvent(this);
 117.104 -        while (it.hasNext()) {
 117.105 -            ((ChangeListener) it.next()).stateChanged(ev);
 117.106 -        }
 117.107 -    }
 117.108 -    
 117.109 -    public void readSettings(Object settings) {
 117.110 -        wizardDescriptor = (WizardDescriptor) settings;
 117.111 -        component.read(wizardDescriptor);
 117.112 -    }
 117.113 -    
 117.114 -    public void storeSettings(Object settings) {
 117.115 -        WizardDescriptor d = (WizardDescriptor) settings;
 117.116 -        component.store(d);
 117.117 -    }
 117.118 -    
 117.119 -    public boolean isFinishPanel() {
 117.120 -        return true;
 117.121 -    }
 117.122 -    
 117.123 -    public void validate() throws WizardValidationException {
 117.124 -        getComponent();
 117.125 -        component.validate(wizardDescriptor);
 117.126 -    }
 117.127 -    
 117.128 -}
   118.1 --- a/edm.editor/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   118.2 +++ b/edm.editor/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   118.3 @@ -103,6 +103,15 @@
   118.4                      </run-dependency>
   118.5                  </dependency>
   118.6                  <dependency>
   118.7 +                    <code-name-base>org.netbeans.modules.xml.xam</code-name-base>
   118.8 +                    <build-prerequisite/>
   118.9 +                    <compile-dependency/>
  118.10 +                    <run-dependency>
  118.11 +                        <release-version>1</release-version>
  118.12 +                        <specification-version>1.4</specification-version>
  118.13 +                    </run-dependency>
  118.14 +                </dependency>
  118.15 +                <dependency>
  118.16                      <code-name-base>org.netbeans.spi.navigator</code-name-base>
  118.17                      <build-prerequisite/>
  118.18                      <compile-dependency/>
   119.1 --- a/edm.project/src/org/netbeans/modules/edm/project/resources/build-impl.xsl	Thu Jul 10 19:13:29 2008 +0800
   119.2 +++ b/edm.project/src/org/netbeans/modules/edm/project/resources/build-impl.xsl	Thu Jul 10 19:50:39 2008 +0800
   119.3 @@ -146,10 +146,10 @@
   119.4                                      <fileset dir="${{module.install.dir}}"><include name="*.jar" /></fileset>
   119.5                                      <fileset dir="${{module.install.dir}}/ext/edmpro"><include name="*.jar" /></fileset>                                          
   119.6                                      <fileset dir="${{module.install.dir}}/ext"><include name="*.jar" /></fileset>
   119.7 -                                    <fileset dir="${{netbeans.home}}/../ide8/modules"><include name="*.jar" /></fileset>
   119.8 -                                    <fileset dir="${{netbeans.home}}/../platform7/modules"><include name="*.jar" /></fileset>
   119.9 -                                    <fileset dir="${{netbeans.home}}/../platform7/core"><include name="*.jar" /></fileset>
  119.10 -                                    <fileset dir="${{netbeans.home}}/../platform7/lib"><include name="*.jar" /></fileset>
  119.11 +                                    <fileset dir="${{netbeans.home}}/../ide9/modules"><include name="*.jar" /></fileset>
  119.12 +                                    <fileset dir="${{netbeans.home}}/../platform8/modules"><include name="*.jar" /></fileset>
  119.13 +                                    <fileset dir="${{netbeans.home}}/../platform8/core"><include name="*.jar" /></fileset>
  119.14 +                                    <fileset dir="${{netbeans.home}}/../platform8/lib"><include name="*.jar" /></fileset>
  119.15                          </classpath>
  119.16                          </taskdef>
  119.17              </target>
   120.1 --- a/edm.project/src/org/netbeans/modules/edm/project/resources/build.xsl	Thu Jul 10 19:13:29 2008 +0800
   120.2 +++ b/edm.project/src/org/netbeans/modules/edm/project/resources/build.xsl	Thu Jul 10 19:50:39 2008 +0800
   120.3 @@ -112,7 +112,7 @@
   120.4                  <xsl:attribute name="if">no.netbeans.home</xsl:attribute>
   120.5  
   120.6                  <property file="${{basedir}}/nbproject/private/private.properties"/>
   120.7 -                <property name="netbeans.home" value="${{caps.netbeans.home}}/platform6"/>
   120.8 +                <property name="netbeans.home" value="${{caps.netbeans.home}}/platform8"/>
   120.9                  <property name="netbeans.user" value="${{caps.netbeans.user}}"/>
  120.10                  <property name="from.commandline" value="true"/>
  120.11              </target>
   121.1 --- a/extraupdatecenters/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   121.2 +++ b/extraupdatecenters/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   121.3 @@ -1,5 +1,5 @@
   121.4  OpenIDE-Module: org.netbeans.modules.extraupdatecenters
   121.5  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/extraupdatecenters/Bundle.properties
   121.6 -OpenIDE-Module-Specification-Version: 1.15
   121.7 +OpenIDE-Module-Specification-Version: 1.16
   121.8  OpenIDE-Module-Layer: org/netbeans/modules/extraupdatecenters/layer.xml
   121.9  
   122.1 --- a/extraupdatecenters/src/org/netbeans/modules/extraupdatecenters/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   122.2 +++ b/extraupdatecenters/src/org/netbeans/modules/extraupdatecenters/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   122.3 @@ -65,7 +65,7 @@
   122.4  URL_nbextras=http://plugins.netbeans.org/nbpluginportal/files/nbms/pluginportal-update-center.xml
   122.5  URL_zajo=http://nbxdoclet.sourceforge.net/alpha-update.xml
   122.6  URL_ramon=http://people.freenet.de/ramon.ramos/nb/updates.xml
   122.7 -URL_deadlock=http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
   122.8 +URL_deadlock=http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
   122.9  URL_efh=http://efhnbm.sourceforge.net/efhnbm_autoupdate_center.xml
  122.10  URL_geertjan=http://blogs.sun.com/roller/resources/geertjan/updates_geertjan.xml
  122.11  URL_hmichel=http://www.myjavaserver.com/~hmichel/netbeans/modules/updates.xml
   123.1 --- a/languages.velocity/src/org/netbeans/modules/languages/velocity/layer.xml	Thu Jul 10 19:13:29 2008 +0800
   123.2 +++ b/languages.velocity/src/org/netbeans/modules/languages/velocity/layer.xml	Thu Jul 10 19:50:39 2008 +0800
   123.3 @@ -64,7 +64,7 @@
   123.4                  <attr name="template" boolvalue="true"/>
   123.5                  <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.languages.velocity.Bundle"/>
   123.6                  <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/languages/velocity/EmptyVelocityFileDescription.html"/>
   123.7 -                <attr name="position" intvalue="300"/>
   123.8 +                <attr name="position" intvalue="1300"/>
   123.9              </file>
  123.10          </folder>
  123.11      </folder>
   124.1 --- a/nborgsourcebrowse/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   124.2 +++ b/nborgsourcebrowse/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   124.3 @@ -2,5 +2,5 @@
   124.4  OpenIDE-Module: org.netbeans.modules.nborgsourcebrowse
   124.5  OpenIDE-Module-Layer: org/netbeans/modules/nborgsourcebrowse/layer.xml
   124.6  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/nborgsourcebrowse/Bundle.properties
   124.7 -OpenIDE-Module-Specification-Version: 1.4
   124.8 +OpenIDE-Module-Specification-Version: 1.5
   124.9  
   125.1 --- a/nborgsourcebrowse/src/org/netbeans/modules/nborgsourcebrowse/BrowseSubmenu.java	Thu Jul 10 19:13:29 2008 +0800
   125.2 +++ b/nborgsourcebrowse/src/org/netbeans/modules/nborgsourcebrowse/BrowseSubmenu.java	Thu Jul 10 19:50:39 2008 +0800
   125.3 @@ -79,11 +79,11 @@
   125.4          {"Source (Hg)", "@REPO@/raw-file/tip/@FILEPATH@"},
   125.5          {"Source (Hudson trunk)", "http://deadlock.netbeans.org/hudson/job/trunk/ws/@FILEPATH@"},
   125.6          {"Javadoc (official)", "http://bits.netbeans.org/dev/javadoc/@CNBDASHES@/@JAVABASENAME@.html"},
   125.7 -        {"Javadoc (Hudson javadoc-nbms)", "http://deadlock.netbeans.org/hudson/job/javadoc-nbms/javadoc/@CNBDASHES@/@JAVABASENAME@.html"},
   125.8 +        {"Javadoc (Hudson nbms-and-javadoc)", "http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/javadoc/@CNBDASHES@/@JAVABASENAME@.html"},
   125.9      };
  125.10      private static final String[][] LINKS_PRJ = {
  125.11          {"Javadoc (official)", "http://www.netbeans.org/download/dev/javadoc/@CNBDASHES@/"},
  125.12 -        {"Javadoc (Hudson javadoc-nbms)", "http://deadlock.netbeans.org/hudson/job/javadoc-nbms/javadoc/@CNBDASHES@/"},
  125.13 +        {"Javadoc (Hudson nbms-and-javadoc)", "http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/javadoc/@CNBDASHES@/"},
  125.14      };
  125.15  
  125.16      /** Default constructor for layer */
   126.1 --- a/other/sampleapps/sau/launch/src/org/netbeans/test/au/launch/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   126.2 +++ b/other/sampleapps/sau/launch/src/org/netbeans/test/au/launch/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   126.3 @@ -12,7 +12,7 @@
   126.4  Templates/Services/AutoupdateType/autoupdate_xml_type.settings=Development Update Center
   126.5  
   126.6  #NOI18N
   126.7 -URL_Default_N=http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
   126.8 +URL_Default_N=http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
   126.9  #NOI18N
  126.10  URL_DevUpdateProvider=http://www.netbeans.org/updates/dev_{$netbeans.autoupdate.version}_{$netbeans.autoupdate.regnum}.xml?{$netbeans.hash.code}
  126.11  #NOI18N
   127.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   127.2 +++ b/pagelayouts/build.xml	Thu Jul 10 19:50:39 2008 +0800
   127.3 @@ -0,0 +1,5 @@
   127.4 +<?xml version="1.0" encoding="UTF-8"?>
   127.5 +<project basedir="." default="netbeans" name="contrib/pagelayouts">
   127.6 +    <description>Builds, tests, and runs the project org.netbeans.modules.copypaths</description>
   127.7 +    <import file="../../nbbuild/templates/projectized.xml"/>
   127.8 +</project>
   128.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   128.2 +++ b/pagelayouts/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   128.3 @@ -0,0 +1,6 @@
   128.4 +Manifest-Version: 1.0
   128.5 +OpenIDE-Module: org.netbeans.modules.pagelayouts
   128.6 +OpenIDE-Module-Layer: org/netbeans/modules/pagelayouts/layer.xml
   128.7 +OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/pagelayouts/Bundle.properties
   128.8 +OpenIDE-Module-Specification-Version: 1.0
   128.9 +
   129.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   129.2 +++ b/pagelayouts/nbproject/project.properties	Thu Jul 10 19:50:39 2008 +0800
   129.3 @@ -0,0 +1,4 @@
   129.4 +javac.compilerargs=-Xlint:unchecked
   129.5 +javac.source=1.5
   129.6 +nbm.homepage=http://blogs.sun.com/winston
   129.7 +nbm.module.author=Winston Prakash (Winston.Prakash@Sun.Com)
   130.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   130.2 +++ b/pagelayouts/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   130.3 @@ -0,0 +1,11 @@
   130.4 +<?xml version="1.0" encoding="UTF-8"?>
   130.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
   130.6 +    <type>org.netbeans.modules.apisupport.project</type>
   130.7 +    <configuration>
   130.8 +        <data xmlns="http://www.netbeans.org/ns/nb-module-project/2">
   130.9 +            <code-name-base>org.netbeans.modules.pagelayouts</code-name-base>
  130.10 +            <module-dependencies/>
  130.11 +            <public-packages/>
  130.12 +        </data>
  130.13 +    </configuration>
  130.14 +</project>
   131.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   131.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   131.3 @@ -0,0 +1,45 @@
   131.4 +#
   131.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   131.6 +#
   131.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   131.8 +#
   131.9 +# The contents of this file are subject to the terms of either the GNU
  131.10 +# General Public License Version 2 only ("GPL") or the Common
  131.11 +# Development and Distribution License("CDDL") (collectively, the
  131.12 +# "License"). You may not use this file except in compliance with the
  131.13 +# License. You can obtain a copy of the License at
  131.14 +# http://www.netbeans.org/cddl-gplv2.html
  131.15 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  131.16 +# specific language governing permissions and limitations under the
  131.17 +# License.  When distributing the software, include this License Header
  131.18 +# Notice in each file and include the License file at
  131.19 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  131.20 +# particular file as subject to the "Classpath" exception as provided
  131.21 +# by Sun in the GPL Version 2 section of the License file that
  131.22 +# accompanied this code. If applicable, add the following below the
  131.23 +# License Header, with the fields enclosed by brackets [] replaced by
  131.24 +# your own identifying information:
  131.25 +# "Portions Copyrighted [year] [name of copyright owner]"
  131.26 +#
  131.27 +# Contributor(s):
  131.28 +#
  131.29 +# The Original Software is NetBeans. The Initial Developer of the Original
  131.30 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  131.31 +# Microsystems, Inc. All Rights Reserved.
  131.32 +#
  131.33 +# If you wish your version of this file to be governed by only the CDDL
  131.34 +# or only the GPL Version 2, indicate your decision by adding
  131.35 +# "[Contributor] elects to include this software in this distribution
  131.36 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  131.37 +# single choice of license, a recipient has the option to distribute
  131.38 +# your version of this file under either the CDDL, the GPL Version 2 or
  131.39 +# to extend the choice of license to its licensees as provided above.
  131.40 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  131.41 +# Version 2 license, then the option applies only if the new code is
  131.42 +# made subject to such option by the copyright holder.
  131.43 +
  131.44 +OpenIDE-Module-Display-Category=Web
  131.45 +OpenIDE-Module-Long-Description=\
  131.46 +    Predefined Page Layouts for HTML, JSP, PHP & RHTML
  131.47 +OpenIDE-Module-Name=Web Page Layouts
  131.48 +OpenIDE-Module-Short-Description=Predefined Page Layouts for HTML, JSP, PHP & RHTML
   132.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   132.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/layer.xml	Thu Jul 10 19:50:39 2008 +0800
   132.3 @@ -0,0 +1,170 @@
   132.4 +<?xml version="1.0" encoding="UTF-8"?>
   132.5 +<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
   132.6 +<filesystem> 
   132.7 +    <folder name="PageLayouts">
   132.8 +        <folder name="html">
   132.9 +            <file name="simple.html" url="/org/netbeans/modules/pagelayouts/resources/simple.html">
  132.10 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.11 +                <attr name="pageLayout" boolvalue="true"/>
  132.12 +                <attr name="template" boolvalue="true"/>
  132.13 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.14 +                <attr name="position" intvalue="100"/>
  132.15 +                <attr name="name" stringvalue="simple"/>
  132.16 +                <attr name="description" stringvalue="simple_desc"/>
  132.17 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_icon.png"/>
  132.18 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_preview.png"/>
  132.19 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_resources.zip"/>
  132.20 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
  132.21 +            </file>
  132.22 +            <file name="zenlike.html" url="/org/netbeans/modules/pagelayouts/resources/zenlike.html">
  132.23 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.24 +                <attr name="pageLayout" boolvalue="true"/>
  132.25 +                <attr name="template" boolvalue="true"/>
  132.26 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.27 +                <attr name="position" intvalue="200"/>
  132.28 +                <attr name="name" stringvalue="zenlike"/>
  132.29 +                <attr name="description" stringvalue="zenlike_desc"/>
  132.30 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_icon.png"/>
  132.31 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_preview.png"/>
  132.32 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_resources.zip"/>
  132.33 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
  132.34 +            </file>
  132.35 +            <file name="grapes.html" url="/org/netbeans/modules/pagelayouts/resources/grapes.html">
  132.36 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.37 +                <attr name="pageLayout" boolvalue="true"/>
  132.38 +                <attr name="template" boolvalue="true"/>
  132.39 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.40 +                <attr name="position" intvalue="300"/>
  132.41 +                <attr name="name" stringvalue="grapes"/>
  132.42 +                <attr name="description" stringvalue="grapes_desc"/>
  132.43 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_icon.png"/>
  132.44 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_preview.png"/>
  132.45 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_resources.zip"/>
  132.46 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
  132.47 +            </file>
  132.48 +        </folder>
  132.49 +        <folder name="JSP">
  132.50 +            <file name="simple.jsp" url="/org/netbeans/modules/pagelayouts/resources/simple.jsp">
  132.51 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.52 +                <attr name="pageLayout" boolvalue="true"/>
  132.53 +                <attr name="template" boolvalue="true"/>
  132.54 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.55 +                <attr name="position" intvalue="100"/>
  132.56 +                <attr name="name" stringvalue="simple"/>
  132.57 +                <attr name="description" stringvalue="simple_desc"/>
  132.58 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_icon.png"/>
  132.59 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_preview.png"/>
  132.60 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_resources.zip"/>
  132.61 +                <attr name="defaultResourceFolder" stringvalue="/resources"/>
  132.62 +            </file>
  132.63 +            <file name="zenlike.jsp" url="/org/netbeans/modules/pagelayouts/resources/zenlike.jsp">
  132.64 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.65 +                <attr name="pageLayout" boolvalue="true"/>
  132.66 +                <attr name="template" boolvalue="true"/>
  132.67 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.68 +                <attr name="position" intvalue="200"/>
  132.69 +                <attr name="name" stringvalue="zenlike"/>
  132.70 +                <attr name="description" stringvalue="zenlike_desc"/>
  132.71 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_icon.png"/>
  132.72 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_preview.png"/>
  132.73 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_resources.zip"/>
  132.74 +                <attr name="defaultResourceFolder" stringvalue="/resources"/>
  132.75 +            </file>
  132.76 +            <file name="grapes.jsp" url="/org/netbeans/modules/pagelayouts/resources/grapes.jsp">
  132.77 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.78 +                <attr name="pageLayout" boolvalue="true"/>
  132.79 +                <attr name="template" boolvalue="true"/>
  132.80 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.81 +                <attr name="position" intvalue="300"/>
  132.82 +                <attr name="name" stringvalue="grapes"/>
  132.83 +                <attr name="description" stringvalue="grapes_desc"/>
  132.84 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_icon.png"/>
  132.85 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_preview.png"/>
  132.86 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_resources.zip"/>
  132.87 +                <attr name="defaultResourceFolder" stringvalue="/resources"/>
  132.88 +            </file>
  132.89 +        </folder>
  132.90 +        <folder name="_view">
  132.91 +            <file name="simple.rhtml" url="/org/netbeans/modules/pagelayouts/resources/simple.rhtml">
  132.92 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
  132.93 +                <attr name="pageLayout" boolvalue="true"/>
  132.94 +                <attr name="template" boolvalue="true"/>
  132.95 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
  132.96 +                <attr name="position" intvalue="100"/>
  132.97 +                <attr name="name" stringvalue="simple"/>
  132.98 +                <attr name="description" stringvalue="simple_desc"/>
  132.99 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_icon.png"/>
 132.100 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_preview.png"/>
 132.101 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_resources.zip"/>
 132.102 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
 132.103 +            </file>
 132.104 +            <file name="zenlike.rhtml" url="/org/netbeans/modules/pagelayouts/resources/zenlike.rhtml">
 132.105 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
 132.106 +                <attr name="pageLayout" boolvalue="true"/>
 132.107 +                <attr name="template" boolvalue="true"/>
 132.108 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 132.109 +                <attr name="position" intvalue="200"/>
 132.110 +                <attr name="name" stringvalue="zenlike"/>
 132.111 +                <attr name="description" stringvalue="zenlike_desc"/>
 132.112 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_icon.png"/>
 132.113 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_preview.png"/>
 132.114 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_resources.zip"/>
 132.115 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
 132.116 +            </file>
 132.117 +            <file name="grapes.rhtml" url="/org/netbeans/modules/pagelayouts/resources/grapes.rhtml">
 132.118 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
 132.119 +                <attr name="pageLayout" boolvalue="true"/>
 132.120 +                <attr name="template" boolvalue="true"/>
 132.121 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 132.122 +                <attr name="position" intvalue="300"/>
 132.123 +                <attr name="name" stringvalue="grapes"/>
 132.124 +                <attr name="description" stringvalue="grapes_desc"/>
 132.125 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_icon.png"/>
 132.126 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_preview.png"/>
 132.127 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_resources.zip"/>
 132.128 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
 132.129 +            </file>
 132.130 +        </folder>
 132.131 +        <folder name="EmptyPHPWebPage">
 132.132 +            <file name="simple.php" url="/org/netbeans/modules/pagelayouts/resources/simple.php">
 132.133 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
 132.134 +                <attr name="pageLayout" boolvalue="true"/>
 132.135 +                <attr name="template" boolvalue="true"/>
 132.136 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 132.137 +                <attr name="position" intvalue="100"/>
 132.138 +                <attr name="name" stringvalue="simple"/>
 132.139 +                <attr name="description" stringvalue="simple_desc"/>
 132.140 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_icon.png"/>
 132.141 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_preview.png"/>
 132.142 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/simple_resources.zip"/>
 132.143 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
 132.144 +            </file>
 132.145 +            <file name="zenlike.php" url="/org/netbeans/modules/pagelayouts/resources/zenlike.php">
 132.146 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
 132.147 +                <attr name="pageLayout" boolvalue="true"/>
 132.148 +                <attr name="template" boolvalue="true"/>
 132.149 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 132.150 +                <attr name="position" intvalue="200"/>
 132.151 +                <attr name="name" stringvalue="zenlike"/>
 132.152 +                <attr name="description" stringvalue="zenlike_desc"/>
 132.153 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_icon.png"/>
 132.154 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_preview.png"/>
 132.155 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/zenlike_resources.zip"/>
 132.156 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
 132.157 +            </file>
 132.158 +            <file name="grapes.php" url="/org/netbeans/modules/pagelayouts/resources/grapes.php">
 132.159 +                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.pagelayouts.resources.Bundle"/>
 132.160 +                <attr name="pageLayout" boolvalue="true"/>
 132.161 +                <attr name="template" boolvalue="true"/>
 132.162 +                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 132.163 +                <attr name="position" intvalue="300"/>
 132.164 +                <attr name="name" stringvalue="grapes"/>
 132.165 +                <attr name="description" stringvalue="grapes_desc"/>
 132.166 +                <attr name="icon" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_icon.png"/>
 132.167 +                <attr name="previewImage" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_preview.png"/>
 132.168 +                <attr name="resources" urlvalue="nbresloc:/org/netbeans/modules/pagelayouts/resources/grapes_resources.zip"/>
 132.169 +                <attr name="defaultResourceFolder" stringvalue="resources"/>
 132.170 +            </file>
 132.171 +        </folder>
 132.172 +    </folder>
 132.173 +</filesystem>
   133.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   133.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes.html	Thu Jul 10 19:50:39 2008 +0800
   133.3 @@ -0,0 +1,79 @@
   133.4 +<!-- 
   133.5 +    Document   : ${name}
   133.6 +    Created on : ${date}, ${time}
   133.7 +    Author     : ${user}
   133.8 +-->
   133.9 +<html>
  133.10 +    <head>
  133.11 +        <title>Grapes</title>
  133.12 +        <link rel="stylesheet" type="text/css" href="${folder}/grapes/grapes.css" />
  133.13 +        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  133.14 +        <meta name="author" content="Your name here" />
  133.15 +        <meta name="Copyright" content="Copyright (c) Your copyright here 2005" />
  133.16 +    </head>
  133.17 +    <body>
  133.18 +        <div id="container">
  133.19 +            <div id="hdr">
  133.20 +                <h1>grapes</h1>
  133.21 +                <p id="tagline">fruit, wine &amp; web design</p>
  133.22 +            </div>
  133.23 +            
  133.24 +            <div id="lftcol">
  133.25 +                <ul id="nav">
  133.26 +                    <li><a href="" id="current">Introduction</a></li>
  133.27 +                    <li><a href="">Our Wines</a></li>
  133.28 +                    <li><a href="">Important Grapes</a></li>
  133.29 +                    <li><a href="">Contact Us</a></li>
  133.30 +                    <li><a href="">Links</a></li>
  133.31 +                </ul>
  133.32 +                
  133.33 +                <div id="quote">
  133.34 +                    <p><em>A great source for information...</em></p>
  133.35 +                </div>
  133.36 +                
  133.37 +                <h3>More stuff</h3>
  133.38 +                <ul>
  133.39 +                    <li><a href="http://validator.w3.org/check?uri=referer">Validate XHTML</a></li>
  133.40 +                    <li><a href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a></li>
  133.41 +                    <li><a href="http://www.davereederdesign.com/">Authors Website</a></li>
  133.42 +                    <li><a href="http://www.oswd.org/">OSWD</a></li>		
  133.43 +                </ul>
  133.44 +                
  133.45 +            </div>
  133.46 +            
  133.47 +            
  133.48 +            
  133.49 +            <div id="rgtcol">
  133.50 +                <h2>Introduction</h2>
  133.51 +                <p>Hello and welcome to my latest template called &quot;Grapes&quot;.  
  133.52 +                    <br /> 
  133.53 +                    &quot;Grapes&quot; is an Open Source web template which means it can be used without the need to ask permission and you have full rights to use and adapt its images.  For more of my work, please see my website which can be found  <a href="http://www.davereederdesign.com/">here.</a>
  133.54 +                </p>
  133.55 +                <p>
  133.56 +                    I wanted to create a fairly simple yet attractive template which can be used for food or wine related websites, although it can easily be adapted for other uses too. 
  133.57 +                </p>
  133.58 +                
  133.59 +                
  133.60 +                <h2>But is it <em>easy</em> to Use?</h2>
  133.61 +                <p>&quot;Grapes&quot; should be quite easy to use as I have added plenty of comments and tried to make the <acronym title="Cascading Style Sheet">CSS</acronym> as neat and organised as possible. 
  133.62 +                </p>
  133.63 +                <p>There are also plenty of styles for other tags, including:</p>
  133.64 +                
  133.65 +                <p><code>Text using the code tag, this is ideal for showing code on a page.</code></p>
  133.66 +                
  133.67 +                <p><acronym title="acronym text">acronym text</acronym></p>
  133.68 +                
  133.69 +                <p><strong>strong or bold text</strong></p>
  133.70 +                
  133.71 +                <p><em>em or italic text</em></p>
  133.72 +                
  133.73 +                <p>This is a paragraph of normal text that contains <span>span</span> tags with a class set to <span>special</span>.  This means all the <span>big words</span> in this paragraph are words that are placed between opening and closing <span>span</span> tags.  These span tags can be used to add meaning to a block of text or to <span>shout out</span> when needed.</p>
  133.74 +            </div>
  133.75 +            
  133.76 +            <div id="bttmbar">Copyright &copy; Your Copyright Info</div>
  133.77 +            
  133.78 +            
  133.79 +        </div>
  133.80 +        
  133.81 +    </body>
  133.82 +</html>
  133.83 \ No newline at end of file
   134.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   134.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes.jsp	Thu Jul 10 19:50:39 2008 +0800
   134.3 @@ -0,0 +1,83 @@
   134.4 +<%-- 
   134.5 +    Document   : ${name}
   134.6 +    Created on : ${date}, ${time}
   134.7 +    Author     : ${user}
   134.8 +--%>
   134.9 +
  134.10 +<%@page contentType="text/html" pageEncoding="${encoding}"%>
  134.11 +
  134.12 +<html>
  134.13 +    <head>
  134.14 +        <meta http-equiv="Content-Type" content="text/html; charset=${encoding}">
  134.15 +        <title>Grapes</title>
  134.16 +        <link rel="stylesheet" type="text/css" href="${folder}/grapes/grapes.css" />
  134.17 +        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  134.18 +        <meta name="author" content="Your name here" />
  134.19 +        <meta name="Copyright" content="Copyright (c) Your copyright here 2005" />
  134.20 +    </head>
  134.21 +    <body>
  134.22 +        <div id="container">
  134.23 +            <div id="hdr">
  134.24 +                <h1>grapes</h1>
  134.25 +                <p id="tagline">fruit, wine &amp; web design</p>
  134.26 +            </div>
  134.27 +            
  134.28 +            <div id="lftcol">
  134.29 +                <ul id="nav">
  134.30 +                    <li><a href="" id="current">Introduction</a></li>
  134.31 +                    <li><a href="">Our Wines</a></li>
  134.32 +                    <li><a href="">Important Grapes</a></li>
  134.33 +                    <li><a href="">Contact Us</a></li>
  134.34 +                    <li><a href="">Links</a></li>
  134.35 +                </ul>
  134.36 +                
  134.37 +                <div id="quote">
  134.38 +                    <p><em>A great source for information...</em></p>
  134.39 +                </div>
  134.40 +                
  134.41 +                <h3>More stuff</h3>
  134.42 +                <ul>
  134.43 +                    <li><a href="http://validator.w3.org/check?uri=referer">Validate XHTML</a></li>
  134.44 +                    <li><a href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a></li>
  134.45 +                    <li><a href="http://www.davereederdesign.com/">Authors Website</a></li>
  134.46 +                    <li><a href="http://www.oswd.org/">OSWD</a></li>		
  134.47 +                </ul>
  134.48 +                
  134.49 +            </div>
  134.50 +            
  134.51 +            
  134.52 +            
  134.53 +            <div id="rgtcol">
  134.54 +                <h2>Introduction</h2>
  134.55 +                <p>Hello and welcome to my latest template called &quot;Grapes&quot;.  
  134.56 +                    <br /> 
  134.57 +                    &quot;Grapes&quot; is an Open Source web template which means it can be used without the need to ask permission and you have full rights to use and adapt its images.  For more of my work, please see my website which can be found  <a href="http://www.davereederdesign.com/">here.</a>
  134.58 +                </p>
  134.59 +                <p>
  134.60 +                    I wanted to create a fairly simple yet attractive template which can be used for food or wine related websites, although it can easily be adapted for other uses too. 
  134.61 +                </p>
  134.62 +                
  134.63 +                
  134.64 +                <h2>But is it <em>easy</em> to Use?</h2>
  134.65 +                <p>&quot;Grapes&quot; should be quite easy to use as I have added plenty of comments and tried to make the <acronym title="Cascading Style Sheet">CSS</acronym> as neat and organised as possible. 
  134.66 +                </p>
  134.67 +                <p>There are also plenty of styles for other tags, including:</p>
  134.68 +                
  134.69 +                <p><code>Text using the code tag, this is ideal for showing code on a page.</code></p>
  134.70 +                
  134.71 +                <p><acronym title="acronym text">acronym text</acronym></p>
  134.72 +                
  134.73 +                <p><strong>strong or bold text</strong></p>
  134.74 +                
  134.75 +                <p><em>em or italic text</em></p>
  134.76 +                
  134.77 +                <p>This is a paragraph of normal text that contains <span>span</span> tags with a class set to <span>special</span>.  This means all the <span>big words</span> in this paragraph are words that are placed between opening and closing <span>span</span> tags.  These span tags can be used to add meaning to a block of text or to <span>shout out</span> when needed.</p>
  134.78 +            </div>
  134.79 +            
  134.80 +            <div id="bttmbar">Copyright &copy; Your Copyright Info</div>
  134.81 +            
  134.82 +            
  134.83 +        </div>
  134.84 +        
  134.85 +    </body>
  134.86 +</html>
   135.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   135.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes.php	Thu Jul 10 19:50:39 2008 +0800
   135.3 @@ -0,0 +1,80 @@
   135.4 +<!-- 
   135.5 +    Document   : ${name}
   135.6 +    Created on : ${date}, ${time}
   135.7 +    Author     : ${user}
   135.8 +-->
   135.9 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  135.10 +<html>
  135.11 +    <head>
  135.12 +        <title>Grapes</title>
  135.13 +        <link rel="stylesheet" type="text/css" href="${folder}/grapes/grapes.css" />
  135.14 +        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  135.15 +        <meta name="author" content="Your name here" />
  135.16 +        <meta name="Copyright" content="Copyright (c) Your copyright here 2005" />
  135.17 +    </head>
  135.18 +    <body>
  135.19 +        <div id="container">
  135.20 +            <div id="hdr">
  135.21 +                <h1>grapes</h1>
  135.22 +                <p id="tagline">fruit, wine &amp; web design</p>
  135.23 +            </div>
  135.24 +            
  135.25 +            <div id="lftcol">
  135.26 +                <ul id="nav">
  135.27 +                    <li><a href="" id="current">Introduction</a></li>
  135.28 +                    <li><a href="">Our Wines</a></li>
  135.29 +                    <li><a href="">Important Grapes</a></li>
  135.30 +                    <li><a href="">Contact Us</a></li>
  135.31 +                    <li><a href="">Links</a></li>
  135.32 +                </ul>
  135.33 +                
  135.34 +                <div id="quote">
  135.35 +                    <p><em>A great source for information...</em></p>
  135.36 +                </div>
  135.37 +                
  135.38 +                <h3>More stuff</h3>
  135.39 +                <ul>
  135.40 +                    <li><a href="http://validator.w3.org/check?uri=referer">Validate XHTML</a></li>
  135.41 +                    <li><a href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a></li>
  135.42 +                    <li><a href="http://www.davereederdesign.com/">Authors Website</a></li>
  135.43 +                    <li><a href="http://www.oswd.org/">OSWD</a></li>		
  135.44 +                </ul>
  135.45 +                
  135.46 +            </div>
  135.47 +            
  135.48 +            
  135.49 +            
  135.50 +            <div id="rgtcol">
  135.51 +                <h2>Introduction</h2>
  135.52 +                <p>Hello and welcome to my latest template called &quot;Grapes&quot;.  
  135.53 +                    <br /> 
  135.54 +                    &quot;Grapes&quot; is an Open Source web template which means it can be used without the need to ask permission and you have full rights to use and adapt its images.  For more of my work, please see my website which can be found  <a href="http://www.davereederdesign.com/">here.</a>
  135.55 +                </p>
  135.56 +                <p>
  135.57 +                    I wanted to create a fairly simple yet attractive template which can be used for food or wine related websites, although it can easily be adapted for other uses too. 
  135.58 +                </p>
  135.59 +                
  135.60 +                
  135.61 +                <h2>But is it <em>easy</em> to Use?</h2>
  135.62 +                <p>&quot;Grapes&quot; should be quite easy to use as I have added plenty of comments and tried to make the <acronym title="Cascading Style Sheet">CSS</acronym> as neat and organised as possible. 
  135.63 +                </p>
  135.64 +                <p>There are also plenty of styles for other tags, including:</p>
  135.65 +                
  135.66 +                <p><code>Text using the code tag, this is ideal for showing code on a page.</code></p>
  135.67 +                
  135.68 +                <p><acronym title="acronym text">acronym text</acronym></p>
  135.69 +                
  135.70 +                <p><strong>strong or bold text</strong></p>
  135.71 +                
  135.72 +                <p><em>em or italic text</em></p>
  135.73 +                
  135.74 +                <p>This is a paragraph of normal text that contains <span>span</span> tags with a class set to <span>special</span>.  This means all the <span>big words</span> in this paragraph are words that are placed between opening and closing <span>span</span> tags.  These span tags can be used to add meaning to a block of text or to <span>shout out</span> when needed.</p>
  135.75 +            </div>
  135.76 +            
  135.77 +            <div id="bttmbar">Copyright &copy; Your Copyright Info</div>
  135.78 +            
  135.79 +            
  135.80 +        </div>
  135.81 +        
  135.82 +    </body>
  135.83 +</html>
   136.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   136.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes.rhtml	Thu Jul 10 19:50:39 2008 +0800
   136.3 @@ -0,0 +1,85 @@
   136.4 +<#-- This is a FreeMarker template -->
   136.5 +<#-- You can change the contents of the license inserted into
   136.6 + #   each template by opening Tools | Templates and editing
   136.7 + #   Licenses | Default License  -->
   136.8 +<#assign licenseFirst = "<%#">
   136.9 +<#assign licensePrefix = "# ">
  136.10 +<#assign licenseLast = "%>">
  136.11 +<#include "../Licenses/license-${project.license}.txt">
  136.12 +<#-- End of license section; RHTML/ERB contents follow -->
  136.13 +
  136.14 +<%= "${name}" %>
  136.15 +<html>
  136.16 +    <head>
  136.17 +        <title>Grapes</title>
  136.18 +        <link rel="stylesheet" type="text/css" href="${folder}/grapes/grapes.css" />
  136.19 +        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  136.20 +        <meta name="author" content="Your name here" />
  136.21 +        <meta name="Copyright" content="Copyright (c) Your copyright here 2005" />
  136.22 +    </head>
  136.23 +    <body>
  136.24 +        <div id="container">
  136.25 +            <div id="hdr">
  136.26 +                <h1>grapes</h1>
  136.27 +                <p id="tagline">fruit, wine &amp; web design</p>
  136.28 +            </div>
  136.29 +            
  136.30 +            <div id="lftcol">
  136.31 +                <ul id="nav">
  136.32 +                    <li><a href="" id="current">Introduction</a></li>
  136.33 +                    <li><a href="">Our Wines</a></li>
  136.34 +                    <li><a href="">Important Grapes</a></li>
  136.35 +                    <li><a href="">Contact Us</a></li>
  136.36 +                    <li><a href="">Links</a></li>
  136.37 +                </ul>
  136.38 +                
  136.39 +                <div id="quote">
  136.40 +                    <p><em>A great source for information...</em></p>
  136.41 +                </div>
  136.42 +                
  136.43 +                <h3>More stuff</h3>
  136.44 +                <ul>
  136.45 +                    <li><a href="http://validator.w3.org/check?uri=referer">Validate XHTML</a></li>
  136.46 +                    <li><a href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a></li>
  136.47 +                    <li><a href="http://www.davereederdesign.com/">Authors Website</a></li>
  136.48 +                    <li><a href="http://www.oswd.org/">OSWD</a></li>		
  136.49 +                </ul>
  136.50 +                
  136.51 +            </div>
  136.52 +            
  136.53 +            
  136.54 +            
  136.55 +            <div id="rgtcol">
  136.56 +                <h2>Introduction</h2>
  136.57 +                <p>Hello and welcome to my latest template called &quot;Grapes&quot;.  
  136.58 +                    <br /> 
  136.59 +                    &quot;Grapes&quot; is an Open Source web template which means it can be used without the need to ask permission and you have full rights to use and adapt its images.  For more of my work, please see my website which can be found  <a href="http://www.davereederdesign.com/">here.</a>
  136.60 +                </p>
  136.61 +                <p>
  136.62 +                    I wanted to create a fairly simple yet attractive template which can be used for food or wine related websites, although it can easily be adapted for other uses too. 
  136.63 +                </p>
  136.64 +                
  136.65 +                
  136.66 +                <h2>But is it <em>easy</em> to Use?</h2>
  136.67 +                <p>&quot;Grapes&quot; should be quite easy to use as I have added plenty of comments and tried to make the <acronym title="Cascading Style Sheet">CSS</acronym> as neat and organised as possible. 
  136.68 +                </p>
  136.69 +                <p>There are also plenty of styles for other tags, including:</p>
  136.70 +                
  136.71 +                <p><code>Text using the code tag, this is ideal for showing code on a page.</code></p>
  136.72 +                
  136.73 +                <p><acronym title="acronym text">acronym text</acronym></p>
  136.74 +                
  136.75 +                <p><strong>strong or bold text</strong></p>
  136.76 +                
  136.77 +                <p><em>em or italic text</em></p>
  136.78 +                
  136.79 +                <p>This is a paragraph of normal text that contains <span>span</span> tags with a class set to <span>special</span>.  This means all the <span>big words</span> in this paragraph are words that are placed between opening and closing <span>span</span> tags.  These span tags can be used to add meaning to a block of text or to <span>shout out</span> when needed.</p>
  136.80 +            </div>
  136.81 +            
  136.82 +            <div id="bttmbar">Copyright &copy; Your Copyright Info</div>
  136.83 +            
  136.84 +            
  136.85 +        </div>
  136.86 +        
  136.87 +    </body>
  136.88 +</html>
  136.89 \ No newline at end of file
   137.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes_icon.png has changed
   138.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes_preview.png has changed
   139.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/grapes_resources.zip has changed
   140.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   140.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple.html	Thu Jul 10 19:50:39 2008 +0800
   140.3 @@ -0,0 +1,29 @@
   140.4 +<!-- 
   140.5 +    Document   : ${name}
   140.6 +    Created on : ${date}, ${time}
   140.7 +    Author     : ${user}
   140.8 +-->
   140.9 +<html>
  140.10 +    <head>
  140.11 +        <link rel="stylesheet" type="text/css" href="{folder}/layout.css" />
  140.12 +    </head>
  140.13 +    <body>
  140.14 +        <div id="container">
  140.15 +            <div id="header">
  140.16 +                Header
  140.17 +            </div>
  140.18 +            <div id="leftBar">
  140.19 +                Left Bar
  140.20 +            </div>
  140.21 +            <div id="content">
  140.22 +                Main Content
  140.23 +            </div>
  140.24 +            <div id="rightBar">
  140.25 +                Right Bar
  140.26 +            </div>
  140.27 +            <div id="footer">
  140.28 +                Footer
  140.29 +            </div>
  140.30 +        </div>
  140.31 +    </body>
  140.32 +</html>
  140.33 \ No newline at end of file
   141.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   141.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple.jsp	Thu Jul 10 19:50:39 2008 +0800
   141.3 @@ -0,0 +1,34 @@
   141.4 +<%-- 
   141.5 +    Document   : ${name}
   141.6 +    Created on : ${date}, ${time}
   141.7 +    Author     : ${user}
   141.8 +--%>
   141.9 +
  141.10 +<%@page contentType="text/html" pageEncoding="${encoding}"%>
  141.11 +
  141.12 +<html>
  141.13 +    <head>
  141.14 +        <meta http-equiv="Content-Type" content="text/html; charset=${encoding}">
  141.15 +        <title>JSP Page</title>
  141.16 +        <link rel="stylesheet" type="text/css" href="${folder}/layout.css" />
  141.17 +    </head>
  141.18 +    <body>
  141.19 +        <div id="container">
  141.20 +            <div id="header">
  141.21 +                Header
  141.22 +            </div>
  141.23 +            <div id="leftBar">
  141.24 +                Left Bar
  141.25 +            </div>
  141.26 +            <div id="content">
  141.27 +                Main Content
  141.28 +            </div>
  141.29 +            <div id="rightBar">
  141.30 +                Right Bar
  141.31 +            </div>
  141.32 +            <div id="footer">
  141.33 +                Footer
  141.34 +            </div>
  141.35 +        </div>
  141.36 +    </body>
  141.37 +</html>
   142.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   142.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple.php	Thu Jul 10 19:50:39 2008 +0800
   142.3 @@ -0,0 +1,30 @@
   142.4 +<!-- 
   142.5 +    Document   : ${name}
   142.6 +    Created on : ${date}, ${time}
   142.7 +    Author     : ${user}
   142.8 +-->
   142.9 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  142.10 +<html>
  142.11 +    <head>
  142.12 +        <link rel="stylesheet" type="text/css" href="${folder}/layout.css" />
  142.13 +    </head>
  142.14 +    <body>
  142.15 +        <div id="container">
  142.16 +            <div id="header">
  142.17 +                Header
  142.18 +            </div>
  142.19 +            <div id="leftBar">
  142.20 +                Left Bar
  142.21 +            </div>
  142.22 +            <div id="content">
  142.23 +                Main Content
  142.24 +            </div>
  142.25 +            <div id="rightBar">
  142.26 +                Right Bar
  142.27 +            </div>
  142.28 +            <div id="footer">
  142.29 +                Footer
  142.30 +            </div>
  142.31 +        </div>
  142.32 +    </body>
  142.33 +</html>
   143.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   143.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple.rhtml	Thu Jul 10 19:50:39 2008 +0800
   143.3 @@ -0,0 +1,37 @@
   143.4 +<#-- This is a FreeMarker template -->
   143.5 +<#-- You can change the contents of the license inserted into
   143.6 + #   each template by opening Tools | Templates and editing
   143.7 + #   Licenses | Default License  -->
   143.8 +<#assign licenseFirst = "<%#">
   143.9 +<#assign licensePrefix = "# ">
  143.10 +<#assign licenseLast = "%>">
  143.11 +<#include "../Licenses/license-${project.license}.txt">
  143.12 +<#-- End of license section; RHTML/ERB contents follow -->
  143.13 +
  143.14 +<%= "${name}" %>
  143.15 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  143.16 +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  143.17 +<html>
  143.18 +    <head>
  143.19 +        <link rel="stylesheet" type="text/css" href="${folder}/layout.css" />
  143.20 +    </head>
  143.21 +    <body>
  143.22 +        <div id="container">
  143.23 +            <div id="header">
  143.24 +                Header
  143.25 +            </div>
  143.26 +            <div id="leftBar">
  143.27 +                Left Bar
  143.28 +            </div>
  143.29 +            <div id="content">
  143.30 +                Main Content
  143.31 +            </div>
  143.32 +            <div id="rightBar">
  143.33 +                Right Bar
  143.34 +            </div>
  143.35 +            <div id="footer">
  143.36 +                Footer
  143.37 +            </div>
  143.38 +        </div>
  143.39 +    </body>
  143.40 +</html>
  143.41 \ No newline at end of file
   144.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple_icon.png has changed
   145.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple_preview.png has changed
   146.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/simple_resources.zip has changed
   147.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   147.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike.html	Thu Jul 10 19:50:39 2008 +0800
   147.3 @@ -0,0 +1,180 @@
   147.4 +<!-- 
   147.5 +    Document   : ${name}
   147.6 +    Created on : ${date}, ${time}
   147.7 +    Author     : ${user}
   147.8 +-->
   147.9 +<!--
  147.10 +
  147.11 +        zenlike1.0 by nodethirtythree design
  147.12 +        http://www.nodethirtythree.com
  147.13 +
  147.14 +-->
  147.15 +<html>
  147.16 +    <head>
  147.17 +        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  147.18 +        <title>zenlike1.0 by nodethirtythree</title>
  147.19 +        <meta name="keywords" content="" />
  147.20 +        <meta name="description" content="" />
  147.21 +        <link rel="stylesheet" type="text/css" href="${folder}/zenlike/default.css" />
  147.22 +    </head>
  147.23 +    <body>
  147.24 +        
  147.25 +        <div id="upbg"></div>
  147.26 +        
  147.27 +        <div id="outer">
  147.28 +            
  147.29 +            
  147.30 +            <div id="header">
  147.31 +                <div id="headercontent">
  147.32 +                    <h1>Zenlike<sup>1.0</sup></h1>
  147.33 +                    <h2>A free design by NodeThirtyThree</h2>
  147.34 +                </div>
  147.35 +            </div>
  147.36 +            
  147.37 +            
  147.38 +            <form method="post" action="">
  147.39 +                <div id="search">
  147.40 +                    <input type="text" class="text" maxlength="64" name="keywords" />
  147.41 +                    <input type="submit" class="submit" value="Search" />
  147.42 +                </div>
  147.43 +            </form>
  147.44 +            
  147.45 +            
  147.46 +            <div id="headerpic"></div>
  147.47 +            
  147.48 +            
  147.49 +            <div id="menu">
  147.50 +                <!-- HINT: Set the class of any menu link below to "active" to make it appear active -->
  147.51 +                <ul>
  147.52 +                    <li><a href="#">Home</a></li>
  147.53 +                    <li><a href="#" class="active">News</a></li>
  147.54 +                    <li><a href="#">Blog</a></li>
  147.55 +                    <li><a href="#">Gallery</a></li>
  147.56 +                    <li><a href="#">About</a></li>
  147.57 +                    <li><a href="#">Contact</a></li>
  147.58 +                </ul>
  147.59 +            </div>
  147.60 +            <div id="menubottom"></div>
  147.61 +            
  147.62 +            
  147.63 +            <div id="content">
  147.64 +                
  147.65 +                <!-- Normal content: Stuff that's not going to be put in the left or right column. -->
  147.66 +                <div id="normalcontent">
  147.67 +                    <h3><strong>Zenlike</strong><sup>1.0</sup> <span>by NodeThirtyThree</span></h3>
  147.68 +                    <div class="contentarea">
  147.69 +                        <!-- Normal content area start -->
  147.70 +
  147.71 +                        <img src="${folder}/zenlike/images/pic1.jpg" class="left" alt="A chinese lion statue" />
  147.72 +                        <p>Zenlike<sup>1.0</sup> is a free, lightweight, tableless, fluid W3C-compliant website design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a>. All photos came from <a href="http://www.pdphoto.org/">PDPhoto</a> and the background texture is from <a href="http://www.mayang.com/textures/">Mayang's texture site</a>. You're free to dissect, manipulate and use it to your heart's content. We only ask that you link back to <a href="http://www.nodethirtythree.com/">our site</a> in some way. If you find this design useful, feel free to let us know :)</p>
  147.73 +                        <p>You can find more of our free work at this site or <a href="http://www.nodethirtythree.com/">our site</a>, or some of our commercial work on <a href="http://www.4templates.com/?aff=n33">4Templates.com</a>, a commercial website template site.</p>
  147.74 +                        
  147.75 +                        <!-- Normal content area end -->
  147.76 +                    </div>
  147.77 +                </div>
  147.78 +                
  147.79 +                
  147.80 +                <div class="divider1"></div>
  147.81 +                
  147.82 +                
  147.83 +                <!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
  147.84 +                <div id="primarycontainer">
  147.85 +                    <div id="primarycontent">
  147.86 +                        <!-- Primary content area start -->
  147.87 +                
  147.88 +                        <div class="post">
  147.89 +                            <h4>Lorem Ipsum Veroeros</h4>
  147.90 +                            <div class="contentarea">
  147.91 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
  147.92 +                                <p>Volutpat at varius sed sollicitudin et, arcu. Vivamus viverra. Nullam turpis. Vestibulum sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros. Cras lobortis commodo metus. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet.</p>
  147.93 +                                <ul class="controls">
  147.94 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
  147.95 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
  147.96 +                                    <li><a href="#" class="more">Read More</a></li>				
  147.97 +                                </ul>
  147.98 +                            </div>
  147.99 +                        </div>
 147.100 +                        
 147.101 +                        <div class="divider2"></div>
 147.102 +                        
 147.103 +                        <div class="post">
 147.104 +                            <h4>Consequat Odio Vestibulum</h4>
 147.105 +                            <div class="contentarea">
 147.106 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 147.107 +                                <img src="${folder}/zenlike/images/pic3.jpg" class="left" alt="A chinese dragon" />
 147.108 +                                <p>Aenean felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Lorem ipsum dolor sit amet consequat etiam sed dolore.</p>
 147.109 +                                <ul class="controls">
 147.110 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 147.111 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 147.112 +                                    <li><a href="#" class="more">Read More</a></li>				
 147.113 +                                </ul>
 147.114 +                            </div>
 147.115 +                        </div>
 147.116 +                        
 147.117 +                        <div class="divider2"></div>
 147.118 +                        
 147.119 +                        <div class="post">
 147.120 +                            <h4>Adipiscing Nullam</h4>
 147.121 +                            <div class="contentarea">
 147.122 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 147.123 +                                <p>Eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit lorem ipsum dolor.</p>
 147.124 +                                <ul class="controls">
 147.125 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 147.126 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 147.127 +                                    <li><a href="#" class="more">Read More</a></li>				
 147.128 +                                </ul>
 147.129 +                            </div>
 147.130 +                        </div>
 147.131 +                        
 147.132 +                        <!-- Primary content area end -->
 147.133 +                    </div>
 147.134 +                </div>
 147.135 +                
 147.136 +                
 147.137 +                <!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
 147.138 +                <div id="secondarycontent">
 147.139 +                    <!-- Secondary content area start -->
 147.140 +                        
 147.141 +                        <!-- HINT: Set any div's class to "box" to encapsulate it in (you guessed it) a box -->
 147.142 +                    <div class="box">
 147.143 +                        <h4>Blandit Veroeros</h4>
 147.144 +                        <div class="contentarea">
 147.145 +                            <img src="${folder}/zenlike/images/pic2.jpg" class="left" alt="Random foliage" />
 147.146 +                            <p>Sed etiam et lorem ipsum nulla vero et lobortis felis sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros etiam <a href="#">sed commodo</a>.</p>
 147.147 +                        </div>
 147.148 +                    </div>
 147.149 +                    
 147.150 +                    <div>
 147.151 +                        <h4>Nullam Dolore</h4>
 147.152 +                        <div class="contentarea">
 147.153 +                            <ul class="linklist">
 147.154 +                                <li><a href="#">Volutpat at varius sed</a></li>
 147.155 +                                <li><a href="#">Sollicitudin et arcu</a></li>
 147.156 +                                <li><a href="#">Vivamus viverra nullam</a></li>
 147.157 +                                <li><a href="#">Turpis vestibulum</a></li>
 147.158 +                                <li><a href="#">Sed etiam lorem ipsum</a></li>
 147.159 +                                <li><a href="#">Sit amet dolore nulla</a></li>
 147.160 +                                <li><a href="#">Facilisi sed tortor</a></li>
 147.161 +                                <li><a href="#">Aenean felis quisque</a></li>
 147.162 +                                <li><a href="#">Eros cras lobortis vel</a></li>
 147.163 +                                <li><a href="#">Purus in eget odio sapien</a></li>
 147.164 +                                <li><a href="#">Adipiscing blandit</a></li>
 147.165 +                            </ul>
 147.166 +                        </div>
 147.167 +                    </div>
 147.168 +                    
 147.169 +                    <!-- Secondary content area end -->
 147.170 +                </div>
 147.171 +                
 147.172 +                
 147.173 +            </div>
 147.174 +            
 147.175 +            <div id="footer">
 147.176 +                <div class="left">&copy; 2006 Your Website Name. All rights reserved.</div>
 147.177 +                <div class="right">Design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a></div>
 147.178 +            </div>
 147.179 +            
 147.180 +        </div>
 147.181 +        
 147.182 +    </body>
 147.183 +</html>
 147.184 \ No newline at end of file
   148.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   148.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike.jsp	Thu Jul 10 19:50:39 2008 +0800
   148.3 @@ -0,0 +1,177 @@
   148.4 +<%-- 
   148.5 +    Document   : ${name}
   148.6 +    Created on : ${date}, ${time}
   148.7 +    Author     : ${user}
   148.8 +--%>
   148.9 +
  148.10 +<%@page contentType="text/html" pageEncoding="${encoding}"%>
  148.11 +
  148.12 +<html>
  148.13 +    <head>
  148.14 +        <meta http-equiv="Content-Type" content="text/html; charset=${encoding}">
  148.15 +        <title>zenlike1.0 by nodethirtythree</title>
  148.16 +        <meta name="keywords" content="" />
  148.17 +        <meta name="description" content="" />
  148.18 +        <link rel="stylesheet" type="text/css" href="${folder}/zenlike/default.css" />
  148.19 +    </head>
  148.20 +    <body>
  148.21 +        
  148.22 +        <div id="upbg"></div>
  148.23 +        
  148.24 +        <div id="outer">
  148.25 +            
  148.26 +            
  148.27 +            <div id="header">
  148.28 +                <div id="headercontent">
  148.29 +                    <h1>Zenlike<sup>1.0</sup></h1>
  148.30 +                    <h2>A free design by NodeThirtyThree</h2>
  148.31 +                </div>
  148.32 +            </div>
  148.33 +            
  148.34 +            
  148.35 +            <form method="post" action="">
  148.36 +                <div id="search">
  148.37 +                    <input type="text" class="text" maxlength="64" name="keywords" />
  148.38 +                    <input type="submit" class="submit" value="Search" />
  148.39 +                </div>
  148.40 +            </form>
  148.41 +            
  148.42 +            
  148.43 +            <div id="headerpic"></div>
  148.44 +            
  148.45 +            
  148.46 +            <div id="menu">
  148.47 +                <!-- HINT: Set the class of any menu link below to "active" to make it appear active -->
  148.48 +                <ul>
  148.49 +                    <li><a href="#">Home</a></li>
  148.50 +                    <li><a href="#" class="active">News</a></li>
  148.51 +                    <li><a href="#">Blog</a></li>
  148.52 +                    <li><a href="#">Gallery</a></li>
  148.53 +                    <li><a href="#">About</a></li>
  148.54 +                    <li><a href="#">Contact</a></li>
  148.55 +                </ul>
  148.56 +            </div>
  148.57 +            <div id="menubottom"></div>
  148.58 +            
  148.59 +            
  148.60 +            <div id="content">
  148.61 +                
  148.62 +                <!-- Normal content: Stuff that's not going to be put in the left or right column. -->
  148.63 +                <div id="normalcontent">
  148.64 +                    <h3><strong>Zenlike</strong><sup>1.0</sup> <span>by NodeThirtyThree</span></h3>
  148.65 +                    <div class="contentarea">
  148.66 +                        <!-- Normal content area start -->
  148.67 +
  148.68 +                        <img src="${folder}/zenlike/images/pic1.jpg" class="left" alt="A chinese lion statue" />
  148.69 +                        <p>Zenlike<sup>1.0</sup> is a free, lightweight, tableless, fluid W3C-compliant website design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a>. All photos came from <a href="http://www.pdphoto.org/">PDPhoto</a> and the background texture is from <a href="http://www.mayang.com/textures/">Mayang's texture site</a>. You're free to dissect, manipulate and use it to your heart's content. We only ask that you link back to <a href="http://www.nodethirtythree.com/">our site</a> in some way. If you find this design useful, feel free to let us know :)</p>
  148.70 +                        <p>You can find more of our free work at this site or <a href="http://www.nodethirtythree.com/">our site</a>, or some of our commercial work on <a href="http://www.4templates.com/?aff=n33">4Templates.com</a>, a commercial website template site.</p>
  148.71 +                        
  148.72 +                        <!-- Normal content area end -->
  148.73 +                    </div>
  148.74 +                </div>
  148.75 +                
  148.76 +                
  148.77 +                <div class="divider1"></div>
  148.78 +                
  148.79 +                
  148.80 +                <!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
  148.81 +                <div id="primarycontainer">
  148.82 +                    <div id="primarycontent">
  148.83 +                        <!-- Primary content area start -->
  148.84 +                
  148.85 +                        <div class="post">
  148.86 +                            <h4>Lorem Ipsum Veroeros</h4>
  148.87 +                            <div class="contentarea">
  148.88 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
  148.89 +                                <p>Volutpat at varius sed sollicitudin et, arcu. Vivamus viverra. Nullam turpis. Vestibulum sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros. Cras lobortis commodo metus. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet.</p>
  148.90 +                                <ul class="controls">
  148.91 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
  148.92 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
  148.93 +                                    <li><a href="#" class="more">Read More</a></li>				
  148.94 +                                </ul>
  148.95 +                            </div>
  148.96 +                        </div>
  148.97 +                        
  148.98 +                        <div class="divider2"></div>
  148.99 +                        
 148.100 +                        <div class="post">
 148.101 +                            <h4>Consequat Odio Vestibulum</h4>
 148.102 +                            <div class="contentarea">
 148.103 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 148.104 +                                <img src="${folder}/zenlike/images/pic3.jpg" class="left" alt="A chinese dragon" />
 148.105 +                                <p>Aenean felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Lorem ipsum dolor sit amet consequat etiam sed dolore.</p>
 148.106 +                                <ul class="controls">
 148.107 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 148.108 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 148.109 +                                    <li><a href="#" class="more">Read More</a></li>				
 148.110 +                                </ul>
 148.111 +                            </div>
 148.112 +                        </div>
 148.113 +                        
 148.114 +                        <div class="divider2"></div>
 148.115 +                        
 148.116 +                        <div class="post">
 148.117 +                            <h4>Adipiscing Nullam</h4>
 148.118 +                            <div class="contentarea">
 148.119 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 148.120 +                                <p>Eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit lorem ipsum dolor.</p>
 148.121 +                                <ul class="controls">
 148.122 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 148.123 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 148.124 +                                    <li><a href="#" class="more">Read More</a></li>				
 148.125 +                                </ul>
 148.126 +                            </div>
 148.127 +                        </div>
 148.128 +                        
 148.129 +                        <!-- Primary content area end -->
 148.130 +                    </div>
 148.131 +                </div>
 148.132 +                
 148.133 +                
 148.134 +                <!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
 148.135 +                <div id="secondarycontent">
 148.136 +                    <!-- Secondary content area start -->
 148.137 +                        
 148.138 +                        <!-- HINT: Set any div's class to "box" to encapsulate it in (you guessed it) a box -->
 148.139 +                    <div class="box">
 148.140 +                        <h4>Blandit Veroeros</h4>
 148.141 +                        <div class="contentarea">
 148.142 +                            <img src="${folder}/zenlike/images/pic2.jpg" class="left" alt="Random foliage" />
 148.143 +                            <p>Sed etiam et lorem ipsum nulla vero et lobortis felis sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros etiam <a href="#">sed commodo</a>.</p>
 148.144 +                        </div>
 148.145 +                    </div>
 148.146 +                    
 148.147 +                    <div>
 148.148 +                        <h4>Nullam Dolore</h4>
 148.149 +                        <div class="contentarea">
 148.150 +                            <ul class="linklist">
 148.151 +                                <li><a href="#">Volutpat at varius sed</a></li>
 148.152 +                                <li><a href="#">Sollicitudin et arcu</a></li>
 148.153 +                                <li><a href="#">Vivamus viverra nullam</a></li>
 148.154 +                                <li><a href="#">Turpis vestibulum</a></li>
 148.155 +                                <li><a href="#">Sed etiam lorem ipsum</a></li>
 148.156 +                                <li><a href="#">Sit amet dolore nulla</a></li>
 148.157 +                                <li><a href="#">Facilisi sed tortor</a></li>
 148.158 +                                <li><a href="#">Aenean felis quisque</a></li>
 148.159 +                                <li><a href="#">Eros cras lobortis vel</a></li>
 148.160 +                                <li><a href="#">Purus in eget odio sapien</a></li>
 148.161 +                                <li><a href="#">Adipiscing blandit</a></li>
 148.162 +                            </ul>
 148.163 +                        </div>
 148.164 +                    </div>
 148.165 +                    
 148.166 +                    <!-- Secondary content area end -->
 148.167 +                </div>
 148.168 +                
 148.169 +                
 148.170 +            </div>
 148.171 +            
 148.172 +            <div id="footer">
 148.173 +                <div class="left">&copy; 2006 Your Website Name. All rights reserved.</div>
 148.174 +                <div class="right">Design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a></div>
 148.175 +            </div>
 148.176 +            
 148.177 +        </div>
 148.178 +        
 148.179 +    </body>
 148.180 +</html>
   149.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   149.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike.php	Thu Jul 10 19:50:39 2008 +0800
   149.3 @@ -0,0 +1,181 @@
   149.4 +<!-- 
   149.5 +    Document   : ${name}
   149.6 +    Created on : ${date}, ${time}
   149.7 +    Author     : ${user}
   149.8 +-->
   149.9 +<!--
  149.10 +
  149.11 +        zenlike1.0 by nodethirtythree design
  149.12 +        http://www.nodethirtythree.com
  149.13 +
  149.14 +-->
  149.15 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  149.16 +<html>
  149.17 +    <head>
  149.18 +        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  149.19 +        <title>zenlike1.0 by nodethirtythree</title>
  149.20 +        <meta name="keywords" content="" />
  149.21 +        <meta name="description" content="" />
  149.22 +        <link rel="stylesheet" type="text/css" href="${folder}/zenlike/default.css" />
  149.23 +    </head>
  149.24 +    <body>
  149.25 +        
  149.26 +        <div id="upbg"></div>
  149.27 +        
  149.28 +        <div id="outer">
  149.29 +            
  149.30 +            
  149.31 +            <div id="header">
  149.32 +                <div id="headercontent">
  149.33 +                    <h1>Zenlike<sup>1.0</sup></h1>
  149.34 +                    <h2>A free design by NodeThirtyThree</h2>
  149.35 +                </div>
  149.36 +            </div>
  149.37 +            
  149.38 +            
  149.39 +            <form method="post" action="">
  149.40 +                <div id="search">
  149.41 +                    <input type="text" class="text" maxlength="64" name="keywords" />
  149.42 +                    <input type="submit" class="submit" value="Search" />
  149.43 +                </div>
  149.44 +            </form>
  149.45 +            
  149.46 +            
  149.47 +            <div id="headerpic"></div>
  149.48 +            
  149.49 +            
  149.50 +            <div id="menu">
  149.51 +                <!-- HINT: Set the class of any menu link below to "active" to make it appear active -->
  149.52 +                <ul>
  149.53 +                    <li><a href="#">Home</a></li>
  149.54 +                    <li><a href="#" class="active">News</a></li>
  149.55 +                    <li><a href="#">Blog</a></li>
  149.56 +                    <li><a href="#">Gallery</a></li>
  149.57 +                    <li><a href="#">About</a></li>
  149.58 +                    <li><a href="#">Contact</a></li>
  149.59 +                </ul>
  149.60 +            </div>
  149.61 +            <div id="menubottom"></div>
  149.62 +            
  149.63 +            
  149.64 +            <div id="content">
  149.65 +                
  149.66 +                <!-- Normal content: Stuff that's not going to be put in the left or right column. -->
  149.67 +                <div id="normalcontent">
  149.68 +                    <h3><strong>Zenlike</strong><sup>1.0</sup> <span>by NodeThirtyThree</span></h3>
  149.69 +                    <div class="contentarea">
  149.70 +                        <!-- Normal content area start -->
  149.71 +
  149.72 +                        <img src="${folder}/zenlike/images/pic1.jpg" class="left" alt="A chinese lion statue" />
  149.73 +                        <p>Zenlike<sup>1.0</sup> is a free, lightweight, tableless, fluid W3C-compliant website design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a>. All photos came from <a href="http://www.pdphoto.org/">PDPhoto</a> and the background texture is from <a href="http://www.mayang.com/textures/">Mayang's texture site</a>. You're free to dissect, manipulate and use it to your heart's content. We only ask that you link back to <a href="http://www.nodethirtythree.com/">our site</a> in some way. If you find this design useful, feel free to let us know :)</p>
  149.74 +                        <p>You can find more of our free work at this site or <a href="http://www.nodethirtythree.com/">our site</a>, or some of our commercial work on <a href="http://www.4templates.com/?aff=n33">4Templates.com</a>, a commercial website template site.</p>
  149.75 +                        
  149.76 +                        <!-- Normal content area end -->
  149.77 +                    </div>
  149.78 +                </div>
  149.79 +                
  149.80 +                
  149.81 +                <div class="divider1"></div>
  149.82 +                
  149.83 +                
  149.84 +                <!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
  149.85 +                <div id="primarycontainer">
  149.86 +                    <div id="primarycontent">
  149.87 +                        <!-- Primary content area start -->
  149.88 +                
  149.89 +                        <div class="post">
  149.90 +                            <h4>Lorem Ipsum Veroeros</h4>
  149.91 +                            <div class="contentarea">
  149.92 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
  149.93 +                                <p>Volutpat at varius sed sollicitudin et, arcu. Vivamus viverra. Nullam turpis. Vestibulum sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros. Cras lobortis commodo metus. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet.</p>
  149.94 +                                <ul class="controls">
  149.95 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
  149.96 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
  149.97 +                                    <li><a href="#" class="more">Read More</a></li>				
  149.98 +                                </ul>
  149.99 +                            </div>
 149.100 +                        </div>
 149.101 +                        
 149.102 +                        <div class="divider2"></div>
 149.103 +                        
 149.104 +                        <div class="post">
 149.105 +                            <h4>Consequat Odio Vestibulum</h4>
 149.106 +                            <div class="contentarea">
 149.107 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 149.108 +                                <img src="${folder}/zenlike/images/pic3.jpg" class="left" alt="A chinese dragon" />
 149.109 +                                <p>Aenean felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Lorem ipsum dolor sit amet consequat etiam sed dolore.</p>
 149.110 +                                <ul class="controls">
 149.111 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 149.112 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 149.113 +                                    <li><a href="#" class="more">Read More</a></li>				
 149.114 +                                </ul>
 149.115 +                            </div>
 149.116 +                        </div>
 149.117 +                        
 149.118 +                        <div class="divider2"></div>
 149.119 +                        
 149.120 +                        <div class="post">
 149.121 +                            <h4>Adipiscing Nullam</h4>
 149.122 +                            <div class="contentarea">
 149.123 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 149.124 +                                <p>Eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit lorem ipsum dolor.</p>
 149.125 +                                <ul class="controls">
 149.126 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 149.127 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 149.128 +                                    <li><a href="#" class="more">Read More</a></li>				
 149.129 +                                </ul>
 149.130 +                            </div>
 149.131 +                        </div>
 149.132 +                        
 149.133 +                        <!-- Primary content area end -->
 149.134 +                    </div>
 149.135 +                </div>
 149.136 +                
 149.137 +                
 149.138 +                <!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
 149.139 +                <div id="secondarycontent">
 149.140 +                    <!-- Secondary content area start -->
 149.141 +                        
 149.142 +                        <!-- HINT: Set any div's class to "box" to encapsulate it in (you guessed it) a box -->
 149.143 +                    <div class="box">
 149.144 +                        <h4>Blandit Veroeros</h4>
 149.145 +                        <div class="contentarea">
 149.146 +                            <img src="${folder}/zenlike/images/pic2.jpg" class="left" alt="Random foliage" />
 149.147 +                            <p>Sed etiam et lorem ipsum nulla vero et lobortis felis sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros etiam <a href="#">sed commodo</a>.</p>
 149.148 +                        </div>
 149.149 +                    </div>
 149.150 +                    
 149.151 +                    <div>
 149.152 +                        <h4>Nullam Dolore</h4>
 149.153 +                        <div class="contentarea">
 149.154 +                            <ul class="linklist">
 149.155 +                                <li><a href="#">Volutpat at varius sed</a></li>
 149.156 +                                <li><a href="#">Sollicitudin et arcu</a></li>
 149.157 +                                <li><a href="#">Vivamus viverra nullam</a></li>
 149.158 +                                <li><a href="#">Turpis vestibulum</a></li>
 149.159 +                                <li><a href="#">Sed etiam lorem ipsum</a></li>
 149.160 +                                <li><a href="#">Sit amet dolore nulla</a></li>
 149.161 +                                <li><a href="#">Facilisi sed tortor</a></li>
 149.162 +                                <li><a href="#">Aenean felis quisque</a></li>
 149.163 +                                <li><a href="#">Eros cras lobortis vel</a></li>
 149.164 +                                <li><a href="#">Purus in eget odio sapien</a></li>
 149.165 +                                <li><a href="#">Adipiscing blandit</a></li>
 149.166 +                            </ul>
 149.167 +                        </div>
 149.168 +                    </div>
 149.169 +                    
 149.170 +                    <!-- Secondary content area end -->
 149.171 +                </div>
 149.172 +                
 149.173 +                
 149.174 +            </div>
 149.175 +            
 149.176 +            <div id="footer">
 149.177 +                <div class="left">&copy; 2006 Your Website Name. All rights reserved.</div>
 149.178 +                <div class="right">Design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a></div>
 149.179 +            </div>
 149.180 +            
 149.181 +        </div>
 149.182 +        
 149.183 +    </body>
 149.184 +</html>
   150.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   150.2 +++ b/pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike.rhtml	Thu Jul 10 19:50:39 2008 +0800
   150.3 @@ -0,0 +1,180 @@
   150.4 +<#-- This is a FreeMarker template -->
   150.5 +<#-- You can change the contents of the license inserted into
   150.6 + #   each template by opening Tools | Templates and editing
   150.7 + #   Licenses | Default License  -->
   150.8 +<#assign licenseFirst = "<%#">
   150.9 +<#assign licensePrefix = "# ">
  150.10 +<#assign licenseLast = "%>">
  150.11 +<#include "../Licenses/license-${project.license}.txt">
  150.12 +<#-- End of license section; RHTML/ERB contents follow -->
  150.13 +
  150.14 +<%= "${name}" %>
  150.15 +<html>
  150.16 +    <head>
  150.17 +        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  150.18 +        <title>zenlike1.0 by nodethirtythree</title>
  150.19 +        <meta name="keywords" content="" />
  150.20 +        <meta name="description" content="" />
  150.21 +        <link rel="stylesheet" type="text/css" href="${folder}/zenlike/default.css" />
  150.22 +    </head>
  150.23 +    <body>
  150.24 +        
  150.25 +        <div id="upbg"></div>
  150.26 +        
  150.27 +        <div id="outer">
  150.28 +            
  150.29 +            
  150.30 +            <div id="header">
  150.31 +                <div id="headercontent">
  150.32 +                    <h1>Zenlike<sup>1.0</sup></h1>
  150.33 +                    <h2>A free design by NodeThirtyThree</h2>
  150.34 +                </div>
  150.35 +            </div>
  150.36 +            
  150.37 +            
  150.38 +            <form method="post" action="">
  150.39 +                <div id="search">
  150.40 +                    <input type="text" class="text" maxlength="64" name="keywords" />
  150.41 +                    <input type="submit" class="submit" value="Search" />
  150.42 +                </div>
  150.43 +            </form>
  150.44 +            
  150.45 +            
  150.46 +            <div id="headerpic"></div>
  150.47 +            
  150.48 +            
  150.49 +            <div id="menu">
  150.50 +                <!-- HINT: Set the class of any menu link below to "active" to make it appear active -->
  150.51 +                <ul>
  150.52 +                    <li><a href="#">Home</a></li>
  150.53 +                    <li><a href="#" class="active">News</a></li>
  150.54 +                    <li><a href="#">Blog</a></li>
  150.55 +                    <li><a href="#">Gallery</a></li>
  150.56 +                    <li><a href="#">About</a></li>
  150.57 +                    <li><a href="#">Contact</a></li>
  150.58 +                </ul>
  150.59 +            </div>
  150.60 +            <div id="menubottom"></div>
  150.61 +            
  150.62 +            
  150.63 +            <div id="content">
  150.64 +                
  150.65 +                <!-- Normal content: Stuff that's not going to be put in the left or right column. -->
  150.66 +                <div id="normalcontent">
  150.67 +                    <h3><strong>Zenlike</strong><sup>1.0</sup> <span>by NodeThirtyThree</span></h3>
  150.68 +                    <div class="contentarea">
  150.69 +                        <!-- Normal content area start -->
  150.70 +
  150.71 +                        <img src="${folder}/zenlike/images/pic1.jpg" class="left" alt="A chinese lion statue" />
  150.72 +                        <p>Zenlike<sup>1.0</sup> is a free, lightweight, tableless, fluid W3C-compliant website design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a>. All photos came from <a href="http://www.pdphoto.org/">PDPhoto</a> and the background texture is from <a href="http://www.mayang.com/textures/">Mayang's texture site</a>. You're free to dissect, manipulate and use it to your heart's content. We only ask that you link back to <a href="http://www.nodethirtythree.com/">our site</a> in some way. If you find this design useful, feel free to let us know :)</p>
  150.73 +                        <p>You can find more of our free work at this site or <a href="http://www.nodethirtythree.com/">our site</a>, or some of our commercial work on <a href="http://www.4templates.com/?aff=n33">4Templates.com</a>, a commercial website template site.</p>
  150.74 +                        
  150.75 +                        <!-- Normal content area end -->
  150.76 +                    </div>
  150.77 +                </div>
  150.78 +                
  150.79 +                
  150.80 +                <div class="divider1"></div>
  150.81 +                
  150.82 +                
  150.83 +                <!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->
  150.84 +                <div id="primarycontainer">
  150.85 +                    <div id="primarycontent">
  150.86 +                        <!-- Primary content area start -->
  150.87 +                
  150.88 +                        <div class="post">
  150.89 +                            <h4>Lorem Ipsum Veroeros</h4>
  150.90 +                            <div class="contentarea">
  150.91 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
  150.92 +                                <p>Volutpat at varius sed sollicitudin et, arcu. Vivamus viverra. Nullam turpis. Vestibulum sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros. Cras lobortis commodo metus. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet.</p>
  150.93 +                                <ul class="controls">
  150.94 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
  150.95 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
  150.96 +                                    <li><a href="#" class="more">Read More</a></li>				
  150.97 +                                </ul>
  150.98 +                            </div>
  150.99 +                        </div>
 150.100 +                        
 150.101 +                        <div class="divider2"></div>
 150.102 +                        
 150.103 +                        <div class="post">
 150.104 +                            <h4>Consequat Odio Vestibulum</h4>
 150.105 +                            <div class="contentarea">
 150.106 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 150.107 +                                <img src="${folder}/zenlike/images/pic3.jpg" class="left" alt="A chinese dragon" />
 150.108 +                                <p>Aenean felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Lorem ipsum dolor sit amet consequat etiam sed dolore.</p>
 150.109 +                                <ul class="controls">
 150.110 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 150.111 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 150.112 +                                    <li><a href="#" class="more">Read More</a></li>				
 150.113 +                                </ul>
 150.114 +                            </div>
 150.115 +                        </div>
 150.116 +                        
 150.117 +                        <div class="divider2"></div>
 150.118 +                        
 150.119 +                        <div class="post">
 150.120 +                            <h4>Adipiscing Nullam</h4>
 150.121 +                            <div class="contentarea">
 150.122 +                                <div class="details">Posted by <a href="#">Jane Doe</a> on September 25, 2006</div>	
 150.123 +                                <p>Eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor sit amet felis quisque eros. Cras lobortis commodo lorem ipsum dolor. Vestibulum vel purus. In eget odio in sapien adipiscing blandit. Quisque augue tortor, facilisis sit amet, aliquam, suscipit lorem ipsum dolor.</p>
 150.124 +                                <ul class="controls">
 150.125 +                                    <li><a href="#" class="printerfriendly">Printer Friendly</a></li>
 150.126 +                                    <li><a href="#" class="comments">Comments (18)</a></li>
 150.127 +                                    <li><a href="#" class="more">Read More</a></li>				
 150.128 +                                </ul>
 150.129 +                            </div>
 150.130 +                        </div>
 150.131 +                        
 150.132 +                        <!-- Primary content area end -->
 150.133 +                    </div>
 150.134 +                </div>
 150.135 +                
 150.136 +                
 150.137 +                <!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
 150.138 +                <div id="secondarycontent">
 150.139 +                    <!-- Secondary content area start -->
 150.140 +                        
 150.141 +                        <!-- HINT: Set any div's class to "box" to encapsulate it in (you guessed it) a box -->
 150.142 +                    <div class="box">
 150.143 +                        <h4>Blandit Veroeros</h4>
 150.144 +                        <div class="contentarea">
 150.145 +                            <img src="${folder}/zenlike/images/pic2.jpg" class="left" alt="Random foliage" />
 150.146 +                            <p>Sed etiam et lorem ipsum nulla vero et lobortis felis sed etiam. Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros etiam <a href="#">sed commodo</a>.</p>
 150.147 +                        </div>
 150.148 +                    </div>
 150.149 +                    
 150.150 +                    <div>
 150.151 +                        <h4>Nullam Dolore</h4>
 150.152 +                        <div class="contentarea">
 150.153 +                            <ul class="linklist">
 150.154 +                                <li><a href="#">Volutpat at varius sed</a></li>
 150.155 +                                <li><a href="#">Sollicitudin et arcu</a></li>
 150.156 +                                <li><a href="#">Vivamus viverra nullam</a></li>
 150.157 +                                <li><a href="#">Turpis vestibulum</a></li>
 150.158 +                                <li><a href="#">Sed etiam lorem ipsum</a></li>
 150.159 +                                <li><a href="#">Sit amet dolore nulla</a></li>
 150.160 +                                <li><a href="#">Facilisi sed tortor</a></li>
 150.161 +                                <li><a href="#">Aenean felis quisque</a></li>
 150.162 +                                <li><a href="#">Eros cras lobortis vel</a></li>
 150.163 +                                <li><a href="#">Purus in eget odio sapien</a></li>
 150.164 +                                <li><a href="#">Adipiscing blandit</a></li>
 150.165 +                            </ul>
 150.166 +                        </div>
 150.167 +                    </div>
 150.168 +                    
 150.169 +                    <!-- Secondary content area end -->
 150.170 +                </div>
 150.171 +                
 150.172 +                
 150.173 +            </div>
 150.174 +            
 150.175 +            <div id="footer">
 150.176 +                <div class="left">&copy; 2006 Your Website Name. All rights reserved.</div>
 150.177 +                <div class="right">Design by <a href="http://www.nodethirtythree.com/">NodeThirtyThree Design</a></div>
 150.178 +            </div>
 150.179 +            
 150.180 +        </div>
 150.181 +        
 150.182 +    </body>
 150.183 +</html>
 150.184 \ No newline at end of file
   151.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike_icon.png has changed
   152.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike_preview.png has changed
   153.1 Binary file pagelayouts/src/org/netbeans/modules/pagelayouts/resources/zenlike_resources.zip has changed
   154.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   154.2 +++ b/portalpack.cms/build.xml	Thu Jul 10 19:50:39 2008 +0800
   154.3 @@ -0,0 +1,24 @@
   154.4 +<?xml version="1.0" encoding="UTF-8"?>
   154.5 +<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
   154.6 +<!-- for some information on what you could do (e.g. targets to override). -->
   154.7 +<!-- If you delete this file and reopen the project it will be recreated. -->
   154.8 +<project name="org.netbeans.modules.portalpack.cms" default="netbeans" basedir=".">
   154.9 +    <description>Builds, tests, and runs the project org.netbeans.modules.portalpack.cms.</description>
  154.10 +    <import file="../../../nbbuild/templates/projectized.xml"/>
  154.11 +    
  154.12 +     <target name="release" depends="init">
  154.13 +        <copy file="external/mirage-api-0.1.jar"
  154.14 +        todir="${cluster}/modules/ext/portalpack/cms"/>
  154.15 +        <copy file="external/mirage-jcr-impl-0.1.jar"
  154.16 +        todir="${cluster}/modules/ext/portalpack/cms"/>
  154.17 +        
  154.18 +        <copy file="external/mirage-taglibs-0.1.jar"
  154.19 +        todir="${cluster}/modules/ext/portalpack/cmstaglib"/>
  154.20 +        
  154.21 +        <copy file="external/usermanager-0.5.jar"
  154.22 +        todir="${cluster}/modules/ext/portalpack/cmstaglib"/>
  154.23 +        
  154.24 +        
  154.25 +        
  154.26 +    </target>
  154.27 +</project>
   155.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   155.2 +++ b/portalpack.cms/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   155.3 @@ -0,0 +1,6 @@
   155.4 +Manifest-Version: 1.0
   155.5 +OpenIDE-Module: org.netbeans.modules.portalpack.cms
   155.6 +OpenIDE-Module-Layer: org/netbeans/modules/portalpack/cms/layer.xml
   155.7 +OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/portalpack/cms/Bundle.properties
   155.8 +OpenIDE-Module-Specification-Version: 1.0
   155.9 +
   156.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   156.2 +++ b/portalpack.cms/nbproject/project.properties	Thu Jul 10 19:50:39 2008 +0800
   156.3 @@ -0,0 +1,36 @@
   156.4 +#
   156.5 +# The contents of this file are subject to the terms of the Common Development
   156.6 +# and Distribution License (the License). You may not use this file except in
   156.7 +# compliance with the License.
   156.8 +#
   156.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  156.10 +# or http://www.netbeans.org/cddl.txt.
  156.11 +
  156.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  156.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  156.14 +# If applicable, add the following below the CDDL Header, with the fields
  156.15 +# enclosed by brackets [] replaced by your own identifying information:
  156.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  156.17 +#
  156.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  156.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  156.20 +# Microsystems, Inc. All Rights Reserved.
  156.21 +#
  156.22 +
  156.23 +#-------------------------------------------------------------------------------
  156.24 +# Uncomment following lines to package third party jars into module's nbm.
  156.25 +#-------------------------------------------------------------------------------
  156.26 +extra.module.files=\
  156.27 +    modules/ext/portalpack/cms/mirage-api-0.1.jar,\
  156.28 +    modules/ext/portalpack/cms/mirage-jcr-impl-0.1.jar,\
  156.29 +    modules/ext/portalpack/cmstaglib/mirage-taglibs-0.1.jar,\
  156.30 +    modules/ext/portalpack/cmstaglib/usermanager-0.5.jar
  156.31 +    
  156.32 +javac.source=1.5
  156.33 +
  156.34 +
  156.35 +
  156.36 +# By defualt, license.file points to portalpack's default license file. It can be
  156.37 +# changed to point module specific license file.
  156.38 +license.file=../../LICENSE
  156.39 +nbm.homepage=http://portalpack.netbeans.org
   157.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   157.2 +++ b/portalpack.cms/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   157.3 @@ -0,0 +1,208 @@
   157.4 +<?xml version="1.0" encoding="UTF-8"?>
   157.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
   157.6 +    <type>org.netbeans.modules.apisupport.project</type>
   157.7 +    <configuration>
   157.8 +        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
   157.9 +            <code-name-base>org.netbeans.modules.portalpack.cms</code-name-base>
  157.10 +          
  157.11 +            <module-dependencies>
  157.12 +                <dependency>
  157.13 +                    <code-name-base>org.jdesktop.layout</code-name-base>
  157.14 +                    <build-prerequisite/>
  157.15 +                    <compile-dependency/>
  157.16 +                    <run-dependency>
  157.17 +                        <release-version>1</release-version>
  157.18 +                        <specification-version>1.5</specification-version>
  157.19 +                    </run-dependency>
  157.20 +                </dependency>
  157.21 +                <dependency>
  157.22 +                    <code-name-base>org.netbeans.api.java</code-name-base>
  157.23 +                    <build-prerequisite/>
  157.24 +                    <compile-dependency/>
  157.25 +                    <run-dependency>
  157.26 +                        <release-version>1</release-version>
  157.27 +                        <specification-version>1.14</specification-version>
  157.28 +                    </run-dependency>
  157.29 +                </dependency>
  157.30 +                <dependency>
  157.31 +                    <code-name-base>org.netbeans.api.web.webmodule</code-name-base>
  157.32 +                    <build-prerequisite/>
  157.33 +                    <compile-dependency/>
  157.34 +                    <run-dependency>
  157.35 +                        <specification-version>1.11</specification-version>
  157.36 +                    </run-dependency>
  157.37 +                </dependency>
  157.38 +                <dependency>
  157.39 +                    <code-name-base>org.netbeans.libs.javacapi</code-name-base>
  157.40 +                    <build-prerequisite/>
  157.41 +                    <compile-dependency/>
  157.42 +                    <run-dependency>
  157.43 +                        <specification-version>0.6.0.1</specification-version>
  157.44 +                    </run-dependency>
  157.45 +                </dependency>
  157.46 +                <dependency>
  157.47 +                    <code-name-base>org.netbeans.modules.editor</code-name-base>
  157.48 +                    <build-prerequisite/>
  157.49 +                    <compile-dependency/>
  157.50 +                    <run-dependency>
  157.51 +                        <release-version>3</release-version>
  157.52 +                        <specification-version>1.36.0.1.4.2</specification-version>
  157.53 +                    </run-dependency>
  157.54 +                </dependency>
  157.55 +                <dependency>
  157.56 +                    <code-name-base>org.netbeans.modules.editor.lib</code-name-base>
  157.57 +                    <build-prerequisite/>
  157.58 +                    <compile-dependency/>
  157.59 +                    <run-dependency>
  157.60 +                        <release-version>1</release-version>
  157.61 +                        <specification-version>1.22.0.4.2</specification-version>
  157.62 +                    </run-dependency>
  157.63 +                </dependency>
  157.64 +                <dependency>
  157.65 +                    <code-name-base>org.netbeans.modules.java.editor.lib</code-name-base>
  157.66 +                    <build-prerequisite/>
  157.67 +                    <compile-dependency/>
  157.68 +                    <run-dependency>
  157.69 +                        <release-version>1</release-version>
  157.70 +                        <specification-version>1.7</specification-version>
  157.71 +                    </run-dependency>
  157.72 +                </dependency>
  157.73 +                <dependency>
  157.74 +                    <code-name-base>org.netbeans.modules.java.lexer</code-name-base>
  157.75 +                    <build-prerequisite/>
  157.76 +                    <compile-dependency/>
  157.77 +                    <run-dependency>
  157.78 +                        <release-version>1</release-version>
  157.79 +                        <specification-version>1.3</specification-version>
  157.80 +                    </run-dependency>
  157.81 +                </dependency>
  157.82 +                <dependency>
  157.83 +                    <code-name-base>org.netbeans.modules.java.project</code-name-base>
  157.84 +                    <build-prerequisite/>
  157.85 +                    <compile-dependency/>
  157.86 +                    <run-dependency>
  157.87 +                        <release-version>1</release-version>
  157.88 +                        <specification-version>1.15</specification-version>
  157.89 +                    </run-dependency>
  157.90 +                </dependency>
  157.91 +                <dependency>
  157.92 +                    <code-name-base>org.netbeans.modules.java.source</code-name-base>
  157.93 +                    <build-prerequisite/>
  157.94 +                    <compile-dependency/>
  157.95 +                    <run-dependency>
  157.96 +                        <specification-version>0.32.0.3.6</specification-version>
  157.97 +                    </run-dependency>
  157.98 +                </dependency>
  157.99 +                <dependency>
 157.100 +                    <code-name-base>org.netbeans.modules.project.libraries</code-name-base>
 157.101 +                    <build-prerequisite/>
 157.102 +                    <compile-dependency/>
 157.103 +                    <run-dependency>
 157.104 +                        <release-version>1</release-version>
 157.105 +                        <specification-version>1.16</specification-version>
 157.106 +                    </run-dependency>
 157.107 +                </dependency>
 157.108 +                <dependency>
 157.109 +                    <code-name-base>org.netbeans.modules.projectapi</code-name-base>
 157.110 +                    <build-prerequisite/>
 157.111 +                    <compile-dependency/>
 157.112 +                    <run-dependency>
 157.113 +                        <release-version>1</release-version>
 157.114 +                        <specification-version>1.14</specification-version>
 157.115 +                    </run-dependency>
 157.116 +                </dependency>
 157.117 +                <dependency>
 157.118 +                    <code-name-base>org.netbeans.modules.schema2beans</code-name-base>
 157.119 +                    <build-prerequisite/>
 157.120 +                    <compile-dependency/>
 157.121 +                    <run-dependency>
 157.122 +                        <release-version>1</release-version>
 157.123 +                        <specification-version>1.17</specification-version>
 157.124 +                    </run-dependency>
 157.125 +                </dependency>
 157.126 +                <dependency>
 157.127 +                    <code-name-base>org.netbeans.spi.palette</code-name-base>
 157.128 +                    <build-prerequisite/>
 157.129 +                    <compile-dependency/>
 157.130 +                    <run-dependency>
 157.131 +                        <release-version>1</release-version>
 157.132 +                        <specification-version>1.13</specification-version>
 157.133 +                    </run-dependency>
 157.134 +                </dependency>
 157.135 +                <dependency>
 157.136 +                    <code-name-base>org.openide.actions</code-name-base>
 157.137 +                    <build-prerequisite/>
 157.138 +                    <compile-dependency/>
 157.139 +                    <run-dependency>
 157.140 +                        <specification-version>6.7.0.1</specification-version>
 157.141 +                    </run-dependency>
 157.142 +                </dependency>
 157.143 +                <dependency>
 157.144 +                    <code-name-base>org.openide.awt</code-name-base>
 157.145 +                    <build-prerequisite/>
 157.146 +                    <compile-dependency/>
 157.147 +                    <run-dependency>
 157.148 +                        <specification-version>7.0.0.1</specification-version>
 157.149 +                    </run-dependency>
 157.150 +                </dependency>
 157.151 +                <dependency>
 157.152 +                    <code-name-base>org.openide.dialogs</code-name-base>
 157.153 +                    <build-prerequisite/>
 157.154 +                    <compile-dependency/>
 157.155 +                    <run-dependency>
 157.156 +                        <specification-version>7.6</specification-version>
 157.157 +                    </run-dependency>
 157.158 +                </dependency>
 157.159 +                <dependency>
 157.160 +                    <code-name-base>org.openide.filesystems</code-name-base>
 157.161 +                    <build-prerequisite/>
 157.162 +                    <compile-dependency/>
 157.163 +                    <run-dependency>
 157.164 +                        <specification-version>7.7</specification-version>
 157.165 +                    </run-dependency>
 157.166 +                </dependency>
 157.167 +                <dependency>
 157.168 +                    <code-name-base>org.openide.loaders</code-name-base>
 157.169 +                    <build-prerequisite/>
 157.170 +                    <compile-dependency/>
 157.171 +                    <run-dependency>
 157.172 +                        <specification-version>6.9</specification-version>
 157.173 +                    </run-dependency>
 157.174 +                </dependency>
 157.175 +                <dependency>
 157.176 +                    <code-name-base>org.openide.nodes</code-name-base>
 157.177 +                    <build-prerequisite/>
 157.178 +                    <compile-dependency/>
 157.179 +                    <run-dependency>
 157.180 +                        <specification-version>7.3.0.1</specification-version>
 157.181 +                    </run-dependency>
 157.182 +                </dependency>
 157.183 +                <dependency>
 157.184 +                    <code-name-base>org.openide.text</code-name-base>
 157.185 +                    <build-prerequisite/>
 157.186 +                    <compile-dependency/>
 157.187 +                    <run-dependency>
 157.188 +                        <specification-version>6.17</specification-version>
 157.189 +                    </run-dependency>
 157.190 +                </dependency>
 157.191 +                <dependency>
 157.192 +                    <code-name-base>org.openide.util</code-name-base>
 157.193 +                    <build-prerequisite/>
 157.194 +                    <compile-dependency/>
 157.195 +                    <run-dependency>
 157.196 +                        <specification-version>7.12.0.1</specification-version>
 157.197 +                    </run-dependency>
 157.198 +                </dependency>
 157.199 +                <dependency>
 157.200 +                    <code-name-base>org.openide.windows</code-name-base>
 157.201 +                    <build-prerequisite/>
 157.202 +                    <compile-dependency/>
 157.203 +                    <run-dependency>
 157.204 +                        <specification-version>6.19</specification-version>
 157.205 +                    </run-dependency>
 157.206 +                </dependency>
 157.207 +            </module-dependencies>
 157.208 +            <public-packages/>
 157.209 +        </data>
 157.210 +    </configuration>
 157.211 +</project>
   158.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   158.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   158.3 @@ -0,0 +1,13 @@
   158.4 +OpenIDE-Module-Display-Category=PortalPack
   158.5 +OpenIDE-Module-Long-Description=\
   158.6 +    Provides drag and drop code snippets and jsp taglibs to ease the development of cms applications
   158.7 +OpenIDE-Module-Name=CMS FrameWork
   158.8 +OpenIDE-Module-Short-Description=Plugin to develop CMS applications
   158.9 +#Library Description
  158.10 +cms=CMS
  158.11 +cmstaglib=CMSTagLibrary
  158.12 +CMSFrameworkVisualPanel.toolTipText=Select CMS Implementation
  158.13 +CMSFrameworkVisualPanel.jPanel1.border.title=CMS Implementation
  158.14 +CMS\ Implementation=CMS Implementation
  158.15 +
  158.16 +
   159.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   159.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSFrameworkPanel.form	Thu Jul 10 19:50:39 2008 +0800
   159.3 @@ -0,0 +1,66 @@
   159.4 +<?xml version="1.0" encoding="UTF-8" ?>
   159.5 +
   159.6 +<Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
   159.7 +  <AuxValues>
   159.8 +    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
   159.9 +    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  159.10 +    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  159.11 +    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
  159.12 +    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
  159.13 +    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  159.14 +    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  159.15 +    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  159.16 +  </AuxValues>
  159.17 +
  159.18 +  <Layout>
  159.19 +    <DimensionLayout dim="0">
  159.20 +      <Group type="103" groupAlignment="0" attributes="0">
  159.21 +          <Group type="102" alignment="0" attributes="0">
  159.22 +              <EmptySpace min="-2" pref="97" max="-2" attributes="0"/>
  159.23 +              <Group type="103" groupAlignment="0" attributes="0">
  159.24 +                  <Component id="jRadioButton2" alignment="0" min="-2" max="-2" attributes="0"/>
  159.25 +                  <Component id="jRadioButton1" alignment="0" min="-2" pref="252" max="-2" attributes="0"/>
  159.26 +                  <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
  159.27 +              </Group>
  159.28 +              <EmptySpace pref="51" max="32767" attributes="0"/>
  159.29 +          </Group>
  159.30 +      </Group>
  159.31 +    </DimensionLayout>
  159.32 +    <DimensionLayout dim="1">
  159.33 +      <Group type="103" groupAlignment="0" attributes="0">
  159.34 +          <Group type="102" alignment="0" attributes="0">
  159.35 +              <EmptySpace min="-2" pref="20" max="-2" attributes="0"/>
  159.36 +              <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
  159.37 +              <EmptySpace type="unrelated" max="-2" attributes="0"/>
  159.38 +              <Component id="jRadioButton1" min="-2" pref="18" max="-2" attributes="0"/>
  159.39 +              <EmptySpace type="unrelated" max="-2" attributes="0"/>
  159.40 +              <Component id="jRadioButton2" min="-2" max="-2" attributes="0"/>
  159.41 +              <EmptySpace pref="215" max="32767" attributes="0"/>
  159.42 +          </Group>
  159.43 +      </Group>
  159.44 +    </DimensionLayout>
  159.45 +  </Layout>
  159.46 +  <SubComponents>
  159.47 +    <Component class="javax.swing.JLabel" name="jLabel1">
  159.48 +      <Properties>
  159.49 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  159.50 +          <ResourceString bundle="org/netbeans/modules/portalpack/cms/Bundle.properties" key="CMSFrameworkPanel.jLabel1.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  159.51 +        </Property>
  159.52 +      </Properties>
  159.53 +    </Component>
  159.54 +    <Component class="javax.swing.JRadioButton" name="jRadioButton1">
  159.55 +      <Properties>
  159.56 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  159.57 +          <ResourceString bundle="org/netbeans/modules/portalpack/cms/Bundle.properties" key="CMSFrameworkPanel.jRadioButton1.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  159.58 +        </Property>
  159.59 +      </Properties>
  159.60 +    </Component>
  159.61 +    <Component class="javax.swing.JRadioButton" name="jRadioButton2">
  159.62 +      <Properties>
  159.63 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  159.64 +          <ResourceString bundle="org/netbeans/modules/portalpack/cms/Bundle.properties" key="CMSFrameworkPanel.jRadioButton2.text_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  159.65 +        </Property>
  159.66 +      </Properties>
  159.67 +    </Component>
  159.68 +  </SubComponents>
  159.69 +</Form>
   160.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   160.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSFrameworkPanel.java	Thu Jul 10 19:50:39 2008 +0800
   160.3 @@ -0,0 +1,74 @@
   160.4 +/*
   160.5 + * CMSFrameworkPanel.java
   160.6 + *
   160.7 + * Created on May 6, 2008, 12:56 AM
   160.8 + */
   160.9 +
  160.10 +package org.netbeans.modules.portalpack.cms;
  160.11 +
  160.12 +import org.openide.WizardDescriptor;
  160.13 +
  160.14 +/**
  160.15 + *
  160.16 + * @author  Joshna
  160.17 + */
  160.18 +public class CMSFrameworkPanel extends javax.swing.JPanel {
  160.19 +
  160.20 +    private WizardDescriptor wizardDescriptor;
  160.21 +    /** Creates new form CMSFrameworkPanel */
  160.22 +    public CMSFrameworkPanel() {
  160.23 +        initComponents();
  160.24 +    }
  160.25 +
  160.26 +    /** This method is called from within the constructor to
  160.27 +     * initialize the form.
  160.28 +     * WARNING: Do NOT modify this code. The content of this method is
  160.29 +     * always regenerated by the Form Editor.
  160.30 +     */
  160.31 +    @SuppressWarnings("unchecked")
  160.32 +    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  160.33 +    private void initComponents() {
  160.34 +
  160.35 +        jLabel1 = new javax.swing.JLabel();
  160.36 +        jRadioButton1 = new javax.swing.JRadioButton();
  160.37 +        jRadioButton2 = new javax.swing.JRadioButton();
  160.38 +
  160.39 +        jLabel1.setText(org.openide.util.NbBundle.getMessage(CMSFrameworkPanel.class, "CMSFrameworkPanel.jLabel1.text_1")); // NOI18N
  160.40 +
  160.41 +        jRadioButton1.setText(org.openide.util.NbBundle.getMessage(CMSFrameworkPanel.class, "CMSFrameworkPanel.jRadioButton1.text_1")); // NOI18N
  160.42 +
  160.43 +        jRadioButton2.setText(org.openide.util.NbBundle.getMessage(CMSFrameworkPanel.class, "CMSFrameworkPanel.jRadioButton2.text_1")); // NOI18N
  160.44 +
  160.45 +        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  160.46 +        this.setLayout(layout);
  160.47 +        layout.setHorizontalGroup(
  160.48 +            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  160.49 +            .add(layout.createSequentialGroup()
  160.50 +                .add(97, 97, 97)
  160.51 +                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  160.52 +                    .add(jRadioButton2)
  160.53 +                    .add(jRadioButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 252, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  160.54 +                    .add(jLabel1))
  160.55 +                .addContainerGap(51, Short.MAX_VALUE))
  160.56 +        );
  160.57 +        layout.setVerticalGroup(
  160.58 +            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  160.59 +            .add(layout.createSequentialGroup()
  160.60 +                .add(20, 20, 20)
  160.61 +                .add(jLabel1)
  160.62 +                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
  160.63 +                .add(jRadioButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  160.64 +                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
  160.65 +                .add(jRadioButton2)
  160.66 +                .addContainerGap(215, Short.MAX_VALUE))
  160.67 +        );
  160.68 +    }// </editor-fold>//GEN-END:initComponents
  160.69 +
  160.70 +
  160.71 +    // Variables declaration - do not modify//GEN-BEGIN:variables
  160.72 +    private javax.swing.JLabel jLabel1;
  160.73 +    private javax.swing.JRadioButton jRadioButton1;
  160.74 +    private javax.swing.JRadioButton jRadioButton2;
  160.75 +    // End of variables declaration//GEN-END:variables
  160.76 +
  160.77 +}
   161.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   161.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSFrameworkProvider.java	Thu Jul 10 19:50:39 2008 +0800
   161.3 @@ -0,0 +1,123 @@
   161.4 +/*
   161.5 + * The contents of this file are subject to the terms of the Common Development
   161.6 + * and Distribution License (the License). You may not use this file except in
   161.7 + * compliance with the License.
   161.8 + *
   161.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  161.10 + * or http://www.netbeans.org/cddl.txt.
  161.11 + *
  161.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  161.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  161.14 + * If applicable, add the following below the CDDL Header, with the fields
  161.15 + * enclosed by brackets [] replaced by your own identifying information:
  161.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  161.17 + *
  161.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  161.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  161.20 + * Microsystems, Inc. All Rights Reserved.
  161.21 + */
  161.22 +package org.netbeans.modules.portalpack.cms;
  161.23 +
  161.24 +import java.io.File;
  161.25 +
  161.26 +import java.util.Set;
  161.27 +import org.netbeans.api.java.classpath.ClassPath;
  161.28 +import org.netbeans.api.java.project.JavaProjectConstants;
  161.29 +import org.netbeans.api.java.project.classpath.ProjectClassPathModifier;
  161.30 +import org.netbeans.api.project.FileOwnerQuery;
  161.31 +import org.netbeans.api.project.Project;
  161.32 +import org.netbeans.api.project.SourceGroup;
  161.33 +import org.netbeans.api.project.Sources;
  161.34 +import org.netbeans.api.project.libraries.Library;
  161.35 +import org.netbeans.api.project.libraries.LibraryManager;
  161.36 +import org.netbeans.modules.web.api.webmodule.ExtenderController;
  161.37 +import org.netbeans.modules.web.api.webmodule.WebModule;
  161.38 +import org.netbeans.modules.web.spi.webmodule.WebFrameworkProvider;
  161.39 +import org.netbeans.modules.web.spi.webmodule.WebModuleExtender;
  161.40 +import org.openide.filesystems.FileObject;
  161.41 +import org.openide.util.NbBundle;
  161.42 +
  161.43 +/**
  161.44 + *
  161.45 + * @author Joshna
  161.46 + */
  161.47 +public class CMSFrameworkProvider extends WebFrameworkProvider {
  161.48 +
  161.49 +    private CMSFrameworkWizardPanel cmsFrameworkWizardPanel;
  161.50 +
  161.51 +    /** Creates a new instance of CMSFrameworkProvider */
  161.52 +    public CMSFrameworkProvider() {
  161.53 +        super(NbBundle.getBundle(CMSFrameworkProvider.class).getString("OpenIDE-Module-Name"), NbBundle.getBundle(CMSFrameworkProvider.class).getString("OpenIDE-Module-Short-Description"));
  161.54 +    }
  161.55 +
  161.56 +    @Override
  161.57 +    public WebModuleExtender createWebModuleExtender(WebModule wm, ExtenderController controller) {
  161.58 +
  161.59 +        boolean customizer = (wm != null && isInWebModule(wm));
  161.60 +        cmsFrameworkWizardPanel = new CMSFrameworkWizardPanel(this, wm, controller);
  161.61 +
  161.62 +        return cmsFrameworkWizardPanel;
  161.63 +    }
  161.64 +
  161.65 +    public Set extendImpl(WebModule wm) {
  161.66 +        final FileObject documentBase = wm.getDocumentBase();
  161.67 +        Project project = FileOwnerQuery.getOwner(documentBase);
  161.68 +        try {
  161.69 +
  161.70 +            String selectedValue = cmsFrameworkWizardPanel.getSelectedValueFromVisualPanel();
  161.71 +            if (selectedValue.equals("JCR")) {
  161.72 +                //createPropertyFiles(wm, selectedValue);
  161.73 +                Library cmsLibrary = LibraryManager.getDefault().getLibrary("cms");
  161.74 +                Library cmsTagLibrary = LibraryManager.getDefault().getLibrary("cmstaglib");//NOI18N
  161.75 +               if (cmsLibrary != null) {
  161.76 +
  161.77 +                    Sources sources = (Sources) project.getLookup().lookup(Sources.class);
  161.78 +                    SourceGroup[] groups = sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
  161.79 +
  161.80 +                    for (int i = 0; i < groups.length; i++) {
  161.81 +                        ProjectClassPathModifier.addLibraries(new Library[]{cmsLibrary}, groups[i].getRootFolder(), ClassPath.COMPILE);
  161.82 +                    }
  161.83 +                } else {
  161.84 +
  161.85 +                }
  161.86 +                if (cmsTagLibrary != null) {
  161.87 +
  161.88 +                    Sources sources = (Sources) project.getLookup().lookup(Sources.class);
  161.89 +                    SourceGroup[] groups = sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
  161.90 +
  161.91 +                    for (int i = 0; i < groups.length; i++) {
  161.92 +                        ProjectClassPathModifier.addLibraries(new Library[]{cmsTagLibrary}, groups[i].getRootFolder(), ClassPath.COMPILE);
  161.93 +                    }
  161.94 +                } else {
  161.95 +
  161.96 +                }
  161.97 +            }
  161.98 +        } catch (Exception e) {
  161.99 +            e.printStackTrace();
 161.100 +        }
 161.101 +        return null;
 161.102 +    }
 161.103 +
 161.104 +    public boolean isInWebModule(WebModule webModule) {
 161.105 +
 161.106 +        try {
 161.107 +           
 161.108 +              ClassPath cp = ClassPath.getClassPath(webModule.getDocumentBase(), ClassPath.COMPILE);
 161.109 +       
 161.110 +              if(cp == null || cp.findResource("com/sun/portal/cms/mirage/model/custom/Content.class") == null) { //NOI18N)
 161.111 +                  return false;
 161.112 +              }
 161.113 +              
 161.114 +        } catch (Exception e) {
 161.115 +            return false;
 161.116 +
 161.117 +        }
 161.118 +        return true;
 161.119 +    }
 161.120 +
 161.121 +    public File[] getConfigurationFiles(WebModule arg0) {
 161.122 +        return null;
 161.123 +    }
 161.124 +
 161.125 +  
 161.126 +}
   162.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   162.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSFrameworkVisualPanel.form	Thu Jul 10 19:50:39 2008 +0800
   162.3 @@ -0,0 +1,123 @@
   162.4 +<?xml version="1.0" encoding="UTF-8" ?>
   162.5 +
   162.6 +<Form version="1.5" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
   162.7 +  <NonVisualComponents>
   162.8 +    <Container class="javax.swing.JPanel" name="jPanel2">
   162.9 +
  162.10 +      <Layout>
  162.11 +        <DimensionLayout dim="0">
  162.12 +          <Group type="103" groupAlignment="0" attributes="0">
  162.13 +              <EmptySpace min="0" pref="100" max="32767" attributes="0"/>
  162.14 +          </Group>
  162.15 +        </DimensionLayout>
  162.16 +        <DimensionLayout dim="1">
  162.17 +          <Group type="103" groupAlignment="0" attributes="0">
  162.18 +              <EmptySpace min="0" pref="100" max="32767" attributes="0"/>
  162.19 +          </Group>
  162.20 +        </DimensionLayout>
  162.21 +      </Layout>
  162.22 +    </Container>
  162.23 +    <Container class="javax.swing.JPanel" name="jPanel3">
  162.24 +
  162.25 +      <Layout>
  162.26 +        <DimensionLayout dim="0">
  162.27 +          <Group type="103" groupAlignment="0" attributes="0">
  162.28 +              <EmptySpace min="0" pref="100" max="32767" attributes="0"/>
  162.29 +          </Group>
  162.30 +        </DimensionLayout>
  162.31 +        <DimensionLayout dim="1">
  162.32 +          <Group type="103" groupAlignment="0" attributes="0">
  162.33 +              <EmptySpace min="0" pref="100" max="32767" attributes="0"/>
  162.34 +          </Group>
  162.35 +        </DimensionLayout>
  162.36 +      </Layout>
  162.37 +    </Container>
  162.38 +  </NonVisualComponents>
  162.39 +  <Properties>
  162.40 +    <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  162.41 +      <ResourceString bundle="org/netbeans/modules/portalpack/cms/Bundle.properties" key="CMSFrameworkVisualPanel.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  162.42 +    </Property>
  162.43 +    <Property name="name" type="java.lang.String" value="Select cms implementation" noResource="true"/>
  162.44 +  </Properties>
  162.45 +  <AuxValues>
  162.46 +    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
  162.47 +    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  162.48 +    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  162.49 +    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
  162.50 +    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
  162.51 +    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  162.52 +    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  162.53 +    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  162.54 +  </AuxValues>
  162.55 +
  162.56 +  <Layout>
  162.57 +    <DimensionLayout dim="0">
  162.58 +      <Group type="103" groupAlignment="0" attributes="0">
  162.59 +          <Group type="102" alignment="0" attributes="0">
  162.60 +              <EmptySpace max="-2" attributes="0"/>
  162.61 +              <Component id="jPanel1" max="32767" attributes="0"/>
  162.62 +              <EmptySpace max="-2" attributes="0"/>
  162.63 +          </Group>
  162.64 +      </Group>
  162.65 +    </DimensionLayout>
  162.66 +    <DimensionLayout dim="1">
  162.67 +      <Group type="103" groupAlignment="0" attributes="0">
  162.68 +          <Group type="102" alignment="0" attributes="0">
  162.69 +              <EmptySpace max="-2" attributes="0"/>
  162.70 +              <Component id="jPanel1" min="-2" max="-2" attributes="0"/>
  162.71 +              <EmptySpace pref="39" max="32767" attributes="0"/>
  162.72 +          </Group>
  162.73 +      </Group>
  162.74 +    </DimensionLayout>
  162.75 +  </Layout>
  162.76 +  <SubComponents>
  162.77 +    <Container class="javax.swing.JPanel" name="jPanel1">
  162.78 +      <Properties>
  162.79 +        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
  162.80 +          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
  162.81 +            <TitledBorder title="&lt;CMSFrameworkVisualPanel.jPanel1.border.title&gt;">
  162.82 +              <ResourceString PropertyName="titleX" bundle="org/netbeans/modules/portalpack/cms/Bundle.properties" key="CMSFrameworkVisualPanel.jPanel1.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  162.83 +            </TitledBorder>
  162.84 +          </Border>
  162.85 +        </Property>
  162.86 +      </Properties>
  162.87 +      <AccessibilityProperties>
  162.88 +        <Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
  162.89 +          <ResourceString bundle="org/netbeans/modules/portalpack/cms/Bundle.properties" key="CMS Implementation" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
  162.90 +        </Property>
  162.91 +      </AccessibilityProperties>
  162.92 +
  162.93 +      <Layout>
  162.94 +        <DimensionLayout dim="0">
  162.95 +          <Group type="103" groupAlignment="0" attributes="0">
  162.96 +              <Group type="102" alignment="0" attributes="0">
  162.97 +                  <EmptySpace min="-2" pref="30" max="-2" attributes="0"/>
  162.98 +                  <Component id="jComboBox2" min="-2" max="-2" attributes="0"/>
  162.99 +                  <EmptySpace pref="89" max="32767" attributes="0"/>
 162.100 +              </Group>
 162.101 +          </Group>
 162.102 +        </DimensionLayout>
 162.103 +        <DimensionLayout dim="1">
 162.104 +          <Group type="103" groupAlignment="0" attributes="0">
 162.105 +              <Group type="102" alignment="0" attributes="0">
 162.106 +                  <EmptySpace max="-2" attributes="0"/>
 162.107 +                  <Component id="jComboBox2" min="-2" max="-2" attributes="0"/>
 162.108 +                  <EmptySpace pref="23" max="32767" attributes="0"/>
 162.109 +              </Group>
 162.110 +          </Group>
 162.111 +        </DimensionLayout>
 162.112 +      </Layout>
 162.113 +      <SubComponents>
 162.114 +        <Component class="javax.swing.JComboBox" name="jComboBox2">
 162.115 +          <Properties>
 162.116 +            <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
 162.117 +              <StringArray count="1">
 162.118 +                <StringItem index="0" value="Apache JackRabbit (JCR)"/>
 162.119 +              </StringArray>
 162.120 +            </Property>
 162.121 +          </Properties>
 162.122 +        </Component>
 162.123 +      </SubComponents>
 162.124 +    </Container>
 162.125 +  </SubComponents>
 162.126 +</Form>
   163.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   163.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSFrameworkVisualPanel.java	Thu Jul 10 19:50:39 2008 +0800
   163.3 @@ -0,0 +1,132 @@
   163.4 +/*
   163.5 + * CMSFrameworkVisualPanel.java
   163.6 + *
   163.7 + * Created on May 6, 2008, 1:27 AM
   163.8 + */
   163.9 +
  163.10 +package org.netbeans.modules.portalpack.cms;
  163.11 +
  163.12 +import org.openide.WizardDescriptor;
  163.13 +
  163.14 +/**
  163.15 + *
  163.16 + * @author  Joshna
  163.17 + */
  163.18 +public class CMSFrameworkVisualPanel extends javax.swing.JPanel {
  163.19 +
  163.20 +    private static String selectedValue;
  163.21 +    static final String SELECTED_VALUE = "selectedValue";
  163.22 +    /** Creates new form CMSFrameworkVisualPanel */
  163.23 +    public CMSFrameworkVisualPanel() {
  163.24 +        initComponents();
  163.25 +    }
  163.26 +
  163.27 +    @Override
  163.28 +    public String getName() {
  163.29 +        return "Select CMS Framework";
  163.30 +    }
  163.31 +    /** This method is called from within the constructor to
  163.32 +     * initialize the form.
  163.33 +     * WARNING: Do NOT modify this code. The content of this method is
  163.34 +     * always regenerated by the Form Editor.
  163.35 +     */
  163.36 +    @SuppressWarnings("unchecked")
  163.37 +    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  163.38 +    private void initComponents() {
  163.39 +
  163.40 +        jPanel2 = new javax.swing.JPanel();
  163.41 +        jPanel3 = new javax.swing.JPanel();
  163.42 +        jPanel1 = new javax.swing.JPanel();
  163.43 +        jComboBox2 = new javax.swing.JComboBox();
  163.44 +
  163.45 +        org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
  163.46 +        jPanel2.setLayout(jPanel2Layout);
  163.47 +        jPanel2Layout.setHorizontalGroup(
  163.48 +            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.49 +            .add(0, 100, Short.MAX_VALUE)
  163.50 +        );
  163.51 +        jPanel2Layout.setVerticalGroup(
  163.52 +            jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.53 +            .add(0, 100, Short.MAX_VALUE)
  163.54 +        );
  163.55 +
  163.56 +        org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
  163.57 +        jPanel3.setLayout(jPanel3Layout);
  163.58 +        jPanel3Layout.setHorizontalGroup(
  163.59 +            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.60 +            .add(0, 100, Short.MAX_VALUE)
  163.61 +        );
  163.62 +        jPanel3Layout.setVerticalGroup(
  163.63 +            jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.64 +            .add(0, 100, Short.MAX_VALUE)
  163.65 +        );
  163.66 +
  163.67 +        setToolTipText(org.openide.util.NbBundle.getMessage(CMSFrameworkVisualPanel.class, "CMSFrameworkVisualPanel.toolTipText")); // NOI18N
  163.68 +        setName("Select cms implementation"); // NOI18N
  163.69 +
  163.70 +        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(CMSFrameworkVisualPanel.class, "CMSFrameworkVisualPanel.jPanel1.border.title"))); // NOI18N
  163.71 +
  163.72 +        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Apache JackRabbit (JCR)" }));
  163.73 +
  163.74 +        org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
  163.75 +        jPanel1.setLayout(jPanel1Layout);
  163.76 +        jPanel1Layout.setHorizontalGroup(
  163.77 +            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.78 +            .add(jPanel1Layout.createSequentialGroup()
  163.79 +                .add(30, 30, 30)
  163.80 +                .add(jComboBox2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  163.81 +                .addContainerGap(89, Short.MAX_VALUE))
  163.82 +        );
  163.83 +        jPanel1Layout.setVerticalGroup(
  163.84 +            jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.85 +            .add(jPanel1Layout.createSequentialGroup()
  163.86 +                .addContainerGap()
  163.87 +                .add(jComboBox2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  163.88 +                .addContainerGap(23, Short.MAX_VALUE))
  163.89 +        );
  163.90 +
  163.91 +        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  163.92 +        this.setLayout(layout);
  163.93 +        layout.setHorizontalGroup(
  163.94 +            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  163.95 +            .add(layout.createSequentialGroup()
  163.96 +                .addContainerGap()
  163.97 +                .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
  163.98 +                .addContainerGap())
  163.99 +        );
 163.100 +        layout.setVerticalGroup(
 163.101 +            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 163.102 +            .add(layout.createSequentialGroup()
 163.103 +                .addContainerGap()
 163.104 +                .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 163.105 +                .addContainerGap(39, Short.MAX_VALUE))
 163.106 +        );
 163.107 +
 163.108 +        jPanel1.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CMSFrameworkVisualPanel.class, "CMS Implementation")); // NOI18N
 163.109 +    }// </editor-fold>//GEN-END:initComponents
 163.110 +
 163.111 +
 163.112 +    // Variables declaration - do not modify//GEN-BEGIN:variables
 163.113 +    private javax.swing.JComboBox jComboBox2;
 163.114 +    private javax.swing.JPanel jPanel1;
 163.115 +    private javax.swing.JPanel jPanel2;
 163.116 +    private javax.swing.JPanel jPanel3;
 163.117 +    // End of variables declaration//GEN-END:variables
 163.118 +
 163.119 +     public void read(WizardDescriptor wDescriptor) {
 163.120 +        
 163.121 +    }
 163.122 +    public String getSelectedValue() {
 163.123 +        
 163.124 +       String cmsImpl =(String) jComboBox2.getSelectedItem();
 163.125 +       if(cmsImpl.equalsIgnoreCase("Apache JackRabbit (JCR)")) {
 163.126 +           return "JCR";
 163.127 +       }else {
 163.128 +            return "";
 163.129 +       } 
 163.130 +    }
 163.131 +    
 163.132 +   
 163.133 +     
 163.134 +    
 163.135 +}
   164.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   164.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSFrameworkWizardPanel.java	Thu Jul 10 19:50:39 2008 +0800
   164.3 @@ -0,0 +1,106 @@
   164.4 +/*
   164.5 + * The contents of this file are subject to the terms of the Common Development
   164.6 + * and Distribution License (the License). You may not use this file except in
   164.7 + * compliance with the License.
   164.8 + *
   164.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  164.10 + * or http://www.netbeans.org/cddl.txt.
  164.11 + *
  164.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  164.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  164.14 + * If applicable, add the following below the CDDL Header, with the fields
  164.15 + * enclosed by brackets [] replaced by your own identifying information:
  164.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  164.17 + *
  164.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  164.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  164.20 + * Microsystems, Inc. All Rights Reserved.
  164.21 + */
  164.22 +package org.netbeans.modules.portalpack.cms;
  164.23 +
  164.24 +import java.util.Set;
  164.25 +import javax.swing.JComponent;
  164.26 +import javax.swing.event.ChangeListener;
  164.27 +import org.netbeans.modules.web.api.webmodule.ExtenderController;
  164.28 +import org.netbeans.modules.web.api.webmodule.WebModule;
  164.29 +import org.netbeans.modules.web.spi.webmodule.WebModuleExtender;
  164.30 +import org.openide.WizardDescriptor;
  164.31 +import org.openide.filesystems.FileObject;
  164.32 +import org.openide.util.HelpCtx;
  164.33 +
  164.34 +public class CMSFrameworkWizardPanel extends WebModuleExtender{
  164.35 +    private WizardDescriptor wizardDescriptor;
  164.36 +    private CMSFrameworkProvider framework;
  164.37 +    private WebModule module;
  164.38 +    /**
  164.39 +     * The visual component that displays this panel. If you need to access the
  164.40 +     * component from this class, just use getComponent().
  164.41 +     */
  164.42 +    private CMSFrameworkVisualPanel component;
  164.43 +    
  164.44 +    public CMSFrameworkWizardPanel(CMSFrameworkProvider framework,WebModule module,
  164.45 +                                                        ExtenderController controller){
  164.46 +       this.framework = framework;
  164.47 +       this.module = module;
  164.48 +    }
  164.49 +    
  164.50 +    // Get the visual component for the panel. In this template, the component
  164.51 +    // is kept separate. This can be more efficient: if the wizard is created
  164.52 +    // but never displayed, or not all panels are displayed, it is better to
  164.53 +    // create only those which really need to be visible.
  164.54 +    @Override
  164.55 +    public JComponent getComponent() {
  164.56 +        if (component == null) {
  164.57 +            component = new CMSFrameworkVisualPanel();
  164.58 +        }
  164.59 +        return component;
  164.60 +    }
  164.61 +    
  164.62 +    public HelpCtx getHelp() {
  164.63 +        // Show no Help button for this panel:
  164.64 +        return HelpCtx.DEFAULT_HELP;
  164.65 +        // If you have context help:
  164.66 +        // return new HelpCtx(SampleWizardPanel1.class);
  164.67 +    }
  164.68 +    
  164.69 +    public boolean isValid() {
  164.70 +        return true;
  164.71 +    }
  164.72 +    
  164.73 +    public final void addChangeListener(ChangeListener l) {}
  164.74 +    public final void removeChangeListener(ChangeListener l) {}
  164.75 +   
  164.76 +    // You can use a settings object to keep track of state. Normally the
  164.77 +    // settings object will be the WizardDescriptor, so you can use
  164.78 +    // WizardDescriptor.getProperty & putProperty to store information entered
  164.79 +    // by the user.
  164.80 +    public void readSettings(Object settings) {
  164.81 +            wizardDescriptor = (WizardDescriptor) settings;
  164.82 +         
  164.83 +    }
  164.84 +    public void storeSettings(Object settings) {
  164.85 +           ((WizardDescriptor) settings).putProperty(CMSFrameworkVisualPanel.SELECTED_VALUE, getSelectedValueFromVisualPanel());
  164.86 +    }
  164.87 +    
  164.88 +    public void enableComponents(boolean enable) {
  164.89 +      //this.enableComponents(enable);
  164.90 +    }
  164.91 +     public  String getSelectedValueFromVisualPanel() {
  164.92 +         return ((CMSFrameworkVisualPanel) component).getSelectedValue();
  164.93 +     }
  164.94 +
  164.95 +
  164.96 +    @Override
  164.97 +    public void update() {
  164.98 +        getComponent();
  164.99 +        
 164.100 +    }
 164.101 +
 164.102 +    @Override
 164.103 +    public Set<FileObject> extend(WebModule webModule) {
 164.104 +        return framework.extendImpl(webModule);
 164.105 +    }
 164.106 +   
 164.107 +    
 164.108 +}
 164.109 +
   165.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   165.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/CMSPaletteUtilities.java	Thu Jul 10 19:50:39 2008 +0800
   165.3 @@ -0,0 +1,68 @@
   165.4 +/*
   165.5 + * To change this template, choose Tools | Templates
   165.6 + * and open the template in the editor.
   165.7 + */
   165.8 +
   165.9 +package org.netbeans.modules.portalpack.cms;
  165.10 +
  165.11 +
  165.12 +import javax.swing.text.BadLocationException;
  165.13 +import javax.swing.text.Caret;
  165.14 +import javax.swing.text.Document;
  165.15 +import javax.swing.text.JTextComponent;
  165.16 +import javax.swing.text.StyledDocument;
  165.17 +import org.openide.text.NbDocument;
  165.18 +
  165.19 +/**
  165.20 + *
  165.21 + * @author Joshna
  165.22 + */
  165.23 +public class CMSPaletteUtilities {
  165.24 +
  165.25 +
  165.26 +  
  165.27 +    public static void insert(final String s,final JTextComponent target) throws BadLocationException {
  165.28 +        
  165.29 +        final StyledDocument doc = (StyledDocument)target.getDocument();
  165.30 +        
  165.31 +        class AtomicChange implements Runnable {
  165.32 +            
  165.33 +            public void run() {
  165.34 +                Document value = target.getDocument();
  165.35 +                if (value == null)
  165.36 +                    return;
  165.37 +                try {
  165.38 +                    insert(s, target, doc);
  165.39 +                } catch (BadLocationException e) {}
  165.40 +            }
  165.41 +        }
  165.42 +        
  165.43 +        try {
  165.44 +            NbDocument.runAtomicAsUser(doc, new AtomicChange());
  165.45 +        } catch (BadLocationException ex) {}
  165.46 +        
  165.47 +    }
  165.48 +    
  165.49 +    private static int insert(String s, JTextComponent target, Document doc) throws BadLocationException {
  165.50 +        
  165.51 +        int start = -1;
  165.52 +        
  165.53 +        try {
  165.54 +            
  165.55 +            //firstly, find selected text range:
  165.56 +            Caret caret = target.getCaret();
  165.57 +            int p0 = Math.min(caret.getDot(), caret.getMark());
  165.58 +            int p1 = Math.max(caret.getDot(), caret.getMark());
  165.59 +            doc.remove(p0, p1 - p0);
  165.60 +            
  165.61 +            //then, replace selected text with the inserted one:
  165.62 +            start = caret.getDot();
  165.63 +            doc.insertString(start, s, null);
  165.64 +        
  165.65 +        } catch (BadLocationException ble) {}
  165.66 +        
  165.67 +        return start;
  165.68 +
  165.69 +    }
  165.70 +
  165.71 +}
   166.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   166.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/layer.xml	Thu Jul 10 19:50:39 2008 +0800
   166.3 @@ -0,0 +1,45 @@
   166.4 +<?xml version="1.0" encoding="UTF-8"?>
   166.5 +<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
   166.6 +<filesystem>
   166.7 +   <folder name="Editors">
   166.8 +       <folder name="text">
   166.9 +           <folder name="x-java">
  166.10 +               <file name="PaletteFactory.instance">
  166.11 +                   <attr name="instanceOf" stringvalue="org.netbeans.spi.palette.PaletteController"/>
  166.12 +                   <attr name="instanceCreate" methodvalue="org.netbeans.modules.portalpack.cms.palette.Factory.getPalette"/>                                            
  166.13 +               </file>
  166.14 +           </folder>
  166.15 +       </folder> 
  166.16 +    </folder>
  166.17 +    <folder name="JSPPalette">
  166.18 +        <folder name="CMS">
  166.19 +            <file name="AuthContext.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/AuthContext.xml"/>
  166.20 +            <file name="Category.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/Category.xml"/>
  166.21 +           <file name="ContentType.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentType.xml"/>
  166.22 +            <file name="Content.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/Content.xml"/>
  166.23 +            <file name="ContentView.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentView.xml"/>
  166.24 +             <file name="ContentVersions.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentVersions.xml"/>
  166.25 +            <file name="ContentsByType.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentsByType.xml"/>
  166.26 +            <file name="ContentByNames.xml" url="/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentByNames.xml"/>
  166.27 +        </folder>
  166.28 +    </folder>
  166.29 + 
  166.30 + 
  166.31 +    <folder name="org-netbeans-api-project-libraries">
  166.32 +        <folder name="Libraries">
  166.33 +            <file name="portalJCR1.0.xml" url="portalJCR1.0.xml"/>    
  166.34 +            <file name="portalJCRTagLib1.0.xml" url="portalJCRTagLib1.0.xml"/>
  166.35 +        </folder>
  166.36 +    </folder>
  166.37 +
  166.38 + 
  166.39 +    <folder name="j2ee">
  166.40 +        <folder name="webtier">
  166.41 +            <folder name="framework">
  166.42 +                <file name="org-netbeans-modules-portalpack-cms-CMSFrameworkProvider.instance"/>
  166.43 +            </folder>
  166.44 +        </folder>
  166.45 +    </folder>
  166.46 +    
  166.47 +      
  166.48 +</filesystem>
   167.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   167.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/Actions.java	Thu Jul 10 19:50:39 2008 +0800
   167.3 @@ -0,0 +1,111 @@
   167.4 +/*
   167.5 + * The contents of this file are subject to the terms of the Common Development
   167.6 + * and Distribution License (the License). You may not use this file except in
   167.7 + * compliance with the License.
   167.8 + *
   167.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  167.10 + * or http://www.netbeans.org/cddl.txt.
  167.11 + *
  167.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  167.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  167.14 + * If applicable, add the following below the CDDL Header, with the fields
  167.15 + * enclosed by brackets [] replaced by your own identifying information:
  167.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  167.17 + *
  167.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  167.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  167.20 + * Microsystems, Inc. All Rights Reserved.
  167.21 + */
  167.22 +/*
  167.23 + * Actions.java
  167.24 + *
  167.25 + * Created on March 8, 2007, 10:30 AM
  167.26 + *
  167.27 + * To change this template, choose Tools | Template Manager
  167.28 + * and open the template in the editor.
  167.29 + */
  167.30 +
  167.31 +package org.netbeans.modules.portalpack.cms.palette;
  167.32 +
  167.33 +import java.awt.event.ActionEvent;
  167.34 +import java.io.IOException;
  167.35 +import javax.swing.AbstractAction;
  167.36 +import javax.swing.Action;
  167.37 +import javax.swing.text.JTextComponent;
  167.38 +import org.netbeans.editor.Utilities;
  167.39 +import org.netbeans.spi.palette.PaletteActions;
  167.40 +import org.netbeans.spi.palette.PaletteController;
  167.41 +import org.openide.DialogDisplayer;
  167.42 +import org.openide.NotifyDescriptor;
  167.43 +import org.openide.text.ActiveEditorDrop;
  167.44 +import org.openide.util.Lookup;
  167.45 +import org.openide.util.NbBundle;
  167.46 +
  167.47 +/**
  167.48 + *
  167.49 + * @author root
  167.50 + */
  167.51 +public class Actions extends PaletteActions{
  167.52 +    
  167.53 +    /** Creates a new instance of TestDDPaletteActions */
  167.54 +    public Actions() {
  167.55 +    }
  167.56 +
  167.57 +    public Action[] getImportActions() {
  167.58 +        return new Action[0];
  167.59 +    }
  167.60 +
  167.61 +    public Action[] getCustomPaletteActions() {
  167.62 +        return new Action[0];
  167.63 +    }
  167.64 +
  167.65 +    public Action[] getCustomCategoryActions(Lookup lookup) {
  167.66 +        return new Action[0];
  167.67 +    }
  167.68 +
  167.69 +    public Action[] getCustomItemActions(Lookup lookup) {
  167.70 +        return new Action[0];
  167.71 +    }
  167.72 +
  167.73 +    public Action getPreferredAction(Lookup item) {
  167.74 +        return new MFPaletteInsertAction(item);
  167.75 +    }
  167.76 +    
  167.77 +    private static class MFPaletteInsertAction extends AbstractAction {
  167.78 +        
  167.79 +        private Lookup item;
  167.80 +        
  167.81 +        MFPaletteInsertAction(Lookup item) {
  167.82 +            this.item = item;
  167.83 +        }
  167.84 +                
  167.85 +        public void actionPerformed(ActionEvent e) {
  167.86 +      
  167.87 +            ActiveEditorDrop drop = (ActiveEditorDrop) item.lookup(ActiveEditorDrop.class);
  167.88 +            
  167.89 +            JTextComponent target = Utilities.getFocusedComponent();
  167.90 +            if (target == null) {
  167.91 +                String msg = NbBundle.getMessage(Actions.class, "MSG_ErrorNoFocussedDocument");
  167.92 +                DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(msg, NotifyDescriptor.ERROR_MESSAGE));
  167.93 +                return;
  167.94 +            }
  167.95 +            
  167.96 +            try {
  167.97 +                drop.handleTransfer(target);
  167.98 +            }
  167.99 +            finally {
 167.100 +                Utilities.requestFocus(target);
 167.101 +            }
 167.102 +            
 167.103 +            try {
 167.104 +                PaletteController pc = Factory.getPalette();
 167.105 +                pc.clearSelection();
 167.106 +            }
 167.107 +            catch (IOException ioe) {
 167.108 +            } //should not occur
 167.109 +
 167.110 +        }
 167.111 +    }
 167.112 +
 167.113 +    
 167.114 +}
   168.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   168.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   168.3 @@ -0,0 +1,17 @@
   168.4 +#The contents of this file are subject to the terms of the Common Development
   168.5 +#and Distribution License (the License). You may not use this file except in
   168.6 +#compliance with the License.
   168.7 +#
   168.8 +#You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   168.9 +#or http://www.netbeans.org/cddl.txt.
  168.10 +#
  168.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  168.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  168.13 +# If applicable, add the following below the CDDL Header, with the fields
  168.14 +# enclosed by brackets [] replaced by your own identifying information:
  168.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  168.16 +#  The Original Software is NetBeans. The Initial Developer of the Original
  168.17 +#  Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  168.18 +#  Microsystems, Inc. All Rights Reserved.  
  168.19 +MSG_ErrorNoFocussedDocument=No document selected. Please select a document to insert the item into.
  168.20 +ACT_OpenTestDDCustomizer=&CMS Code Clips
  168.21 \ No newline at end of file
   169.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   169.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/CustomizerAction.java	Thu Jul 10 19:50:39 2008 +0800
   169.3 @@ -0,0 +1,71 @@
   169.4 +/*
   169.5 + * The contents of this file are subject to the terms of the Common Development
   169.6 + * and Distribution License (the License). You may not use this file except in
   169.7 + * compliance with the License.
   169.8 + *
   169.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  169.10 + * or http://www.netbeans.org/cddl.txt.
  169.11 + *
  169.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  169.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  169.14 + * If applicable, add the following below the CDDL Header, with the fields
  169.15 + * enclosed by brackets [] replaced by your own identifying information:
  169.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  169.17 + *
  169.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  169.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  169.20 + * Microsystems, Inc. All Rights Reserved.
  169.21 + */
  169.22 +/*
  169.23 + * CustomizerAction.java
  169.24 + *
  169.25 + * Created on March 8, 2007, 10:30 AM
  169.26 + *
  169.27 + * To change this template, choose Tools | Template Manager
  169.28 + * and open the template in the editor.
  169.29 + */
  169.30 +
  169.31 +package org.netbeans.modules.portalpack.cms.palette;
  169.32 +
  169.33 +import java.io.IOException;
  169.34 +import org.openide.ErrorManager;
  169.35 +import org.openide.util.HelpCtx;
  169.36 +import org.openide.util.NbBundle;
  169.37 +import org.openide.util.actions.CallableSystemAction;
  169.38 +
  169.39 +/**
  169.40 + *
  169.41 + * @author root
  169.42 + */
  169.43 +public class CustomizerAction extends CallableSystemAction{
  169.44 +    private static String name;
  169.45 +    
  169.46 +    /** Creates a new instance of TestDDPaletteCustomizerAction */
  169.47 +    public CustomizerAction() {
  169.48 +        putValue("noIconInMenu",Boolean.TRUE);
  169.49 +    }
  169.50 +
  169.51 +    public boolean asynchronous(){
  169.52 +        return false;
  169.53 +    }
  169.54 +    
  169.55 +    public void performAction() {
  169.56 +        try{
  169.57 +            Factory.getPalette().showCustomizer();
  169.58 +        }catch(IOException ioe){
  169.59 +            ErrorManager.getDefault().notify(ErrorManager.EXCEPTION,ioe);
  169.60 +        }
  169.61 +    }
  169.62 +
  169.63 +    public String getName() {
  169.64 +        if(name == null){
  169.65 +            name = NbBundle.getBundle(CustomizerAction.class).getString("ACT_OpenTestDDCustomizer");
  169.66 +        }
  169.67 +        return name;
  169.68 +    }
  169.69 +
  169.70 +    public HelpCtx getHelpCtx() {
  169.71 +        return null;
  169.72 +    }
  169.73 +    
  169.74 +}
   170.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   170.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/DropDefault.java	Thu Jul 10 19:50:39 2008 +0800
   170.3 @@ -0,0 +1,63 @@
   170.4 +/*
   170.5 + * The contents of this file are subject to the terms of the Common Development
   170.6 + * and Distribution License (the License). You may not use this file except in
   170.7 + * compliance with the License.
   170.8 + *
   170.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  170.10 + * or http://www.netbeans.org/cddl.txt.
  170.11 + *
  170.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  170.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  170.14 + * If applicable, add the following below the CDDL Header, with the fields
  170.15 + * enclosed by brackets [] replaced by your own identifying information:
  170.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  170.17 + *
  170.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  170.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  170.20 + * Microsystems, Inc. All Rights Reserved.
  170.21 + */
  170.22 +/*
  170.23 + * DropDefault.java
  170.24 + *
  170.25 + * Created on March 8, 2007, 10:31 AM
  170.26 + *
  170.27 + * To change this template, choose Tools | Template Manager
  170.28 + * and open the template in the editor.
  170.29 + */
  170.30 +
  170.31 +package org.netbeans.modules.portalpack.cms.palette;
  170.32 +
  170.33 +import javax.swing.text.BadLocationException;
  170.34 +import javax.swing.text.JTextComponent;
  170.35 +import org.openide.text.ActiveEditorDrop;
  170.36 +
  170.37 +/**
  170.38 + *
  170.39 + * @author root
  170.40 + */
  170.41 +public class DropDefault implements ActiveEditorDrop{
  170.42 +    
  170.43 +    String body;
  170.44 +    /** Creates a new instance of TestDDPaletteDropDefault */
  170.45 +    public DropDefault(String body) {
  170.46 +        this.body=body;
  170.47 +    }
  170.48 +    
  170.49 +    public boolean handleTransfer(JTextComponent targetComponent) {
  170.50 +
  170.51 +        if (targetComponent == null)
  170.52 +            return false;
  170.53 +
  170.54 +        try {
  170.55 +            Utilities.insert(body, (JTextComponent)targetComponent);
  170.56 +        }
  170.57 +        catch (BadLocationException ble) {
  170.58 +            return false;
  170.59 +        }
  170.60 +        
  170.61 +        return true;
  170.62 +    }
  170.63 +
  170.64 +    
  170.65 +    
  170.66 +}
   171.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   171.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/Factory.java	Thu Jul 10 19:50:39 2008 +0800
   171.3 @@ -0,0 +1,54 @@
   171.4 +/*
   171.5 + * The contents of this file are subject to the terms of the Common Development
   171.6 + * and Distribution License (the License). You may not use this file except in
   171.7 + * compliance with the License.
   171.8 + *
   171.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  171.10 + * or http://www.netbeans.org/cddl.txt.
  171.11 + *
  171.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  171.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  171.14 + * If applicable, add the following below the CDDL Header, with the fields
  171.15 + * enclosed by brackets [] replaced by your own identifying information:
  171.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  171.17 + *
  171.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  171.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  171.20 + * Microsystems, Inc. All Rights Reserved.
  171.21 + */
  171.22 +/*
  171.23 + * Factory.java
  171.24 + *
  171.25 + * Created on March 8, 2007, 10:31 AM
  171.26 + *
  171.27 + * To change this template, choose Tools | Template Manager
  171.28 + * and open the template in the editor.
  171.29 + */
  171.30 +
  171.31 +package org.netbeans.modules.portalpack.cms.palette;
  171.32 +
  171.33 +import java.io.IOException;
  171.34 +import org.netbeans.spi.palette.PaletteController;
  171.35 +import org.netbeans.spi.palette.PaletteFactory;
  171.36 +
  171.37 +/**
  171.38 + *
  171.39 + * @author root
  171.40 + */
  171.41 +public class Factory {
  171.42 +    public static final String TEST_PALETTE_FOLDER = "CMSPalette";
  171.43 +    private static PaletteController palette = null;
  171.44 +    
  171.45 +    /** Creates a new instance of TestDDPaletteFactory */
  171.46 +    public Factory() {
  171.47 +    }
  171.48 +    
  171.49 +    public static PaletteController getPalette() throws IOException {
  171.50 +        
  171.51 +        if(palette == null){
  171.52 +            palette = PaletteFactory.createPalette(TEST_PALETTE_FOLDER, new Actions());
  171.53 +        }
  171.54 +        return palette;
  171.55 +    }
  171.56 +    
  171.57 +}
   172.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   172.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/Utilities.java	Thu Jul 10 19:50:39 2008 +0800
   172.3 @@ -0,0 +1,88 @@
   172.4 +/*
   172.5 + * The contents of this file are subject to the terms of the Common Development
   172.6 + * and Distribution License (the License). You may not use this file except in
   172.7 + * compliance with the License.
   172.8 + *
   172.9 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  172.10 + * or http://www.netbeans.org/cddl.txt.
  172.11 + *
  172.12 + * When distributing Covered Code, include this CDDL Header Notice in each file
  172.13 + * and include the License file at http://www.netbeans.org/cddl.txt.
  172.14 + * If applicable, add the following below the CDDL Header, with the fields
  172.15 + * enclosed by brackets [] replaced by your own identifying information:
  172.16 + * "Portions Copyrighted [year] [name of copyright owner]"
  172.17 + *
  172.18 + * The Original Software is NetBeans. The Initial Developer of the Original
  172.19 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  172.20 + * Microsystems, Inc. All Rights Reserved.
  172.21 + */
  172.22 +/*
  172.23 + * Utilities.java
  172.24 + *
  172.25 + * Created on March 8, 2007, 10:32 AM
  172.26 + *
  172.27 + * To change this template, choose Tools | Template Manager
  172.28 + * and open the template in the editor.
  172.29 + */
  172.30 +
  172.31 +package org.netbeans.modules.portalpack.cms.palette;
  172.32 +
  172.33 +import javax.swing.text.BadLocationException;
  172.34 +import javax.swing.text.Caret;
  172.35 +import javax.swing.text.Document;
  172.36 +import javax.swing.text.JTextComponent;
  172.37 +import org.netbeans.editor.BaseDocument;
  172.38 +import org.netbeans.editor.Formatter;
  172.39 +
  172.40 +/**
  172.41 + *
  172.42 + * @author root
  172.43 + */
  172.44 +public class Utilities {
  172.45 +    
  172.46 +    /** Creates a new instance of TestDDPaletteUtilities */
  172.47 +    public Utilities() {
  172.48 +    }
  172.49 +    
  172.50 +    public static void insert(String s, JTextComponent target)
  172.51 +    throws BadLocationException{
  172.52 +        insert(s, target, true);
  172.53 +    }
  172.54 +    
  172.55 +    public static void insert(String s, JTextComponent target, boolean reformat)
  172.56 +    throws BadLocationException{
  172.57 +        if(s == null){
  172.58 +            s = "";
  172.59 +        }
  172.60 +        Document doc = target.getDocument();
  172.61 +        if(doc == null){
  172.62 +            return;
  172.63 +        }
  172.64 +       
  172.65 +        int start = insert(s,target,doc);
  172.66 +        
  172.67 +        if(reformat && start >= 0 && doc instanceof BaseDocument) {
  172.68 +            int end = start + s.length();
  172.69 +            Formatter f = ((BaseDocument)doc).getFormatter();
  172.70 +            f.reformatLock();        
  172.71 +            f.reformat((BaseDocument)doc,start,end);
  172.72 +            f.reformatUnlock();
  172.73 +        } 
  172.74 +    }
  172.75 +
  172.76 +    private static int insert(String s, JTextComponent target, Document doc)
  172.77 +    throws BadLocationException{
  172.78 +        int start = -1;
  172.79 +        try{
  172.80 +            Caret caret = target.getCaret();
  172.81 +            int p0 = Math.min(caret.getDot(), caret.getMark());
  172.82 +            int p1 = Math.max(caret.getDot(), caret.getMark());
  172.83 +            doc.remove(p0, p1 - p0);
  172.84 +            
  172.85 +            //replace selected text by the inserted one
  172.86 +            start = caret.getDot();
  172.87 +            doc.insertString(start, s, null);
  172.88 +        }catch(BadLocationException ble){}
  172.89 +        return start;
  172.90 +    }
  172.91 +}
   173.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   173.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/AuthContext.java	Thu Jul 10 19:50:39 2008 +0800
   173.3 @@ -0,0 +1,50 @@
   173.4 +/*
   173.5 + * To change this template, choose Tools | Templates
   173.6 + * and open the template in the editor.
   173.7 + */
   173.8 +
   173.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  173.10 +
  173.11 +
  173.12 +
  173.13 +import javax.swing.text.BadLocationException;
  173.14 +import javax.swing.text.JTextComponent;
  173.15 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  173.16 +import org.openide.text.ActiveEditorDrop;
  173.17 +
  173.18 +/**
  173.19 + *
  173.20 + * @author Joshna
  173.21 + */
  173.22 +public class AuthContext implements ActiveEditorDrop {
  173.23 +    
  173.24 +   
  173.25 +    public AuthContext() {
  173.26 +    }
  173.27 +    
  173.28 +    
  173.29 +    private String createBody() {
  173.30 +        
  173.31 +       
  173.32 +        String authContextTag = "<%--Give a renderRequest object in portlet and request object webapp --%> \n <cms:authContext reqObj=\"\" />";
  173.33 +       
  173.34 +               
  173.35 +        return authContextTag;
  173.36 +    }
  173.37 +    
  173.38 +    public boolean handleTransfer(JTextComponent targetComponent) {
  173.39 +       
  173.40 +       
  173.41 +       
  173.42 +        String body = createBody();
  173.43 +        try {
  173.44 +            CMSPaletteUtilities.insert(body, targetComponent);
  173.45 +        } catch (BadLocationException ble) {
  173.46 +            return false;
  173.47 +        }
  173.48 +       return true;
  173.49 +    }
  173.50 + 
  173.51 +    
  173.52 +}
  173.53 +
   174.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   174.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   174.3 @@ -0,0 +1,2 @@
   174.4 +# To change this template, choose Tools | Templates
   174.5 +# and open the template in the editor.
   175.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   175.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/Category.java	Thu Jul 10 19:50:39 2008 +0800
   175.3 @@ -0,0 +1,49 @@
   175.4 +/*
   175.5 + * To change this template, choose Tools | Templates
   175.6 + * and open the template in the editor.
   175.7 + */
   175.8 +
   175.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  175.10 +
  175.11 +
  175.12 +import javax.swing.text.BadLocationException;
  175.13 +import javax.swing.text.JTextComponent;
  175.14 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  175.15 +import org.openide.text.ActiveEditorDrop;
  175.16 +
  175.17 +/**
  175.18 + *
  175.19 + * @author Joshna
  175.20 + */
  175.21 +public class Category implements ActiveEditorDrop {
  175.22 +    
  175.23 +   
  175.24 +    public Category() {
  175.25 +    }
  175.26 +    
  175.27 +    
  175.28 +    private String createBody() {
  175.29 +        
  175.30 +       
  175.31 +        String categoryTag = "<%--Give category name or category uuid --%> \n <cms:getCategory categoryName=\"\" categoryuuid=\"\" var=\"\" />";
  175.32 +       
  175.33 +               
  175.34 +        return categoryTag;
  175.35 +    }
  175.36 +    
  175.37 +    public boolean handleTransfer(JTextComponent targetComponent) {
  175.38 +       
  175.39 +       
  175.40 +       
  175.41 +        String body = createBody();
  175.42 +        try {
  175.43 +            CMSPaletteUtilities.insert(body, targetComponent);
  175.44 +        } catch (BadLocationException ble) {
  175.45 +            return false;
  175.46 +        }
  175.47 +       return true;
  175.48 +    }
  175.49 + 
  175.50 +    
  175.51 +}
  175.52 +
   176.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   176.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/Content.java	Thu Jul 10 19:50:39 2008 +0800
   176.3 @@ -0,0 +1,49 @@
   176.4 +/*
   176.5 + * To change this template, choose Tools | Templates
   176.6 + * and open the template in the editor.
   176.7 + */
   176.8 +
   176.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  176.10 +
  176.11 +
  176.12 +import org.netbeans.modules.portalpack.cms.palette.*;
  176.13 +import javax.swing.text.BadLocationException;
  176.14 +import javax.swing.text.JTextComponent;
  176.15 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  176.16 +import org.openide.text.ActiveEditorDrop;
  176.17 +
  176.18 +/**
  176.19 + *
  176.20 + * @author Joshna
  176.21 + */
  176.22 +public class Content implements ActiveEditorDrop {
  176.23 +    
  176.24 +   
  176.25 +    public Content() {
  176.26 +    }
  176.27 +    
  176.28 +    
  176.29 +    private String createBody() {
  176.30 +        
  176.31 +       
  176.32 +        String contentTag = "<%--Give content name ,contentTypeuuid and version number or contentuuid   --%> \n <cms:getContent contentName=\"\" contentTypeuuid=\"\" contentuuid=\"\" version=\"\" var=\"\" />";
  176.33 +               
  176.34 +        return contentTag;
  176.35 +    }
  176.36 +    
  176.37 +    public boolean handleTransfer(JTextComponent targetComponent) {
  176.38 +       
  176.39 +       
  176.40 +       
  176.41 +        String body = createBody();
  176.42 +        try {
  176.43 +            CMSPaletteUtilities.insert(body, targetComponent);
  176.44 +        } catch (BadLocationException ble) {
  176.45 +            return false;
  176.46 +        }
  176.47 +       return true;
  176.48 +    }
  176.49 + 
  176.50 +    
  176.51 +}
  176.52 +
   177.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   177.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/ContentByNames.java	Thu Jul 10 19:50:39 2008 +0800
   177.3 @@ -0,0 +1,50 @@
   177.4 +/*
   177.5 + * To change this template, choose Tools | Templates
   177.6 + * and open the template in the editor.
   177.7 + */
   177.8 +
   177.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  177.10 +
  177.11 +
  177.12 +
  177.13 +import org.netbeans.modules.portalpack.cms.palette.*;
  177.14 +import javax.swing.text.BadLocationException;
  177.15 +import javax.swing.text.JTextComponent;
  177.16 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  177.17 +import org.openide.text.ActiveEditorDrop;
  177.18 +
  177.19 +/**
  177.20 + *
  177.21 + * @author Joshna
  177.22 + */
  177.23 +public class ContentByNames implements ActiveEditorDrop {
  177.24 +    
  177.25 +   
  177.26 +    public ContentByNames() {
  177.27 +    }
  177.28 +    
  177.29 +    
  177.30 +    private String createBody() {
  177.31 +        
  177.32 +       
  177.33 +        String contentTag = "<%--Give content name ,contentTypeName and categoryName   --%> \n <cms:getContentByNames contentName=\"\" contentTypeName=\"\" categoryName=\"\" var=\"\" />";
  177.34 +               
  177.35 +        return contentTag;
  177.36 +    }
  177.37 +    
  177.38 +    public boolean handleTransfer(JTextComponent targetComponent) {
  177.39 +       
  177.40 +       
  177.41 +       
  177.42 +        String body = createBody();
  177.43 +        try {
  177.44 +            CMSPaletteUtilities.insert(body, targetComponent);
  177.45 +        } catch (BadLocationException ble) {
  177.46 +            return false;
  177.47 +        }
  177.48 +       return true;
  177.49 +    }
  177.50 + 
  177.51 +    
  177.52 +}
  177.53 +
   178.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   178.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/ContentTypeById.java	Thu Jul 10 19:50:39 2008 +0800
   178.3 @@ -0,0 +1,49 @@
   178.4 +/*
   178.5 + * To change this template, choose Tools | Templates
   178.6 + * and open the template in the editor.
   178.7 + */
   178.8 +
   178.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  178.10 +
  178.11 +
  178.12 +import org.netbeans.modules.portalpack.cms.palette.*;
  178.13 +import javax.swing.text.BadLocationException;
  178.14 +import javax.swing.text.JTextComponent;
  178.15 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  178.16 +import org.openide.text.ActiveEditorDrop;
  178.17 +
  178.18 +/**
  178.19 + *
  178.20 + * @author Joshna
  178.21 + */
  178.22 +public class ContentTypeById implements ActiveEditorDrop {
  178.23 +    
  178.24 +   
  178.25 +    public ContentTypeById() {
  178.26 +    }
  178.27 +    
  178.28 +    
  178.29 +    private String createBody() {
  178.30 +        
  178.31 +       
  178.32 +        String contentTypeByIdTag = "<cms:getContentTypeById  uuid=\"\" var=\"\" />";
  178.33 +               
  178.34 +        return contentTypeByIdTag;
  178.35 +    }
  178.36 +    
  178.37 +    public boolean handleTransfer(JTextComponent targetComponent) {
  178.38 +       
  178.39 +       
  178.40 +       
  178.41 +        String body = createBody();
  178.42 +        try {
  178.43 +            CMSPaletteUtilities.insert(body, targetComponent);
  178.44 +        } catch (BadLocationException ble) {
  178.45 +            return false;
  178.46 +        }
  178.47 +       return true;
  178.48 +    }
  178.49 + 
  178.50 +    
  178.51 +}
  178.52 +
   179.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   179.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/ContentVersions.java	Thu Jul 10 19:50:39 2008 +0800
   179.3 @@ -0,0 +1,49 @@
   179.4 +/*
   179.5 + * To change this template, choose Tools | Templates
   179.6 + * and open the template in the editor.
   179.7 + */
   179.8 +
   179.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  179.10 +
  179.11 +
  179.12 +import org.netbeans.modules.portalpack.cms.palette.*;
  179.13 +import javax.swing.text.BadLocationException;
  179.14 +import javax.swing.text.JTextComponent;
  179.15 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  179.16 +import org.openide.text.ActiveEditorDrop;
  179.17 +
  179.18 +/**
  179.19 + *
  179.20 + * @author Joshna
  179.21 + */
  179.22 +public class ContentVersions implements ActiveEditorDrop {
  179.23 +    
  179.24 +   
  179.25 +    public ContentVersions() {
  179.26 +    }
  179.27 +    
  179.28 +    
  179.29 +    private String createBody() {
  179.30 +        
  179.31 +       
  179.32 +        String contentVersionsTag = " <cms:getContentVersions contentName=\"\" contentTypeuuid=\"\" var=\"\" />";
  179.33 +               
  179.34 +        return contentVersionsTag;
  179.35 +    }
  179.36 +    
  179.37 +    public boolean handleTransfer(JTextComponent targetComponent) {
  179.38 +       
  179.39 +       
  179.40 +       
  179.41 +        String body = createBody();
  179.42 +        try {
  179.43 +            CMSPaletteUtilities.insert(body, targetComponent);
  179.44 +        } catch (BadLocationException ble) {
  179.45 +            return false;
  179.46 +        }
  179.47 +       return true;
  179.48 +    }
  179.49 + 
  179.50 +    
  179.51 +}
  179.52 +
   180.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   180.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/ContentView.java	Thu Jul 10 19:50:39 2008 +0800
   180.3 @@ -0,0 +1,49 @@
   180.4 +/*
   180.5 + * To change this template, choose Tools | Templates
   180.6 + * and open the template in the editor.
   180.7 + */
   180.8 +
   180.9 +package org.netbeans.modules.portalpack.cms.palette.items;
  180.10 +
  180.11 +
  180.12 +import org.netbeans.modules.portalpack.cms.palette.*;
  180.13 +import javax.swing.text.BadLocationException;
  180.14 +import javax.swing.text.JTextComponent;
  180.15 +import org.netbeans.modules.portalpack.cms.CMSPaletteUtilities;
  180.16 +import org.openide.text.ActiveEditorDrop;
  180.17 +
  180.18 +/**
  180.19 + *
  180.20 + * @author Joshna
  180.21 + */
  180.22 +public class ContentView implements ActiveEditorDrop {
  180.23 +    
  180.24 +   
  180.25 +    public ContentView() {
  180.26 +    }
  180.27 +    
  180.28 +    
  180.29 +    private String createBody() {
  180.30 +        
  180.31 +       
  180.32 +        String contentViewTag = "<%--Give content name ,contentTypeuuid and version number or contentuuid to embed the content --%> \n <cms:getContentView contentName=\"\" contentTypeuuid=\"\" contentuuid=\"\" version=\"\" />";
  180.33 +               
  180.34 +        return contentViewTag;
  180.35 +    }
  180.36 +    
  180.37 +    public boolean handleTransfer(JTextComponent targetComponent) {
  180.38 +       
  180.39 +       
  180.40 +       
  180.41 +        String body = createBody();
  180.42 +        try {
  180.43 +            CMSPaletteUtilities.insert(body, targetComponent);
  180.44 +        } catch (BadLocationException ble) {
  180.45 +            return false;
  180.46 +        }
  180.47 +       return true;
  180.48 +    }
  180.49 + 
  180.50 +    
  180.51 +}
  180.52 +
   181.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   181.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/AuthContext.xml	Thu Jul 10 19:50:39 2008 +0800
   181.3 @@ -0,0 +1,33 @@
   181.4 +<?xml version="1.0" encoding="UTF-8"?>
   181.5 +<!--
   181.6 +  * The contents of this file are subject to the terms of the Common Development
   181.7 +  * and Distribution License (the License). You may not use this file except in
   181.8 +  * compliance with the License.
   181.9 +  *
  181.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  181.11 +  * or http://www.netbeans.org/cddl.txt.
  181.12 +  *
  181.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  181.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  181.15 +  * If applicable, add the following below the CDDL Header, with the fields
  181.16 +  * enclosed by brackets [] replaced by your own identifying information:
  181.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  181.18 +  *
  181.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  181.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  181.21 +  * Microsystems, Inc. All Rights Reserved.
  181.22 +  */ -->
  181.23 +
  181.24 +
  181.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  181.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  181.27 +
  181.28 +<editor_palette_item version="1.0">
  181.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.AuthContext" />
  181.30 +
  181.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/auth-context16.PNG" />
  181.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/auth-context32.PNG" />
  181.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  181.34 +               display-name-key="NAME_AuthContext"
  181.35 +               tooltip-key="HINT_AuthContext" />
  181.36 +</editor_palette_item>
   182.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   182.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   182.3 @@ -0,0 +1,34 @@
   182.4 +#The contents of this file are subject to the terms of the Common Development
   182.5 +#and Distribution License (the License). You may not use this file except in
   182.6 +#compliance with the License.
   182.7 +#
   182.8 +#You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   182.9 +#or http://www.netbeans.org/cddl.txt.
  182.10 +#
  182.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  182.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  182.13 +# If applicable, add the following below the CDDL Header, with the fields
  182.14 +# enclosed by brackets [] replaced by your own identifying information:
  182.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  182.16 +#  The Original Software is NetBeans. The Initial Developer of the Original
  182.17 +#  Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  182.18 +#  Microsystems, Inc. All Rights Reserved.  
  182.19 +
  182.20 +NAME_Category=Category
  182.21 +HINT_Category=\Taglib for Category Object
  182.22 +NAME_ContentType=Content Type By Id
  182.23 +HINT_ContentType=\Taglib for Content Type Object using uuid
  182.24 +NAME_Content=Content
  182.25 +HINT_Content=\Taglib for Content Object using uuid or content Name ,Content Type uuid
  182.26 +NAME_ContentByNames=Content By Names
  182.27 +HINT_ContentByNames=\Taglib for Content Object using content Name ,Content Type Name and Category Name
  182.28 +NAME_ContentVersions=Content Versions
  182.29 +HINT_ContentVersions=\Taglib for List of Content Versions
  182.30 +NAME_ContentsByType=Contents By Type Id
  182.31 +HINT_ContentsByType=\Taglib for List of Contents by type uuid
  182.32 +NAME_ContentView=Content View
  182.33 +HINT_ContentView=\Taglib for Conten View 
  182.34 +NAME_AuthContext=Auth Context
  182.35 +HINT_AuthContext=\Taglib for Auth Context Object
  182.36 +NAME_Content_Service_Impl=ContentServiceImpl
  182.37 +HINT_Content_Service_Impl=\Code for getting ContentServiceImpl
   183.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   183.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/Category.xml	Thu Jul 10 19:50:39 2008 +0800
   183.3 @@ -0,0 +1,33 @@
   183.4 +<?xml version="1.0" encoding="UTF-8"?>
   183.5 +<!--
   183.6 +  * The contents of this file are subject to the terms of the Common Development
   183.7 +  * and Distribution License (the License). You may not use this file except in
   183.8 +  * compliance with the License.
   183.9 +  *
  183.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  183.11 +  * or http://www.netbeans.org/cddl.txt.
  183.12 +  *
  183.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  183.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  183.15 +  * If applicable, add the following below the CDDL Header, with the fields
  183.16 +  * enclosed by brackets [] replaced by your own identifying information:
  183.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  183.18 +  *
  183.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  183.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  183.21 +  * Microsystems, Inc. All Rights Reserved.
  183.22 +  */ -->
  183.23 +
  183.24 +
  183.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  183.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  183.27 +
  183.28 +<editor_palette_item version="1.0">
  183.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.Category" />
  183.30 +
  183.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/category16.PNG" />
  183.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/category32.PNG" />
  183.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  183.34 +               display-name-key="NAME_Category"
  183.35 +               tooltip-key="HINT_Category" />
  183.36 +</editor_palette_item>
   184.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   184.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/Content.xml	Thu Jul 10 19:50:39 2008 +0800
   184.3 @@ -0,0 +1,33 @@
   184.4 +<?xml version="1.0" encoding="UTF-8"?>
   184.5 +<!--
   184.6 +  * The contents of this file are subject to the terms of the Common Development
   184.7 +  * and Distribution License (the License). You may not use this file except in
   184.8 +  * compliance with the License.
   184.9 +  *
  184.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  184.11 +  * or http://www.netbeans.org/cddl.txt.
  184.12 +  *
  184.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  184.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  184.15 +  * If applicable, add the following below the CDDL Header, with the fields
  184.16 +  * enclosed by brackets [] replaced by your own identifying information:
  184.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  184.18 +  *
  184.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  184.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  184.21 +  * Microsystems, Inc. All Rights Reserved.
  184.22 +  */ -->
  184.23 +
  184.24 +
  184.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  184.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  184.27 +
  184.28 +<editor_palette_item version="1.0">
  184.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.Content" />
  184.30 +
  184.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content16.PNG" />
  184.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content32.PNG" />
  184.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  184.34 +               display-name-key="NAME_Content"
  184.35 +               tooltip-key="HINT_Content" />
  184.36 +</editor_palette_item>
   185.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   185.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentByNames.xml	Thu Jul 10 19:50:39 2008 +0800
   185.3 @@ -0,0 +1,33 @@
   185.4 +<?xml version="1.0" encoding="UTF-8"?>
   185.5 +<!--
   185.6 +  * The contents of this file are subject to the terms of the Common Development
   185.7 +  * and Distribution License (the License). You may not use this file except in
   185.8 +  * compliance with the License.
   185.9 +  *
  185.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  185.11 +  * or http://www.netbeans.org/cddl.txt.
  185.12 +  *
  185.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  185.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  185.15 +  * If applicable, add the following below the CDDL Header, with the fields
  185.16 +  * enclosed by brackets [] replaced by your own identifying information:
  185.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  185.18 +  *
  185.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  185.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  185.21 +  * Microsystems, Inc. All Rights Reserved.
  185.22 +  */ -->
  185.23 +
  185.24 +
  185.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  185.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  185.27 +
  185.28 +<editor_palette_item version="1.0">
  185.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.ContentByNames" />
  185.30 +
  185.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content16.PNG" />
  185.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content32.PNG" />
  185.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  185.34 +               display-name-key="NAME_ContentByNames"
  185.35 +               tooltip-key="HINT_ContentByNames" />
  185.36 +</editor_palette_item>
   186.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   186.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentServiceImpl.xml	Thu Jul 10 19:50:39 2008 +0800
   186.3 @@ -0,0 +1,39 @@
   186.4 +<?xml version="1.0" encoding="UTF-8"?>
   186.5 +<!--
   186.6 +  * The contents of this file are subject to the terms of the Common Development
   186.7 +  * and Distribution License (the License). You may not use this file except in
   186.8 +  * compliance with the License.
   186.9 +  *
  186.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  186.11 +  * or http://www.netbeans.org/cddl.txt.
  186.12 +  *
  186.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  186.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  186.15 +  * If applicable, add the following below the CDDL Header, with the fields
  186.16 +  * enclosed by brackets [] replaced by your own identifying information:
  186.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  186.18 +  *
  186.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  186.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  186.21 +  * Microsystems, Inc. All Rights Reserved.
  186.22 +  */ -->
  186.23 +<!--
  186.24 +    Document   : CheckoutTask.xml
  186.25 +    Created on : March 8, 2007, 12:12 PM
  186.26 +    Author     : Vihang
  186.27 +    Description:
  186.28 +        Purpose of the document follows.
  186.29 +-->
  186.30 +
  186.31 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  186.32 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  186.33 +
  186.34 +<editor_palette_item version="1.0">
  186.35 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.ContentServiceImpl" />
  186.36 +
  186.37 +    <icon16 urlvalue="/org/netbeans/modules/portalpack/cms/palette/items/resources/content16.PNG" />
  186.38 +    <icon32 urlvalue="/org/netbeans/modules/portalpack/cms/palette/items/resources/content32.PNG" />
  186.39 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  186.40 +               display-name-key="NAME__Content_Service_Impl"
  186.41 +               tooltip-key="HINT_Content_Service_Impl" />
  186.42 +</editor_palette_item>
  186.43 \ No newline at end of file
   187.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   187.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentType.xml	Thu Jul 10 19:50:39 2008 +0800
   187.3 @@ -0,0 +1,33 @@
   187.4 +<?xml version="1.0" encoding="UTF-8"?>
   187.5 +<!--
   187.6 +  * The contents of this file are subject to the terms of the Common Development
   187.7 +  * and Distribution License (the License). You may not use this file except in
   187.8 +  * compliance with the License.
   187.9 +  *
  187.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  187.11 +  * or http://www.netbeans.org/cddl.txt.
  187.12 +  *
  187.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  187.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  187.15 +  * If applicable, add the following below the CDDL Header, with the fields
  187.16 +  * enclosed by brackets [] replaced by your own identifying information:
  187.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  187.18 +  *
  187.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  187.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  187.21 +  * Microsystems, Inc. All Rights Reserved.
  187.22 +  */ -->
  187.23 +
  187.24 +
  187.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  187.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  187.27 +
  187.28 +<editor_palette_item version="1.0">
  187.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.ContentTypeById" />
  187.30 +
  187.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content-type16.PNG" />
  187.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content-type32.PNG" />
  187.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  187.34 +               display-name-key="NAME_ContentType"
  187.35 +               tooltip-key="HINT_ContentType" />
  187.36 +</editor_palette_item>
   188.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   188.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentVersions.xml	Thu Jul 10 19:50:39 2008 +0800
   188.3 @@ -0,0 +1,33 @@
   188.4 +<?xml version="1.0" encoding="UTF-8"?>
   188.5 +<!--
   188.6 +  * The contents of this file are subject to the terms of the Common Development
   188.7 +  * and Distribution License (the License). You may not use this file except in
   188.8 +  * compliance with the License.
   188.9 +  *
  188.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  188.11 +  * or http://www.netbeans.org/cddl.txt.
  188.12 +  *
  188.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  188.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  188.15 +  * If applicable, add the following below the CDDL Header, with the fields
  188.16 +  * enclosed by brackets [] replaced by your own identifying information:
  188.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  188.18 +  *
  188.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  188.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  188.21 +  * Microsystems, Inc. All Rights Reserved.
  188.22 +  */ -->
  188.23 +
  188.24 +
  188.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  188.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  188.27 +
  188.28 +<editor_palette_item version="1.0">
  188.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.ContentVersions" />
  188.30 +
  188.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content-versions16.PNG" />
  188.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content-versions32.PNG" />
  188.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  188.34 +               display-name-key="NAME_ContentVersions"
  188.35 +               tooltip-key="HINT_ContentVersions" />
  188.36 +</editor_palette_item>
   189.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   189.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentView.xml	Thu Jul 10 19:50:39 2008 +0800
   189.3 @@ -0,0 +1,33 @@
   189.4 +<?xml version="1.0" encoding="UTF-8"?>
   189.5 +<!--
   189.6 +  * The contents of this file are subject to the terms of the Common Development
   189.7 +  * and Distribution License (the License). You may not use this file except in
   189.8 +  * compliance with the License.
   189.9 +  *
  189.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  189.11 +  * or http://www.netbeans.org/cddl.txt.
  189.12 +  *
  189.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  189.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  189.15 +  * If applicable, add the following below the CDDL Header, with the fields
  189.16 +  * enclosed by brackets [] replaced by your own identifying information:
  189.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  189.18 +  *
  189.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  189.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  189.21 +  * Microsystems, Inc. All Rights Reserved.
  189.22 +  */ -->
  189.23 +
  189.24 +
  189.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  189.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  189.27 +
  189.28 +<editor_palette_item version="1.0">
  189.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.ContentView" />
  189.30 +
  189.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content-view16.PNG" />
  189.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/content-view32.PNG" />
  189.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  189.34 +               display-name-key="NAME_ContentView"
  189.35 +               tooltip-key="HINT_ContentView" />
  189.36 +</editor_palette_item>
   190.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   190.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/ContentsByType.xml	Thu Jul 10 19:50:39 2008 +0800
   190.3 @@ -0,0 +1,33 @@
   190.4 +<?xml version="1.0" encoding="UTF-8"?>
   190.5 +<!--
   190.6 +  * The contents of this file are subject to the terms of the Common Development
   190.7 +  * and Distribution License (the License). You may not use this file except in
   190.8 +  * compliance with the License.
   190.9 +  *
  190.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  190.11 +  * or http://www.netbeans.org/cddl.txt.
  190.12 +  *
  190.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  190.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  190.15 +  * If applicable, add the following below the CDDL Header, with the fields
  190.16 +  * enclosed by brackets [] replaced by your own identifying information:
  190.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  190.18 +  *
  190.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  190.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  190.21 +  * Microsystems, Inc. All Rights Reserved.
  190.22 +  */ -->
  190.23 +
  190.24 +
  190.25 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN"
  190.26 +  "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
  190.27 +
  190.28 +<editor_palette_item version="1.0">
  190.29 +    <class name="org.netbeans.modules.portalpack.cms.palette.items.ContentsByTypeId" />
  190.30 +
  190.31 +     <icon16 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/contents-bytype16.PNG" />
  190.32 +    <icon32 urlvalue="org/netbeans/modules/portalpack/cms/palette/items/resources/contents-bytype32.PNG" />
  190.33 +    <description localizing-bundle="org.netbeans.modules.portalpack.cms.palette.items.resources.Bundle"
  190.34 +               display-name-key="NAME_ContentsByType"
  190.35 +               tooltip-key="HINT_ContentsByType" />
  190.36 +</editor_palette_item>
   191.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/auth-context16.PNG has changed
   192.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/auth-context32.PNG has changed
   193.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/category16.PNG has changed
   194.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/category32.PNG has changed
   195.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content-type16.PNG has changed
   196.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content-type32.PNG has changed
   197.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content-versions16.PNG has changed
   198.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content-versions32.PNG has changed
   199.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content-view16.PNG has changed
   200.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content-view32.PNG has changed
   201.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content16.PNG has changed
   202.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/content32.PNG has changed
   203.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/contents-bytype16.PNG has changed
   204.1 Binary file portalpack.cms/src/org/netbeans/modules/portalpack/cms/palette/items/resources/contents-bytype32.PNG has changed
   205.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   205.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/portalJCR1.0.xml	Thu Jul 10 19:50:39 2008 +0800
   205.3 @@ -0,0 +1,39 @@
   205.4 +<?xml version="1.0" encoding="UTF-8"?>
   205.5 +<!--
   205.6 +  * The contents of this file are subject to the terms of the Common Development
   205.7 +  * and Distribution License (the License). You may not use this file except in
   205.8 +  * compliance with the License.
   205.9 +  *
  205.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  205.11 +  * or http://www.netbeans.org/cddl.txt.
  205.12 +  *
  205.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  205.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  205.15 +  * If applicable, add the following below the CDDL Header, with the fields
  205.16 +  * enclosed by brackets [] replaced by your own identifying information:
  205.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  205.18 +  *
  205.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  205.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  205.21 +  * Microsystems, Inc. All Rights Reserved.
  205.22 +*/ -->
  205.23 +<!DOCTYPE library PUBLIC "-//NetBeans//DTD Library Declaration 1.0//EN" "http://www.netbeans.org/dtds/library-declaration-1_0.dtd">
  205.24 +<library version="1.0">
  205.25 +    <name>cms</name>
  205.26 +    <type>j2se</type>
  205.27 +    <localizing-bundle>org.netbeans.modules.portalpack.cms.Bundle</localizing-bundle>
  205.28 +    <volume>
  205.29 +        <type>classpath</type>
  205.30 +        <resource>jar:nbinst:///modules/ext/portalpack/cms/mirage-api-0.1.jar!/</resource>
  205.31 +        <resource>jar:nbinst:///modules/ext/portalpack/cms/mirage-jcr-impl-0.1.jar!/</resource>
  205.32 +    </volume>
  205.33 +    <volume>
  205.34 +        <type>src</type>
  205.35 +        
  205.36 +    </volume>
  205.37 +<!--    <volume>
  205.38 +        <type>javadoc</type>            
  205.39 +        <resource>jar:nbinst:///modules/ext/portalpack/cms/mirage-apidocs-0.1.jar!/</resource>
  205.40 +    </volume>-->
  205.41 +</library>
  205.42 +
   206.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   206.2 +++ b/portalpack.cms/src/org/netbeans/modules/portalpack/cms/portalJCRTagLib1.0.xml	Thu Jul 10 19:50:39 2008 +0800
   206.3 @@ -0,0 +1,39 @@
   206.4 +<?xml version="1.0" encoding="UTF-8"?>
   206.5 +<!--
   206.6 +  * The contents of this file are subject to the terms of the Common Development
   206.7 +  * and Distribution License (the License). You may not use this file except in
   206.8 +  * compliance with the License.
   206.9 +  *
  206.10 +  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  206.11 +  * or http://www.netbeans.org/cddl.txt.
  206.12 +  *
  206.13 +  * When distributing Covered Code, include this CDDL Header Notice in each file
  206.14 +  * and include the License file at http://www.netbeans.org/cddl.txt.
  206.15 +  * If applicable, add the following below the CDDL Header, with the fields
  206.16 +  * enclosed by brackets [] replaced by your own identifying information:
  206.17 +  * "Portions Copyrighted [year] [name of copyright owner]"
  206.18 +  *
  206.19 +  * The Original Software is NetBeans. The Initial Developer of the Original
  206.20 +  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  206.21 +  * Microsystems, Inc. All Rights Reserved.
  206.22 +*/ -->
  206.23 +<!DOCTYPE library PUBLIC "-//NetBeans//DTD Library Declaration 1.0//EN" "http://www.netbeans.org/dtds/library-declaration-1_0.dtd">
  206.24 +
  206.25 +<library version="1.0">
  206.26 +    <name>cmstaglib</name>
  206.27 +    <type>j2se</type>
  206.28 +    <localizing-bundle>org.netbeans.modules.portalpack.cms.Bundle</localizing-bundle>
  206.29 +    <volume>
  206.30 +        <type>classpath</type>
  206.31 +        <resource>jar:nbinst:///modules/ext/portalpack/cmstaglib/mirage-taglibs-0.1.jar!/</resource>
  206.32 +        <resource>jar:nbinst:///modules/ext/portalpack/cmstaglib/usermanager-0.5.jar!/</resource>
  206.33 +    </volume>
  206.34 +    <volume>
  206.35 +        <type>src</type>
  206.36 +        
  206.37 +    </volume>
  206.38 +<!--    <volume>
  206.39 +        <type>javadoc</type>            
  206.40 +        <resource>jar:nbinst:///modules/ext/portalpack/cms/mirage-apidocs-0.1.jar!/</resource>
  206.41 +    </volume>-->
  206.42 +</library>
   207.1 --- a/portalpack.jsfportletbridge/l10n/build.xml	Thu Jul 10 19:13:29 2008 +0800
   207.2 +++ b/portalpack.jsfportletbridge/l10n/build.xml	Thu Jul 10 19:50:39 2008 +0800
   207.3 @@ -50,5 +50,11 @@
   207.4          </copy>
   207.5       </target>
   207.6  
   207.7 -      
   207.8 +     <target name="copyL10n">
   207.9 +		 <echo message="${l10n.src.dir}"/>
  207.10 +		 <copy todir=".">
  207.11 +			<fileset dir="${l10n.src.dir}"/>			
  207.12 +			<mapper type="glob" from="src" to="l10n/${locale}"/>
  207.13 +		 </copy>
  207.14 +	 </target>
  207.15  </project>
   208.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   208.2 +++ b/portalpack.jsfportletbridge/l10n/ja/org/netbeans/modules/portalpack/jsfportletbridge/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   208.3 @@ -0,0 +1,11 @@
   208.4 +OpenIDE-Module-Display-Category=PortalPack
   208.5 +OpenIDE-Module-Long-Description=\u3053\u308c\u306f JSF Portlet Bridge \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30e9\u30c3\u30d1\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002JSF Portlet Bridge \u306f\u3001\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u74b0\u5883\u5185\u3067 JSF \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u53ef\u80fd\u306b\u3059\u308b\u7d71\u5408\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002JSF Portlet Bridge \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001https://jsfportletbridge.dev.java.net/ \u304b\u3089\u5165\u624b\u3067\u304d\u307e\u3059\u3002
   208.6 +OpenIDE-Module-Name=JSF Portlet Bridge \u30e9\u30a4\u30d6\u30e9\u30ea
   208.7 +
   208.8 +jsf-portlet-runtime-1.1=JSF Portlet Bridge 1.1 \u30e9\u30a4\u30d6\u30e9\u30ea
   208.9 +jsf-portlet-runtime-1.2=JSF Portlet Bridge 1.2 \u30e9\u30a4\u30d6\u30e9\u30ea
  208.10 +
  208.11 +jsf-portlet-runtime=OpenPortal JSF Portlet Bridge \u306e\u30b5\u30dd\u30fc\u30c8 - \u975e\u63a8\u5968
  208.12 +OpenIDE-Module-Short-Description=JSF Portlet Bridge \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30e9\u30c3\u30d1\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb
  208.13 +portlet-runtime=Sun Web \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 - \u975e\u63a8\u5968
  208.14 +
   209.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   209.2 +++ b/portalpack.jsfportletbridge/l10n/pt_BR/org/netbeans/modules/portalpack/jsfportletbridge/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   209.3 @@ -0,0 +1,11 @@
   209.4 +OpenIDE-Module-Display-Category=PortalPack
   209.5 +OpenIDE-Module-Long-Description=Este \u00e9 um m\u00f3dulo de wrapper para biblioteca JSF Portlet Bridge. JSF Portlet Bridge \u00e9 uma biblioteca de integra\u00e7\u00e3o que permite que os aplicativos JSF sejam executados em um ambiente de portlet. O projeto JSF Portlet Bridge \u00e9 um projeto de c\u00f3digo-fonte aberto dispon\u00edvel em https://jsfportletbridge.dev.java.net/
   209.6 +OpenIDE-Module-Name=Biblioteca JSF Portlet Bridge
   209.7 +
   209.8 +jsf-portlet-runtime-1.1=Biblioteca JSF Portlet Bridge 1.1
   209.9 +jsf-portlet-runtime-1.2=Biblioteca JSF Portlet Bridge 1.2
  209.10 +
  209.11 +jsf-portlet-runtime=Suporte a OpenPortal JSF Portlet Bridge - Substitu\u00eddo
  209.12 +OpenIDE-Module-Short-Description=M\u00f3dulo de wrapper da biblioteca JSF Portlet Bridge
  209.13 +portlet-runtime=Sun Web Portlet - Substitu\u00eddo
  209.14 +
   210.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   210.2 +++ b/portalpack.jsfportletbridge/l10n/zh_CN/org/netbeans/modules/portalpack/jsfportletbridge/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   210.3 @@ -0,0 +1,11 @@
   210.4 +OpenIDE-Module-Display-Category=PortalPack
   210.5 +OpenIDE-Module-Long-Description=\u8fd9\u662f JSF Portlet Bridge \u5e93\u7684\u5305\u88c5\u6a21\u5757\u3002JSF Portlet Bridge \u662f\u4e00\u4e2a\u96c6\u6210\u5e93\uff0cJSF \u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7\u8be5\u5e93\u5728 Portlet \u73af\u5883\u4e2d\u8fd0\u884c\u3002JSF Portlet Bridge \u9879\u76ee\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u9879\u76ee\uff0c\u53ef\u4ee5\u4ece https://jsfportletbridge.dev.java.net/ \u83b7\u53d6\u8be5\u9879\u76ee
   210.6 +OpenIDE-Module-Name=JSF Portlet Bridge \u5e93
   210.7 +
   210.8 +jsf-portlet-runtime-1.1=JSF Portlet Bridge 1.1 \u5e93
   210.9 +jsf-portlet-runtime-1.2=JSF Portlet Bridge 1.2 \u5e93
  210.10 +
  210.11 +jsf-portlet-runtime=OpenPortal JSF Portlet Bridge \u652f\u6301 - \u5df2\u8fc7\u65f6
  210.12 +OpenIDE-Module-Short-Description=JSF Portlet Bridge \u5e93\u7684\u5305\u88c5\u6a21\u5757
  210.13 +portlet-runtime=Sun Web Portlet - \u5df2\u8fc7\u65f6
  210.14 +
   211.1 --- a/portalpack.portlets.genericportlets/l10n/build.xml	Thu Jul 10 19:13:29 2008 +0800
   211.2 +++ b/portalpack.portlets.genericportlets/l10n/build.xml	Thu Jul 10 19:50:39 2008 +0800
   211.3 @@ -48,5 +48,13 @@
   211.4               <fileset dir="l10n/zh_CN"/>  
   211.5           </copy>
   211.6       </target>
   211.7 +	 
   211.8 +	 <target name="copyL10n">
   211.9 +		 <echo message="${l10n.src.dir}"/>
  211.10 +		 <copy todir=".">
  211.11 +			<fileset dir="${l10n.src.dir}"/>			
  211.12 +			<mapper type="glob" from="src" to="l10n/${locale}"/>
  211.13 +		 </copy>
  211.14 +	 </target>
  211.15        
  211.16  </project>
   212.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   212.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   212.3 @@ -0,0 +1,38 @@
   212.4 +#
   212.5 +# The contents of this file are subject to the terms of the Common Development
   212.6 +# and Distribution License (the License). You may not use this file except in
   212.7 +# compliance with the License.
   212.8 +#
   212.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  212.10 +# or http://www.netbeans.org/cddl.txt.
  212.11 +
  212.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  212.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  212.14 +# If applicable, add the following below the CDDL Header, with the fields
  212.15 +# enclosed by brackets [] replaced by your own identifying information:
  212.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  212.17 +#
  212.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  212.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  212.20 +# Microsystems, Inc. All Rights Reserved.
  212.21 +#
  212.22 +
  212.23 +OpenIDE-Module-Display-Category=PortalPack
  212.24 +OpenIDE-Module-Long-Description=\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001NetBeans IDE \u3067\u306e JSR 168/286 \u30d9\u30fc\u30b9\u306e\u6c4e\u7528\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u958b\u767a\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002
  212.25 +OpenIDE-Module-Name=\u6c4e\u7528\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8
  212.26 +
  212.27 +OpenIDE-Module-Short-Description=JSR 168 \u30d9\u30fc\u30b9\u306e\u6c4e\u7528\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3
  212.28 +Services/MIMEResolver/PortletResolver.xml=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb
  212.29 +Services/MIMEResolver/PortletXMLResolver.xml=PortletXML \u30d5\u30a1\u30a4\u30eb
  212.30 +Templates/JSP_Servlet/Portlet=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8
  212.31 +Templates/JSP_Servlet/PortletFilter=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30d5\u30a3\u30eb\u30bf
  212.32 +#NOI18N
  212.33 +#update_center=http://webhome.sfbay.sun.com/portalserver/PortalTooling/updates/nb6/updates.xml
  212.34 +#Services/AutoupdateType/portalpack_update_center.settings=Portal Pack 2.0 For NetBeans 6 Update Center=======
  212.35 +Templates/Other/PortletXMLTemplate.xml=\u7a7a\u306e PortletXML \u30d5\u30a1\u30a4\u30eb
  212.36 +
  212.37 +#Library Display Name
  212.38 +Portlet-1.0-Lib=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 1.0(JSR 168) \u30e9\u30a4\u30d6\u30e9\u30ea
  212.39 +Portlet-2.0-Lib=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 2.0(JSR 286) \u30e9\u30a4\u30d6\u30e9\u30ea
  212.40 +
  212.41 +
   213.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   213.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/core/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   213.3 @@ -0,0 +1,20 @@
   213.4 +#
   213.5 +# The contents of this file are subject to the terms of the Common Development
   213.6 +# and Distribution License (the License). You may not use this file except in
   213.7 +# compliance with the License.
   213.8 +#
   213.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  213.10 +# or http://www.netbeans.org/cddl.txt.
  213.11 +
  213.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  213.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  213.14 +# If applicable, add the following below the CDDL Header, with the fields
  213.15 +# enclosed by brackets [] replaced by your own identifying information:
  213.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  213.17 +#
  213.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  213.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  213.20 +# Microsystems, Inc. All Rights Reserved.
  213.21 +#
  213.22 +
  213.23 +# Sample ResourceBundle properties file
   214.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   214.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/core/codegen/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   214.3 @@ -0,0 +1,20 @@
   214.4 +#
   214.5 +# The contents of this file are subject to the terms of the Common Development
   214.6 +# and Distribution License (the License). You may not use this file except in
   214.7 +# compliance with the License.
   214.8 +#
   214.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  214.10 +# or http://www.netbeans.org/cddl.txt.
  214.11 +
  214.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  214.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  214.14 +# If applicable, add the following below the CDDL Header, with the fields
  214.15 +# enclosed by brackets [] replaced by your own identifying information:
  214.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  214.17 +#
  214.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  214.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  214.20 +# Microsystems, Inc. All Rights Reserved.
  214.21 +#
  214.22 +
  214.23 +# Sample ResourceBundle properties file
   215.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   215.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/core/component/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   215.3 @@ -0,0 +1,26 @@
   215.4 +#
   215.5 +# The contents of this file are subject to the terms of the Common Development
   215.6 +# and Distribution License (the License). You may not use this file except in
   215.7 +# compliance with the License.
   215.8 +#
   215.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  215.10 +# or http://www.netbeans.org/cddl.txt.
  215.11 +
  215.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  215.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  215.14 +# If applicable, add the following below the CDDL Header, with the fields
  215.15 +# enclosed by brackets [] replaced by your own identifying information:
  215.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  215.17 +#
  215.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  215.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  215.20 +# Microsystems, Inc. All Rights Reserved.
  215.21 +#
  215.22 +
  215.23 +
  215.24 +Msg_Not_a_valid_class_name=\u6709\u52b9\u306a\u30af\u30e9\u30b9\u540d\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  215.25 +
  215.26 +#NOI18N
  215.27 +MSG_ERROR=\u30a8\u30e9\u30fc
  215.28 +
  215.29 +MSG_Invalid_WEB-INF_Directory=\u7121\u52b9\u306a WEB-INF \u30c7\u30a3\u30ec\u30af\u30c8\u30ea
   216.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   216.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/core/metagen/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   216.3 @@ -0,0 +1,20 @@
   216.4 +#
   216.5 +# The contents of this file are subject to the terms of the Common Development
   216.6 +# and Distribution License (the License). You may not use this file except in
   216.7 +# compliance with the License.
   216.8 +#
   216.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  216.10 +# or http://www.netbeans.org/cddl.txt.
  216.11 +
  216.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  216.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  216.14 +# If applicable, add the following below the CDDL Header, with the fields
  216.15 +# enclosed by brackets [] replaced by your own identifying information:
  216.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  216.17 +#
  216.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  216.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  216.20 +# Microsystems, Inc. All Rights Reserved.
  216.21 +#
  216.22 +
  216.23 +# Sample ResourceBundle properties file
   217.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   217.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/core/util/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   217.3 @@ -0,0 +1,38 @@
   217.4 +#
   217.5 +# The contents of this file are subject to the terms of the Common Development
   217.6 +# and Distribution License (the License). You may not use this file except in
   217.7 +# compliance with the License.
   217.8 +#
   217.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  217.10 +# or http://www.netbeans.org/cddl.txt.
  217.11 +
  217.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  217.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  217.14 +# If applicable, add the following below the CDDL Header, with the fields
  217.15 +# enclosed by brackets [] replaced by your own identifying information:
  217.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  217.17 +#
  217.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  217.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  217.20 +# Microsystems, Inc. All Rights Reserved.
  217.21 +#
  217.22 +
  217.23 +# Sample ResourceBundle properties file
  217.24 +
  217.25 +LBL_OK=\u4e86\u89e3
  217.26 +
  217.27 +LBL_Cancel=\u53d6\u6d88\u3057
  217.28 +
  217.29 +MSG_ALREADY_EXISTS=\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059\u3002\u672c\u5f53\u306b\u4e0a\u66f8\u304d\u3057\u307e\u3059\u304b ?
  217.30 +
  217.31 +LBL_Overwrite_Warning=\u4e0a\u66f8\u304d\u8b66\u544a
  217.32 +
  217.33 +
  217.34 +#### Error messages
  217.35 +MSG_invalid_filename=\u7121\u52b9\u306a\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3059
  217.36 +
  217.37 +MSG_fs_is_readonly=<html>\u30bf\u30fc\u30b2\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0\u304c\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u3059\u3002</html>
  217.38 +MSG_file_already_exist=\u30d5\u30a1\u30a4\u30eb\u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
  217.39 +MSG_file_already_exist=\u30d5\u30a1\u30a4\u30eb\u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
  217.40 +
  217.41 +TXT_CantUpdatePortletXML=Portlet.xml \u306f\u66f4\u65b0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
   218.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   218.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/eventing/impl/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   218.3 @@ -0,0 +1,40 @@
   218.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   218.5 +# 
   218.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   218.7 +# 
   218.8 +# The contents of this file are subject to the terms of either the GNU
   218.9 +# General Public License Version 2 only ("GPL") or the Common
  218.10 +# Development and Distribution License("CDDL") (collectively, the
  218.11 +# "License"). You may not use this file except in compliance with the
  218.12 +# License. You can obtain a copy of the License at
  218.13 +# http://www.netbeans.org/cddl-gplv2.html
  218.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  218.15 +# specific language governing permissions and limitations under the
  218.16 +# License.  When distributing the software, include this License Header
  218.17 +# Notice in each file and include the License file at
  218.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  218.19 +# particular file as subject to the "Classpath" exception as provided
  218.20 +# by Sun in the GPL Version 2 section of the License file that
  218.21 +# accompanied this code. If applicable, add the following below the
  218.22 +# License Header, with the fields enclosed by brackets [] replaced by
  218.23 +# your own identifying information:
  218.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  218.25 +# 
  218.26 +# If you wish your version of this file to be governed by only the CDDL
  218.27 +# or only the GPL Version 2, indicate your decision by adding
  218.28 +# "[Contributor] elects to include this software in this distribution
  218.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  218.30 +# single choice of license, a recipient has the option to distribute
  218.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  218.32 +# to extend the choice of license to its licensees as provided above.
  218.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  218.34 +# Version 2 license, then the option applies only if the new code is
  218.35 +# made subject to such option by the copyright holder.
  218.36 +# 
  218.37 +# Contributor(s):
  218.38 +# 
  218.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  218.40 +
  218.41 +MSG_WANT_TO_DELETE_EVENT_DEFINITION=\u30a4\u30d9\u30f3\u30c8 {0} \u306e\u53c2\u7167\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n\u30a4\u30d9\u30f3\u30c8\u5b9a\u7fa9\u3082\u524a\u9664\u3057\u307e\u3059\u304b ?
  218.42 +MSG_A_METHOD_WITH_SAME_NAME_EXISTS=\u6307\u5b9a\u3055\u308c\u305f\u540d\u524d\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059\u3002
  218.43 +MSG_WARNING_PROCESS_EVENT_METHOD_EXISTS=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30af\u30e9\u30b9\u306f\u3001GenericPortlet \u30af\u30e9\u30b9\u3067\u5b9a\u7fa9\u3055\u308c\u305f processEvent(EventRequest\u3001EventResponse) \u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u307e\u3059\u3002\n\u305d\u306e\u305f\u3081\u3001\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u3001processEvent \u30e1\u30bd\u30c3\u30c9\u304b\u3089\u65b0\u3057\u304f\u751f\u6210\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002
   219.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   219.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/impl/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   219.3 @@ -0,0 +1,27 @@
   219.4 +#
   219.5 +# The contents of this file are subject to the terms of the Common Development
   219.6 +# and Distribution License (the License). You may not use this file except in
   219.7 +# compliance with the License.
   219.8 +#
   219.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  219.10 +# or http://www.netbeans.org/cddl.txt.
  219.11 +
  219.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  219.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  219.14 +# If applicable, add the following below the CDDL Header, with the fields
  219.15 +# enclosed by brackets [] replaced by your own identifying information:
  219.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  219.17 +#
  219.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  219.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  219.20 +# Microsystems, Inc. All Rights Reserved.
  219.21 +#
  219.22 +
  219.23 +PORTLET_FILTER_MAPPING_ALREADY_PRESENT=\u3053\u306e\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u304a\u3088\u3073\u30d5\u30a3\u30eb\u30bf\u306b\u306f FilterMapping \u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
  219.24 +
  219.25 +NOT_A_VALID_IDENTIFIER=\u6709\u52b9\u306a\u8b58\u5225\u5b50\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  219.26 +NOT_A_VALID_LOCAL_PART=\u6709\u52b9\u306a\u5c40\u6240\u90e8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  219.27 +SUPPORTED_PUBLIC_RENDER_PARAMETER_ALREADY_PRESENT=\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
  219.28 +MSG_IDENTIFIER_EXISTS=\u540c\u3058\u8b58\u5225\u5b50 {0} \u3092\u6301\u3064\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059\u3002
  219.29 +MSG_PRP_WITH_SAME_VALUE_EXIST_FOR_ID=\u5024\u306f\u540c\u3058\u3067\u3042\u308b\u304c\u8b58\u5225\u5b50 "{0}" \u304c\u7570\u306a\u308b\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 \n\u3053\u308c\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b ?\n\u65e2\u5b58\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f "Yes" \u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\u65b0\u3057\u304f\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f "No" \u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  219.30 +MSG_PRP_IS_NOT_USED_WANT_TO_DELETE=ID "{0}" \u3092\u6301\u3064\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u3001\u307b\u304b\u306e\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3067\u306f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\n\u5b8c\u5168\u306b\u524a\u9664\u3057\u307e\u3059\u304b ?
   220.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   220.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/impl/sun/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   220.3 @@ -0,0 +1,28 @@
   220.4 +
   220.5 +GenerateEventDialog.generateNewMthodLabel.text=\u65b0\u898f\u30e1\u30bd\u30c3\u30c9\u306e\u751f\u6210
   220.6 +
   220.7 +GenerateEventDialog.methodNameTxt.text=
   220.8 +
   220.9 +GenerateEventDialog.eventNameTf.text=
  220.10 +
  220.11 +GenerateEventDialog.portletNameTf.text=
  220.12 +
  220.13 +GenerateEventDialog.title=\u65b0\u898f\u30a4\u30d9\u30f3\u30c8\u306e\u751f\u6210
  220.14 +
  220.15 +GenerateEventDialog.ok.text=\u4e86\u89e3
  220.16 +
  220.17 +GenerateEventDialog.cancel.text=\u53d6\u6d88\u3057
  220.18 +LBL_MethodName=\u30e1\u30bd\u30c3\u30c9\u540d
  220.19 +ACC_Generate_Code=\u30b3\u30fc\u30c9\u3092\u751f\u6210
  220.20 +LBL_Event_Name=\u30a4\u30d9\u30f3\u30c8\u540d
  220.21 +LBL_Portlet_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d
  220.22 +LBL_Modified_Java_File=\u5909\u66f4\u6e08\u307f Java \u30d5\u30a1\u30a4\u30eb
  220.23 +LBL_Ok=\u4e86\u89e3
  220.24 +LBL_Cancel=\u53d6\u6d88\u3057
  220.25 +ACC_Event_Parameters=\u30a4\u30d9\u30f3\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf
  220.26 +
  220.27 +GenerateEventDialog.generateSourcePanel.border.title=\u30bd\u30fc\u30b9\u306e\u751f\u6210
  220.28 +GenerateEventDialog.eventParametersPanel.border.title=\u30a4\u30d9\u30f3\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf
  220.29 +GenerateEventDialog.eventNameLabel.text=\u30a4\u30d9\u30f3\u30c8\u540d
  220.30 +GenerateEventDialog.portletNameLabel.text=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d
  220.31 +GenerateEventDialog.addToExistingMethodCB.text=\u65e2\u5b58\u306e\u30e1\u30bd\u30c3\u30c9\u306b\u8ffd\u52a0
   221.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   221.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/filters/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   221.3 @@ -0,0 +1,75 @@
   221.4 +# The contents of this file are subject to the terms of the Common Development
   221.5 +# and Distribution License (the License). You may not use this file except in
   221.6 +# compliance with the License.
   221.7 +#
   221.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   221.9 +# or http://www.netbeans.org/cddl.txt.
  221.10 +#
  221.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  221.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  221.13 +# If applicable, add the following below the CDDL Header, with the fields
  221.14 +# enclosed by brackets [] replaced by your own identifying information:
  221.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  221.16 +#
  221.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  221.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  221.19 +# Microsystems, Inc. All Rights Reserved.
  221.20 +
  221.21 +# Generic labels, used in several places
  221.22 +LBL_newdots=\u65b0\u898f...
  221.23 +LBL_new_mnemonic=N
  221.24 +LBL_delete=\u524a\u9664
  221.25 +LBL_delete_mnemonic=D
  221.26 +LBL_move_up=\u4e0a\u3078\u79fb\u52d5
  221.27 +LBL_move_up_mnemonic=U
  221.28 +LBL_move_down=\u4e0b\u3078\u79fb\u52d5
  221.29 +LBL_move_down_mnemonic=O
  221.30 +LBL_edit=\u7de8\u96c6...
  221.31 +LBL_edit_mnemonic=E
  221.32 +LBL_OK=\u4e86\u89e3
  221.33 +
  221.34 +# NewObjectPanel
  221.35 +
  221.36 +#### Error messages
  221.37 +
  221.38 +MSG_fs_is_readonly=<html>\u30bf\u30fc\u30b2\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0\u304c\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u3059\u3002</html>
  221.39 +
  221.40 +LBL_filter_mappings=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0:
  221.41 +LBL_filter_mappings_mnemonic=I
  221.42 +ACSD_filter_mappings=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0
  221.43 +ACSD_filter_mappings_desc=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0\u8868
  221.44 +ACSD_filter_mappings_new=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u8ffd\u52a0
  221.45 +ACSD_filter_mappings_edit=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u7de8\u96c6
  221.46 +ACSD_filter_mappings_delete=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u524a\u9664
  221.47 +ACSD_filter_mappings_up=\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u4e0a\u3078
  221.48 +ACSD_filter_mappings_down=\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u4e0b\u3078
  221.49 +
  221.50 +MSG_invalid_filename={0} \u306f\u4e0d\u6b63\u306a\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3059\u3002
  221.51 +
  221.52 +LBL_RequestListener_Mnemonic=r
  221.53 +
  221.54 +LBL_RequestAttrListener_Mnemonic=q
  221.55 +
  221.56 +
  221.57 +MSG_FILTER_NOT_ALLOWED=\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u30d5\u30a3\u30eb\u30bf\u306f\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093
  221.58 +
  221.59 +LBL_RENDER=\u63cf\u753b
  221.60 +
  221.61 +LBL_ACTION=\u30a2\u30af\u30b7\u30e7\u30f3
  221.62 +
  221.63 +LBL_EVENT=\u30a4\u30d9\u30f3\u30c8
  221.64 +
  221.65 +LBL_RESOURCE=\u30ea\u30bd\u30fc\u30b9
  221.66 +
  221.67 +LBL_FILTER_NAME=\u30d5\u30a3\u30eb\u30bf\u540d
  221.68 +
  221.69 +LBL_INIT_PARAMS=\u521d\u671f\u5316\u30d1\u30e9\u30e1\u30fc\u30bf
  221.70 +
  221.71 +LBL_FILTER_TYPE=\u30d5\u30a3\u30eb\u30bf\u30bf\u30a4\u30d7
  221.72 +
  221.73 +LBL_ADD=\u8ffd\u52a0
  221.74 +
  221.75 +LBL_DELETE=\u524a\u9664
  221.76 +
  221.77 +TTL_NEW_FILTER=\u65b0\u898f\u30d5\u30a3\u30eb\u30bf\u30af\u30e9\u30b9
  221.78 +TTL_FILTER_MAPPING=\u30d5\u30a3\u30eb\u30bf\u30de\u30c3\u30d4\u30f3\u30b0
   222.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   222.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/filters/newFilterWizard_ja.html	Thu Jul 10 19:50:39 2008 +0800
   222.3 @@ -0,0 +1,8 @@
   222.4 +<html>
   222.5 +    <head>
   222.6 +        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   222.7 +    </head>
   222.8 +  <body>
   222.9 +    ãƒãƒ¼ãƒˆãƒ¬ãƒƒãƒˆãƒ•ã‚£ãƒ«ã‚¿ã®ä½œæˆ
  222.10 +  </body>
  222.11 +</html>
   223.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   223.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   223.3 @@ -0,0 +1,50 @@
   223.4 +LBL_PORTLET_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d(&P):
   223.5 +LBL_PORTLET_DISPLAY_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8868\u793a\u540d(&D):
   223.6 +LBL_PORTLET_DESC=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e(&C):
   223.7 +LBL_PORTLET_TITLE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb(&T):
   223.8 +LBL_PORTLET_SHORT_TITLE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb(&H):
   223.9 +LBL_PORTLET_MODE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30e2\u30fc\u30c9(&M):
  223.10 +LBL_VIEW=\u8868\u793a(&V)
  223.11 +
  223.12 +LB_EDIT=\u7de8\u96c6(&E)
  223.13 +
  223.14 +LBL_HELP=\u30d8\u30eb\u30d7(&H)
  223.15 +
  223.16 +MSG_INVALID_PORTLET_NAME=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d\u3067\u3059
  223.17 +
  223.18 +MSG_INVALID_PORTLET_TITLE=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb\u3067\u3059
  223.19 +
  223.20 +MSG_INVALID_PORTLET_SHORT_TITLE=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb\u3067\u3059
  223.21 +
  223.22 +MSG_INVALID_PORTLET_DISPLAY_NAME=\u7121\u52b9\u306a\u8868\u793a\u540d\u3067\u3059
  223.23 +
  223.24 +MSG_INVALID_PORTLET_DESC=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e\u3067\u3059
  223.25 +
  223.26 +MSG_PORTLET_ALREADY_PRESENT=\u540c\u3058\u540d\u524d\u3092\u6301\u3064\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
  223.27 +
  223.28 +LBL_CREATE_JSPS=JSP \u306e\u4f5c\u6210
  223.29 +NewJSR168FileAdvanceVisualPanel.lblView.text=JSP \u306e\u8868\u793a:
  223.30 +NewJSR168FileAdvanceVisualPanel.lblEdit.text=JSP \u306e\u7de8\u96c6:
  223.31 +
  223.32 +INVALID_VIEW_JSP_NAME=\u7121\u52b9\u306a JSP \u306e\u8868\u793a
  223.33 +INVALID_EDIT_JSP_NAME=\u7121\u52b9\u306a JSP \u306e\u7de8\u96c6
  223.34 +INVALID_HELP_JSP_NAME=\u7121\u52b9\u306a JSP \u306e\u30d8\u30eb\u30d7
  223.35 +
  223.36 +NewJSR168FileAdvancePanel.lblHelp.text=JSP \u306e\u30d8\u30eb\u30d7:
  223.37 +ErrorVisualPanel.jLabel1.text=\u3053\u306e\u64cd\u4f5c\u306f\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306e\u307f\u6709\u52b9\u3067\u3059\u3002
  223.38 +
  223.39 +TTL_NEW_PORTLET=\u65b0\u898f\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30af\u30e9\u30b9
  223.40 +TTL_JSP_PANEL=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u7528\u306e JSP \u3092\u4f5c\u6210
  223.41 +ACSN_Portlet_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d(&P):
  223.42 +ACSD_Portlet_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d
  223.43 +ACSD_Portlet_Display_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8868\u793a\u540d
  223.44 +ACSD_Portlet_Description=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e
  223.45 +ACSD_Portlet_Title=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb
  223.46 +ACSD_Portlet_Short_Title=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb
  223.47 +ACSD_VIEW=\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9
  223.48 +ACSD_EDIT=\u7de8\u96c6\u30e2\u30fc\u30c9
  223.49 +ACSD_HELP=\u30d8\u30eb\u30d7\u30e2\u30fc\u30c9
  223.50 +ACSD_VIEW_JSP=JSP \u306e\u8868\u793a
  223.51 +ACSD_EDIT_JSP=JSP \u306e\u7de8\u96c6
  223.52 +ACSD_HELP_JSP=JSP \u306e\u30d8\u30eb\u30d7
  223.53 +ACSD_CREATE_JSPS=JSP \u306e\u4f5c\u6210
   224.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   224.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/Desc_168_portlet_ja.html	Thu Jul 10 19:50:39 2008 +0800
   224.3 @@ -0,0 +1,10 @@
   224.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   224.5 +            <html>
   224.6 +            <head>
   224.7 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   224.8 +            <title></title>
   224.9 +            </head>
  224.10 +            <body>
  224.11 +              ãƒãƒ¼ãƒˆãƒ¬ãƒƒãƒˆã®ä½œæˆ
  224.12 +            </body>
  224.13 +            </html>
   225.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   225.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/netbeansNewPortletClass_ja.html	Thu Jul 10 19:50:39 2008 +0800
   225.3 @@ -0,0 +1,10 @@
   225.4 +
   225.5 +
   225.6 +<HTML>
   225.7 +<head>
   225.8 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   225.9 +</head>
  225.10 +    <BODY>
  225.11 +        ãƒãƒ¼ãƒˆãƒ¬ãƒƒãƒˆã®ä½œæˆ
  225.12 +    </BODY>
  225.13 +</HTML>
   226.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   226.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/netbeansNewPortlet_ja.html	Thu Jul 10 19:50:39 2008 +0800
   226.3 @@ -0,0 +1,10 @@
   226.4 +
   226.5 +
   226.6 +<HTML>
   226.7 +<head>
   226.8 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   226.9 +</head>
  226.10 +    <BODY>
  226.11 +        æ–°è¦ JSR-168 ãƒãƒ¼ãƒˆãƒ¬ãƒƒãƒˆ
  226.12 +    </BODY>
  226.13 +</HTML>
   227.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   227.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/frameworks/jsr168/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   227.3 @@ -0,0 +1,58 @@
   227.4 +#
   227.5 +# The contents of this file are subject to the terms of the Common Development
   227.6 +# and Distribution License (the License). You may not use this file except in
   227.7 +# compliance with the License.
   227.8 +#
   227.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  227.10 +# or http://www.netbeans.org/cddl.txt.
  227.11 +
  227.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  227.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  227.14 +# If applicable, add the following below the CDDL Header, with the fields
  227.15 +# enclosed by brackets [] replaced by your own identifying information:
  227.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  227.17 +#
  227.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  227.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  227.20 +# Microsystems, Inc. All Rights Reserved.
  227.21 +#
  227.22 +
  227.23 +LBL_PORTLET_FRAMEWORK=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8
  227.24 +LBL_PORTLET_FRAMEWORK_DESC=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8
  227.25 +
  227.26 +LBL_CreateProjectStep=\u624b\u9806
  227.27 +LBL_PACKAGE=\u30d1\u30c3\u30b1\u30fc\u30b8:
  227.28 +LBL_PORTLET_CLASS_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30af\u30e9\u30b9\u540d:
  227.29 +LBL_PORTLET_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d:
  227.30 +LBL_PORTLET_DISPLAY_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8868\u793a\u540d:
  227.31 +LBL_PORTLET_DESCRIPTION=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e:
  227.32 +LBL_PORTLET_TITLE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb:
  227.33 +LBL_PORTLET_SHORT_TITLE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb:
  227.34 +
  227.35 +LBL_CREATE_PORTLET=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u4f5c\u6210
  227.36 +
  227.37 +
  227.38 +MSG_INVALID_PORTLET_NAME=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d\u3067\u3059
  227.39 +
  227.40 +MSG_INVALID_PORTLET_TITLE=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb\u3067\u3059
  227.41 +
  227.42 +MSG_INVALID_PORTLET_SHORT_TITLE=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb\u3067\u3059
  227.43 +
  227.44 +MSG_INVALID_PORTLET_DISPLAY_NAME=\u7121\u52b9\u306a\u8868\u793a\u540d\u3067\u3059
  227.45 +
  227.46 +MSG_INVALID_PORTLET_DESC=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e\u3067\u3059
  227.47 +MSG_INVALID_PACKAGE_NAME =\u7121\u52b9\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3067\u3059
  227.48 +MSG_PORTLET_NAME_CANNOT_BE_EMPTY=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d\u3092\u7a7a\u767d\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093
  227.49 +MSG_PORTLET_CLASS_CANNOT_BE_EMPTY=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30af\u30e9\u30b9\u3092\u7a7a\u767d\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093
  227.50 +MSG_INVALID_CLASS=\u7121\u52b9\u306a\u30af\u30e9\u30b9\u540d\u3067\u3059
  227.51 +LBL_PORTLET_MODE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30e2\u30fc\u30c9:
  227.52 +
  227.53 +LBL_VIEW=\u8868\u793a
  227.54 +
  227.55 +LBL_EDIT=\u7de8\u96c6
  227.56 +
  227.57 +LBL_HELP=\u30d8\u30eb\u30d7
  227.58 +LBL_SRC_ROOT=\u30bd\u30fc\u30b9\u30eb\u30fc\u30c8:
  227.59 +LBL_PORTLET_SPEC_VERSION=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3:
  227.60 +
  227.61 +LBL_CREATE_JSPS=JSP \u306e\u4f5c\u6210
   228.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   228.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/frameworks/util/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   228.3 @@ -0,0 +1,19 @@
   228.4 +#
   228.5 +# The contents of this file are subject to the terms of the Common Development
   228.6 +# and Distribution License (the License). You may not use this file except in
   228.7 +# compliance with the License.
   228.8 +#
   228.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  228.10 +# or http://www.netbeans.org/cddl.txt.
  228.11 +
  228.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  228.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  228.14 +# If applicable, add the following below the CDDL Header, with the fields
  228.15 +# enclosed by brackets [] replaced by your own identifying information:
  228.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  228.17 +#
  228.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  228.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  228.20 +# Microsystems, Inc. All Rights Reserved.
  228.21 +#
  228.22 +FILE_COULD_NOT_BE_OVERWRITTEN=\u30d5\u30a1\u30a4\u30eb\u3092\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f : 
   229.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   229.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/node/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   229.3 @@ -0,0 +1,35 @@
   229.4 +#
   229.5 +# The contents of this file are subject to the terms of the Common Development
   229.6 +# and Distribution License (the License). You may not use this file except in
   229.7 +# compliance with the License.
   229.8 +#
   229.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  229.10 +# or http://www.netbeans.org/cddl.txt.
  229.11 +
  229.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  229.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  229.14 +# If applicable, add the following below the CDDL Header, with the fields
  229.15 +# enclosed by brackets [] replaced by your own identifying information:
  229.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  229.17 +#
  229.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  229.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  229.20 +# Microsystems, Inc. All Rights Reserved.
  229.21 +#
  229.22 +
  229.23 +#Labels for portlet xml tags to be displayed in the propery sheet
  229.24 +FILTER_NAME=\u30d5\u30a3\u30eb\u30bf\u540d
  229.25 +FILTER_CLASS=\u30d5\u30a3\u30eb\u30bf\u30af\u30e9\u30b9
  229.26 +LIFE_CYCLE=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb
  229.27 +PORTLET_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d
  229.28 +PORTLET_CLASS=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30af\u30e9\u30b9
  229.29 +DISPLAY-NAME=\u8868\u793a\u540d
  229.30 +EXPIRATION-CACHE=\u671f\u9650\u5207\u308c\u30ad\u30e3\u30c3\u30b7\u30e5
  229.31 +
  229.32 +IDENTIFIER=\u8b58\u5225\u5b50
  229.33 +QNAME=QName
  229.34 +NAME=\u540d\u524d
  229.35 +
  229.36 +LBL_FILTERS=\u30d5\u30a3\u30eb\u30bf
  229.37 +LBL_PUBLIC_RENDER_PARAMETERS=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf
  229.38 +BL_PortletXML=PortletXML
   230.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   230.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/node/actions/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   230.3 @@ -0,0 +1,21 @@
   230.4 +#
   230.5 +# The contents of this file are subject to the terms of the Common Development
   230.6 +# and Distribution License (the License). You may not use this file except in
   230.7 +# compliance with the License.
   230.8 +#
   230.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  230.10 +# or http://www.netbeans.org/cddl.txt.
  230.11 +
  230.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  230.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  230.14 +# If applicable, add the following below the CDDL Header, with the fields
  230.15 +# enclosed by brackets [] replaced by your own identifying information:
  230.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  230.17 +#
  230.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  230.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  230.20 +# Microsystems, Inc. All Rights Reserved.
  230.21 +#
  230.22 +DELETE_FILTER_MAPPING=\u524a\u9664
  230.23 +LBL_ADD_RENDER_PARAMETER=\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8ffd\u52a0
  230.24 +LBL_DELETE_RENDER_PARAMETER=\u524a\u9664
   231.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   231.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/node/actions/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   231.3 @@ -0,0 +1,47 @@
   231.4 +LBL_NAMESPACE=\u540d\u524d\u7a7a\u9593
   231.5 +
   231.6 +LBL_LOCAL_PART=\u5c40\u6240\u90e8
   231.7 +LBL_ID=\u8b58\u5225\u5b50
   231.8 +
   231.9 +LBL_OK=\u4e86\u89e3
  231.10 +
  231.11 +LBL_CANCEL=\u53d6\u6d88\u3057
  231.12 +
  231.13 +LBL_ADD_PUBLIC_RENDER_PARAMETER=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8ffd\u52a0
  231.14 +
  231.15 +LBL_PREFIX=\u63a5\u982d\u8f9e
  231.16 +
  231.17 +NOT_A_VALID_LOCAL_PART=\u6709\u52b9\u306a\u5c40\u6240\u90e8\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  231.18 +NOT_A_VALID_IDENTIFIER=\u6709\u52b9\u306a\u8b58\u5225\u5b50\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  231.19 +NOT_A_VALID_VALUE_TYPE=\u6709\u52b9\u306a\u5024\u306e\u578b\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  231.20 +NOT_A_VALID_NAMESPACE=\u6709\u52b9\u306a\u540d\u524d\u7a7a\u9593\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  231.21 +NOT_A_VALID_PREFIX=\u6709\u52b9\u306a\u63a5\u982d\u8f9e\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  231.22 +DOT_NOT_ALLOWED_AT_END_OF_LOCALPART=\u5c40\u6240\u90e8\u307e\u305f\u306f\u30a4\u30d9\u30f3\u30c8\u540d\u306e\u6700\u5f8c\u306e\u6587\u5b57\u3092\u30c9\u30c3\u30c8 (.) \u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002
  231.23 +MSG_RENDER_PARAM_WITH_SAME_ID_EXISTS=\u8b58\u5225\u5b50 "{0}" \u3092\u6301\u3064\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059\u3002
  231.24 +AddEventPanel.nameSpaceTf.text=
  231.25 +
  231.26 +AddEventPanel.localPartTf.text=
  231.27 +
  231.28 +AddEventPanel.prefixTf.text=
  231.29 +
  231.30 +AddEventPanel.qNameCB.text=QName \u3068\u3057\u3066\u8ffd\u52a0
  231.31 +AddEventPanel.valueType.text=
  231.32 +AddEventPanel.valueTypeLabel.text=\u5024\u306e\u578b
  231.33 +AddAliasPanel.localPartTf.text=
  231.34 +AddAliasPanel.namespaceTf.text=
  231.35 +AddAliasPanel.localPartTf.tooltip=QName \u306e\u5c40\u6240\u90e8\u3092\u5165\u529b
  231.36 +AddAliasPanel.namespaceTf.tooltip=QName \u306e\u540d\u524d\u7a7a\u9593\u3092\u5165\u529b
  231.37 +AddAliasPanel.prefixTf.tooltip=
  231.38 +ACC_Ok=\u4e86\u89e3
  231.39 +ACC_Cancel=\u53d6\u6d88\u3057
  231.40 +AddAliasPanel.Event.title=\u30a4\u30d9\u30f3\u30c8\u5225\u540d\u3092\u8ffd\u52a0
  231.41 +AddEventPanel.title=\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0
  231.42 +TT_Add_Identifier=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8b58\u5225\u5b50\u3092\u8ffd\u52a0
  231.43 +ACC_Add_Identifier=\u8b58\u5225\u5b50
  231.44 +TT_NAMESPACE=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u540d\u524d\u7a7a\u9593\u3092\u5165\u529b
  231.45 +ACC_NAMESPACE=\u540d\u524d\u7a7a\u9593
  231.46 +TT_LOCAL_PART=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5c40\u6240\u90e8\u3092\u5165\u529b
  231.47 +ACC_LOCALPART=\u5c40\u6240\u90e8
  231.48 +TT_PREFIX=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u63a5\u982d\u8f9e\u3092\u5165\u529b
  231.49 +ACC_PREFIX=\u63a5\u982d\u8f9e
  231.50 +ACC_OK=\u4e86\u89e3
   232.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   232.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/node/ddloaders/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   232.3 @@ -0,0 +1,20 @@
   232.4 +#
   232.5 +# The contents of this file are subject to the terms of the Common Development
   232.6 +# and Distribution License (the License). You may not use this file except in
   232.7 +# compliance with the License.
   232.8 +#
   232.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  232.10 +# or http://www.netbeans.org/cddl.txt.
  232.11 +
  232.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  232.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  232.14 +# If applicable, add the following below the CDDL Header, with the fields
  232.15 +# enclosed by brackets [] replaced by your own identifying information:
  232.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  232.17 +#
  232.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  232.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  232.20 +# Microsystems, Inc. All Rights Reserved.
  232.21 +#
  232.22 +LBL_PortletXML_loader_name=PortletXML \u30d5\u30a1\u30a4\u30eb
  232.23 +INVAILD_PORTLET_XML=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 XML \u3067\u3059\u3002\u69cb\u6587\u89e3\u6790\u30a8\u30e9\u30fc\u3002
   233.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   233.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/resources/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   233.3 @@ -0,0 +1,18 @@
   233.4 +#
   233.5 +# The contents of this file are subject to the terms of the Common Development
   233.6 +# and Distribution License (the License). You may not use this file except in
   233.7 +# compliance with the License.
   233.8 +#
   233.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  233.10 +# or http://www.netbeans.org/cddl.txt.
  233.11 +
  233.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  233.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  233.14 +# If applicable, add the following below the CDDL Header, with the fields
  233.15 +# enclosed by brackets [] replaced by your own identifying information:
  233.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  233.17 +#
  233.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  233.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  233.20 +# Microsystems, Inc. All Rights Reserved.
  233.21 +#
   234.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   234.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/ipc/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   234.3 @@ -0,0 +1,31 @@
   234.4 +#
   234.5 +# The contents of this file are subject to the terms of the Common Development
   234.6 +# and Distribution License (the License). You may not use this file except in
   234.7 +# compliance with the License.
   234.8 +#
   234.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  234.10 +# or http://www.netbeans.org/cddl.txt.
  234.11 +
  234.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  234.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  234.14 +# If applicable, add the following below the CDDL Header, with the fields
  234.15 +# enclosed by brackets [] replaced by your own identifying information:
  234.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  234.17 +#
  234.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  234.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  234.20 +# Microsystems, Inc. All Rights Reserved.
  234.21 +#
  234.22 +CTL_IPCStoryBoardAction=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a4\u30d9\u30f3\u30c6\u30a3\u30f3\u30b0 StoryBoard
  234.23 +CTL_IPCStoryBoardTopComponent=EventingStoryBoard \u30a6\u30a3\u30f3\u30c9\u30a6
  234.24 +HINT_IPCStoryBoardTopComponent=\u3053\u308c\u306f EventingStoryBoard \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3059\u3002
  234.25 +MSG_ERROR_GENERATING_PROCESS_EVENT_CODE=\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u30b3\u30fc\u30c9\u306e\u751f\u6210\u30a8\u30e9\u30fc\u3002
  234.26 +MSG_WANT_TO_ADD_ALIAS=\u672c\u5f53\u306b\u5225\u540d\u3068\u3057\u3066\u30a4\u30d9\u30f3\u30c8 {0} \u3092\u30a4\u30d9\u30f3\u30c8 {1} \u306b\u8ffd\u52a0\u3057\u307e\u3059\u304b ? 
  234.27 +MSG_ERROR_EVENT_REMOVE=\u30a4\u30d9\u30f3\u30c8\u3092\u6b63\u3057\u304f\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
  234.28 +MSG_ERROR_ADD_ALIAS_EVENT=\u30a4\u30d9\u30f3\u30c8\u5225\u540d\u3092\u6b63\u3057\u304f\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
  234.29 +
  234.30 +MENU_RESET_STORY_BOARD=StoryBoard \u3092\u30ea\u30bb\u30c3\u30c8
  234.31 +MENU_SHOW_IN_STORYBOARD=StoryBoard \u306b\u8868\u793a
  234.32 +
  234.33 +TL_ADD_PUBLISH_EVENT=\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0
  234.34 +TL_ADD_PROCESS_EVENT=\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0
   235.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   235.2 +++ b/portalpack.portlets.genericportlets/l10n/ja/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/ipc/actions/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   235.3 @@ -0,0 +1,50 @@
   235.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   235.5 +# 
   235.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   235.7 +# 
   235.8 +# The contents of this file are subject to the terms of either the GNU
   235.9 +# General Public License Version 2 only ("GPL") or the Common
  235.10 +# Development and Distribution License("CDDL") (collectively, the
  235.11 +# "License"). You may not use this file except in compliance with the
  235.12 +# License. You can obtain a copy of the License at
  235.13 +# http://www.netbeans.org/cddl-gplv2.html
  235.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  235.15 +# specific language governing permissions and limitations under the
  235.16 +# License.  When distributing the software, include this License Header
  235.17 +# Notice in each file and include the License file at
  235.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  235.19 +# particular file as subject to the "Classpath" exception as provided
  235.20 +# by Sun in the GPL Version 2 section of the License file that
  235.21 +# accompanied this code. If applicable, add the following below the
  235.22 +# License Header, with the fields enclosed by brackets [] replaced by
  235.23 +# your own identifying information:
  235.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  235.25 +# 
  235.26 +# If you wish your version of this file to be governed by only the CDDL
  235.27 +# or only the GPL Version 2, indicate your decision by adding
  235.28 +# "[Contributor] elects to include this software in this distribution
  235.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  235.30 +# single choice of license, a recipient has the option to distribute
  235.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  235.32 +# to extend the choice of license to its licensees as provided above.
  235.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  235.34 +# Version 2 license, then the option applies only if the new code is
  235.35 +# made subject to such option by the copyright holder.
  235.36 +# 
  235.37 +# Contributor(s):
  235.38 +# 
  235.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  235.40 +
  235.41 +MENU_GENERATE_CONSUME_EVENT_SOURCE=\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u306b\u30bd\u30fc\u30b9\u3092\u751f\u6210
  235.42 +MENU_POP_UP=\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc
  235.43 +MENU_ADD_ALIAS=\u5225\u540d\u3092\u8ffd\u52a0
  235.44 +MENU_REMOVE_PROCESS_EVENT=\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u3092\u524a\u9664
  235.45 +MENU_REMOVE=\u524a\u9664
  235.46 +MENU_GENERATE_PUBLISH_EVENT_SOURCE=\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u30a4\u30d9\u30f3\u30c8\u306b\u30bd\u30fc\u30b9\u3092\u751f\u6210
  235.47 +MENU_REMOVE_EVENT=\u30a4\u30d9\u30f3\u30c8\u3092\u524a\u9664
  235.48 +MENU_RESET_STORYBOARD=StoryBoard \u3092\u30ea\u30bb\u30c3\u30c8
  235.49 +MENU_REMOVE_PORTLET_FROM_STORYBOARD=StoryBoard \u304b\u3089\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u524a\u9664
  235.50 +MENU_ADD_PUBLISH_EVENT=\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0
  235.51 +MENU_ADD_PROCESS_EVENT=\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0
  235.52 +MENU_ADD_PROCESS_EVENT_TOOLTIP=\u30de\u30a6\u30b9\u3092\u8996\u899a\u7684\u306b\u4f7f\u7528\u3057\u3066\u30a4\u30d9\u30f3\u30c8\u3092\u63a5\u7d9a\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u51e6\u7406\u30a4\u30d9\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002
  235.53 +MENU_ADD_PUBLIC_RENDER_PARAM=\u516c\u958b\u63cf\u753b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0
   236.1 --- a/portalpack.portlets.genericportlets/l10n/ja/placeholder_ja.txt	Thu Jul 10 19:13:29 2008 +0800
   236.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   236.3 @@ -1,1 +0,0 @@
   236.4 -This is a placeholder file
   236.5 \ No newline at end of file
   237.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   237.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   237.3 @@ -0,0 +1,38 @@
   237.4 +#
   237.5 +# The contents of this file are subject to the terms of the Common Development
   237.6 +# and Distribution License (the License). You may not use this file except in
   237.7 +# compliance with the License.
   237.8 +#
   237.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  237.10 +# or http://www.netbeans.org/cddl.txt.
  237.11 +
  237.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  237.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  237.14 +# If applicable, add the following below the CDDL Header, with the fields
  237.15 +# enclosed by brackets [] replaced by your own identifying information:
  237.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  237.17 +#
  237.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  237.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  237.20 +# Microsystems, Inc. All Rights Reserved.
  237.21 +#
  237.22 +
  237.23 +OpenIDE-Module-Display-Category=PortalPack
  237.24 +OpenIDE-Module-Long-Description=Este plug-in d\u00e1 suporte ao desenvolvimento de portlets gen\u00e9ricos baseados em JSR 168/286 no Netbeans IDE.
  237.25 +OpenIDE-Module-Name=Portlets gen\u00e9ricos
  237.26 +
  237.27 +OpenIDE-Module-Short-Description=Plug-in para criar portlet gen\u00e9rico baseado em JSR 168
  237.28 +Services/MIMEResolver/PortletResolver.xml=Arquivos do portlet
  237.29 +Services/MIMEResolver/PortletXMLResolver.xml=Arquivos XML do portlet
  237.30 +Templates/JSP_Servlet/Portlet=Portlet
  237.31 +Templates/JSP_Servlet/PortletFilter=Filtro do portlet
  237.32 +#NOI18N
  237.33 +#update_center=http://webhome.sfbay.sun.com/portalserver/PortalTooling/updates/nb6/updates.xml
  237.34 +#Services/AutoupdateType/portalpack_update_center.settings=Portal Pack 2.0 For NetBeans 6 Update Center=======
  237.35 +Templates/Other/PortletXMLTemplate.xml=Arquivo XML do portlet vazio
  237.36 +
  237.37 +#Library Display Name
  237.38 +Portlet-1.0-Lib=Biblioteca Portlet 1.0(JSR 168)
  237.39 +Portlet-2.0-Lib=Biblioteca Portlet 2.0(JSR 286)
  237.40 +
  237.41 +
   238.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   238.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/core/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   238.3 @@ -0,0 +1,20 @@
   238.4 +#
   238.5 +# The contents of this file are subject to the terms of the Common Development
   238.6 +# and Distribution License (the License). You may not use this file except in
   238.7 +# compliance with the License.
   238.8 +#
   238.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  238.10 +# or http://www.netbeans.org/cddl.txt.
  238.11 +
  238.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  238.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  238.14 +# If applicable, add the following below the CDDL Header, with the fields
  238.15 +# enclosed by brackets [] replaced by your own identifying information:
  238.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  238.17 +#
  238.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  238.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  238.20 +# Microsystems, Inc. All Rights Reserved.
  238.21 +#
  238.22 +
  238.23 +# Sample ResourceBundle properties file
   239.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   239.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/core/codegen/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   239.3 @@ -0,0 +1,20 @@
   239.4 +#
   239.5 +# The contents of this file are subject to the terms of the Common Development
   239.6 +# and Distribution License (the License). You may not use this file except in
   239.7 +# compliance with the License.
   239.8 +#
   239.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  239.10 +# or http://www.netbeans.org/cddl.txt.
  239.11 +
  239.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  239.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  239.14 +# If applicable, add the following below the CDDL Header, with the fields
  239.15 +# enclosed by brackets [] replaced by your own identifying information:
  239.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  239.17 +#
  239.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  239.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  239.20 +# Microsystems, Inc. All Rights Reserved.
  239.21 +#
  239.22 +
  239.23 +# Sample ResourceBundle properties file
   240.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   240.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/core/component/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   240.3 @@ -0,0 +1,26 @@
   240.4 +#
   240.5 +# The contents of this file are subject to the terms of the Common Development
   240.6 +# and Distribution License (the License). You may not use this file except in
   240.7 +# compliance with the License.
   240.8 +#
   240.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  240.10 +# or http://www.netbeans.org/cddl.txt.
  240.11 +
  240.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  240.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  240.14 +# If applicable, add the following below the CDDL Header, with the fields
  240.15 +# enclosed by brackets [] replaced by your own identifying information:
  240.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  240.17 +#
  240.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  240.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  240.20 +# Microsystems, Inc. All Rights Reserved.
  240.21 +#
  240.22 +
  240.23 +
  240.24 +Msg_Not_a_valid_class_name=N\u00e3o \u00e9 um nome de classe v\u00e1lido
  240.25 +
  240.26 +#NOI18N
  240.27 +MSG_ERROR=erro
  240.28 +
  240.29 +MSG_Invalid_WEB-INF_Directory=Diret\u00f3rio WEB-INF inv\u00e1lido
   241.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   241.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/core/metagen/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   241.3 @@ -0,0 +1,20 @@
   241.4 +#
   241.5 +# The contents of this file are subject to the terms of the Common Development
   241.6 +# and Distribution License (the License). You may not use this file except in
   241.7 +# compliance with the License.
   241.8 +#
   241.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  241.10 +# or http://www.netbeans.org/cddl.txt.
  241.11 +
  241.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  241.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  241.14 +# If applicable, add the following below the CDDL Header, with the fields
  241.15 +# enclosed by brackets [] replaced by your own identifying information:
  241.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  241.17 +#
  241.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  241.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  241.20 +# Microsystems, Inc. All Rights Reserved.
  241.21 +#
  241.22 +
  241.23 +# Sample ResourceBundle properties file
   242.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   242.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/core/util/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   242.3 @@ -0,0 +1,38 @@
   242.4 +#
   242.5 +# The contents of this file are subject to the terms of the Common Development
   242.6 +# and Distribution License (the License). You may not use this file except in
   242.7 +# compliance with the License.
   242.8 +#
   242.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  242.10 +# or http://www.netbeans.org/cddl.txt.
  242.11 +
  242.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  242.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  242.14 +# If applicable, add the following below the CDDL Header, with the fields
  242.15 +# enclosed by brackets [] replaced by your own identifying information:
  242.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  242.17 +#
  242.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  242.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  242.20 +# Microsystems, Inc. All Rights Reserved.
  242.21 +#
  242.22 +
  242.23 +# Sample ResourceBundle properties file
  242.24 +
  242.25 +LBL_OK=OK
  242.26 +
  242.27 +LBL_Cancel=Cancelar
  242.28 +
  242.29 +MSG_ALREADY_EXISTS=j\u00e1 existe. Tem certeza que deseja sobrescrever ?
  242.30 +
  242.31 +LBL_Overwrite_Warning=Aviso de sobrescri\u00e7\u00e3o
  242.32 +
  242.33 +
  242.34 +#### Error messages
  242.35 +MSG_invalid_filename=Nome de arquivo inv\u00e1lido
  242.36 +
  242.37 +MSG_fs_is_readonly=<html>A pasta alvo \u00e9 somente leitura.</html>
  242.38 +MSG_file_already_exist=O arquivo j\u00e1 existe
  242.39 +MSG_file_already_exist=O arquivo j\u00e1 existe
  242.40 +
  242.41 +TXT_CantUpdatePortletXML=N\u00e3o foi poss\u00edvel atualizar Portlet.xml
   243.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   243.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/eventing/impl/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   243.3 @@ -0,0 +1,40 @@
   243.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   243.5 +# 
   243.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   243.7 +# 
   243.8 +# The contents of this file are subject to the terms of either the GNU
   243.9 +# General Public License Version 2 only ("GPL") or the Common
  243.10 +# Development and Distribution License("CDDL") (collectively, the
  243.11 +# "License"). You may not use this file except in compliance with the
  243.12 +# License. You can obtain a copy of the License at
  243.13 +# http://www.netbeans.org/cddl-gplv2.html
  243.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  243.15 +# specific language governing permissions and limitations under the
  243.16 +# License.  When distributing the software, include this License Header
  243.17 +# Notice in each file and include the License file at
  243.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  243.19 +# particular file as subject to the "Classpath" exception as provided
  243.20 +# by Sun in the GPL Version 2 section of the License file that
  243.21 +# accompanied this code. If applicable, add the following below the
  243.22 +# License Header, with the fields enclosed by brackets [] replaced by
  243.23 +# your own identifying information:
  243.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  243.25 +# 
  243.26 +# If you wish your version of this file to be governed by only the CDDL
  243.27 +# or only the GPL Version 2, indicate your decision by adding
  243.28 +# "[Contributor] elects to include this software in this distribution
  243.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  243.30 +# single choice of license, a recipient has the option to distribute
  243.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  243.32 +# to extend the choice of license to its licensees as provided above.
  243.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  243.34 +# Version 2 license, then the option applies only if the new code is
  243.35 +# made subject to such option by the copyright holder.
  243.36 +# 
  243.37 +# Contributor(s):
  243.38 +# 
  243.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  243.40 +
  243.41 +MSG_WANT_TO_DELETE_EVENT_DEFINITION=Nenhuma refer\u00eancia encontrada para o evento {0}.\nDeseja excluir a defini\u00e7\u00e3o do evento tamb\u00e9m?
  243.42 +MSG_A_METHOD_WITH_SAME_NAME_EXISTS=Um m\u00e9todo com o nome fornecido j\u00e1 existe !!!
  243.43 +MSG_WARNING_PROCESS_EVENT_METHOD_EXISTS=A classe do portlet substitui o m\u00e9todo processEvent(EventRequest,EventResponse) definido na classe GenericPortlet.\nTalvez voc\u00ea precise chamar o m\u00e9todo rec\u00e9m-gerado a partir do m\u00e9todo processEvent para faz\u00ea-lo funcionar.
   244.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   244.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/impl/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   244.3 @@ -0,0 +1,27 @@
   244.4 +#
   244.5 +# The contents of this file are subject to the terms of the Common Development
   244.6 +# and Distribution License (the License). You may not use this file except in
   244.7 +# compliance with the License.
   244.8 +#
   244.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  244.10 +# or http://www.netbeans.org/cddl.txt.
  244.11 +
  244.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  244.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  244.14 +# If applicable, add the following below the CDDL Header, with the fields
  244.15 +# enclosed by brackets [] replaced by your own identifying information:
  244.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  244.17 +#
  244.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  244.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  244.20 +# Microsystems, Inc. All Rights Reserved.
  244.21 +#
  244.22 +
  244.23 +PORTLET_FILTER_MAPPING_ALREADY_PRESENT=O mapeamento de filtro j\u00e1 existe para este portlet e filtro
  244.24 +
  244.25 +NOT_A_VALID_IDENTIFIER=Indique um identificador v\u00e1lido
  244.26 +NOT_A_VALID_LOCAL_PART=Indique uma parte local v\u00e1lida.
  244.27 +SUPPORTED_PUBLIC_RENDER_PARAMETER_ALREADY_PRESENT=Par\u00e2metro render p\u00fablico suportado j\u00e1 existe
  244.28 +MSG_IDENTIFIER_EXISTS=J\u00e1 existe um par\u00e2metro render p\u00fablico com o mesmo identificador {0}.
  244.29 +MSG_PRP_WITH_SAME_VALUE_EXIST_FOR_ID=Existe um par\u00e2metro render p\u00fablico com o mesmo valor mas com identificador diferente "{0}". \nDeseja utiliz\u00e1-lo?\nPressione "Sim" se quiser usar o existente e \n"N\u00e3o" para criar um novo par\u00e2metro render p\u00fablico.
  244.30 +MSG_PRP_IS_NOT_USED_WANT_TO_DELETE=O par\u00e2metro render p\u00fablico com id "{0}" n\u00e3o \u00e9 usado por nenhum outro portlet.\n Deseja remov\u00ea-lo completamente?
   245.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   245.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/impl/sun/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   245.3 @@ -0,0 +1,28 @@
   245.4 +
   245.5 +GenerateEventDialog.generateNewMthodLabel.text=Gerar novo m\u00e9todo
   245.6 +
   245.7 +GenerateEventDialog.methodNameTxt.text=
   245.8 +
   245.9 +GenerateEventDialog.eventNameTf.text=
  245.10 +
  245.11 +GenerateEventDialog.portletNameTf.text=
  245.12 +
  245.13 +GenerateEventDialog.title=Gerar novo evento
  245.14 +
  245.15 +GenerateEventDialog.ok.text=Ok
  245.16 +
  245.17 +GenerateEventDialog.cancel.text=Cancelar
  245.18 +LBL_MethodName=Nome do m\u00e9todo
  245.19 +ACC_Generate_Code=Gerar c\u00f3digo
  245.20 +LBL_Event_Name=Nome do evento
  245.21 +LBL_Portlet_Name=Nome do portlet
  245.22 +LBL_Modified_Java_File=Arquivo Java modificado
  245.23 +LBL_Ok=Ok
  245.24 +LBL_Cancel=Cancelar
  245.25 +ACC_Event_Parameters=Par\u00e2metros do evento
  245.26 +
  245.27 +GenerateEventDialog.generateSourcePanel.border.title=Gerar c\u00f3digo-fonte
  245.28 +GenerateEventDialog.eventParametersPanel.border.title=Par\u00e2metros do evento
  245.29 +GenerateEventDialog.eventNameLabel.text=Nome do evento
  245.30 +GenerateEventDialog.portletNameLabel.text=Nome do portlet
  245.31 +GenerateEventDialog.addToExistingMethodCB.text=Adicionar aos m\u00e9todos existentes
   246.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   246.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/filters/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   246.3 @@ -0,0 +1,75 @@
   246.4 +# The contents of this file are subject to the terms of the Common Development
   246.5 +# and Distribution License (the License). You may not use this file except in
   246.6 +# compliance with the License.
   246.7 +#
   246.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   246.9 +# or http://www.netbeans.org/cddl.txt.
  246.10 +#
  246.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  246.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  246.13 +# If applicable, add the following below the CDDL Header, with the fields
  246.14 +# enclosed by brackets [] replaced by your own identifying information:
  246.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  246.16 +#
  246.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  246.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  246.19 +# Microsystems, Inc. All Rights Reserved.
  246.20 +
  246.21 +# Generic labels, used in several places
  246.22 +LBL_newdots=Novo...
  246.23 +LBL_new_mnemonic=N
  246.24 +LBL_delete=Excluir
  246.25 +LBL_delete_mnemonic=D
  246.26 +LBL_move_up=Mover para cima
  246.27 +LBL_move_up_mnemonic=U
  246.28 +LBL_move_down=Mover para baixo
  246.29 +LBL_move_down_mnemonic=O
  246.30 +LBL_edit=Editar...
  246.31 +LBL_edit_mnemonic=E
  246.32 +LBL_OK=OK
  246.33 +
  246.34 +# NewObjectPanel
  246.35 +
  246.36 +#### Error messages
  246.37 +
  246.38 +MSG_fs_is_readonly=<html>A pasta alvo \u00e9 somente leitura.</html>
  246.39 +
  246.40 +LBL_filter_mappings=Mapeamentos de filtro:
  246.41 +LBL_filter_mappings_mnemonic=I
  246.42 +ACSD_filter_mappings=Mapeamentos de filtro
  246.43 +ACSD_filter_mappings_desc=Tabela dos mapeamentos do filtro
  246.44 +ACSD_filter_mappings_new=Adicionar um mapeamento de filtro
  246.45 +ACSD_filter_mappings_edit=Editar um mapeamento de filtro
  246.46 +ACSD_filter_mappings_delete=Remover um mapeamento de filtro
  246.47 +ACSD_filter_mappings_up=Mover o mapeamento de filtro para cima
  246.48 +ACSD_filter_mappings_down=Mover o mapeamento de filtro para baixo
  246.49 +
  246.50 +MSG_invalid_filename={0} n\u00e3o \u00e9 um nome de arquivo v\u00e1lido.
  246.51 +
  246.52 +LBL_RequestListener_Mnemonic=r
  246.53 +
  246.54 +LBL_RequestAttrListener_Mnemonic=q
  246.55 +
  246.56 +
  246.57 +MSG_FILTER_NOT_ALLOWED=N\u00e3o \u00e9 permitido filtro neste projeto
  246.58 +
  246.59 +LBL_RENDER=RENDER
  246.60 +
  246.61 +LBL_ACTION=ACTION
  246.62 +
  246.63 +LBL_EVENT=EVENT
  246.64 +
  246.65 +LBL_RESOURCE=RESOURCE
  246.66 +
  246.67 +LBL_FILTER_NAME=Nome do filtro
  246.68 +
  246.69 +LBL_INIT_PARAMS=Par\u00e2metros Init
  246.70 +
  246.71 +LBL_FILTER_TYPE=Tipo de filtro
  246.72 +
  246.73 +LBL_ADD=Adicionar
  246.74 +
  246.75 +LBL_DELETE=Excluir
  246.76 +
  246.77 +TTL_NEW_FILTER=Nova classe do filtro
  246.78 +TTL_FILTER_MAPPING=Mapeamentos de filtro
   247.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   247.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/filters/newFilterWizard_pt_BR.html	Thu Jul 10 19:50:39 2008 +0800
   247.3 @@ -0,0 +1,8 @@
   247.4 +<html>
   247.5 +    <head>
   247.6 +        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   247.7 +    </head>
   247.8 +  <body>
   247.9 +    Cria um filtro do portlet
  247.10 +  </body>
  247.11 +</html>
   248.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   248.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   248.3 @@ -0,0 +1,50 @@
   248.4 +LBL_PORTLET_NAME=Nome do po&rtlet:
   248.5 +LBL_PORTLET_DISPLAY_NAME=Nome &de exibi\u00e7\u00e3o do portlet:
   248.6 +LBL_PORTLET_DESC=Des&cri\u00e7\u00e3o do portlet:
   248.7 +LBL_PORTLET_TITLE=&T\u00edtulo do portlet:
   248.8 +LBL_PORTLET_SHORT_TITLE=T\u00edt&ulo resumido do portlet:
   248.9 +LBL_PORTLET_MODE=&Modo do portlet:
  248.10 +LBL_VIEW=E&XIBIR
  248.11 +
  248.12 +LB_EDIT=&EDITAR
  248.13 +
  248.14 +LBL_HELP=&AJUDA
  248.15 +
  248.16 +MSG_INVALID_PORTLET_NAME=Nome do portlet inv\u00e1lido
  248.17 +
  248.18 +MSG_INVALID_PORTLET_TITLE=T\u00edtulo do portlet inv\u00e1lido
  248.19 +
  248.20 +MSG_INVALID_PORTLET_SHORT_TITLE=T\u00edtulo resumido do portlet inv\u00e1lido
  248.21 +
  248.22 +MSG_INVALID_PORTLET_DISPLAY_NAME=Nome de exibi\u00e7\u00e3o inv\u00e1lido
  248.23 +
  248.24 +MSG_INVALID_PORTLET_DESC=Descri\u00e7\u00e3o do portlet inv\u00e1lido
  248.25 +
  248.26 +MSG_PORTLET_ALREADY_PRESENT=Um portlet com o mesmo nome j\u00e1 existe
  248.27 +
  248.28 +LBL_CREATE_JSPS=Criar Jsps
  248.29 +NewJSR168FileAdvanceVisualPanel.lblView.text=Visualizar Jsp:
  248.30 +NewJSR168FileAdvanceVisualPanel.lblEdit.text=Editar Jsp:
  248.31 +
  248.32 +INVALID_VIEW_JSP_NAME=Visualiza\u00e7\u00e3o Jsp inv\u00e1lida
  248.33 +INVALID_EDIT_JSP_NAME=Edi\u00e7\u00e3o Jsp inv\u00e1lida
  248.34 +INVALID_HELP_JSP_NAME=Ajuda Jsp inv\u00e1lida
  248.35 +
  248.36 +NewJSR168FileAdvancePanel.lblHelp.text=Ajuda Jsp:
  248.37 +ErrorVisualPanel.jLabel1.text=Esta opera\u00e7\u00e3o s\u00f3 \u00e9 permitida para aplicativos do portlet
  248.38 +
  248.39 +TTL_NEW_PORTLET=Nova classe do portlet
  248.40 +TTL_JSP_PANEL=Criar Jsps do portlet
  248.41 +ACSN_Portlet_Name=Nome do por&tlet
  248.42 +ACSD_Portlet_Name=Nome do portlet
  248.43 +ACSD_Portlet_Display_Name=Nome de exibi\u00e7\u00e3o do portlet
  248.44 +ACSD_Portlet_Description=Descri\u00e7\u00e3o do portlet
  248.45 +ACSD_Portlet_Title=T\u00edtulo do portlet
  248.46 +ACSD_Portlet_Short_Title=T\u00edtulo resumido do portlet
  248.47 +ACSD_VIEW=Modo de visualiza\u00e7\u00e3o
  248.48 +ACSD_EDIT=Modo de edi\u00e7\u00e3o
  248.49 +ACSD_HELP=Modo de Ajuda
  248.50 +ACSD_VIEW_JSP=Visualizar Jsp
  248.51 +ACSD_EDIT_JSP=Editar Jsp
  248.52 +ACSD_HELP_JSP=Ajuda Jsp
  248.53 +ACSD_CREATE_JSPS=Criar Jsps
   249.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   249.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/Desc_168_portlet_pt_BR.html	Thu Jul 10 19:50:39 2008 +0800
   249.3 @@ -0,0 +1,10 @@
   249.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   249.5 +            <html>
   249.6 +            <head>
   249.7 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   249.8 +            <title></title>
   249.9 +            </head>
  249.10 +            <body>
  249.11 +              Criar um portlet
  249.12 +            </body>
  249.13 +            </html>
   250.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   250.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/netbeansNewPortletClass_pt_BR.html	Thu Jul 10 19:50:39 2008 +0800
   250.3 @@ -0,0 +1,10 @@
   250.4 +
   250.5 +
   250.6 +<HTML>
   250.7 +<head>
   250.8 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   250.9 +</head>
  250.10 +    <BODY>
  250.11 +        Criar um portlet
  250.12 +    </BODY>
  250.13 +</HTML>
   251.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   251.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/netbeansNewPortlet_pt_BR.html	Thu Jul 10 19:50:39 2008 +0800
   251.3 @@ -0,0 +1,10 @@
   251.4 +
   251.5 +
   251.6 +<HTML>
   251.7 +<head>
   251.8 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   251.9 +</head>
  251.10 +    <BODY>
  251.11 +        Novo portlet JSR-168
  251.12 +    </BODY>
  251.13 +</HTML>
   252.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   252.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/frameworks/jsr168/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   252.3 @@ -0,0 +1,58 @@
   252.4 +#
   252.5 +# The contents of this file are subject to the terms of the Common Development
   252.6 +# and Distribution License (the License). You may not use this file except in
   252.7 +# compliance with the License.
   252.8 +#
   252.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  252.10 +# or http://www.netbeans.org/cddl.txt.
  252.11 +
  252.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  252.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  252.14 +# If applicable, add the following below the CDDL Header, with the fields
  252.15 +# enclosed by brackets [] replaced by your own identifying information:
  252.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  252.17 +#
  252.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  252.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  252.20 +# Microsystems, Inc. All Rights Reserved.
  252.21 +#
  252.22 +
  252.23 +LBL_PORTLET_FRAMEWORK=Suporte a portlet
  252.24 +LBL_PORTLET_FRAMEWORK_DESC=Suporte a portlet
  252.25 +
  252.26 +LBL_CreateProjectStep=passo
  252.27 +LBL_PACKAGE=Pacote:
  252.28 +LBL_PORTLET_CLASS_NAME=Nome da classe do portlet:
  252.29 +LBL_PORTLET_NAME=Nome do portlet:
  252.30 +LBL_PORTLET_DISPLAY_NAME=Nome de exibi\u00e7\u00e3o do portlet:
  252.31 +LBL_PORTLET_DESCRIPTION=Descri\u00e7\u00e3o do portlet:
  252.32 +LBL_PORTLET_TITLE=T\u00edtulo do portlet:
  252.33 +LBL_PORTLET_SHORT_TITLE=T\u00edtulo resumido do portlet:
  252.34 +
  252.35 +LBL_CREATE_PORTLET=Criar portlet
  252.36 +
  252.37 +
  252.38 +MSG_INVALID_PORTLET_NAME=Nome do portlet inv\u00e1lido
  252.39 +
  252.40 +MSG_INVALID_PORTLET_TITLE=T\u00edtulo do portlet inv\u00e1lido
  252.41 +
  252.42 +MSG_INVALID_PORTLET_SHORT_TITLE=T\u00edtulo resumido do portlet inv\u00e1lido
  252.43 +
  252.44 +MSG_INVALID_PORTLET_DISPLAY_NAME=Nome de exibi\u00e7\u00e3o inv\u00e1lido
  252.45 +
  252.46 +MSG_INVALID_PORTLET_DESC=Descri\u00e7\u00e3o do portlet inv\u00e1lido
  252.47 +MSG_INVALID_PACKAGE_NAME =Nome de pacote inv\u00e1lido
  252.48 +MSG_PORTLET_NAME_CANNOT_BE_EMPTY=O nome do portlet n\u00e3o pode ser vazio
  252.49 +MSG_PORTLET_CLASS_CANNOT_BE_EMPTY=A classe do portlet n\u00e3o pode ser vazia
  252.50 +MSG_INVALID_CLASS=Nome de classe inv\u00e1lido
  252.51 +LBL_PORTLET_MODE=Modo do portlet:
  252.52 +
  252.53 +LBL_VIEW=Exibir
  252.54 +
  252.55 +LBL_EDIT=Editar
  252.56 +
  252.57 +LBL_HELP=Ajuda
  252.58 +LBL_SRC_ROOT=Raiz do c\u00f3digo-fonte:
  252.59 +LBL_PORTLET_SPEC_VERSION=Vers\u00e3o do portlet:
  252.60 +
  252.61 +LBL_CREATE_JSPS=Criar Jsps
   253.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   253.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/frameworks/util/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   253.3 @@ -0,0 +1,19 @@
   253.4 +#
   253.5 +# The contents of this file are subject to the terms of the Common Development
   253.6 +# and Distribution License (the License). You may not use this file except in
   253.7 +# compliance with the License.
   253.8 +#
   253.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  253.10 +# or http://www.netbeans.org/cddl.txt.
  253.11 +
  253.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  253.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  253.14 +# If applicable, add the following below the CDDL Header, with the fields
  253.15 +# enclosed by brackets [] replaced by your own identifying information:
  253.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  253.17 +#
  253.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  253.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  253.20 +# Microsystems, Inc. All Rights Reserved.
  253.21 +#
  253.22 +FILE_COULD_NOT_BE_OVERWRITTEN=N\u00e3o foi poss\u00edvel sobregravar o arquivo : 
   254.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   254.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/node/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   254.3 @@ -0,0 +1,35 @@
   254.4 +#
   254.5 +# The contents of this file are subject to the terms of the Common Development
   254.6 +# and Distribution License (the License). You may not use this file except in
   254.7 +# compliance with the License.
   254.8 +#
   254.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  254.10 +# or http://www.netbeans.org/cddl.txt.
  254.11 +
  254.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  254.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  254.14 +# If applicable, add the following below the CDDL Header, with the fields
  254.15 +# enclosed by brackets [] replaced by your own identifying information:
  254.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  254.17 +#
  254.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  254.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  254.20 +# Microsystems, Inc. All Rights Reserved.
  254.21 +#
  254.22 +
  254.23 +#Labels for portlet xml tags to be displayed in the propery sheet
  254.24 +FILTER_NAME=Nome do filtro
  254.25 +FILTER_CLASS=Classe do filtro
  254.26 +LIFE_CYCLE=Ciclo de vida
  254.27 +PORTLET_NAME=Nome do portlet
  254.28 +PORTLET_CLASS=Classe do portlet
  254.29 +DISPLAY-NAME=Nome de exibi\u00e7\u00e3o
  254.30 +EXPIRATION-CACHE=Cache de expira\u00e7\u00e3o
  254.31 +
  254.32 +IDENTIFIER=Identificador
  254.33 +QNAME=qname
  254.34 +NAME=nome
  254.35 +
  254.36 +LBL_FILTERS=Filtros
  254.37 +LBL_PUBLIC_RENDER_PARAMETERS=Par\u00e2metros de renderiza\u00e7\u00e3o p\u00fablicos
  254.38 +BL_PortletXML=PortletXML
   255.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   255.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/node/actions/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   255.3 @@ -0,0 +1,21 @@
   255.4 +#
   255.5 +# The contents of this file are subject to the terms of the Common Development
   255.6 +# and Distribution License (the License). You may not use this file except in
   255.7 +# compliance with the License.
   255.8 +#
   255.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  255.10 +# or http://www.netbeans.org/cddl.txt.
  255.11 +
  255.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  255.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  255.14 +# If applicable, add the following below the CDDL Header, with the fields
  255.15 +# enclosed by brackets [] replaced by your own identifying information:
  255.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  255.17 +#
  255.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  255.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  255.20 +# Microsystems, Inc. All Rights Reserved.
  255.21 +#
  255.22 +DELETE_FILTER_MAPPING=Excluir
  255.23 +LBL_ADD_RENDER_PARAMETER=Adicionar par\u00e2metro Render
  255.24 +LBL_DELETE_RENDER_PARAMETER=Excluir
   256.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   256.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/node/actions/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   256.3 @@ -0,0 +1,47 @@
   256.4 +LBL_NAMESPACE=Namespace
   256.5 +
   256.6 +LBL_LOCAL_PART=Parte local
   256.7 +LBL_ID=Identificador
   256.8 +
   256.9 +LBL_OK=OK
  256.10 +
  256.11 +LBL_CANCEL=Cancelar
  256.12 +
  256.13 +LBL_ADD_PUBLIC_RENDER_PARAMETER=Adicionar par\u00e2metro render p\u00fablico
  256.14 +
  256.15 +LBL_PREFIX=Prefixo
  256.16 +
  256.17 +NOT_A_VALID_LOCAL_PART=N\u00e3o \u00e9 uma parte local v\u00e1lida
  256.18 +NOT_A_VALID_IDENTIFIER=N\u00e3o \u00e9 um identificador v\u00e1lido
  256.19 +NOT_A_VALID_VALUE_TYPE=Indique um tipo de valor v\u00e1lido
  256.20 +NOT_A_VALID_NAMESPACE=N\u00e3o \u00e9 um namespace v\u00e1lido
  256.21 +NOT_A_VALID_PREFIX=N\u00e3o \u00e9 um prefixo
  256.22 +DOT_NOT_ALLOWED_AT_END_OF_LOCALPART=O caractere final de uma parte local ou nome de evento n\u00e3o pode ser um ponto (.) !!!
  256.23 +MSG_RENDER_PARAM_WITH_SAME_ID_EXISTS=Um par\u00e2metro render p\u00fablico com o identificador "{0}" j\u00e1 existe.
  256.24 +AddEventPanel.nameSpaceTf.text=
  256.25 +
  256.26 +AddEventPanel.localPartTf.text=
  256.27 +
  256.28 +AddEventPanel.prefixTf.text=
  256.29 +
  256.30 +AddEventPanel.qNameCB.text=Adicionar como QName
  256.31 +AddEventPanel.valueType.text=
  256.32 +AddEventPanel.valueTypeLabel.text=Tipo de valor
  256.33 +AddAliasPanel.localPartTf.text=
  256.34 +AddAliasPanel.namespaceTf.text=
  256.35 +AddAliasPanel.localPartTf.tooltip=Indicar parte local do QName
  256.36 +AddAliasPanel.namespaceTf.tooltip=Indicar namespace do QName
  256.37 +AddAliasPanel.prefixTf.tooltip=
  256.38 +ACC_Ok=OK
  256.39 +ACC_Cancel=Cancelar
  256.40 +AddAliasPanel.Event.title=Adicionar alias do evento
  256.41 +AddEventPanel.title=Adicionar um evento de publica\u00e7\u00e3o
  256.42 +TT_Add_Identifier=Adicionar um identificador do par\u00e2metro render p\u00fablico
  256.43 +ACC_Add_Identifier=Identificador
  256.44 +TT_NAMESPACE=Indicar namespace do par\u00e2metro render p\u00fablico
  256.45 +ACC_NAMESPACE=namespace
  256.46 +TT_LOCAL_PART=Indicar parte local do par\u00e2metro render p\u00fablico
  256.47 +ACC_LOCALPART=parte local
  256.48 +TT_PREFIX=Indicar prefixo do par\u00e2metro render p\u00fablico
  256.49 +ACC_PREFIX=prefixo
  256.50 +ACC_OK=OK
   257.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   257.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/node/ddloaders/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   257.3 @@ -0,0 +1,20 @@
   257.4 +#
   257.5 +# The contents of this file are subject to the terms of the Common Development
   257.6 +# and Distribution License (the License). You may not use this file except in
   257.7 +# compliance with the License.
   257.8 +#
   257.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  257.10 +# or http://www.netbeans.org/cddl.txt.
  257.11 +
  257.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  257.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  257.14 +# If applicable, add the following below the CDDL Header, with the fields
  257.15 +# enclosed by brackets [] replaced by your own identifying information:
  257.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  257.17 +#
  257.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  257.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  257.20 +# Microsystems, Inc. All Rights Reserved.
  257.21 +#
  257.22 +LBL_PortletXML_loader_name=Arquivos XML do portlet
  257.23 +INVAILD_PORTLET_XML=Xml do portlet inv\u00e1lido. Erro de an\u00e1lise.
   258.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   258.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/resources/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   258.3 @@ -0,0 +1,18 @@
   258.4 +#
   258.5 +# The contents of this file are subject to the terms of the Common Development
   258.6 +# and Distribution License (the License). You may not use this file except in
   258.7 +# compliance with the License.
   258.8 +#
   258.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  258.10 +# or http://www.netbeans.org/cddl.txt.
  258.11 +
  258.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  258.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  258.14 +# If applicable, add the following below the CDDL Header, with the fields
  258.15 +# enclosed by brackets [] replaced by your own identifying information:
  258.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  258.17 +#
  258.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  258.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  258.20 +# Microsystems, Inc. All Rights Reserved.
  258.21 +#
   259.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   259.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/ipc/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   259.3 @@ -0,0 +1,31 @@
   259.4 +#
   259.5 +# The contents of this file are subject to the terms of the Common Development
   259.6 +# and Distribution License (the License). You may not use this file except in
   259.7 +# compliance with the License.
   259.8 +#
   259.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  259.10 +# or http://www.netbeans.org/cddl.txt.
  259.11 +
  259.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  259.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  259.14 +# If applicable, add the following below the CDDL Header, with the fields
  259.15 +# enclosed by brackets [] replaced by your own identifying information:
  259.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  259.17 +#
  259.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  259.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  259.20 +# Microsystems, Inc. All Rights Reserved.
  259.21 +#
  259.22 +CTL_IPCStoryBoardAction=StoryBoard de evento do portlet
  259.23 +CTL_IPCStoryBoardTopComponent=Janela StoryBoard de evento
  259.24 +HINT_IPCStoryBoardTopComponent=Esta \u00e9 uma janela StoryBoard de evento
  259.25 +MSG_ERROR_GENERATING_PROCESS_EVENT_CODE=Erro ao gerar c\u00f3digo de evento do processo.
  259.26 +MSG_WANT_TO_ADD_ALIAS=Tem certeza que deseja adicionar o evento {0} como um alias ao evento {1} ? 
  259.27 +MSG_ERROR_EVENT_REMOVE=N\u00e3o foi poss\u00edvel excluir o evento corretamente.
  259.28 +MSG_ERROR_ADD_ALIAS_EVENT=N\u00e3o foi poss\u00edvel adicionar o alias corretamente.
  259.29 +
  259.30 +MENU_RESET_STORY_BOARD=Redefinir StoryBoard
  259.31 +MENU_SHOW_IN_STORYBOARD=Mostrar em StoryBoard
  259.32 +
  259.33 +TL_ADD_PUBLISH_EVENT=Adicionar um evento de publica\u00e7\u00e3o
  259.34 +TL_ADD_PROCESS_EVENT=Adicionar um evento do processo
   260.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   260.2 +++ b/portalpack.portlets.genericportlets/l10n/pt_BR/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/ipc/actions/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   260.3 @@ -0,0 +1,50 @@
   260.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   260.5 +# 
   260.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   260.7 +# 
   260.8 +# The contents of this file are subject to the terms of either the GNU
   260.9 +# General Public License Version 2 only ("GPL") or the Common
  260.10 +# Development and Distribution License("CDDL") (collectively, the
  260.11 +# "License"). You may not use this file except in compliance with the
  260.12 +# License. You can obtain a copy of the License at
  260.13 +# http://www.netbeans.org/cddl-gplv2.html
  260.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  260.15 +# specific language governing permissions and limitations under the
  260.16 +# License.  When distributing the software, include this License Header
  260.17 +# Notice in each file and include the License file at
  260.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  260.19 +# particular file as subject to the "Classpath" exception as provided
  260.20 +# by Sun in the GPL Version 2 section of the License file that
  260.21 +# accompanied this code. If applicable, add the following below the
  260.22 +# License Header, with the fields enclosed by brackets [] replaced by
  260.23 +# your own identifying information:
  260.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  260.25 +# 
  260.26 +# If you wish your version of this file to be governed by only the CDDL
  260.27 +# or only the GPL Version 2, indicate your decision by adding
  260.28 +# "[Contributor] elects to include this software in this distribution
  260.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  260.30 +# single choice of license, a recipient has the option to distribute
  260.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  260.32 +# to extend the choice of license to its licensees as provided above.
  260.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  260.34 +# Version 2 license, then the option applies only if the new code is
  260.35 +# made subject to such option by the copyright holder.
  260.36 +# 
  260.37 +# Contributor(s):
  260.38 +# 
  260.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  260.40 +
  260.41 +MENU_GENERATE_CONSUME_EVENT_SOURCE=Gerar c\u00f3digo-fonte para evento do processo
  260.42 +MENU_POP_UP=Menu popup
  260.43 +MENU_ADD_ALIAS=Adicionar um alias
  260.44 +MENU_REMOVE_PROCESS_EVENT=Remover evento do processo
  260.45 +MENU_REMOVE=Remover
  260.46 +MENU_GENERATE_PUBLISH_EVENT_SOURCE=Gerar c\u00f3digo-fonte para evento de publica\u00e7\u00e3o
  260.47 +MENU_REMOVE_EVENT=Remover evento
  260.48 +MENU_RESET_STORYBOARD=Redefinir StoryBoard
  260.49 +MENU_REMOVE_PORTLET_FROM_STORYBOARD=Remover portlet do StoryBoard
  260.50 +MENU_ADD_PUBLISH_EVENT=Adicionar evento de publica\u00e7\u00e3o
  260.51 +MENU_ADD_PROCESS_EVENT=Adicionar evento do processo
  260.52 +MENU_ADD_PROCESS_EVENT_TOOLTIP=Voc\u00ea tamb\u00e9m pode criar um evento do processo conectando um evento usando visulamente o mouse.
  260.53 +MENU_ADD_PUBLIC_RENDER_PARAM=Adicionar um par\u00e2metro render p\u00fablico
   261.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   261.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   261.3 @@ -0,0 +1,38 @@
   261.4 +#
   261.5 +# The contents of this file are subject to the terms of the Common Development
   261.6 +# and Distribution License (the License). You may not use this file except in
   261.7 +# compliance with the License.
   261.8 +#
   261.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  261.10 +# or http://www.netbeans.org/cddl.txt.
  261.11 +
  261.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  261.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  261.14 +# If applicable, add the following below the CDDL Header, with the fields
  261.15 +# enclosed by brackets [] replaced by your own identifying information:
  261.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  261.17 +#
  261.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  261.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  261.20 +# Microsystems, Inc. All Rights Reserved.
  261.21 +#
  261.22 +
  261.23 +OpenIDE-Module-Display-Category=PortalPack
  261.24 +OpenIDE-Module-Long-Description=\u6b64\u63d2\u4ef6\u652f\u6301\u5728 NetBeans IDE \u4e2d\u5f00\u53d1\u57fa\u4e8e JSR 168/286 \u7684\u901a\u7528 Portlet\u3002
  261.25 +OpenIDE-Module-Name=\u901a\u7528 Portlet
  261.26 +
  261.27 +OpenIDE-Module-Short-Description=\u6b64\u63d2\u4ef6\u7528\u4e8e\u521b\u5efa\u57fa\u4e8e JSR 168 \u7684\u901a\u7528 Portlet
  261.28 +Services/MIMEResolver/PortletResolver.xml=Portlet \u6587\u4ef6
  261.29 +Services/MIMEResolver/PortletXMLResolver.xml=PortletXML \u6587\u4ef6
  261.30 +Templates/JSP_Servlet/Portlet=Portlet
  261.31 +Templates/JSP_Servlet/PortletFilter=Portlet \u8fc7\u6ee4\u5668
  261.32 +#NOI18N
  261.33 +#update_center=http://webhome.sfbay.sun.com/portalserver/PortalTooling/updates/nb6/updates.xml
  261.34 +#Services/AutoupdateType/portalpack_update_center.settings=Portal Pack 2.0 For NetBeans 6 Update Center=======
  261.35 +Templates/Other/PortletXMLTemplate.xml=\u7a7a\u7684 PortletXML \u6587\u4ef6
  261.36 +
  261.37 +#Library Display Name
  261.38 +Portlet-1.0-Lib=Portlet 1.0 (JSR 168) \u5e93
  261.39 +Portlet-2.0-Lib=Portlet 2.0 (JSR 286) \u5e93
  261.40 +
  261.41 +
   262.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   262.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/core/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   262.3 @@ -0,0 +1,20 @@
   262.4 +#
   262.5 +# The contents of this file are subject to the terms of the Common Development
   262.6 +# and Distribution License (the License). You may not use this file except in
   262.7 +# compliance with the License.
   262.8 +#
   262.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  262.10 +# or http://www.netbeans.org/cddl.txt.
  262.11 +
  262.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  262.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  262.14 +# If applicable, add the following below the CDDL Header, with the fields
  262.15 +# enclosed by brackets [] replaced by your own identifying information:
  262.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  262.17 +#
  262.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  262.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  262.20 +# Microsystems, Inc. All Rights Reserved.
  262.21 +#
  262.22 +
  262.23 +# Sample ResourceBundle properties file
   263.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   263.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/core/codegen/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   263.3 @@ -0,0 +1,20 @@
   263.4 +#
   263.5 +# The contents of this file are subject to the terms of the Common Development
   263.6 +# and Distribution License (the License). You may not use this file except in
   263.7 +# compliance with the License.
   263.8 +#
   263.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  263.10 +# or http://www.netbeans.org/cddl.txt.
  263.11 +
  263.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  263.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  263.14 +# If applicable, add the following below the CDDL Header, with the fields
  263.15 +# enclosed by brackets [] replaced by your own identifying information:
  263.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  263.17 +#
  263.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  263.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  263.20 +# Microsystems, Inc. All Rights Reserved.
  263.21 +#
  263.22 +
  263.23 +# Sample ResourceBundle properties file
   264.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   264.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/core/component/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   264.3 @@ -0,0 +1,26 @@
   264.4 +#
   264.5 +# The contents of this file are subject to the terms of the Common Development
   264.6 +# and Distribution License (the License). You may not use this file except in
   264.7 +# compliance with the License.
   264.8 +#
   264.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  264.10 +# or http://www.netbeans.org/cddl.txt.
  264.11 +
  264.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  264.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  264.14 +# If applicable, add the following below the CDDL Header, with the fields
  264.15 +# enclosed by brackets [] replaced by your own identifying information:
  264.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  264.17 +#
  264.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  264.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  264.20 +# Microsystems, Inc. All Rights Reserved.
  264.21 +#
  264.22 +
  264.23 +
  264.24 +Msg_Not_a_valid_class_name=\u7c7b\u540d\u65e0\u6548
  264.25 +
  264.26 +#NOI18N
  264.27 +MSG_ERROR=\u9519\u8bef
  264.28 +
  264.29 +MSG_Invalid_WEB-INF_Directory=WEB-INF \u76ee\u5f55\u65e0\u6548
   265.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   265.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/core/metagen/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   265.3 @@ -0,0 +1,20 @@
   265.4 +#
   265.5 +# The contents of this file are subject to the terms of the Common Development
   265.6 +# and Distribution License (the License). You may not use this file except in
   265.7 +# compliance with the License.
   265.8 +#
   265.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  265.10 +# or http://www.netbeans.org/cddl.txt.
  265.11 +
  265.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  265.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  265.14 +# If applicable, add the following below the CDDL Header, with the fields
  265.15 +# enclosed by brackets [] replaced by your own identifying information:
  265.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  265.17 +#
  265.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  265.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  265.20 +# Microsystems, Inc. All Rights Reserved.
  265.21 +#
  265.22 +
  265.23 +# Sample ResourceBundle properties file
   266.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   266.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/core/util/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   266.3 @@ -0,0 +1,38 @@
   266.4 +#
   266.5 +# The contents of this file are subject to the terms of the Common Development
   266.6 +# and Distribution License (the License). You may not use this file except in
   266.7 +# compliance with the License.
   266.8 +#
   266.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  266.10 +# or http://www.netbeans.org/cddl.txt.
  266.11 +
  266.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  266.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  266.14 +# If applicable, add the following below the CDDL Header, with the fields
  266.15 +# enclosed by brackets [] replaced by your own identifying information:
  266.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  266.17 +#
  266.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  266.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  266.20 +# Microsystems, Inc. All Rights Reserved.
  266.21 +#
  266.22 +
  266.23 +# Sample ResourceBundle properties file
  266.24 +
  266.25 +LBL_OK=\u786e\u5b9a
  266.26 +
  266.27 +LBL_Cancel=\u53d6\u6d88
  266.28 +
  266.29 +MSG_ALREADY_EXISTS=\u5df2\u5b58\u5728\u3002\u662f\u5426\u786e\u5b9e\u8981\u8986\u76d6\uff1f
  266.30 +
  266.31 +LBL_Overwrite_Warning=\u8986\u76d6\u8b66\u544a
  266.32 +
  266.33 +
  266.34 +#### Error messages
  266.35 +MSG_invalid_filename=\u6587\u4ef6\u540d\u65e0\u6548
  266.36 +
  266.37 +MSG_fs_is_readonly=<html>\u76ee\u6807\u6587\u4ef6\u5939\u5177\u6709\u53ea\u8bfb\u5c5e\u6027\u3002</html>
  266.38 +MSG_file_already_exist=\u6587\u4ef6\u5df2\u5b58\u5728
  266.39 +MSG_file_already_exist=\u6587\u4ef6\u5df2\u5b58\u5728
  266.40 +
  266.41 +TXT_CantUpdatePortletXML=\u65e0\u6cd5\u66f4\u65b0 portlet.xml
   267.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   267.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/eventing/impl/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   267.3 @@ -0,0 +1,40 @@
   267.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   267.5 +# 
   267.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   267.7 +# 
   267.8 +# The contents of this file are subject to the terms of either the GNU
   267.9 +# General Public License Version 2 only ("GPL") or the Common
  267.10 +# Development and Distribution License("CDDL") (collectively, the
  267.11 +# "License"). You may not use this file except in compliance with the
  267.12 +# License. You can obtain a copy of the License at
  267.13 +# http://www.netbeans.org/cddl-gplv2.html
  267.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  267.15 +# specific language governing permissions and limitations under the
  267.16 +# License.  When distributing the software, include this License Header
  267.17 +# Notice in each file and include the License file at
  267.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  267.19 +# particular file as subject to the "Classpath" exception as provided
  267.20 +# by Sun in the GPL Version 2 section of the License file that
  267.21 +# accompanied this code. If applicable, add the following below the
  267.22 +# License Header, with the fields enclosed by brackets [] replaced by
  267.23 +# your own identifying information:
  267.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  267.25 +# 
  267.26 +# If you wish your version of this file to be governed by only the CDDL
  267.27 +# or only the GPL Version 2, indicate your decision by adding
  267.28 +# "[Contributor] elects to include this software in this distribution
  267.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  267.30 +# single choice of license, a recipient has the option to distribute
  267.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  267.32 +# to extend the choice of license to its licensees as provided above.
  267.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  267.34 +# Version 2 license, then the option applies only if the new code is
  267.35 +# made subject to such option by the copyright holder.
  267.36 +# 
  267.37 +# Contributor(s):
  267.38 +# 
  267.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  267.40 +
  267.41 +MSG_WANT_TO_DELETE_EVENT_DEFINITION=\u627e\u4e0d\u5230\u5bf9\u4e8b\u4ef6 {0} \u7684\u5f15\u7528\u3002\n\u662f\u5426\u4ecd\u8981\u5220\u9664\u4e8b\u4ef6\u5b9a\u4e49\uff1f
  267.42 +MSG_A_METHOD_WITH_SAME_NAME_EXISTS=\u5177\u6709\u7ed9\u5b9a\u540d\u79f0\u7684\u65b9\u6cd5\u5df2\u5b58\u5728\uff01\uff01\uff01
  267.43 +MSG_WARNING_PROCESS_EVENT_METHOD_EXISTS=Portlet \u7c7b\u8986\u76d6\u5728 GenericPortlet \u7c7b\u4e2d\u5b9a\u4e49\u7684 processEvent(EventRequest,EventResponse) \u65b9\u6cd5\u3002\n\u56e0\u6b64\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u4ece processEvent \u65b9\u6cd5\u4e2d\u8c03\u7528\u65b0\u751f\u6210\u7684\u65b9\u6cd5\uff0c\u4ee5\u4f7f\u5176\u6b63\u5e38\u5de5\u4f5c\u3002
   268.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   268.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/impl/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   268.3 @@ -0,0 +1,27 @@
   268.4 +#
   268.5 +# The contents of this file are subject to the terms of the Common Development
   268.6 +# and Distribution License (the License). You may not use this file except in
   268.7 +# compliance with the License.
   268.8 +#
   268.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  268.10 +# or http://www.netbeans.org/cddl.txt.
  268.11 +
  268.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  268.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  268.14 +# If applicable, add the following below the CDDL Header, with the fields
  268.15 +# enclosed by brackets [] replaced by your own identifying information:
  268.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  268.17 +#
  268.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  268.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  268.20 +# Microsystems, Inc. All Rights Reserved.
  268.21 +#
  268.22 +
  268.23 +PORTLET_FILTER_MAPPING_ALREADY_PRESENT=\u6b64 Portlet \u548c\u8fc7\u6ee4\u5668\u5df2\u5b58\u5728\u8fc7\u6ee4\u5668\u6620\u5c04
  268.24 +
  268.25 +NOT_A_VALID_IDENTIFIER=\u8bf7\u8f93\u5165\u6709\u6548\u7684\u6807\u8bc6\u7b26\u3002
  268.26 +NOT_A_VALID_LOCAL_PART=\u8bf7\u8f93\u5165\u6709\u6548\u7684\u672c\u5730\u90e8\u4ef6\u3002
  268.27 +SUPPORTED_PUBLIC_RENDER_PARAMETER_ALREADY_PRESENT=\u652f\u6301\u7684\u516c\u5171\u5448\u73b0\u53c2\u6570\u5df2\u5b58\u5728
  268.28 +MSG_IDENTIFIER_EXISTS=\u5177\u6709\u76f8\u540c\u6807\u8bc6\u7b26 {0} \u7684\u516c\u5171\u5448\u73b0\u53c2\u6570\u5df2\u5b58\u5728\u3002
  268.29 +MSG_PRP_WITH_SAME_VALUE_EXIST_FOR_ID=\u503c\u76f8\u540c\u4f46\u6807\u8bc6\u7b26 ("{0}") \u4e0d\u540c\u7684\u516c\u5171\u5448\u73b0\u53c2\u6570\u5df2\u5b58\u5728\u3002\n\u662f\u5426\u8981\u4f7f\u7528\u8be5\u53c2\u6570\uff1f\n\u5982\u679c\u8981\u4f7f\u7528\u73b0\u6709\u7684\u53c2\u6570\uff0c\u8bf7\u6309\u201c\u662f\u201d\uff1b\n\u5982\u679c\u8981\u521b\u5efa\u65b0\u7684\u516c\u5171\u5448\u73b0\u53c2\u6570\uff0c\u8bf7\u6309\u201c\u5426\u201d\u3002
  268.30 +MSG_PRP_IS_NOT_USED_WANT_TO_DELETE=\u4efb\u4f55\u5176\u4ed6 Portlet \u5747\u672a\u4f7f\u7528 ID \u4e3a "{0}" \u7684\u516c\u5171\u5448\u73b0\u53c2\u6570\u3002\n\u662f\u5426\u8981\u5c06\u5176\u5b8c\u5168\u5220\u9664\uff1f
   269.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   269.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/ddapi/impl/sun/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   269.3 @@ -0,0 +1,28 @@
   269.4 +
   269.5 +GenerateEventDialog.generateNewMthodLabel.text=\u751f\u6210\u65b0\u65b9\u6cd5
   269.6 +
   269.7 +GenerateEventDialog.methodNameTxt.text=
   269.8 +
   269.9 +GenerateEventDialog.eventNameTf.text=
  269.10 +
  269.11 +GenerateEventDialog.portletNameTf.text=
  269.12 +
  269.13 +GenerateEventDialog.title=\u751f\u6210\u65b0\u4e8b\u4ef6
  269.14 +
  269.15 +GenerateEventDialog.ok.text=\u786e\u5b9a
  269.16 +
  269.17 +GenerateEventDialog.cancel.text=\u53d6\u6d88
  269.18 +LBL_MethodName=\u65b9\u6cd5\u540d\u79f0
  269.19 +ACC_Generate_Code=\u751f\u6210\u4ee3\u7801
  269.20 +LBL_Event_Name=\u4e8b\u4ef6\u540d\u79f0
  269.21 +LBL_Portlet_Name=Portlet \u540d\u79f0
  269.22 +LBL_Modified_Java_File=\u4fee\u6539\u7684 Java \u6587\u4ef6
  269.23 +LBL_Ok=\u786e\u5b9a
  269.24 +LBL_Cancel=\u53d6\u6d88
  269.25 +ACC_Event_Parameters=\u4e8b\u4ef6\u53c2\u6570
  269.26 +
  269.27 +GenerateEventDialog.generateSourcePanel.border.title=\u751f\u6210\u6e90\u4ee3\u7801
  269.28 +GenerateEventDialog.eventParametersPanel.border.title=\u4e8b\u4ef6\u53c2\u6570
  269.29 +GenerateEventDialog.eventNameLabel.text=\u4e8b\u4ef6\u540d\u79f0
  269.30 +GenerateEventDialog.portletNameLabel.text=Portlet \u540d\u79f0
  269.31 +GenerateEventDialog.addToExistingMethodCB.text=\u6dfb\u52a0\u5230\u73b0\u6709\u65b9\u6cd5
   270.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   270.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/filters/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   270.3 @@ -0,0 +1,75 @@
   270.4 +# The contents of this file are subject to the terms of the Common Development
   270.5 +# and Distribution License (the License). You may not use this file except in
   270.6 +# compliance with the License.
   270.7 +#
   270.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   270.9 +# or http://www.netbeans.org/cddl.txt.
  270.10 +#
  270.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  270.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  270.13 +# If applicable, add the following below the CDDL Header, with the fields
  270.14 +# enclosed by brackets [] replaced by your own identifying information:
  270.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  270.16 +#
  270.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  270.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  270.19 +# Microsystems, Inc. All Rights Reserved.
  270.20 +
  270.21 +# Generic labels, used in several places
  270.22 +LBL_newdots=\u65b0\u5efa...
  270.23 +LBL_new_mnemonic=N
  270.24 +LBL_delete=\u5220\u9664
  270.25 +LBL_delete_mnemonic=D
  270.26 +LBL_move_up=\u4e0a\u79fb
  270.27 +LBL_move_up_mnemonic=U
  270.28 +LBL_move_down=\u4e0b\u79fb
  270.29 +LBL_move_down_mnemonic=O
  270.30 +LBL_edit=\u7f16\u8f91...
  270.31 +LBL_edit_mnemonic=E
  270.32 +LBL_OK=\u786e\u5b9a
  270.33 +
  270.34 +# NewObjectPanel
  270.35 +
  270.36 +#### Error messages
  270.37 +
  270.38 +MSG_fs_is_readonly=<html>\u76ee\u6807\u6587\u4ef6\u5939\u5177\u6709\u53ea\u8bfb\u5c5e\u6027\u3002</html>
  270.39 +
  270.40 +LBL_filter_mappings=\u8fc7\u6ee4\u5668\u6620\u5c04\uff1a
  270.41 +LBL_filter_mappings_mnemonic=I
  270.42 +ACSD_filter_mappings=\u8fc7\u6ee4\u5668\u6620\u5c04
  270.43 +ACSD_filter_mappings_desc=\u8fc7\u6ee4\u5668\u6620\u5c04\u8868
  270.44 +ACSD_filter_mappings_new=\u6dfb\u52a0\u8fc7\u6ee4\u5668\u6620\u5c04
  270.45 +ACSD_filter_mappings_edit=\u7f16\u8f91\u8fc7\u6ee4\u5668\u6620\u5c04
  270.46 +ACSD_filter_mappings_delete=\u5220\u9664\u8fc7\u6ee4\u5668\u6620\u5c04
  270.47 +ACSD_filter_mappings_up=\u4e0a\u79fb\u8fc7\u6ee4\u5668\u6620\u5c04
  270.48 +ACSD_filter_mappings_down=\u4e0b\u79fb\u8fc7\u6ee4\u5668\u6620\u5c04
  270.49 +
  270.50 +MSG_invalid_filename={0} \u662f\u65e0\u6548\u7684\u6587\u4ef6\u540d\u3002
  270.51 +
  270.52 +LBL_RequestListener_Mnemonic=r
  270.53 +
  270.54 +LBL_RequestAttrListener_Mnemonic=q
  270.55 +
  270.56 +
  270.57 +MSG_FILTER_NOT_ALLOWED=\u4e0d\u5141\u8bb8\u5728\u6b64\u9879\u76ee\u4e2d\u4f7f\u7528\u8fc7\u6ee4\u5668
  270.58 +
  270.59 +LBL_RENDER=RENDER
  270.60 +
  270.61 +LBL_ACTION=ACTION
  270.62 +
  270.63 +LBL_EVENT=EVENT
  270.64 +
  270.65 +LBL_RESOURCE=RESOURCE
  270.66 +
  270.67 +LBL_FILTER_NAME=\u8fc7\u6ee4\u5668\u540d\u79f0
  270.68 +
  270.69 +LBL_INIT_PARAMS=\u521d\u59cb\u5316\u53c2\u6570
  270.70 +
  270.71 +LBL_FILTER_TYPE=\u8fc7\u6ee4\u5668\u7c7b\u578b
  270.72 +
  270.73 +LBL_ADD=\u6dfb\u52a0
  270.74 +
  270.75 +LBL_DELETE=\u5220\u9664
  270.76 +
  270.77 +TTL_NEW_FILTER=\u65b0\u5efa\u8fc7\u6ee4\u5668\u7c7b
  270.78 +TTL_FILTER_MAPPING=\u8fc7\u6ee4\u5668\u6620\u5c04
   271.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   271.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/filters/newFilterWizard_zh_CN.html	Thu Jul 10 19:50:39 2008 +0800
   271.3 @@ -0,0 +1,8 @@
   271.4 +<html>
   271.5 +    <head>
   271.6 +        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   271.7 +    </head>
   271.8 +  <body>
   271.9 +    创建 Portlet 过滤器
  271.10 +  </body>
  271.11 +</html>
   272.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   272.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   272.3 @@ -0,0 +1,50 @@
   272.4 +LBL_PORTLET_NAME=&Portlet \u540d\u79f0\uff1a
   272.5 +LBL_PORTLET_DISPLAY_NAME=Portlet \u663e\u793a\u540d\u79f0(&D)\uff1a
   272.6 +LBL_PORTLET_DESC=Portlet \u63cf\u8ff0(&C)\uff1a
   272.7 +LBL_PORTLET_TITLE=Portlet \u6807\u9898(&T)\uff1a
   272.8 +LBL_PORTLET_SHORT_TITLE=Portlet \u77ed\u6807\u9898(&H)\uff1a
   272.9 +LBL_PORTLET_MODE=Portlet \u6a21\u5f0f(&M)\uff1a
  272.10 +LBL_VIEW=&VIEW
  272.11 +
  272.12 +LB_EDIT=&EDIT
  272.13 +
  272.14 +LBL_HELP=&HELP
  272.15 +
  272.16 +MSG_INVALID_PORTLET_NAME=Portlet \u540d\u79f0\u65e0\u6548
  272.17 +
  272.18 +MSG_INVALID_PORTLET_TITLE=Portlet \u6807\u9898\u65e0\u6548
  272.19 +
  272.20 +MSG_INVALID_PORTLET_SHORT_TITLE=Portlet \u77ed\u6807\u9898\u65e0\u6548
  272.21 +
  272.22 +MSG_INVALID_PORTLET_DISPLAY_NAME=\u663e\u793a\u540d\u79f0\u65e0\u6548
  272.23 +
  272.24 +MSG_INVALID_PORTLET_DESC=Portlet \u63cf\u8ff0\u65e0\u6548
  272.25 +
  272.26 +MSG_PORTLET_ALREADY_PRESENT=\u5177\u6709\u76f8\u540c\u540d\u79f0\u7684 Portlet \u5df2\u5b58\u5728
  272.27 +
  272.28 +LBL_CREATE_JSPS=\u521b\u5efa JSP
  272.29 +NewJSR168FileAdvanceVisualPanel.lblView.text=\u67e5\u770b JSP\uff1a
  272.30 +NewJSR168FileAdvanceVisualPanel.lblEdit.text=\u7f16\u8f91 JSP\uff1a
  272.31 +
  272.32 +INVALID_VIEW_JSP_NAME=\u67e5\u770b JSP \u65e0\u6548
  272.33 +INVALID_EDIT_JSP_NAME=\u7f16\u8f91 JSP \u65e0\u6548
  272.34 +INVALID_HELP_JSP_NAME=\u5e2e\u52a9 JSP \u65e0\u6548
  272.35 +
  272.36 +NewJSR168FileAdvancePanel.lblHelp.text=\u5e2e\u52a9 JSP\uff1a
  272.37 +ErrorVisualPanel.jLabel1.text=\u53ea\u5141\u8bb8\u5bf9 Portlet \u5e94\u7528\u7a0b\u5e8f\u6267\u884c\u6b64\u64cd\u4f5c
  272.38 +
  272.39 +TTL_NEW_PORTLET=\u65b0\u5efa Portlet \u7c7b
  272.40 +TTL_JSP_PANEL=\u4e3a Portlet \u521b\u5efa JSP
  272.41 +ACSN_Portlet_Name=&Portlet \u540d\u79f0
  272.42 +ACSD_Portlet_Name=Portlet \u540d\u79f0
  272.43 +ACSD_Portlet_Display_Name=Portlet \u663e\u793a\u540d\u79f0
  272.44 +ACSD_Portlet_Description=Portlet \u63cf\u8ff0
  272.45 +ACSD_Portlet_Title=Portlet \u6807\u9898
  272.46 +ACSD_Portlet_Short_Title=Portlet \u77ed\u6807\u9898
  272.47 +ACSD_VIEW=\u67e5\u770b\u6a21\u5f0f
  272.48 +ACSD_EDIT=\u7f16\u8f91\u6a21\u5f0f
  272.49 +ACSD_HELP=\u5e2e\u52a9\u6a21\u5f0f
  272.50 +ACSD_VIEW_JSP=\u67e5\u770b JSP
  272.51 +ACSD_EDIT_JSP=\u7f16\u8f91 JSP
  272.52 +ACSD_HELP_JSP=\u5e2e\u52a9 JSP
  272.53 +ACSD_CREATE_JSPS=\u521b\u5efa JSP
   273.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   273.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/Desc_168_portlet_zh_CN.html	Thu Jul 10 19:50:39 2008 +0800
   273.3 @@ -0,0 +1,10 @@
   273.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   273.5 +            <html>
   273.6 +            <head>
   273.7 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   273.8 +            <title></title>
   273.9 +            </head>
  273.10 +            <body>
  273.11 +              创建 Portlet
  273.12 +            </body>
  273.13 +            </html>
   274.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   274.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/netbeansNewPortletClass_zh_CN.html	Thu Jul 10 19:50:39 2008 +0800
   274.3 @@ -0,0 +1,10 @@
   274.4 +
   274.5 +
   274.6 +<HTML>
   274.7 +<head>
   274.8 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   274.9 +</head>
  274.10 +    <BODY>
  274.11 +        创建 Portlet
  274.12 +    </BODY>
  274.13 +</HTML>
   275.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   275.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/filetype/jsr168/netbeansNewPortlet_zh_CN.html	Thu Jul 10 19:50:39 2008 +0800
   275.3 @@ -0,0 +1,10 @@
   275.4 +
   275.5 +
   275.6 +<HTML>
   275.7 +<head>
   275.8 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   275.9 +</head>
  275.10 +    <BODY>
  275.11 +        新建 JSR-168 Portlet
  275.12 +    </BODY>
  275.13 +</HTML>
   276.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   276.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/frameworks/jsr168/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   276.3 @@ -0,0 +1,58 @@
   276.4 +#
   276.5 +# The contents of this file are subject to the terms of the Common Development
   276.6 +# and Distribution License (the License). You may not use this file except in
   276.7 +# compliance with the License.
   276.8 +#
   276.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  276.10 +# or http://www.netbeans.org/cddl.txt.
  276.11 +
  276.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  276.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  276.14 +# If applicable, add the following below the CDDL Header, with the fields
  276.15 +# enclosed by brackets [] replaced by your own identifying information:
  276.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  276.17 +#
  276.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  276.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  276.20 +# Microsystems, Inc. All Rights Reserved.
  276.21 +#
  276.22 +
  276.23 +LBL_PORTLET_FRAMEWORK=Portlet \u652f\u6301
  276.24 +LBL_PORTLET_FRAMEWORK_DESC=Portlet \u652f\u6301
  276.25 +
  276.26 +LBL_CreateProjectStep=\u6b65\u9aa4
  276.27 +LBL_PACKAGE=\u5305\uff1a
  276.28 +LBL_PORTLET_CLASS_NAME=Portlet \u7c7b\u540d\u79f0\uff1a
  276.29 +LBL_PORTLET_NAME=Portlet \u540d\u79f0\uff1a
  276.30 +LBL_PORTLET_DISPLAY_NAME=Portlet \u663e\u793a\u540d\u79f0\uff1a
  276.31 +LBL_PORTLET_DESCRIPTION=Portlet \u63cf\u8ff0\uff1a
  276.32 +LBL_PORTLET_TITLE=Portlet \u6807\u9898\uff1a
  276.33 +LBL_PORTLET_SHORT_TITLE=Portlet \u77ed\u6807\u9898\uff1a
  276.34 +
  276.35 +LBL_CREATE_PORTLET=\u521b\u5efa Portlet
  276.36 +
  276.37 +
  276.38 +MSG_INVALID_PORTLET_NAME=Portlet \u540d\u79f0\u65e0\u6548
  276.39 +
  276.40 +MSG_INVALID_PORTLET_TITLE=Portlet \u6807\u9898\u65e0\u6548
  276.41 +
  276.42 +MSG_INVALID_PORTLET_SHORT_TITLE=Portlet \u77ed\u6807\u9898\u65e0\u6548
  276.43 +
  276.44 +MSG_INVALID_PORTLET_DISPLAY_NAME=\u663e\u793a\u540d\u79f0\u65e0\u6548
  276.45 +
  276.46 +MSG_INVALID_PORTLET_DESC=Portlet \u63cf\u8ff0\u65e0\u6548
  276.47 +MSG_INVALID_PACKAGE_NAME =\u5305\u540d\u65e0\u6548
  276.48 +MSG_PORTLET_NAME_CANNOT_BE_EMPTY=Portlet \u540d\u79f0\u4e0d\u80fd\u4e3a\u7a7a
  276.49 +MSG_PORTLET_CLASS_CANNOT_BE_EMPTY=Portlet \u7c7b\u4e0d\u80fd\u4e3a\u7a7a
  276.50 +MSG_INVALID_CLASS=\u7c7b\u540d\u65e0\u6548
  276.51 +LBL_PORTLET_MODE=Portlet \u6a21\u5f0f\uff1a
  276.52 +
  276.53 +LBL_VIEW=\u67e5\u770b
  276.54 +
  276.55 +LBL_EDIT=\u7f16\u8f91
  276.56 +
  276.57 +LBL_HELP=\u5e2e\u52a9
  276.58 +LBL_SRC_ROOT=\u6e90\u6839\u76ee\u5f55\uff1a
  276.59 +LBL_PORTLET_SPEC_VERSION=Portlet \u7248\u672c\uff1a
  276.60 +
  276.61 +LBL_CREATE_JSPS=\u521b\u5efa JSP
   277.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   277.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/frameworks/util/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   277.3 @@ -0,0 +1,19 @@
   277.4 +#
   277.5 +# The contents of this file are subject to the terms of the Common Development
   277.6 +# and Distribution License (the License). You may not use this file except in
   277.7 +# compliance with the License.
   277.8 +#
   277.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  277.10 +# or http://www.netbeans.org/cddl.txt.
  277.11 +
  277.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  277.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  277.14 +# If applicable, add the following below the CDDL Header, with the fields
  277.15 +# enclosed by brackets [] replaced by your own identifying information:
  277.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  277.17 +#
  277.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  277.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  277.20 +# Microsystems, Inc. All Rights Reserved.
  277.21 +#
  277.22 +FILE_COULD_NOT_BE_OVERWRITTEN=\u65e0\u6cd5\u8986\u76d6\u6587\u4ef6\uff1a 
   278.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   278.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/node/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   278.3 @@ -0,0 +1,35 @@
   278.4 +#
   278.5 +# The contents of this file are subject to the terms of the Common Development
   278.6 +# and Distribution License (the License). You may not use this file except in
   278.7 +# compliance with the License.
   278.8 +#
   278.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  278.10 +# or http://www.netbeans.org/cddl.txt.
  278.11 +
  278.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  278.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  278.14 +# If applicable, add the following below the CDDL Header, with the fields
  278.15 +# enclosed by brackets [] replaced by your own identifying information:
  278.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  278.17 +#
  278.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  278.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  278.20 +# Microsystems, Inc. All Rights Reserved.
  278.21 +#
  278.22 +
  278.23 +#Labels for portlet xml tags to be displayed in the propery sheet
  278.24 +FILTER_NAME=\u8fc7\u6ee4\u5668\u540d\u79f0
  278.25 +FILTER_CLASS=\u8fc7\u6ee4\u5668\u7c7b
  278.26 +LIFE_CYCLE=\u751f\u547d\u5468\u671f
  278.27 +PORTLET_NAME=Portlet \u540d\u79f0
  278.28 +PORTLET_CLASS=Portlet \u7c7b
  278.29 +DISPLAY-NAME=\u663e\u793a\u540d\u79f0
  278.30 +EXPIRATION-CACHE=\u8fc7\u671f\u7f13\u5b58
  278.31 +
  278.32 +IDENTIFIER=\u6807\u8bc6\u7b26
  278.33 +QNAME=qname
  278.34 +NAME=\u540d\u79f0
  278.35 +
  278.36 +LBL_FILTERS=\u8fc7\u6ee4\u5668
  278.37 +LBL_PUBLIC_RENDER_PARAMETERS=\u516c\u5171\u5448\u73b0\u53c2\u6570
  278.38 +BL_PortletXML=PortletXML
   279.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   279.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/node/actions/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   279.3 @@ -0,0 +1,21 @@
   279.4 +#
   279.5 +# The contents of this file are subject to the terms of the Common Development
   279.6 +# and Distribution License (the License). You may not use this file except in
   279.7 +# compliance with the License.
   279.8 +#
   279.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  279.10 +# or http://www.netbeans.org/cddl.txt.
  279.11 +
  279.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  279.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  279.14 +# If applicable, add the following below the CDDL Header, with the fields
  279.15 +# enclosed by brackets [] replaced by your own identifying information:
  279.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  279.17 +#
  279.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  279.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  279.20 +# Microsystems, Inc. All Rights Reserved.
  279.21 +#
  279.22 +DELETE_FILTER_MAPPING=\u5220\u9664
  279.23 +LBL_ADD_RENDER_PARAMETER=\u6dfb\u52a0\u5448\u73b0\u53c2\u6570
  279.24 +LBL_DELETE_RENDER_PARAMETER=\u5220\u9664
   280.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   280.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/node/actions/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   280.3 @@ -0,0 +1,47 @@
   280.4 +LBL_NAMESPACE=\u540d\u79f0\u7a7a\u95f4
   280.5 +
   280.6 +LBL_LOCAL_PART=\u672c\u5730\u90e8\u4ef6
   280.7 +LBL_ID=\u6807\u8bc6\u7b26
   280.8 +
   280.9 +LBL_OK=\u786e\u5b9a
  280.10 +
  280.11 +LBL_CANCEL=\u53d6\u6d88
  280.12 +
  280.13 +LBL_ADD_PUBLIC_RENDER_PARAMETER=\u6dfb\u52a0\u516c\u5171\u5448\u73b0\u53c2\u6570
  280.14 +
  280.15 +LBL_PREFIX=\u524d\u7f00
  280.16 +
  280.17 +NOT_A_VALID_LOCAL_PART=\u672c\u5730\u90e8\u4ef6\u65e0\u6548
  280.18 +NOT_A_VALID_IDENTIFIER=\u6807\u8bc6\u7b26\u65e0\u6548
  280.19 +NOT_A_VALID_VALUE_TYPE=\u8bf7\u8f93\u5165\u6709\u6548\u7684\u503c\u7c7b\u578b
  280.20 +NOT_A_VALID_NAMESPACE=\u540d\u79f0\u7a7a\u95f4\u65e0\u6548
  280.21 +NOT_A_VALID_PREFIX=\u524d\u7f00\u65e0\u6548
  280.22 +DOT_NOT_ALLOWED_AT_END_OF_LOCALPART=\u672c\u5730\u90e8\u4ef6\u6216\u4e8b\u4ef6\u540d\u79f0\u7684\u7ed3\u5c3e\u5b57\u7b26\u4e0d\u80fd\u4e3a\u5706\u70b9 (.)\uff01\uff01\uff01
  280.23 +MSG_RENDER_PARAM_WITH_SAME_ID_EXISTS=\u5177\u6709\u6807\u8bc6\u7b26 "{0}" \u7684\u516c\u5171\u5448\u73b0\u53c2\u6570\u5df2\u5b58\u5728\u3002
  280.24 +AddEventPanel.nameSpaceTf.text=
  280.25 +
  280.26 +AddEventPanel.localPartTf.text=
  280.27 +
  280.28 +AddEventPanel.prefixTf.text=
  280.29 +
  280.30 +AddEventPanel.qNameCB.text=\u6dfb\u52a0\u4e3a QName
  280.31 +AddEventPanel.valueType.text=
  280.32 +AddEventPanel.valueTypeLabel.text=\u503c\u7c7b\u578b
  280.33 +AddAliasPanel.localPartTf.text=
  280.34 +AddAliasPanel.namespaceTf.text=
  280.35 +AddAliasPanel.localPartTf.tooltip=\u8f93\u5165 QName \u7684\u672c\u5730\u90e8\u4ef6
  280.36 +AddAliasPanel.namespaceTf.tooltip=\u8f93\u5165 QName \u7684\u540d\u79f0\u7a7a\u95f4
  280.37 +AddAliasPanel.prefixTf.tooltip=
  280.38 +ACC_Ok=\u786e\u5b9a
  280.39 +ACC_Cancel=\u53d6\u6d88
  280.40 +AddAliasPanel.Event.title=\u6dfb\u52a0\u4e8b\u4ef6\u522b\u540d
  280.41 +AddEventPanel.title=\u6dfb\u52a0\u53d1\u5e03\u4e8b\u4ef6
  280.42 +TT_Add_Identifier=\u6dfb\u52a0\u516c\u5171\u5448\u73b0\u53c2\u6570\u7684\u6807\u8bc6\u7b26
  280.43 +ACC_Add_Identifier=\u6807\u8bc6\u7b26
  280.44 +TT_NAMESPACE=\u8f93\u5165\u516c\u5171\u5448\u73b0\u53c2\u6570\u7684\u540d\u79f0\u7a7a\u95f4
  280.45 +ACC_NAMESPACE=\u540d\u79f0\u7a7a\u95f4
  280.46 +TT_LOCAL_PART=\u8f93\u5165\u516c\u5171\u5448\u73b0\u53c2\u6570\u7684\u672c\u5730\u90e8\u4ef6
  280.47 +ACC_LOCALPART=\u672c\u5730\u90e8\u4ef6
  280.48 +TT_PREFIX=\u8f93\u5165\u516c\u5171\u5448\u73b0\u53c2\u6570\u7684\u524d\u7f00
  280.49 +ACC_PREFIX=\u524d\u7f00
  280.50 +ACC_OK=\u786e\u5b9a
   281.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   281.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/node/ddloaders/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   281.3 @@ -0,0 +1,20 @@
   281.4 +#
   281.5 +# The contents of this file are subject to the terms of the Common Development
   281.6 +# and Distribution License (the License). You may not use this file except in
   281.7 +# compliance with the License.
   281.8 +#
   281.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  281.10 +# or http://www.netbeans.org/cddl.txt.
  281.11 +
  281.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  281.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  281.14 +# If applicable, add the following below the CDDL Header, with the fields
  281.15 +# enclosed by brackets [] replaced by your own identifying information:
  281.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  281.17 +#
  281.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  281.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  281.20 +# Microsystems, Inc. All Rights Reserved.
  281.21 +#
  281.22 +LBL_PortletXML_loader_name=PortletXML \u6587\u4ef6
  281.23 +INVAILD_PORTLET_XML=Portlet XML \u65e0\u6548\u3002\u89e3\u6790\u9519\u8bef\u3002
   282.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   282.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/resources/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   282.3 @@ -0,0 +1,18 @@
   282.4 +#
   282.5 +# The contents of this file are subject to the terms of the Common Development
   282.6 +# and Distribution License (the License). You may not use this file except in
   282.7 +# compliance with the License.
   282.8 +#
   282.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  282.10 +# or http://www.netbeans.org/cddl.txt.
  282.11 +
  282.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  282.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  282.14 +# If applicable, add the following below the CDDL Header, with the fields
  282.15 +# enclosed by brackets [] replaced by your own identifying information:
  282.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  282.17 +#
  282.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  282.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  282.20 +# Microsystems, Inc. All Rights Reserved.
  282.21 +#
   283.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   283.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/ipc/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   283.3 @@ -0,0 +1,31 @@
   283.4 +#
   283.5 +# The contents of this file are subject to the terms of the Common Development
   283.6 +# and Distribution License (the License). You may not use this file except in
   283.7 +# compliance with the License.
   283.8 +#
   283.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  283.10 +# or http://www.netbeans.org/cddl.txt.
  283.11 +
  283.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  283.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  283.14 +# If applicable, add the following below the CDDL Header, with the fields
  283.15 +# enclosed by brackets [] replaced by your own identifying information:
  283.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  283.17 +#
  283.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  283.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  283.20 +# Microsystems, Inc. All Rights Reserved.
  283.21 +#
  283.22 +CTL_IPCStoryBoardAction=Portlet \u4e8b\u4ef6\u8bb0\u4e8b\u677f
  283.23 +CTL_IPCStoryBoardTopComponent=\u4e8b\u4ef6\u8bb0\u4e8b\u677f\u7a97\u53e3
  283.24 +HINT_IPCStoryBoardTopComponent=\u8fd9\u662f\u4e00\u4e2a\u4e8b\u4ef6\u8bb0\u4e8b\u677f\u7a97\u53e3
  283.25 +MSG_ERROR_GENERATING_PROCESS_EVENT_CODE=\u751f\u6210\u5904\u7406\u4e8b\u4ef6\u4ee3\u7801\u65f6\u51fa\u9519\u3002
  283.26 +MSG_WANT_TO_ADD_ALIAS=\u662f\u5426\u786e\u5b9e\u8981\u5c06\u4e8b\u4ef6 {0} \u6dfb\u52a0\u4e3a\u4e8b\u4ef6 {1} \u7684\u522b\u540d\uff1f 
  283.27 +MSG_ERROR_EVENT_REMOVE=\u65e0\u6cd5\u6b63\u786e\u5220\u9664\u4e8b\u4ef6\u3002
  283.28 +MSG_ERROR_ADD_ALIAS_EVENT=\u65e0\u6cd5\u6b63\u786e\u6dfb\u52a0\u4e8b\u4ef6\u522b\u540d\u3002
  283.29 +
  283.30 +MENU_RESET_STORY_BOARD=\u91cd\u7f6e\u8bb0\u4e8b\u677f
  283.31 +MENU_SHOW_IN_STORYBOARD=\u5728\u8bb0\u4e8b\u677f\u4e2d\u663e\u793a
  283.32 +
  283.33 +TL_ADD_PUBLISH_EVENT=\u6dfb\u52a0\u53d1\u5e03\u4e8b\u4ef6
  283.34 +TL_ADD_PROCESS_EVENT=\u6dfb\u52a0\u5904\u7406\u4e8b\u4ef6
   284.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   284.2 +++ b/portalpack.portlets.genericportlets/l10n/zh_CN/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/ipc/actions/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   284.3 @@ -0,0 +1,50 @@
   284.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   284.5 +# 
   284.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   284.7 +# 
   284.8 +# The contents of this file are subject to the terms of either the GNU
   284.9 +# General Public License Version 2 only ("GPL") or the Common
  284.10 +# Development and Distribution License("CDDL") (collectively, the
  284.11 +# "License"). You may not use this file except in compliance with the
  284.12 +# License. You can obtain a copy of the License at
  284.13 +# http://www.netbeans.org/cddl-gplv2.html
  284.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  284.15 +# specific language governing permissions and limitations under the
  284.16 +# License.  When distributing the software, include this License Header
  284.17 +# Notice in each file and include the License file at
  284.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  284.19 +# particular file as subject to the "Classpath" exception as provided
  284.20 +# by Sun in the GPL Version 2 section of the License file that
  284.21 +# accompanied this code. If applicable, add the following below the
  284.22 +# License Header, with the fields enclosed by brackets [] replaced by
  284.23 +# your own identifying information:
  284.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  284.25 +# 
  284.26 +# If you wish your version of this file to be governed by only the CDDL
  284.27 +# or only the GPL Version 2, indicate your decision by adding
  284.28 +# "[Contributor] elects to include this software in this distribution
  284.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  284.30 +# single choice of license, a recipient has the option to distribute
  284.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  284.32 +# to extend the choice of license to its licensees as provided above.
  284.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  284.34 +# Version 2 license, then the option applies only if the new code is
  284.35 +# made subject to such option by the copyright holder.
  284.36 +# 
  284.37 +# Contributor(s):
  284.38 +# 
  284.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  284.40 +
  284.41 +MENU_GENERATE_CONSUME_EVENT_SOURCE=\u751f\u6210\u5904\u7406\u4e8b\u4ef6\u7684\u6e90\u4ee3\u7801
  284.42 +MENU_POP_UP=\u5f39\u51fa\u5f0f\u83dc\u5355
  284.43 +MENU_ADD_ALIAS=\u6dfb\u52a0\u522b\u540d
  284.44 +MENU_REMOVE_PROCESS_EVENT=\u5220\u9664\u5904\u7406\u4e8b\u4ef6
  284.45 +MENU_REMOVE=\u5220\u9664
  284.46 +MENU_GENERATE_PUBLISH_EVENT_SOURCE=\u751f\u6210\u53d1\u5e03\u4e8b\u4ef6\u7684\u6e90\u4ee3\u7801
  284.47 +MENU_REMOVE_EVENT=\u5220\u9664\u4e8b\u4ef6
  284.48 +MENU_RESET_STORYBOARD=\u91cd\u7f6e\u8bb0\u4e8b\u677f
  284.49 +MENU_REMOVE_PORTLET_FROM_STORYBOARD=\u4ece\u8bb0\u4e8b\u677f\u4e2d\u5220\u9664 Portlet
  284.50 +MENU_ADD_PUBLISH_EVENT=\u6dfb\u52a0\u53d1\u5e03\u4e8b\u4ef6
  284.51 +MENU_ADD_PROCESS_EVENT=\u6dfb\u52a0\u5904\u7406\u4e8b\u4ef6
  284.52 +MENU_ADD_PROCESS_EVENT_TOOLTIP=\u4e5f\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u9f20\u6807\u8fde\u63a5\u4e8b\u4ef6\u4ee5\u53ef\u89c6\u65b9\u5f0f\u521b\u5efa\u5904\u7406\u4e8b\u4ef6\u3002
  284.53 +MENU_ADD_PUBLIC_RENDER_PARAM=\u6dfb\u52a0\u516c\u5171\u5448\u73b0\u53c2\u6570
   285.1 --- a/portalpack.portlets.genericportlets/src/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/util/WidgetUtil.java	Thu Jul 10 19:13:29 2008 +0800
   285.2 +++ b/portalpack.portlets.genericportlets/src/org/netbeans/modules/portalpack/portlets/genericportlets/storyboard/util/WidgetUtil.java	Thu Jul 10 19:50:39 2008 +0800
   285.3 @@ -23,9 +23,14 @@
   285.4  import java.awt.Point;
   285.5  import java.util.ArrayList;
   285.6  import java.util.List;
   285.7 +import javax.swing.BorderFactory;
   285.8 +import javax.swing.border.Border;
   285.9 +import org.netbeans.api.visual.model.ObjectState;
  285.10  import org.netbeans.api.visual.vmd.VMDGraphScene;
  285.11  import org.netbeans.api.visual.vmd.VMDNodeWidget;
  285.12  import org.netbeans.api.visual.vmd.VMDPinWidget;
  285.13 +import org.netbeans.api.visual.widget.ImageWidget;
  285.14 +import org.netbeans.api.visual.widget.Scene;
  285.15  import org.netbeans.api.visual.widget.Widget;
  285.16  import org.netbeans.modules.portalpack.portlets.genericportlets.storyboard.widgets.CustomPinWidget;
  285.17  import org.netbeans.modules.portalpack.portlets.genericportlets.storyboard.ipc.CustomVMDGraphScene;
  285.18 @@ -55,9 +60,11 @@
  285.19          widget.setKey(pinID);
  285.20          widget.setNodeKey(nodeID);     
  285.21          List list = new ArrayList();
  285.22 -        list.add(image);
  285.23 +        ///list.add(image);
  285.24          widget.setProperties(name, list);
  285.25          
  285.26 +        DefaultAnchorWidget cWidget = new DefaultAnchorWidget(scene, image);
  285.27 +        widget.addChild(cWidget);
  285.28          return widget;
  285.29          
  285.30      }
  285.31 @@ -79,4 +86,20 @@
  285.32          return false;
  285.33      }
  285.34       
  285.35 +     private static class DefaultAnchorWidget extends ImageWidget {
  285.36 +
  285.37 +        public DefaultAnchorWidget(Scene scene, Image image) {
  285.38 +            super(scene, image);
  285.39 +        }
  285.40 +
  285.41 +        @Override
  285.42 +        protected void notifyStateChanged(ObjectState previousState, ObjectState state) {
  285.43 +            Border BORDER_HOVERED = javax.swing.BorderFactory.createLineBorder(java.awt.Color.BLACK);
  285.44 +            Border BORDER = BorderFactory.createEmptyBorder();
  285.45 +            if (previousState.isHovered() == state.isHovered()) {
  285.46 +                return;
  285.47 +            }
  285.48 +            setBorder(state.isHovered() ? BORDER_HOVERED : BORDER);
  285.49 +        }
  285.50 +    }
  285.51  }
   286.1 --- a/portalpack.saw/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   286.2 +++ b/portalpack.saw/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   286.3 @@ -20,22 +20,9 @@
   286.4                      <compile-dependency/>
   286.5                      <run-dependency>
   286.6                          <release-version>1</release-version>
   286.7 -                          <specification-version>1.13</specification-version>
   286.8 -                        <!-- specification-version>1.18</specification-version -->
   286.9 +                        <specification-version>1.13</specification-version>
  286.10                      </run-dependency>
  286.11                  </dependency>
  286.12 -                <!--Commented to compile it against NB6.1. To compile against 6.5 
  286.13 -                please uncomment the following block
  286.14 -                <dependency>
  286.15 -                    <code-name-base>org.netbeans.api.java.classpath</code-name-base>
  286.16 -                    <build-prerequisite/>
  286.17 -                    <compile-dependency/>
  286.18 -                    <run-dependency>
  286.19 -                        <release-version>1</release-version>
  286.20 -                        <specification-version>1.0</specification-version>
  286.21 -                    </run-dependency>
  286.22 -                </dependency>
  286.23 -                -->
  286.24                  <dependency>
  286.25                      <code-name-base>org.netbeans.api.web.webmodule</code-name-base>
  286.26                      <build-prerequisite/>
  286.27 @@ -53,14 +40,21 @@
  286.28                      </run-dependency>
  286.29                  </dependency>
  286.30                  <dependency>
  286.31 +                    <code-name-base>org.netbeans.libs.jsr223</code-name-base>
  286.32 +                    <build-prerequisite/>
  286.33 +                    <compile-dependency/>
  286.34 +                    <run-dependency>
  286.35 +                        <release-version>1</release-version>
  286.36 +                        <specification-version>1.8</specification-version>
  286.37 +                    </run-dependency>
  286.38 +                </dependency>
  286.39 +                <dependency>
  286.40                      <code-name-base>org.netbeans.modules.editor</code-name-base>
  286.41                      <build-prerequisite/>
  286.42                      <compile-dependency/>
  286.43                      <run-dependency>
  286.44                          <release-version>3</release-version>
  286.45                          <specification-version>1.32.0.1.2</specification-version>
  286.46 -                        <!-- Uncomment this line for NB 6.5
  286.47 -                        <specification-version>1.41</specification-version> -->
  286.48                      </run-dependency>
  286.49                  </dependency>
  286.50                  <dependency>
  286.51 @@ -69,9 +63,7 @@
  286.52                      <compile-dependency/>
  286.53                      <run-dependency>
  286.54                          <release-version>1</release-version>
  286.55 -                         <specification-version>1.12.0.1.2</specification-version>
  286.56 -                        <!-- Uncomment this line for NB 6.5
  286.57 -                        <specification-version>1.27</specification-version> -->
  286.58 +                        <specification-version>1.12.0.1.2</specification-version>
  286.59                      </run-dependency>
  286.60                  </dependency>
  286.61                  <dependency>
  286.62 @@ -128,6 +120,15 @@
  286.63                      </run-dependency>
  286.64                  </dependency>
  286.65                  <dependency>
  286.66 +                    <code-name-base>org.netbeans.modules.queries</code-name-base>
  286.67 +                    <build-prerequisite/>
  286.68 +                    <compile-dependency/>
  286.69 +                    <run-dependency>
  286.70 +                        <release-version>1</release-version>
  286.71 +                        <specification-version>1.13</specification-version>
  286.72 +                    </run-dependency>
  286.73 +                </dependency>
  286.74 +                <dependency>
  286.75                      <code-name-base>org.netbeans.modules.schema2beans</code-name-base>
  286.76                      <build-prerequisite/>
  286.77                      <compile-dependency/>
  286.78 @@ -209,16 +210,6 @@
  286.79                          <specification-version>6.14</specification-version>
  286.80                      </run-dependency>
  286.81                  </dependency>
  286.82 -                <!-- Uncomment the following section for NB 6.5
  286.83 -                <dependency>
  286.84 -                    <code-name-base>org.netbeans.modules.editor.deprecated.pre61settings</code-name-base>
  286.85 -                    <build-prerequisite/>
  286.86 -                    <compile-dependency/>
  286.87 -                    <run-dependency>
  286.88 -                        <release-version>0-1</release-version>
  286.89 -                        <specification-version>1.0</specification-version>
  286.90 -                    </run-dependency>
  286.91 -                </dependency> -->
  286.92              </module-dependencies>
  286.93              <public-packages/>
  286.94          </data>
   287.1 --- a/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/Utilities.java	Thu Jul 10 19:13:29 2008 +0800
   287.2 +++ b/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/Utilities.java	Thu Jul 10 19:50:39 2008 +0800
   287.3 @@ -85,4 +85,29 @@
   287.4          }catch(BadLocationException ble){}
   287.5          return start;
   287.6      }
   287.7 +    
   287.8 +     public  static void insertLibraryDefinition(String libName, JTextComponent target)
   287.9 +    throws BadLocationException {
  287.10 +        Document doc = target.getDocument();
  287.11 +        if (doc == null)
  287.12 +            return;
  287.13 +        if (doc instanceof BaseDocument){
  287.14 +            BaseDocument bd=  (BaseDocument)doc;
  287.15 +            
  287.16 +            bd.atomicLock();
  287.17 +            Caret caret = target.getCaret();
  287.18 +            char c[]= bd.getChars(0,bd.getLength());
  287.19 +            
  287.20 +            String s = new String(c);
  287.21 +            // getting substring -7 to allow for the JSF taglib def to work 
  287.22 +            String lName = libName;
  287.23 +            if (libName.length() > 7) lName = libName.substring(0, libName.length() -7);
  287.24 +            if (s.indexOf(lName) ==-1){
  287.25 +              bd.insertString(0, libName+"\n", null);                
  287.26 +            }
  287.27 +            
  287.28 +            bd.atomicUnlock();
  287.29 +        }
  287.30 +        return ;
  287.31 +    }    
  287.32  }
   288.1 --- a/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/items/GetTaskById.java	Thu Jul 10 19:13:29 2008 +0800
   288.2 +++ b/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/items/GetTaskById.java	Thu Jul 10 19:50:39 2008 +0800
   288.3 @@ -31,6 +31,7 @@
   288.4  import javax.swing.text.BadLocationException;
   288.5  import javax.swing.text.JTextComponent;
   288.6  import org.openide.text.ActiveEditorDrop;
   288.7 +import org.openide.util.Exceptions;
   288.8  
   288.9  /**
  288.10   *
  288.11 @@ -40,6 +41,7 @@
  288.12  
  288.13      /** Creates a new instance of GetTaskById */
  288.14      public GetTaskById() {
  288.15 +        
  288.16      }
  288.17  
  288.18      private String createBody() {
  288.19 @@ -49,6 +51,13 @@
  288.20  
  288.21      public boolean handleTransfer(JTextComponent targetComponent) {
  288.22          String body = createBody();
  288.23 +        String wfs = "<%@ taglib uri=\"http://java.sun.com/saw\" prefix=\"saw\"%>";
  288.24 +        try {
  288.25 +            Utilities.insertLibraryDefinition(wfs, targetComponent);
  288.26 +        } catch (BadLocationException ex) {
  288.27 +            Exceptions.printStackTrace(ex);
  288.28 +        }
  288.29 +        
  288.30          try {
  288.31              Utilities.insert(body, targetComponent);
  288.32          } catch (BadLocationException ble) {
   289.1 --- a/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/items/resources/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   289.2 +++ b/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/items/resources/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   289.3 @@ -13,31 +13,5 @@
   289.4  #  The Original Software is NetBeans. The Initial Developer of the Original
   289.5  #  Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   289.6  #  Microsystems, Inc. All Rights Reserved.  
   289.7 -NAME_checkout_task=CheckOut Task
   289.8 -HINT_checkout_task=\Private method to checkout task
   289.9 -NAME_save_task=Save Task
  289.10 -HINT_save_task=\Private method to save task
  289.11 -NAME_complete_task=Complete Task
  289.12 -HINT_complete_task=\Private method to complete task
  289.13 -NAME_inittaglib=InitializeWorkflowTags
  289.14 -HINT_inittaglib=Initialize Workflow Taglib
  289.15 -NAME_gettaskbyid=GetTaskById
  289.16 -HINT_gettaskbyid=\Taglib to GetTaskById
  289.17 -NAME_gettasks=GetTasks
  289.18 -HINT_gettasks=\Taglib to Get Tasks for a user
  289.19 -NAME_counttasks=CountTasks
  289.20 -HINT_counttasks=\Taglib to Count Tasks for a user
  289.21 -NAME_checkintasks=CheckIn Task
  289.22 -HINT_checkintasks=\Private method to check in task
  289.23 -NAME_reassigntask=Reassign Task
  289.24 -HINT_reassigntask=\Private method to reassign task
  289.25 -NAME_deletetask=Delete Task
  289.26 -HINT_deletetask=\Private method to delete task
  289.27 -NAME_escalateTask=Escalate Task
  289.28 -HINT_escalateTask=\Private method to escalate task
  289.29 -NAME_show_audithistory=Show Audit History
  289.30 -HINT_show_audithistory=\Private method to show task history
  289.31 -NAME_initworkflowimpl=GetWorkflowImpl
  289.32 -HINT_initworkflowimpl=\Private method to get Workflow Impl
  289.33 -NAME_initworkflowimplprop=GetWorkflowImpl(Properties)
  289.34 -HINT_initworkflowimplprop=\Private method to get Workflow Impl using Properties Object
  289.35 +NAME_Category=Category
  289.36 +HINT_Category=\Tag to retrive category object
   290.1 --- a/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/items/resources/CheckoutTask.xml	Thu Jul 10 19:13:29 2008 +0800
   290.2 +++ b/portalpack.saw/src/org/netbeans/modules/portalpack/saw/palette/items/resources/CheckoutTask.xml	Thu Jul 10 19:50:39 2008 +0800
   290.3 @@ -30,7 +30,6 @@
   290.4  
   290.5  <editor_palette_item version="1.0">
   290.6      <class name="org.netbeans.modules.portalpack.saw.palette.items.CheckoutTask" />
   290.7 -
   290.8      <icon16 urlvalue="/org/netbeans/modules/portalpack/saw/palette/items/resources/CheckOut_task.png" />
   290.9      <icon32 urlvalue="/org/netbeans/modules/portalpack/saw/palette/items/resources/CheckOut_task.png" />
  290.10      <description localizing-bundle="org.netbeans.modules.portalpack.saw.palette.items.resources.Bundle"
   291.1 --- a/portalpack.servers.base_psframework/l10n/build.xml	Thu Jul 10 19:13:29 2008 +0800
   291.2 +++ b/portalpack.servers.base_psframework/l10n/build.xml	Thu Jul 10 19:50:39 2008 +0800
   291.3 @@ -49,6 +49,14 @@
   291.4         
   291.5           </copy>
   291.6       </target>
   291.7 +	 
   291.8 +	 <target name="copyL10n">
   291.9 +		 <echo message="${l10n.src.dir}"/>
  291.10 +		 <copy todir=".">
  291.11 +			<fileset dir="${l10n.src.dir}"/>			
  291.12 +			<mapper type="glob" from="src" to="l10n/${locale}"/>
  291.13 +		 </copy>
  291.14 +	 </target>
  291.15  
  291.16        
  291.17  </project>
   292.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   292.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   292.3 @@ -0,0 +1,57 @@
   292.4 +#
   292.5 +# The contents of this file are subject to the terms of the Common Development
   292.6 +# and Distribution License (the License). You may not use this file except in
   292.7 +# compliance with the License.
   292.8 +#
   292.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  292.10 +# or http://www.netbeans.org/cddl.txt.
  292.11 +
  292.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  292.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  292.14 +# If applicable, add the following below the CDDL Header, with the fields
  292.15 +# enclosed by brackets [] replaced by your own identifying information:
  292.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  292.17 +#
  292.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  292.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  292.20 +# Microsystems, Inc. All Rights Reserved.
  292.21 +#
  292.22 +
  292.23 +START_DEPLOY=\u914d\u5099\u306e\u958b\u59cb
  292.24 +MSG_DEPLOYED=\u6b63\u5e38\u306b\u914d\u5099\u3055\u308c\u307e\u3057\u305f\u3002
  292.25 +START_UNDEPLOY=\u914d\u5099\u306e\u53d6\u6d88\u3057\u306e\u958b\u59cb\u3002
  292.26 +MSG_UNDEPLOYED=\u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f
  292.27 +
  292.28 +#MSG_InstallerName=Sun Java System Portal Server 7.x
  292.29 +#MSG_CreateFailed=Cannot create {0} server instance.
  292.30 +MSG_MyServerPlatform=Sun Java System Portal Server 7.x \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0
  292.31 +MSG_STARTING_ADMIN_SERVER=\u7ba1\u7406\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059
  292.32 +MSG_STOPPING_ADMIN_SERVER=\u7ba1\u7406\u30b5\u30fc\u30d0\u30fc\u3092\u505c\u6b62\u3057\u3066\u3044\u307e\u3059
  292.33 +MSG_ADMIN_SERVER_STARTED=\u7ba1\u7406\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u307e\u3057\u305f
  292.34 +MSG_ADMIN_SERVER_STOPPED=\u7ba1\u7406\u30b5\u30fc\u30d0\u30fc\u3092\u505c\u6b62\u3057\u307e\u3057\u305f
  292.35 +
  292.36 +
  292.37 +MODULE_STOPPED=\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u505c\u6b62\u3057\u307e\u3057\u305f
  292.38 +
  292.39 +MSG_START_MODULE_SERVER=\u30e2\u30b8\u30e5\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5
  292.40 +
  292.41 +
  292.42 +MSG_DEPLOYMENT_FAILED=\u914d\u5099\u306b\u5931\u6557\u3057\u307e\u3057\u305f
  292.43 +
  292.44 +MSG_PORTALPACK=PortalPack \u30e1\u30c3\u30bb\u30fc\u30b8 \: 
  292.45 +
  292.46 +MSG_INVALID_PORT=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u3067\u3059
  292.47 +MSG_UNDEPLOYED_SUCCESSFULLY= \u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f\u3002
  292.48 +
  292.49 +MSG_UNDEPLYOMENT_FAILED=\u914d\u5099\u3092\u53d6\u308a\u6d88\u3057\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f \: 
  292.50 +
  292.51 +MSG_ERROR=\u30a8\u30e9\u30fc
  292.52 +
  292.53 +MSG_TARGET_STARTED=\u30bf\u30fc\u30b2\u30c3\u30c8\u304c\u8d77\u52d5\u3055\u308c\u307e\u3057\u305f ...
  292.54 +
  292.55 +MSG_PORTALPACK_MSG=PortalPack \u30e1\u30c3\u30bb\u30fc\u30b8 \: 
  292.56 +
  292.57 +
  292.58 +MSG_INVALID_ADMIN_PORT=\u7121\u52b9\u306a\u7ba1\u7406\u30dd\u30fc\u30c8\u3067\u3059
  292.59 +
  292.60 +MSG_ExceptionOccured=\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f..
   293.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   293.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/api/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   293.3 @@ -0,0 +1,39 @@
   293.4 +#
   293.5 +# The contents of this file are subject to the terms of the Common Development
   293.6 +# and Distribution License (the License). You may not use this file except in
   293.7 +# compliance with the License.
   293.8 +#
   293.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  293.10 +# or http://www.netbeans.org/cddl.txt.
  293.11 +
  293.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  293.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  293.14 +# If applicable, add the following below the CDDL Header, with the fields
  293.15 +# enclosed by brackets [] replaced by your own identifying information:
  293.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  293.17 +#
  293.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  293.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  293.20 +# Microsystems, Inc. All Rights Reserved.
  293.21 +#
  293.22 +
  293.23 +# Sample ResourceBundle properties file
  293.24 +MSG_INVALID_PORT=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u3067\u3059
  293.25 +MSG_UNDEPLOYED_SUCCESSFULLY= \u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f\u3002
  293.26 +
  293.27 +MSG_UNDEPLYOMENT_FAILED=\u914d\u5099\u3092\u53d6\u308a\u6d88\u3057\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f \: 
  293.28 +
  293.29 +MSG_ERROR=\u30a8\u30e9\u30fc
  293.30 +
  293.31 +MSG_TARGET_STARTED=\u30bf\u30fc\u30b2\u30c3\u30c8\u304c\u8d77\u52d5\u3055\u308c\u307e\u3057\u305f ...
  293.32 +
  293.33 +MSG_PORTALPACK_MSG=PortalPack \u30e1\u30c3\u30bb\u30fc\u30b8 \: 
  293.34 +
  293.35 +
  293.36 +MSG_INVALID_ADMIN_PORT=\u7121\u52b9\u306a\u7ba1\u7406\u30dd\u30fc\u30c8\u3067\u3059...
  293.37 +
  293.38 +MSG_ExceptionOccured=\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f..
  293.39 +
  293.40 +MSG_DEPLOYED=\u6b63\u5e38\u306b\u914d\u5099\u3055\u308c\u307e\u3057\u305f\u3002
  293.41 +
  293.42 +MSG_UNDEPLOYED=\u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f
   294.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   294.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/common/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   294.3 @@ -0,0 +1,22 @@
   294.4 +#
   294.5 +# The contents of this file are subject to the terms of the Common Development
   294.6 +# and Distribution License (the License). You may not use this file except in
   294.7 +# compliance with the License.
   294.8 +#
   294.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  294.10 +# or http://www.netbeans.org/cddl.txt.
  294.11 +
  294.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  294.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  294.14 +# If applicable, add the following below the CDDL Header, with the fields
  294.15 +# enclosed by brackets [] replaced by your own identifying information:
  294.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  294.17 +#
  294.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  294.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  294.20 +# Microsystems, Inc. All Rights Reserved.
  294.21 +#
  294.22 +
  294.23 +
  294.24 +# Sample ResourceBundle properties file
  294.25 +MSG_ExceptionOccured=\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f
   295.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   295.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/common/enterprise/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   295.3 @@ -0,0 +1,20 @@
   295.4 +#
   295.5 +# The contents of this file are subject to the terms of the Common Development
   295.6 +# and Distribution License (the License). You may not use this file except in
   295.7 +# compliance with the License.
   295.8 +#
   295.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  295.10 +# or http://www.netbeans.org/cddl.txt.
  295.11 +
  295.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  295.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  295.14 +# If applicable, add the following below the CDDL Header, with the fields
  295.15 +# enclosed by brackets [] replaced by your own identifying information:
  295.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  295.17 +#
  295.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  295.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  295.20 +# Microsystems, Inc. All Rights Reserved.
  295.21 +#
  295.22 +
  295.23 +# Sample ResourceBundle properties file
   296.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   296.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/impl/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   296.3 @@ -0,0 +1,20 @@
   296.4 +#
   296.5 +# The contents of this file are subject to the terms of the Common Development
   296.6 +# and Distribution License (the License). You may not use this file except in
   296.7 +# compliance with the License.
   296.8 +#
   296.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  296.10 +# or http://www.netbeans.org/cddl.txt.
  296.11 +
  296.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  296.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  296.14 +# If applicable, add the following below the CDDL Header, with the fields
  296.15 +# enclosed by brackets [] replaced by your own identifying information:
  296.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  296.17 +#
  296.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  296.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  296.20 +# Microsystems, Inc. All Rights Reserved.
  296.21 +#
  296.22 +
  296.23 +# Sample ResourceBundle properties file
   297.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   297.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/sunappserver/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   297.3 @@ -0,0 +1,49 @@
   297.4 +#
   297.5 +# The contents of this file are subject to the terms of the Common Development
   297.6 +# and Distribution License (the License). You may not use this file except in
   297.7 +# compliance with the License.
   297.8 +#
   297.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  297.10 +# or http://www.netbeans.org/cddl.txt.
  297.11 +
  297.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  297.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  297.14 +# If applicable, add the following below the CDDL Header, with the fields
  297.15 +# enclosed by brackets [] replaced by your own identifying information:
  297.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  297.17 +#
  297.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  297.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  297.20 +# Microsystems, Inc. All Rights Reserved.
  297.21 +#
  297.22 +
  297.23 +# Sample ResourceBundle properties file
  297.24 +
  297.25 +LBL_APPSERVER_HOME=GlassFish \u306e\u30db\u30fc\u30e0\:
  297.26 +
  297.27 +LBL_DOMAIN_DIR=\u30c9\u30e1\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\:
  297.28 +
  297.29 +LBL_DOMAIN=\u30c9\u30e1\u30a4\u30f3\:
  297.30 +
  297.31 +LBL_USER_NAME=\u30e6\u30fc\u30b6\u30fc\u540d\:
  297.32 +
  297.33 +LBL_PASSWORD=\u30d1\u30b9\u30ef\u30fc\u30c9\:
  297.34 +
  297.35 +LBL_PORT=\u30dd\u30fc\u30c8\:
  297.36 +
  297.37 +LBL_ADMIN_PORT=\u7ba1\u7406\u30dd\u30fc\u30c8\:
  297.38 +
  297.39 +MSG_INVALID_PORT=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u3067\u3059
  297.40 +
  297.41 +MSG_INVALID_ADMIN_PORT=\u7121\u52b9\u306a\u7ba1\u7406\u30dd\u30fc\u30c8\u3067\u3059
  297.42 +
  297.43 +INVALID_HOME=\u7121\u52b9\u306a\u30db\u30fc\u30e0\u3067\u3059
  297.44 +
  297.45 +MSG_INVALID_ADMIN_USER=\u7121\u52b9\u306a\u7ba1\u7406\u30e6\u30fc\u30b6\u30fc\u3067\u3059
  297.46 +INVALID_DOMAIN_XML=\u6709\u52b9\u306a domain.xml \u3067\u306f\u3042\u308a\u307e\u305b\u3093
  297.47 +INVALID_DOMAIN_DIR=\u6709\u52b9\u306a\u30c9\u30e1\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  297.48 +READ_ACCESS_DENIED=domain.xml \u306e\u8aad\u307f\u53d6\u308a\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u3042\u308a\u307e\u305b\u3093
  297.49 +ENTER_VALID_PORT_ADMIN_PORT_DOMAIN=\u30dd\u30fc\u30c8\u3001\u7ba1\u7406\u30dd\u30fc\u30c8\u3001\u307e\u305f\u306f\u30c9\u30e1\u30a4\u30f3\u306e\u6709\u52b9\u306a\u30a8\u30f3\u30c8\u30ea\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044
  297.50 +
  297.51 +LBL_BrowseButton=\u4e86\u89e3
  297.52 +LBL_ChooserName=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u9078\u629e
   298.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   298.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/tomcat/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   298.3 @@ -0,0 +1,34 @@
   298.4 +#
   298.5 +# The contents of this file are subject to the terms of the Common Development
   298.6 +# and Distribution License (the License). You may not use this file except in
   298.7 +# compliance with the License.
   298.8 +#
   298.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  298.10 +# or http://www.netbeans.org/cddl.txt.
  298.11 +
  298.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  298.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  298.14 +# If applicable, add the following below the CDDL Header, with the fields
  298.15 +# enclosed by brackets [] replaced by your own identifying information:
  298.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  298.17 +#
  298.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  298.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  298.20 +# Microsystems, Inc. All Rights Reserved.
  298.21 +#
  298.22 +
  298.23 +# Sample ResourceBundle properties file
  298.24 +
  298.25 +LBL_CATALINA_HOME=Catalina \u306e\u30db\u30fc\u30e0\:
  298.26 +
  298.27 +LBL_CATALINA_BASE=Catalina \u306e\u30d9\u30fc\u30b9\:
  298.28 +
  298.29 +LBL_JAVA_HOME=Java \u306e\u30db\u30fc\u30e0\:
  298.30 +
  298.31 +LBL_PORT=\u30dd\u30fc\u30c8\:
  298.32 +
  298.33 +LBL_ADMIN_PORT=\u7ba1\u7406\u30dd\u30fc\u30c8\:
  298.34 +
  298.35 +LBL_USER_NAME=\u30e6\u30fc\u30b6\u30fc\u540d\:
  298.36 +
  298.37 +LBL_PASSWORD=\u30d1\u30b9\u30ef\u30fc\u30c9\:
   299.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   299.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   299.3 @@ -0,0 +1,27 @@
   299.4 +#
   299.5 +# The contents of this file are subject to the terms of the Common Development
   299.6 +# and Distribution License (the License). You may not use this file except in
   299.7 +# compliance with the License.
   299.8 +#
   299.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  299.10 +# or http://www.netbeans.org/cddl.txt.
  299.11 +
  299.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  299.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  299.14 +# If applicable, add the following below the CDDL Header, with the fields
  299.15 +# enclosed by brackets [] replaced by your own identifying information:
  299.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  299.17 +#
  299.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  299.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  299.20 +# Microsystems, Inc. All Rights Reserved.
  299.21 +#
  299.22 +
  299.23 +# Sample ResourceBundle properties file
  299.24 +
  299.25 +LBL_SERVER_TYPE=ServerType
  299.26 +LBL_CLASSES=\u30af\u30e9\u30b9
  299.27 +LBL_ClassPath=\u30af\u30e9\u30b9\u30d1\u30b9:
  299.28 +LBL_Add=\u8ffd\u52a0
  299.29 +LBL_Remove=\u524a\u9664
  299.30 +TT_ADD_JAR=\u30b3\u30f3\u30d1\u30a4\u30eb\u4e2d\u306b\u306e\u307f\u4f7f\u7528\u3055\u308c\u308b JAR \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306f WAR \u306b\u542b\u307e\u308c\u307e\u305b\u3093\u3002
   300.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   300.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/nodes/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   300.3 @@ -0,0 +1,24 @@
   300.4 +#
   300.5 +# The contents of this file are subject to the terms of the Common Development
   300.6 +# and Distribution License (the License). You may not use this file except in
   300.7 +# compliance with the License.
   300.8 +#
   300.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  300.10 +# or http://www.netbeans.org/cddl.txt.
  300.11 +
  300.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  300.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  300.14 +# If applicable, add the following below the CDDL Header, with the fields
  300.15 +# enclosed by brackets [] replaced by your own identifying information:
  300.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  300.17 +#
  300.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  300.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  300.20 +# Microsystems, Inc. All Rights Reserved.
  300.21 +#
  300.22 +
  300.23 +CTL_ShowAdmnToolAction=\u7ba1\u7406\u30c4\u30fc\u30eb
  300.24 +TXT_MyInstanceNode=My Server \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9
  300.25 +LBL_WaitNode_DisplayName=\u5f85\u6a5f
  300.26 +
  300.27 +MSG_ERROR=\u30a8\u30e9\u30fc
   301.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   301.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/nodes/actions/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   301.3 @@ -0,0 +1,101 @@
   301.4 +#
   301.5 +# The contents of this file are subject to the terms of the Common Development
   301.6 +# and Distribution License (the License). You may not use this file except in
   301.7 +# compliance with the License.
   301.8 +#
   301.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  301.10 +# or http://www.netbeans.org/cddl.txt.
  301.11 +
  301.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  301.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  301.14 +# If applicable, add the following below the CDDL Header, with the fields
  301.15 +# enclosed by brackets [] replaced by your own identifying information:
  301.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  301.17 +#
  301.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  301.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  301.20 +# Microsystems, Inc. All Rights Reserved.
  301.21 +#
  301.22 +
  301.23 +CTL_DeleteChannelAction=\u30c1\u30e3\u30cd\u30eb\u3092\u524a\u9664
  301.24 +CTL_ShowAdmnToolAction=\u7ba1\u7406\u30c4\u30fc\u30eb
  301.25 +TXT_MyInstanceNode=My Server \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9
  301.26 +TXT_MyTargetNode=My Target \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9
  301.27 +LBL_WaitNode_DisplayName=\u5f85\u6a5f
  301.28 +
  301.29 +MSG_ERROR=\u30a8\u30e9\u30fc
  301.30 +
  301.31 +MSG_COULD_NOT_BE_ADDED_TO_THE_SELECTED_LIST=\u30c1\u30e3\u30cd\u30eb\u3092\u9078\u629e\u3057\u305f\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\\npsconsole \u304b\u3089\u624b\u52d5\u3067\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044
  301.32 +
  301.33 +MSG_COULD_NOT_BE_ADDED_TO_AVAILABLE_LIST=\u8ffd\u52a0\u3057\u305f\u30c1\u30e3\u30cd\u30eb\u3092\u4f7f\u7528\u53ef\u80fd\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\\npsconsole \u304b\u3089\u624b\u52d5\u3067\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044..
  301.34 +
  301.35 +MSG_COULD_NOT_BE_REMOVED_FROM_SELECTED_LIST=\u9078\u629e\u3057\u305f\u30ea\u30b9\u30c8\u304b\u3089\u30c1\u30e3\u30cd\u30eb\u3092\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\\npsconsole \u304b\u3089\u624b\u52d5\u3067\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044 \\!\!
  301.36 +
  301.37 +MSG_COULD_NOT_BE_REMOVED_FROM_AVAILABLE_LIST=\u4f7f\u7528\u53ef\u80fd\u30ea\u30b9\u30c8\u304b\u3089\u30c1\u30e3\u30cd\u30eb\u3092\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\\npsconsole \u304b\u3089\u624b\u52d5\u3067\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044..
  301.38 +
  301.39 +ACT_ADD_TO_SELECTED_CHANNELS=\u9078\u629e\u3057\u305f\u30c1\u30e3\u30cd\u30eb\u306b\u8ffd\u52a0
  301.40 +
  301.41 +LBL_CHANNELS=\u30c1\u30e3\u30cd\u30eb
  301.42 +
  301.43 +LBL_PORTLETS=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8
  301.44 +
  301.45 +MSG_CREATE_A_PORTLET_CHANNEL=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30c1\u30e3\u30cd\u30eb\u3092\u4f5c\u6210
  301.46 +
  301.47 +MSG_Portlet_Could_not_be_added=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
  301.48 +
  301.49 +ACT_Add_Portlet_Channel=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0
  301.50 +
  301.51 +
  301.52 +LBL_Container=\u30b3\u30f3\u30c6\u30ca
  301.53 +
  301.54 +LBL_Provider=\u30d7\u30ed\u30d0\u30a4\u30c0
  301.55 +
  301.56 +LBL_Create_a_container=\u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210
  301.57 +
  301.58 +MSG_Could_not_create_container=\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f \: 
  301.59 +
  301.60 +MSG_CONTAINER_COULDNOT_BE_ADDED_TO_SELECTED_LIST=\u8ffd\u52a0\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u3092\u9078\u629e\u3057\u305f\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\\npsconsole \u304b\u3089\u624b\u52d5\u3067\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044
  301.61 +
  301.62 +MSG_Container_is_already_prsenet_in_selected_List=\u30b3\u30f3\u30c6\u30ca\u306f\u3059\u3067\u306b\u9078\u629e\u3057\u305f\u30ea\u30b9\u30c8\u306b\u5b58\u5728\u3057\u307e\u3059.................
  301.63 +
  301.64 +MSG_CONTAINER_COULD_NOT_BE_ADDED_TO_AVAILABLE_LIST=\u8ffd\u52a0\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u53ef\u80fd\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\\npsconsole \u304b\u3089\u624b\u52d5\u3067\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044..
  301.65 +
  301.66 +ACT_Create_Container=\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210
  301.67 +
  301.68 +ACT_ADD_CHANNEL=\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0
  301.69 +
  301.70 +ACT_DELETE_CHANNEL=\u30c1\u30e3\u30cd\u30eb\u3092\u524a\u9664
  301.71 +
  301.72 +ACT_Delete_From_Selected_List=\u9078\u629e\u3057\u305f\u30ea\u30b9\u30c8\u304b\u3089\u524a\u9664
  301.73 +
  301.74 +MSG_ARE_YOU_SURE_TO_DELETE=\u672c\u5f53\u306b\u524a\u9664\u3057\u307e\u3059\u304b \\"
  301.75 +
  301.76 +MSG_Delete_Conatainer=\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664
  301.77 +
  301.78 +MSG_COULD_NOT_BE_DELETED=\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
  301.79 +
  301.80 +MSG_Delete_Container=\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664
  301.81 +
  301.82 +ACT_SHOW_AVAILABLE_CHANNELS=\u4f7f\u7528\u53ef\u80fd\u306a\u30c1\u30e3\u30cd\u30eb\u3092\u8868\u793a
  301.83 +
  301.84 +MSG_SHOW_EXISTING_CHANNEL=\u65e2\u5b58\u306e\u30c1\u30e3\u30cd\u30eb\u3092\u8868\u793a
  301.85 +
  301.86 +MSG_SHOW_SELECTED_CHANNELS=\u9078\u629e\u3057\u305f\u30c1\u30e3\u30cd\u30eb\u3092\u8868\u793a
  301.87 +
  301.88 +MSG_START_UNDEPLOYMENT=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u914d\u5099\u306e\u53d6\u308a\u6d88\u3057\u3092\u958b\u59cb 
  301.89 +
  301.90 +ACT_UNDEPLOY=\u914d\u5099\u306e\u53d6\u6d88\u3057
  301.91 +
  301.92 +MSG_UNDEPLOY=\u914d\u5099\u306e\u53d6\u6d88\u3057 
  301.93 +
  301.94 +MSG_UNDEPLOYED_SUCCESSFULLY=\u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f\u3002
  301.95 +
  301.96 +ACT_Lauch_Browser=\u30d6\u30e9\u30a6\u30b6\u3092\u8d77\u52d5
  301.97 +
  301.98 +MSG_Show_Portlet=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u8868\u793a
  301.99 +
 301.100 +LBL_PROVIDER=\u30d7\u30ed\u30d0\u30a4\u30c0
 301.101 +
 301.102 +MSG_COULD_NOT_ADD_CHANNEL=\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
 301.103 +
 301.104 +CTL_ShowServerLog=\u30b5\u30fc\u30d0\u30fc\u30ed\u30b0\u3092\u8868\u793a
   302.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   302.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/resources/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   302.3 @@ -0,0 +1,24 @@
   302.4 +#
   302.5 +# The contents of this file are subject to the terms of the Common Development
   302.6 +# and Distribution License (the License). You may not use this file except in
   302.7 +# compliance with the License.
   302.8 +#
   302.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  302.10 +# or http://www.netbeans.org/cddl.txt.
  302.11 +
  302.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  302.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  302.14 +# If applicable, add the following below the CDDL Header, with the fields
  302.15 +# enclosed by brackets [] replaced by your own identifying information:
  302.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  302.17 +#
  302.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  302.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  302.20 +# Microsystems, Inc. All Rights Reserved.
  302.21 +#
  302.22 +
  302.23 +OpenIDE-Module-Long-Description=\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u307e\u305f\u306f\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30b3\u30f3\u30c6\u30ca\u306e\u7d71\u5408\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002
  302.24 +OpenIDE-Module-Name=\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u7d71\u5408\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af
  302.25 +OpenIDE-Module-Display-Category=PortalPack
  302.26 +OpenIDE-Module-Short-Description=\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u7d71\u5408\u7528\u306e\u57fa\u672c\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af
  302.27 +
   303.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   303.2 +++ b/portalpack.servers.base_psframework/l10n/ja/org/netbeans/modules/portalpack/servers/core/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   303.3 @@ -0,0 +1,38 @@
   303.4 +#
   303.5 +# The contents of this file are subject to the terms of the Common Development
   303.6 +# and Distribution License (the License). You may not use this file except in
   303.7 +# compliance with the License.
   303.8 +#
   303.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  303.10 +# or http://www.netbeans.org/cddl.txt.
  303.11 +
  303.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  303.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  303.14 +# If applicable, add the following below the CDDL Header, with the fields
  303.15 +# enclosed by brackets [] replaced by your own identifying information:
  303.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  303.17 +#
  303.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  303.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  303.20 +# Microsystems, Inc. All Rights Reserved.
  303.21 +#
  303.22 +
  303.23 +CTL_NodeDetailsAction=NodeDetails \u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f 
  303.24 +CTL_NodeDetailsTopComponent=NodeDetails \u30a6\u30a3\u30f3\u30c9\u30a6
  303.25 +HINT_NodeDetailsTopComponent=\u3053\u308c\u306f NodeDetails \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3059
  303.26 +# Sample ResourceBundle properties file
  303.27 +MSG_CreateFailed=\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f
  303.28 +
  303.29 +LBL_PROVIDER=\u30d7\u30ed\u30d0\u30a4\u30c0
  303.30 +
  303.31 +LBL_CONTAINER=\u30b3\u30f3\u30c6\u30ca
  303.32 +
  303.33 +LBL_OK=\u4e86\u89e3
  303.34 +
  303.35 +LBL_CANCEL=\u53d6\u6d88\u3057
  303.36 +
  303.37 +LBL_APPLY=\u9069\u7528
  303.38 +
  303.39 +MSG_INVALID_NAME=\u7121\u52b9\u306a\u540d\u524d\u3067\u3059\u3002\u6587\u5b57\u3068\u6570\u5b57\u306e\u307f\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u3059
  303.40 +MSG_InstallerName=\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc
  303.41 +LBL_PORTLET_CHANNEL=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30c1\u30e3\u30cd\u30eb
   304.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   304.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   304.3 @@ -0,0 +1,57 @@
   304.4 +#
   304.5 +# The contents of this file are subject to the terms of the Common Development
   304.6 +# and Distribution License (the License). You may not use this file except in
   304.7 +# compliance with the License.
   304.8 +#
   304.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  304.10 +# or http://www.netbeans.org/cddl.txt.
  304.11 +
  304.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  304.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  304.14 +# If applicable, add the following below the CDDL Header, with the fields
  304.15 +# enclosed by brackets [] replaced by your own identifying information:
  304.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  304.17 +#
  304.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  304.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  304.20 +# Microsystems, Inc. All Rights Reserved.
  304.21 +#
  304.22 +
  304.23 +START_DEPLOY=Deployment iniciado
  304.24 +MSG_DEPLOYED=Implantado com \u00eaxito.
  304.25 +START_UNDEPLOY=Desimplanta\u00e7\u00e3o iniciada.
  304.26 +MSG_UNDEPLOYED=Desimplantado com \u00eaxito
  304.27 +
  304.28 +#MSG_InstallerName=Sun Java System Portal Server 7.x
  304.29 +#MSG_CreateFailed=Cannot create {0} server instance.
  304.30 +MSG_MyServerPlatform=Plataforma Sun Java System Portal Server 7.x
  304.31 +MSG_STARTING_ADMIN_SERVER=Iniciando o servidor de administra\u00e7\u00e3o
  304.32 +MSG_STOPPING_ADMIN_SERVER=Parando o servidor de administra\u00e7\u00e3o
  304.33 +MSG_ADMIN_SERVER_STARTED=Servidor de administra\u00e7\u00e3o iniciado
  304.34 +MSG_ADMIN_SERVER_STOPPED=Servidor de administra\u00e7\u00e3o parado
  304.35 +
  304.36 +
  304.37 +MODULE_STOPPED=M\u00f3dulo parado
  304.38 +
  304.39 +MSG_START_MODULE_SERVER=Iniciar servidor do m\u00f3dulo
  304.40 +
  304.41 +
  304.42 +MSG_DEPLOYMENT_FAILED=Falha no deployment
  304.43 +
  304.44 +MSG_PORTALPACK=Mensagem do PortalPack \: 
  304.45 +
  304.46 +MSG_INVALID_PORT=Porta inv\u00e1lida
  304.47 +MSG_UNDEPLOYED_SUCCESSFULLY= desimplantado com \u00eaxito.
  304.48 +
  304.49 +MSG_UNDEPLYOMENT_FAILED=N\u00e3o foi poss\u00edvel desimplantar \: 
  304.50 +
  304.51 +MSG_ERROR=Erro
  304.52 +
  304.53 +MSG_TARGET_STARTED=Destino iniciado ...
  304.54 +
  304.55 +MSG_PORTALPACK_MSG=Mensagem do PortalPack \: 
  304.56 +
  304.57 +
  304.58 +MSG_INVALID_ADMIN_PORT=Porta admin inv\u00e1lida
  304.59 +
  304.60 +MSG_ExceptionOccured=Ocorreu uma exce\u00e7\u00e3o..
   305.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   305.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/api/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   305.3 @@ -0,0 +1,39 @@
   305.4 +#
   305.5 +# The contents of this file are subject to the terms of the Common Development
   305.6 +# and Distribution License (the License). You may not use this file except in
   305.7 +# compliance with the License.
   305.8 +#
   305.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  305.10 +# or http://www.netbeans.org/cddl.txt.
  305.11 +
  305.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  305.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  305.14 +# If applicable, add the following below the CDDL Header, with the fields
  305.15 +# enclosed by brackets [] replaced by your own identifying information:
  305.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  305.17 +#
  305.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  305.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  305.20 +# Microsystems, Inc. All Rights Reserved.
  305.21 +#
  305.22 +
  305.23 +# Sample ResourceBundle properties file
  305.24 +MSG_INVALID_PORT=Porta inv\u00e1lida
  305.25 +MSG_UNDEPLOYED_SUCCESSFULLY= desimplantado com \u00eaxito.
  305.26 +
  305.27 +MSG_UNDEPLYOMENT_FAILED=N\u00e3o foi poss\u00edvel desimplantar \: 
  305.28 +
  305.29 +MSG_ERROR=Erro
  305.30 +
  305.31 +MSG_TARGET_STARTED=Destino iniciado ...
  305.32 +
  305.33 +MSG_PORTALPACK_MSG=Mensagem do PortalPack \: 
  305.34 +
  305.35 +
  305.36 +MSG_INVALID_ADMIN_PORT=Porta admin inv\u00e1lida...
  305.37 +
  305.38 +MSG_ExceptionOccured=Ocorreu uma exce\u00e7\u00e3o..
  305.39 +
  305.40 +MSG_DEPLOYED=Implantado com \u00eaxito.
  305.41 +
  305.42 +MSG_UNDEPLOYED=Desimplantado com \u00eaxito
   306.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   306.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/common/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   306.3 @@ -0,0 +1,22 @@
   306.4 +#
   306.5 +# The contents of this file are subject to the terms of the Common Development
   306.6 +# and Distribution License (the License). You may not use this file except in
   306.7 +# compliance with the License.
   306.8 +#
   306.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  306.10 +# or http://www.netbeans.org/cddl.txt.
  306.11 +
  306.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  306.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  306.14 +# If applicable, add the following below the CDDL Header, with the fields
  306.15 +# enclosed by brackets [] replaced by your own identifying information:
  306.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  306.17 +#
  306.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  306.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  306.20 +# Microsystems, Inc. All Rights Reserved.
  306.21 +#
  306.22 +
  306.23 +
  306.24 +# Sample ResourceBundle properties file
  306.25 +MSG_ExceptionOccured=Ocorreu uma exce\u00e7\u00e3o
   307.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   307.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/common/enterprise/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   307.3 @@ -0,0 +1,20 @@
   307.4 +#
   307.5 +# The contents of this file are subject to the terms of the Common Development
   307.6 +# and Distribution License (the License). You may not use this file except in
   307.7 +# compliance with the License.
   307.8 +#
   307.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  307.10 +# or http://www.netbeans.org/cddl.txt.
  307.11 +
  307.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  307.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  307.14 +# If applicable, add the following below the CDDL Header, with the fields
  307.15 +# enclosed by brackets [] replaced by your own identifying information:
  307.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  307.17 +#
  307.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  307.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  307.20 +# Microsystems, Inc. All Rights Reserved.
  307.21 +#
  307.22 +
  307.23 +# Sample ResourceBundle properties file
   308.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   308.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/impl/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   308.3 @@ -0,0 +1,20 @@
   308.4 +#
   308.5 +# The contents of this file are subject to the terms of the Common Development
   308.6 +# and Distribution License (the License). You may not use this file except in
   308.7 +# compliance with the License.
   308.8 +#
   308.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  308.10 +# or http://www.netbeans.org/cddl.txt.
  308.11 +
  308.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  308.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  308.14 +# If applicable, add the following below the CDDL Header, with the fields
  308.15 +# enclosed by brackets [] replaced by your own identifying information:
  308.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  308.17 +#
  308.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  308.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  308.20 +# Microsystems, Inc. All Rights Reserved.
  308.21 +#
  308.22 +
  308.23 +# Sample ResourceBundle properties file
   309.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   309.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/sunappserver/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   309.3 @@ -0,0 +1,49 @@
   309.4 +#
   309.5 +# The contents of this file are subject to the terms of the Common Development
   309.6 +# and Distribution License (the License). You may not use this file except in
   309.7 +# compliance with the License.
   309.8 +#
   309.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  309.10 +# or http://www.netbeans.org/cddl.txt.
  309.11 +
  309.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  309.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  309.14 +# If applicable, add the following below the CDDL Header, with the fields
  309.15 +# enclosed by brackets [] replaced by your own identifying information:
  309.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  309.17 +#
  309.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  309.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  309.20 +# Microsystems, Inc. All Rights Reserved.
  309.21 +#
  309.22 +
  309.23 +# Sample ResourceBundle properties file
  309.24 +
  309.25 +LBL_APPSERVER_HOME=Home do GlassFish\:
  309.26 +
  309.27 +LBL_DOMAIN_DIR=Dir do dom\u00ednio\:
  309.28 +
  309.29 +LBL_DOMAIN=Dom\u00ednio\:
  309.30 +
  309.31 +LBL_USER_NAME=Nome do usu\u00e1rio\:
  309.32 +
  309.33 +LBL_PASSWORD=Senha\:
  309.34 +
  309.35 +LBL_PORT=Porta\:
  309.36 +
  309.37 +LBL_ADMIN_PORT=Porta admin\:
  309.38 +
  309.39 +MSG_INVALID_PORT=Porta inv\u00e1lida
  309.40 +
  309.41 +MSG_INVALID_ADMIN_PORT=Porta admin inv\u00e1lida
  309.42 +
  309.43 +INVALID_HOME=Home inv\u00e1lido
  309.44 +
  309.45 +MSG_INVALID_ADMIN_USER=Usu\u00e1rio Admin inv\u00e1lido
  309.46 +INVALID_DOMAIN_XML=N\u00e3o \u00e9 um domain.xml v\u00e1lido
  309.47 +INVALID_DOMAIN_DIR=N\u00e3o \u00e9 um dir de dom\u00ednio v\u00e1lido
  309.48 +READ_ACCESS_DENIED=N\u00e3o h\u00e1 acesso de leitura para domain.xml
  309.49 +ENTER_VALID_PORT_ADMIN_PORT_DOMAIN=Indique uma entrada v\u00e1lida para a porta, porta admin ou dom\u00ednio
  309.50 +
  309.51 +LBL_BrowseButton=Ok
  309.52 +LBL_ChooserName=Escolher diret\u00f3rio
   310.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   310.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/tomcat/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   310.3 @@ -0,0 +1,34 @@
   310.4 +#
   310.5 +# The contents of this file are subject to the terms of the Common Development
   310.6 +# and Distribution License (the License). You may not use this file except in
   310.7 +# compliance with the License.
   310.8 +#
   310.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  310.10 +# or http://www.netbeans.org/cddl.txt.
  310.11 +
  310.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  310.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  310.14 +# If applicable, add the following below the CDDL Header, with the fields
  310.15 +# enclosed by brackets [] replaced by your own identifying information:
  310.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  310.17 +#
  310.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  310.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  310.20 +# Microsystems, Inc. All Rights Reserved.
  310.21 +#
  310.22 +
  310.23 +# Sample ResourceBundle properties file
  310.24 +
  310.25 +LBL_CATALINA_HOME=Home do Catalina\:
  310.26 +
  310.27 +LBL_CATALINA_BASE=Base do Catalina\:
  310.28 +
  310.29 +LBL_JAVA_HOME=Home do Java\:
  310.30 +
  310.31 +LBL_PORT=Porta\:
  310.32 +
  310.33 +LBL_ADMIN_PORT=Porta admin\:
  310.34 +
  310.35 +LBL_USER_NAME=Nome do usu\u00e1rio\:
  310.36 +
  310.37 +LBL_PASSWORD=Senha\:
   311.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   311.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   311.3 @@ -0,0 +1,27 @@
   311.4 +#
   311.5 +# The contents of this file are subject to the terms of the Common Development
   311.6 +# and Distribution License (the License). You may not use this file except in
   311.7 +# compliance with the License.
   311.8 +#
   311.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  311.10 +# or http://www.netbeans.org/cddl.txt.
  311.11 +
  311.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  311.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  311.14 +# If applicable, add the following below the CDDL Header, with the fields
  311.15 +# enclosed by brackets [] replaced by your own identifying information:
  311.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  311.17 +#
  311.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  311.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  311.20 +# Microsystems, Inc. All Rights Reserved.
  311.21 +#
  311.22 +
  311.23 +# Sample ResourceBundle properties file
  311.24 +
  311.25 +LBL_SERVER_TYPE=Tipo de servidor
  311.26 +LBL_CLASSES=Classes
  311.27 +LBL_ClassPath=ClassPath:
  311.28 +LBL_Add=Adicionar
  311.29 +LBL_Remove=Remover
  311.30 +TT_ADD_JAR=Adicione a biblioteca jar que ser\u00e1 usada somente durante a compila\u00e7\u00e3o. Elas n\u00e3o ser\u00e3o inclu\u00eddas no war.
   312.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   312.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/nodes/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   312.3 @@ -0,0 +1,24 @@
   312.4 +#
   312.5 +# The contents of this file are subject to the terms of the Common Development
   312.6 +# and Distribution License (the License). You may not use this file except in
   312.7 +# compliance with the License.
   312.8 +#
   312.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  312.10 +# or http://www.netbeans.org/cddl.txt.
  312.11 +
  312.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  312.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  312.14 +# If applicable, add the following below the CDDL Header, with the fields
  312.15 +# enclosed by brackets [] replaced by your own identifying information:
  312.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  312.17 +#
  312.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  312.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  312.20 +# Microsystems, Inc. All Rights Reserved.
  312.21 +#
  312.22 +
  312.23 +CTL_ShowAdmnToolAction=Ferramenta de administra\u00e7\u00e3o
  312.24 +TXT_MyInstanceNode=Minha inst\u00e2ncia do servidor
  312.25 +LBL_WaitNode_DisplayName=Aguardar
  312.26 +
  312.27 +MSG_ERROR=Erro
   313.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   313.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/nodes/actions/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   313.3 @@ -0,0 +1,101 @@
   313.4 +#
   313.5 +# The contents of this file are subject to the terms of the Common Development
   313.6 +# and Distribution License (the License). You may not use this file except in
   313.7 +# compliance with the License.
   313.8 +#
   313.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  313.10 +# or http://www.netbeans.org/cddl.txt.
  313.11 +
  313.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  313.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  313.14 +# If applicable, add the following below the CDDL Header, with the fields
  313.15 +# enclosed by brackets [] replaced by your own identifying information:
  313.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  313.17 +#
  313.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  313.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  313.20 +# Microsystems, Inc. All Rights Reserved.
  313.21 +#
  313.22 +
  313.23 +CTL_DeleteChannelAction=Excluir canal
  313.24 +CTL_ShowAdmnToolAction=Ferramenta de administra\u00e7\u00e3o
  313.25 +TXT_MyInstanceNode=Minha inst\u00e2ncia do servidor
  313.26 +TXT_MyTargetNode=Minha inst\u00e2ncia do servidor
  313.27 +LBL_WaitNode_DisplayName=Aguardar
  313.28 +
  313.29 +MSG_ERROR=Erro
  313.30 +
  313.31 +MSG_COULD_NOT_BE_ADDED_TO_THE_SELECTED_LIST=N\u00e3o foi poss\u00edvel adicionar o canal \u00e0 lista selecionada. \\nFazer isso manualmente a partir do psconsole
  313.32 +
  313.33 +MSG_COULD_NOT_BE_ADDED_TO_AVAILABLE_LIST=N\u00e3o foi poss\u00edvel adicionar o canal adicionado \u00e0 lista dispon\u00edvel. \\nFazer isso manualmente a partir do psconsole.
  313.34 +
  313.35 +MSG_COULD_NOT_BE_REMOVED_FROM_SELECTED_LIST=N\u00e3o foi poss\u00edvel remover o canal da lista selecionada. \\nFazer isso manualmente a partir do psconsole \!\!\!
  313.36 +
  313.37 +MSG_COULD_NOT_BE_REMOVED_FROM_AVAILABLE_LIST=N\u00e3o foi poss\u00edvel remover o canal da lista dispon\u00edvel. \\nFazer isso manualmente a partir do psconsole..
  313.38 +
  313.39 +ACT_ADD_TO_SELECTED_CHANNELS=Adicionar aos canais selecionados
  313.40 +
  313.41 +LBL_CHANNELS=Canais
  313.42 +
  313.43 +LBL_PORTLETS=Portlets
  313.44 +
  313.45 +MSG_CREATE_A_PORTLET_CHANNEL=Criar um canal de portlet A
  313.46 +
  313.47 +MSG_Portlet_Could_not_be_added=N\u00e3o foi poss\u00edvel adicionar o portlet
  313.48 +
  313.49 +ACT_Add_Portlet_Channel=Adicionar canal do portlet
  313.50 +
  313.51 +
  313.52 +LBL_Container=Cont\u00eainer
  313.53 +
  313.54 +LBL_Provider=Provedor
  313.55 +
  313.56 +LBL_Create_a_container=Crie um cont\u00eainer
  313.57 +
  313.58 +MSG_Could_not_create_container=N\u00e3o foi poss\u00edvel criar o cont\u00eainer \: 
  313.59 +
  313.60 +MSG_CONTAINER_COULDNOT_BE_ADDED_TO_SELECTED_LIST=N\u00e3o foi poss\u00edvel adicionar o cont\u00eainer selecionado \u00e0 lista selecionada. \\nFazer isso manualmente a partir do psconsole
  313.61 +
  313.62 +MSG_Container_is_already_prsenet_in_selected_List=O cont\u00eainer j\u00e1 est\u00e1 presente na lista selecionada.................
  313.63 +
  313.64 +MSG_CONTAINER_COULD_NOT_BE_ADDED_TO_AVAILABLE_LIST=N\u00e3o foi poss\u00edvel adicionar o cont\u00eainer adicionado \u00e0 lista dispon\u00edvel. \\nFazer isso manualmente a partir do psconsole..
  313.65 +
  313.66 +ACT_Create_Container=Criar cont\u00eainer
  313.67 +
  313.68 +ACT_ADD_CHANNEL=Adicionar canal
  313.69 +
  313.70 +ACT_DELETE_CHANNEL=Excluir canal
  313.71 +
  313.72 +ACT_Delete_From_Selected_List=Excluir da lista selecionada
  313.73 +
  313.74 +MSG_ARE_YOU_SURE_TO_DELETE=Tem certeza que deseja excluir \\"
  313.75 +
  313.76 +MSG_Delete_Conatainer=Excluir cont\u00eainer
  313.77 +
  313.78 +MSG_COULD_NOT_BE_DELETED=n\u00e3o foi poss\u00edvel excluir
  313.79 +
  313.80 +MSG_Delete_Container=Excluir cont\u00eainer
  313.81 +
  313.82 +ACT_SHOW_AVAILABLE_CHANNELS=Mostrar canais dispon\u00edveis
  313.83 +
  313.84 +MSG_SHOW_EXISTING_CHANNEL=Mostrar canais existentes
  313.85 +
  313.86 +MSG_SHOW_SELECTED_CHANNELS=Mostrar canais selecionados
  313.87 +
  313.88 +MSG_START_UNDEPLOYMENT=Come\u00e7ar a desimplantar o portlet 
  313.89 +
  313.90 +ACT_UNDEPLOY=Desimplantar
  313.91 +
  313.92 +MSG_UNDEPLOY=Desimplantar 
  313.93 +
  313.94 +MSG_UNDEPLOYED_SUCCESSFULLY=Desimplantado com \u00eaxito.
  313.95 +
  313.96 +ACT_Lauch_Browser=Iniciar navegador
  313.97 +
  313.98 +MSG_Show_Portlet=Mostrar portlet
  313.99 +
 313.100 +LBL_PROVIDER=Provedor
 313.101 +
 313.102 +MSG_COULD_NOT_ADD_CHANNEL=N\u00e3o foi poss\u00edvel adicionar o canal
 313.103 +
 313.104 +CTL_ShowServerLog=Visualizar log do servidor
   314.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   314.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/resources/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   314.3 @@ -0,0 +1,24 @@
   314.4 +#
   314.5 +# The contents of this file are subject to the terms of the Common Development
   314.6 +# and Distribution License (the License). You may not use this file except in
   314.7 +# compliance with the License.
   314.8 +#
   314.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  314.10 +# or http://www.netbeans.org/cddl.txt.
  314.11 +
  314.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  314.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  314.14 +# If applicable, add the following below the CDDL Header, with the fields
  314.15 +# enclosed by brackets [] replaced by your own identifying information:
  314.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  314.17 +#
  314.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  314.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  314.20 +# Microsystems, Inc. All Rights Reserved.
  314.21 +#
  314.22 +
  314.23 +OpenIDE-Module-Long-Description=Este m\u00f3dulo fornece um framework para a cria\u00e7\u00e3o do servidor do portal ou os m\u00f3dulos de integra\u00e7\u00e3o do cont\u00eainer do portlet.
  314.24 +OpenIDE-Module-Name=Framework de integra\u00e7\u00e3o do servidor do portal
  314.25 +OpenIDE-Module-Display-Category=PortalPack
  314.26 +OpenIDE-Module-Short-Description=Framework base para a integra\u00e7\u00e3o do servidor do portal
  314.27 +
   315.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   315.2 +++ b/portalpack.servers.base_psframework/l10n/pt_BR/org/netbeans/modules/portalpack/servers/core/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   315.3 @@ -0,0 +1,38 @@
   315.4 +#
   315.5 +# The contents of this file are subject to the terms of the Common Development
   315.6 +# and Distribution License (the License). You may not use this file except in
   315.7 +# compliance with the License.
   315.8 +#
   315.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  315.10 +# or http://www.netbeans.org/cddl.txt.
  315.11 +
  315.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  315.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  315.14 +# If applicable, add the following below the CDDL Header, with the fields
  315.15 +# enclosed by brackets [] replaced by your own identifying information:
  315.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  315.17 +#
  315.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  315.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  315.20 +# Microsystems, Inc. All Rights Reserved.
  315.21 +#
  315.22 +
  315.23 +CTL_NodeDetailsAction=Abrir janela Detalhes do n\u00f3 
  315.24 +CTL_NodeDetailsTopComponent=Janela Detalhes do n\u00f3
  315.25 +HINT_NodeDetailsTopComponent=Esta \u00e9 uma janela Detalhes do n\u00f3
  315.26 +# Sample ResourceBundle properties file
  315.27 +MSG_CreateFailed=Falha na cria\u00e7\u00e3o da inst\u00e2ncia
  315.28 +
  315.29 +LBL_PROVIDER=Provedor
  315.30 +
  315.31 +LBL_CONTAINER=Cont\u00eainer
  315.32 +
  315.33 +LBL_OK=Ok
  315.34 +
  315.35 +LBL_CANCEL=Cancelar
  315.36 +
  315.37 +LBL_APPLY=Aplicar
  315.38 +
  315.39 +MSG_INVALID_NAME=Nome inv\u00e1lido. Somente caractere e d\u00edgitos s\u00e3o permitidos
  315.40 +MSG_InstallerName=Servidor do portal
  315.41 +LBL_PORTLET_CHANNEL=Canal do portlet
   316.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   316.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   316.3 @@ -0,0 +1,57 @@
   316.4 +#
   316.5 +# The contents of this file are subject to the terms of the Common Development
   316.6 +# and Distribution License (the License). You may not use this file except in
   316.7 +# compliance with the License.
   316.8 +#
   316.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  316.10 +# or http://www.netbeans.org/cddl.txt.
  316.11 +
  316.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  316.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  316.14 +# If applicable, add the following below the CDDL Header, with the fields
  316.15 +# enclosed by brackets [] replaced by your own identifying information:
  316.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  316.17 +#
  316.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  316.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  316.20 +# Microsystems, Inc. All Rights Reserved.
  316.21 +#
  316.22 +
  316.23 +START_DEPLOY=\u5df2\u5f00\u59cb\u90e8\u7f72
  316.24 +MSG_DEPLOYED=\u5df2\u6210\u529f\u90e8\u7f72\u3002
  316.25 +START_UNDEPLOY=\u5df2\u5f00\u59cb\u53d6\u6d88\u90e8\u7f72\u3002
  316.26 +MSG_UNDEPLOYED=\u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72
  316.27 +
  316.28 +#MSG_InstallerName=Sun Java System Portal Server 7.x
  316.29 +#MSG_CreateFailed=Cannot create {0} server instance.
  316.30 +MSG_MyServerPlatform=Sun Java System Portal Server 7.x \u5e73\u53f0
  316.31 +MSG_STARTING_ADMIN_SERVER=\u542f\u52a8\u7ba1\u7406\u670d\u52a1\u5668
  316.32 +MSG_STOPPING_ADMIN_SERVER=\u505c\u6b62\u7ba1\u7406\u670d\u52a1\u5668
  316.33 +MSG_ADMIN_SERVER_STARTED=\u5df2\u542f\u52a8\u7ba1\u7406\u670d\u52a1\u5668
  316.34 +MSG_ADMIN_SERVER_STOPPED=\u5df2\u505c\u6b62\u7ba1\u7406\u670d\u52a1\u5668
  316.35 +
  316.36 +
  316.37 +MODULE_STOPPED=\u5df2\u505c\u6b62\u6a21\u5757
  316.38 +
  316.39 +MSG_START_MODULE_SERVER=\u542f\u52a8\u6a21\u5757\u670d\u52a1\u5668
  316.40 +
  316.41 +
  316.42 +MSG_DEPLOYMENT_FAILED=\u90e8\u7f72\u5931\u8d25
  316.43 +
  316.44 +MSG_PORTALPACK=PortalPack \u6d88\u606f\uff1a 
  316.45 +
  316.46 +MSG_INVALID_PORT=\u7aef\u53e3\u65e0\u6548
  316.47 +MSG_UNDEPLOYED_SUCCESSFULLY= \u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72\u3002
  316.48 +
  316.49 +MSG_UNDEPLYOMENT_FAILED=\u65e0\u6cd5\u53d6\u6d88\u90e8\u7f72\uff1a 
  316.50 +
  316.51 +MSG_ERROR=\u9519\u8bef
  316.52 +
  316.53 +MSG_TARGET_STARTED=\u5df2\u542f\u52a8\u76ee\u6807...
  316.54 +
  316.55 +MSG_PORTALPACK_MSG=PortalPack \u6d88\u606f\uff1a 
  316.56 +
  316.57 +
  316.58 +MSG_INVALID_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\u65e0\u6548
  316.59 +
  316.60 +MSG_ExceptionOccured=\u51fa\u73b0\u5f02\u5e38\u3002
   317.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   317.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/api/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   317.3 @@ -0,0 +1,39 @@
   317.4 +#
   317.5 +# The contents of this file are subject to the terms of the Common Development
   317.6 +# and Distribution License (the License). You may not use this file except in
   317.7 +# compliance with the License.
   317.8 +#
   317.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  317.10 +# or http://www.netbeans.org/cddl.txt.
  317.11 +
  317.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  317.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  317.14 +# If applicable, add the following below the CDDL Header, with the fields
  317.15 +# enclosed by brackets [] replaced by your own identifying information:
  317.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  317.17 +#
  317.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  317.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  317.20 +# Microsystems, Inc. All Rights Reserved.
  317.21 +#
  317.22 +
  317.23 +# Sample ResourceBundle properties file
  317.24 +MSG_INVALID_PORT=\u7aef\u53e3\u65e0\u6548
  317.25 +MSG_UNDEPLOYED_SUCCESSFULLY= \u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72\u3002
  317.26 +
  317.27 +MSG_UNDEPLYOMENT_FAILED=\u65e0\u6cd5\u53d6\u6d88\u90e8\u7f72\uff1a 
  317.28 +
  317.29 +MSG_ERROR=\u9519\u8bef
  317.30 +
  317.31 +MSG_TARGET_STARTED=\u5df2\u542f\u52a8\u76ee\u6807...
  317.32 +
  317.33 +MSG_PORTALPACK_MSG=PortalPack \u6d88\u606f\uff1a 
  317.34 +
  317.35 +
  317.36 +MSG_INVALID_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\u65e0\u6548...
  317.37 +
  317.38 +MSG_ExceptionOccured=\u51fa\u73b0\u5f02\u5e38\u3002
  317.39 +
  317.40 +MSG_DEPLOYED=\u5df2\u6210\u529f\u90e8\u7f72\u3002
  317.41 +
  317.42 +MSG_UNDEPLOYED=\u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72
   318.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   318.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/common/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   318.3 @@ -0,0 +1,22 @@
   318.4 +#
   318.5 +# The contents of this file are subject to the terms of the Common Development
   318.6 +# and Distribution License (the License). You may not use this file except in
   318.7 +# compliance with the License.
   318.8 +#
   318.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  318.10 +# or http://www.netbeans.org/cddl.txt.
  318.11 +
  318.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  318.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  318.14 +# If applicable, add the following below the CDDL Header, with the fields
  318.15 +# enclosed by brackets [] replaced by your own identifying information:
  318.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  318.17 +#
  318.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  318.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  318.20 +# Microsystems, Inc. All Rights Reserved.
  318.21 +#
  318.22 +
  318.23 +
  318.24 +# Sample ResourceBundle properties file
  318.25 +MSG_ExceptionOccured=\u51fa\u73b0\u5f02\u5e38
   319.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   319.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/common/enterprise/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   319.3 @@ -0,0 +1,20 @@
   319.4 +#
   319.5 +# The contents of this file are subject to the terms of the Common Development
   319.6 +# and Distribution License (the License). You may not use this file except in
   319.7 +# compliance with the License.
   319.8 +#
   319.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  319.10 +# or http://www.netbeans.org/cddl.txt.
  319.11 +
  319.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  319.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  319.14 +# If applicable, add the following below the CDDL Header, with the fields
  319.15 +# enclosed by brackets [] replaced by your own identifying information:
  319.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  319.17 +#
  319.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  319.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  319.20 +# Microsystems, Inc. All Rights Reserved.
  319.21 +#
  319.22 +
  319.23 +# Sample ResourceBundle properties file
   320.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   320.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/impl/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   320.3 @@ -0,0 +1,20 @@
   320.4 +#
   320.5 +# The contents of this file are subject to the terms of the Common Development
   320.6 +# and Distribution License (the License). You may not use this file except in
   320.7 +# compliance with the License.
   320.8 +#
   320.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  320.10 +# or http://www.netbeans.org/cddl.txt.
  320.11 +
  320.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  320.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  320.14 +# If applicable, add the following below the CDDL Header, with the fields
  320.15 +# enclosed by brackets [] replaced by your own identifying information:
  320.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  320.17 +#
  320.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  320.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  320.20 +# Microsystems, Inc. All Rights Reserved.
  320.21 +#
  320.22 +
  320.23 +# Sample ResourceBundle properties file
   321.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   321.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/sunappserver/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   321.3 @@ -0,0 +1,49 @@
   321.4 +#
   321.5 +# The contents of this file are subject to the terms of the Common Development
   321.6 +# and Distribution License (the License). You may not use this file except in
   321.7 +# compliance with the License.
   321.8 +#
   321.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  321.10 +# or http://www.netbeans.org/cddl.txt.
  321.11 +
  321.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  321.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  321.14 +# If applicable, add the following below the CDDL Header, with the fields
  321.15 +# enclosed by brackets [] replaced by your own identifying information:
  321.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  321.17 +#
  321.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  321.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  321.20 +# Microsystems, Inc. All Rights Reserved.
  321.21 +#
  321.22 +
  321.23 +# Sample ResourceBundle properties file
  321.24 +
  321.25 +LBL_APPSERVER_HOME=GlassFish Home \u76ee\u5f55\uff1a
  321.26 +
  321.27 +LBL_DOMAIN_DIR=\u57df\u76ee\u5f55\uff1a
  321.28 +
  321.29 +LBL_DOMAIN=\u57df\uff1a
  321.30 +
  321.31 +LBL_USER_NAME=\u7528\u6237\u540d\uff1a
  321.32 +
  321.33 +LBL_PASSWORD=\u53e3\u4ee4\uff1a
  321.34 +
  321.35 +LBL_PORT=\u7aef\u53e3\uff1a
  321.36 +
  321.37 +LBL_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\uff1a
  321.38 +
  321.39 +MSG_INVALID_PORT=\u7aef\u53e3\u65e0\u6548
  321.40 +
  321.41 +MSG_INVALID_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\u65e0\u6548
  321.42 +
  321.43 +INVALID_HOME=Home \u76ee\u5f55\u65e0\u6548
  321.44 +
  321.45 +MSG_INVALID_ADMIN_USER=\u7ba1\u7406\u5458\u7528\u6237\u65e0\u6548
  321.46 +INVALID_DOMAIN_XML=domain.xml \u65e0\u6548
  321.47 +INVALID_DOMAIN_DIR=\u57df\u76ee\u5f55\u65e0\u6548
  321.48 +READ_ACCESS_DENIED=\u6ca1\u6709 domain.xml \u7684\u8bfb\u53d6\u8bbf\u95ee\u6743\u9650
  321.49 +ENTER_VALID_PORT_ADMIN_PORT_DOMAIN=\u8bf7\u4e3a\u7aef\u53e3\u3001\u7ba1\u7406\u7aef\u53e3\u6216\u57df\u8f93\u5165\u6709\u6548\u7684\u6761\u76ee
  321.50 +
  321.51 +LBL_BrowseButton=\u786e\u5b9a
  321.52 +LBL_ChooserName=\u9009\u62e9\u76ee\u5f55
   322.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   322.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/tomcat/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   322.3 @@ -0,0 +1,34 @@
   322.4 +#
   322.5 +# The contents of this file are subject to the terms of the Common Development
   322.6 +# and Distribution License (the License). You may not use this file except in
   322.7 +# compliance with the License.
   322.8 +#
   322.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  322.10 +# or http://www.netbeans.org/cddl.txt.
  322.11 +
  322.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  322.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  322.14 +# If applicable, add the following below the CDDL Header, with the fields
  322.15 +# enclosed by brackets [] replaced by your own identifying information:
  322.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  322.17 +#
  322.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  322.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  322.20 +# Microsystems, Inc. All Rights Reserved.
  322.21 +#
  322.22 +
  322.23 +# Sample ResourceBundle properties file
  322.24 +
  322.25 +LBL_CATALINA_HOME=Catalina Home \u76ee\u5f55\uff1a
  322.26 +
  322.27 +LBL_CATALINA_BASE=Catalina \u57fa\u76ee\u5f55\uff1a
  322.28 +
  322.29 +LBL_JAVA_HOME=Java Home \u76ee\u5f55\uff1a
  322.30 +
  322.31 +LBL_PORT=\u7aef\u53e3\uff1a
  322.32 +
  322.33 +LBL_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\uff1a
  322.34 +
  322.35 +LBL_USER_NAME=\u7528\u6237\u540d\uff1a
  322.36 +
  322.37 +LBL_PASSWORD=\u53e3\u4ee4\uff1a
   323.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   323.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   323.3 @@ -0,0 +1,27 @@
   323.4 +#
   323.5 +# The contents of this file are subject to the terms of the Common Development
   323.6 +# and Distribution License (the License). You may not use this file except in
   323.7 +# compliance with the License.
   323.8 +#
   323.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  323.10 +# or http://www.netbeans.org/cddl.txt.
  323.11 +
  323.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  323.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  323.14 +# If applicable, add the following below the CDDL Header, with the fields
  323.15 +# enclosed by brackets [] replaced by your own identifying information:
  323.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  323.17 +#
  323.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  323.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  323.20 +# Microsystems, Inc. All Rights Reserved.
  323.21 +#
  323.22 +
  323.23 +# Sample ResourceBundle properties file
  323.24 +
  323.25 +LBL_SERVER_TYPE=\u670d\u52a1\u5668\u7c7b\u578b
  323.26 +LBL_CLASSES=\u7c7b
  323.27 +LBL_ClassPath=\u7c7b\u8def\u5f84\uff1a
  323.28 +LBL_Add=\u6dfb\u52a0
  323.29 +LBL_Remove=\u5220\u9664
  323.30 +TT_ADD_JAR=\u6dfb\u52a0\u4ec5\u5728\u7f16\u8bd1\u671f\u95f4\u4f7f\u7528\u7684 JAR \u5e93\u3002\u8fd9\u4e9b\u5e93\u5c06\u4e0d\u4f1a\u5305\u542b\u5728 WAR \u4e2d\u3002
   324.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   324.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/nodes/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   324.3 @@ -0,0 +1,24 @@
   324.4 +#
   324.5 +# The contents of this file are subject to the terms of the Common Development
   324.6 +# and Distribution License (the License). You may not use this file except in
   324.7 +# compliance with the License.
   324.8 +#
   324.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  324.10 +# or http://www.netbeans.org/cddl.txt.
  324.11 +
  324.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  324.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  324.14 +# If applicable, add the following below the CDDL Header, with the fields
  324.15 +# enclosed by brackets [] replaced by your own identifying information:
  324.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  324.17 +#
  324.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  324.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  324.20 +# Microsystems, Inc. All Rights Reserved.
  324.21 +#
  324.22 +
  324.23 +CTL_ShowAdmnToolAction=\u7ba1\u7406\u5de5\u5177
  324.24 +TXT_MyInstanceNode=\u6211\u7684\u670d\u52a1\u5668\u5b9e\u4f8b
  324.25 +LBL_WaitNode_DisplayName=\u7b49\u5f85
  324.26 +
  324.27 +MSG_ERROR=\u9519\u8bef
   325.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   325.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/nodes/actions/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   325.3 @@ -0,0 +1,101 @@
   325.4 +#
   325.5 +# The contents of this file are subject to the terms of the Common Development
   325.6 +# and Distribution License (the License). You may not use this file except in
   325.7 +# compliance with the License.
   325.8 +#
   325.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  325.10 +# or http://www.netbeans.org/cddl.txt.
  325.11 +
  325.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  325.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  325.14 +# If applicable, add the following below the CDDL Header, with the fields
  325.15 +# enclosed by brackets [] replaced by your own identifying information:
  325.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  325.17 +#
  325.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  325.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  325.20 +# Microsystems, Inc. All Rights Reserved.
  325.21 +#
  325.22 +
  325.23 +CTL_DeleteChannelAction=\u5220\u9664\u901a\u9053
  325.24 +CTL_ShowAdmnToolAction=\u7ba1\u7406\u5de5\u5177
  325.25 +TXT_MyInstanceNode=\u6211\u7684\u670d\u52a1\u5668\u5b9e\u4f8b
  325.26 +TXT_MyTargetNode=\u6211\u7684\u76ee\u6807\u5b9e\u4f8b
  325.27 +LBL_WaitNode_DisplayName=\u7b49\u5f85
  325.28 +
  325.29 +MSG_ERROR=\u9519\u8bef
  325.30 +
  325.31 +MSG_COULD_NOT_BE_ADDED_TO_THE_SELECTED_LIST=\u65e0\u6cd5\u5c06\u901a\u9053\u6dfb\u52a0\u5230\u9009\u5b9a\u5217\u8868\u4e2d\u3002\\n\u8bf7\u4ece psconsole \u624b\u52a8\u6dfb\u52a0
  325.32 +
  325.33 +MSG_COULD_NOT_BE_ADDED_TO_AVAILABLE_LIST=\u65e0\u6cd5\u5c06\u5df2\u6dfb\u52a0\u7684\u901a\u9053\u6dfb\u52a0\u5230\u53ef\u7528\u5217\u8868\u4e2d\u3002\\n\u8bf7\u4ece psconsole \u624b\u52a8\u6dfb\u52a0..
  325.34 +
  325.35 +MSG_COULD_NOT_BE_REMOVED_FROM_SELECTED_LIST=\u65e0\u6cd5\u4ece\u9009\u5b9a\u5217\u8868\u4e2d\u5220\u9664\u901a\u9053\u3002\\n\u8bf7\u4ece psconsole \u624b\u52a8\u5220\u9664\uff01\uff01\uff01
  325.36 +
  325.37 +MSG_COULD_NOT_BE_REMOVED_FROM_AVAILABLE_LIST=\u65e0\u6cd5\u4ece\u53ef\u7528\u5217\u8868\u4e2d\u5220\u9664\u901a\u9053\u3002\\n\u8bf7\u4ece psconsole \u624b\u52a8\u5220\u9664..
  325.38 +
  325.39 +ACT_ADD_TO_SELECTED_CHANNELS=\u6dfb\u52a0\u5230\u9009\u5b9a\u901a\u9053
  325.40 +
  325.41 +LBL_CHANNELS=\u901a\u9053
  325.42 +
  325.43 +LBL_PORTLETS=Portlet
  325.44 +
  325.45 +MSG_CREATE_A_PORTLET_CHANNEL=\u521b\u5efa Portlet \u901a\u9053
  325.46 +
  325.47 +MSG_Portlet_Could_not_be_added=\u65e0\u6cd5\u6dfb\u52a0 Portlet
  325.48 +
  325.49 +ACT_Add_Portlet_Channel=\u6dfb\u52a0 Portlet \u901a\u9053
  325.50 +
  325.51 +
  325.52 +LBL_Container=\u5bb9\u5668
  325.53 +
  325.54 +LBL_Provider=\u63d0\u4f9b\u5668
  325.55 +
  325.56 +LBL_Create_a_container=\u521b\u5efa\u5bb9\u5668
  325.57 +
  325.58 +MSG_Could_not_create_container=\u65e0\u6cd5\u521b\u5efa\u5bb9\u5668\uff1a 
  325.59 +
  325.60 +MSG_CONTAINER_COULDNOT_BE_ADDED_TO_SELECTED_LIST=\u65e0\u6cd5\u5c06\u5df2\u6dfb\u52a0\u7684\u5bb9\u5668\u6dfb\u52a0\u5230\u9009\u5b9a\u5217\u8868\u4e2d\u3002\\n\u8bf7\u4ece psconsole \u624b\u52a8\u6dfb\u52a0
  325.61 +
  325.62 +MSG_Container_is_already_prsenet_in_selected_List=\u9009\u5b9a\u5217\u8868\u4e2d\u5df2\u5b58\u5728\u8be5\u5bb9\u5668
  325.63 +
  325.64 +MSG_CONTAINER_COULD_NOT_BE_ADDED_TO_AVAILABLE_LIST=\u65e0\u6cd5\u5c06\u5df2\u6dfb\u52a0\u7684\u5bb9\u5668\u6dfb\u52a0\u5230\u53ef\u7528\u5217\u8868\u4e2d\u3002\\n\u8bf7\u4ece psconsole \u624b\u52a8\u6dfb\u52a0..
  325.65 +
  325.66 +ACT_Create_Container=\u521b\u5efa\u5bb9\u5668
  325.67 +
  325.68 +ACT_ADD_CHANNEL=\u6dfb\u52a0\u901a\u9053
  325.69 +
  325.70 +ACT_DELETE_CHANNEL=\u5220\u9664\u901a\u9053
  325.71 +
  325.72 +ACT_Delete_From_Selected_List=\u4ece\u9009\u5b9a\u5217\u8868\u4e2d\u5220\u9664
  325.73 +
  325.74 +MSG_ARE_YOU_SURE_TO_DELETE=\u662f\u5426\u786e\u5b9e\u8981\u5220\u9664\uff1f"
  325.75 +
  325.76 +MSG_Delete_Conatainer=\u5220\u9664\u5bb9\u5668
  325.77 +
  325.78 +MSG_COULD_NOT_BE_DELETED=\u65e0\u6cd5\u5220\u9664
  325.79 +
  325.80 +MSG_Delete_Container=\u5220\u9664\u5bb9\u5668
  325.81 +
  325.82 +ACT_SHOW_AVAILABLE_CHANNELS=\u663e\u793a\u53ef\u7528\u901a\u9053
  325.83 +
  325.84 +MSG_SHOW_EXISTING_CHANNEL=\u663e\u793a\u73b0\u6709\u901a\u9053
  325.85 +
  325.86 +MSG_SHOW_SELECTED_CHANNELS=\u663e\u793a\u9009\u5b9a\u901a\u9053
  325.87 +
  325.88 +MSG_START_UNDEPLOYMENT=\u5f00\u59cb\u53d6\u6d88\u90e8\u7f72 Portlet 
  325.89 +
  325.90 +ACT_UNDEPLOY=\u53d6\u6d88\u90e8\u7f72
  325.91 +
  325.92 +MSG_UNDEPLOY=\u53d6\u6d88\u90e8\u7f72 
  325.93 +
  325.94 +MSG_UNDEPLOYED_SUCCESSFULLY=\u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72\u3002
  325.95 +
  325.96 +ACT_Lauch_Browser=\u542f\u52a8\u6d4f\u89c8\u5668
  325.97 +
  325.98 +MSG_Show_Portlet=\u663e\u793a Portlet
  325.99 +
 325.100 +LBL_PROVIDER=\u63d0\u4f9b\u5668
 325.101 +
 325.102 +MSG_COULD_NOT_ADD_CHANNEL=\u65e0\u6cd5\u6dfb\u52a0\u901a\u9053
 325.103 +
 325.104 +CTL_ShowServerLog=\u67e5\u770b\u670d\u52a1\u5668\u65e5\u5fd7
   326.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   326.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/resources/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   326.3 @@ -0,0 +1,24 @@
   326.4 +#
   326.5 +# The contents of this file are subject to the terms of the Common Development
   326.6 +# and Distribution License (the License). You may not use this file except in
   326.7 +# compliance with the License.
   326.8 +#
   326.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  326.10 +# or http://www.netbeans.org/cddl.txt.
  326.11 +
  326.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  326.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  326.14 +# If applicable, add the following below the CDDL Header, with the fields
  326.15 +# enclosed by brackets [] replaced by your own identifying information:
  326.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  326.17 +#
  326.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  326.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  326.20 +# Microsystems, Inc. All Rights Reserved.
  326.21 +#
  326.22 +
  326.23 +OpenIDE-Module-Long-Description=\u6b64\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u95e8\u6237\u670d\u52a1\u5668\u6216 Portlet \u5bb9\u5668\u96c6\u6210\u6a21\u5757\u7684\u6846\u67b6\u3002
  326.24 +OpenIDE-Module-Name=\u95e8\u6237\u670d\u52a1\u5668\u96c6\u6210\u6846\u67b6
  326.25 +OpenIDE-Module-Display-Category=PortalPack
  326.26 +OpenIDE-Module-Short-Description=\u95e8\u6237\u670d\u52a1\u5668\u96c6\u6210\u7684\u57fa\u672c\u6846\u67b6
  326.27 +
   327.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   327.2 +++ b/portalpack.servers.base_psframework/l10n/zh_CN/org/netbeans/modules/portalpack/servers/core/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   327.3 @@ -0,0 +1,38 @@
   327.4 +#
   327.5 +# The contents of this file are subject to the terms of the Common Development
   327.6 +# and Distribution License (the License). You may not use this file except in
   327.7 +# compliance with the License.
   327.8 +#
   327.9 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  327.10 +# or http://www.netbeans.org/cddl.txt.
  327.11 +
  327.12 +# When distributing Covered Code, include this CDDL Header Notice in each file
  327.13 +# and include the License file at http://www.netbeans.org/cddl.txt.
  327.14 +# If applicable, add the following below the CDDL Header, with the fields
  327.15 +# enclosed by brackets [] replaced by your own identifying information:
  327.16 +# "Portions Copyrighted [year] [name of copyright owner]"
  327.17 +#
  327.18 +# The Original Software is NetBeans. The Initial Developer of the Original
  327.19 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  327.20 +# Microsystems, Inc. All Rights Reserved.
  327.21 +#
  327.22 +
  327.23 +CTL_NodeDetailsAction=\u6253\u5f00\u8282\u70b9\u8be6\u7ec6\u4fe1\u606f\u7a97\u53e3 
  327.24 +CTL_NodeDetailsTopComponent=\u8282\u70b9\u8be6\u7ec6\u4fe1\u606f\u7a97\u53e3
  327.25 +HINT_NodeDetailsTopComponent=\u8fd9\u662f\u4e00\u4e2a\u8282\u70b9\u8be6\u7ec6\u4fe1\u606f\u7a97\u53e3
  327.26 +# Sample ResourceBundle properties file
  327.27 +MSG_CreateFailed=\u521b\u5efa\u5b9e\u4f8b\u5931\u8d25
  327.28 +
  327.29 +LBL_PROVIDER=\u63d0\u4f9b\u5668
  327.30 +
  327.31 +LBL_CONTAINER=\u5bb9\u5668
  327.32 +
  327.33 +LBL_OK=\u786e\u5b9a
  327.34 +
  327.35 +LBL_CANCEL=\u53d6\u6d88
  327.36 +
  327.37 +LBL_APPLY=\u5e94\u7528
  327.38 +
  327.39 +MSG_INVALID_NAME=\u540d\u79f0\u65e0\u6548\u3002\u53ea\u5141\u8bb8\u4f7f\u7528\u5b57\u7b26\u548c\u6570\u5b57
  327.40 +MSG_InstallerName=\u95e8\u6237\u670d\u52a1\u5668
  327.41 +LBL_PORTLET_CHANNEL=Portlet \u901a\u9053
   328.1 --- a/portalpack.servers.base_psframework/src/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/tomcat/TomcatConfigUtil.java	Thu Jul 10 19:13:29 2008 +0800
   328.2 +++ b/portalpack.servers.base_psframework/src/org/netbeans/modules/portalpack/servers/core/impl/j2eeservers/tomcat/TomcatConfigUtil.java	Thu Jul 10 19:50:39 2008 +0800
   328.3 @@ -27,8 +27,15 @@
   328.4  import java.util.logging.Level;
   328.5  import java.util.logging.Logger;
   328.6  
   328.7 +import javax.xml.parsers.DocumentBuilder;
   328.8 +import javax.xml.parsers.DocumentBuilderFactory;
   328.9 +import javax.xml.parsers.ParserConfigurationException;
  328.10 +import javax.xml.xpath.XPath;
  328.11  import org.netbeans.modules.portalpack.servers.core.util.NetbeanConstants;
  328.12 +import org.openide.util.Exceptions;
  328.13  import org.w3c.dom.Document;
  328.14 +import org.w3c.dom.Element;
  328.15 +import org.w3c.dom.NodeList;
  328.16  import org.xml.sax.EntityResolver;
  328.17  import org.xml.sax.InputSource;
  328.18  import org.xml.sax.SAXException;
  328.19 @@ -71,6 +78,7 @@
  328.20      
  328.21        public String getDomainName()
  328.22      {
  328.23 +          
  328.24         /* commented as this is not currently being used   
  328.25          String domain = "";
  328.26          if(doc == null)
  328.27 @@ -96,18 +104,20 @@
  328.28      
  328.29      public static Document createDocumentFromXml(File file) throws IOException
  328.30      {
  328.31 -        /* commented as not being used
  328.32 -        SAXBuilder saxBuilder = new SAXBuilder(false);
  328.33 -        saxBuilder.setEntityResolver(new EntityResolver(){
  328.34 -            public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
  328.35 -                return new InputSource(new StringBufferInputStream(""));
  328.36 -            }
  328.37 -            
  328.38 -        });
  328.39 -     
  328.40 -        org.jdom.Document jdomDocument = saxBuilder.build(file);
  328.41 -        return jdomDocument;*/
  328.42 -        return null; //dummy return
  328.43 +       
  328.44 +        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
  328.45 +        DocumentBuilder docBuilder;
  328.46 +        
  328.47 +        try {
  328.48 +            docBuilder = docBuilderFactory.newDocumentBuilder();
  328.49 +            Document doc = docBuilder.parse(file);
  328.50 +            return doc;
  328.51 +        } catch (ParserConfigurationException ex) {
  328.52 +            logger.log(Level.SEVERE, "Parse Error", ex);
  328.53 +        } catch(SAXException e) {
  328.54 +            logger.log(Level.SEVERE,"SAX ERROR",e);
  328.55 +        }
  328.56 +        return null;
  328.57      }
  328.58      
  328.59      
  328.60 @@ -134,36 +144,37 @@
  328.61      }
  328.62       
  328.63      public String getHttpPort(){
  328.64 -      /* commented as not being used currently
  328.65 +     
  328.66          String port = "";
  328.67          int defCon = -1;
  328.68          if(doc == null) return "";
  328.69 -        Element service = doc.getRootElement().getChild("Service");
  328.70 +        NodeList services = doc.getElementsByTagName("Service");
  328.71          
  328.72 -        if(service == null) return "";
  328.73 +        if(services == null || services.getLength() == 0) return "";
  328.74  
  328.75 -        List list = service.getChildren("Connector");
  328.76 -        for (int i=0; i<list.size(); i++) {
  328.77 -            Element connector = (Element)list.get(i);
  328.78 -            String protocol = connector.getAttributeValue(ATTR_PROTOCOL);
  328.79 -            String scheme = connector.getAttributeValue(ATTR_SCHEME);
  328.80 -            String secure = connector.getAttributeValue(ATTR_SECURE);
  328.81 +        NodeList list = ((Element)services.item(0)).getElementsByTagName("Connector");
  328.82 +        if(list == null || list.getLength() == 0)
  328.83 +            return "";
  328.84 +        int size = list.getLength();
  328.85 +        for (int i=0; i<size; i++) {
  328.86 +            Element connector = (Element)list.item(i);
  328.87 +            String protocol = connector.getAttribute(ATTR_PROTOCOL);
  328.88 +            String scheme = connector.getAttribute(ATTR_SCHEME);
  328.89 +            String secure = connector.getAttribute(ATTR_SECURE);
  328.90              if (isHttpConnector(protocol, scheme, secure)) {
  328.91                  defCon = i;
  328.92                  break;
  328.93              }
  328.94          }
  328.95          
  328.96 -        if (defCon==-1 && list.size() > 0) {
  328.97 +        if (defCon==-1 && size > 0) {
  328.98              defCon=0;
  328.99          }
 328.100          
 328.101 -        port = ((Element)list.get(defCon)).getAttributeValue(ATTR_PORT);
 328.102 +        port = ((Element)list.item(defCon)).getAttribute(ATTR_PORT);
 328.103        
 328.104          if(port == null) return "0";
 328.105 -        return port; */
 328.106 -       
 328.107 -        return ""; //dummy return
 328.108 +        return port;
 328.109      }
 328.110      
 328.111      
   329.1 --- a/portalpack.servers.liferay/build.xml	Thu Jul 10 19:13:29 2008 +0800
   329.2 +++ b/portalpack.servers.liferay/build.xml	Thu Jul 10 19:50:39 2008 +0800
   329.3 @@ -31,4 +31,12 @@
   329.4      <target name="release" depends="init">
   329.5  
   329.6      </target>
   329.7 +    <target name="create-l10n-kit">
   329.8 +         <property name="l10nkit-name" value="build/l10n-kit.zip"/>
   329.9 +         <delete file= "${l10nkit-name}"/>
  329.10 +         <zip destfile="${l10nkit-name}"
  329.11 +           basedir="src"
  329.12 +           includes="**/Bundle.properties"
  329.13 +         />
  329.14 +    </target>
  329.15  </project>
   330.1 --- a/portalpack.servers.liferay/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   330.2 +++ b/portalpack.servers.liferay/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   330.3 @@ -2,5 +2,5 @@
   330.4  OpenIDE-Module: org.netbeans.modules.portalpack.servers.liferay
   330.5  OpenIDE-Module-Layer: org/netbeans/modules/portalpack/servers/liferay/resources/layer.xml
   330.6  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/portalpack/servers/liferay/resources/Bundle.properties
   330.7 -OpenIDE-Module-Specification-Version: 1.0.0.17
   330.8 +OpenIDE-Module-Specification-Version: 0.9
   330.9  
   331.1 --- a/portalpack.servers.liferay/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   331.2 +++ b/portalpack.servers.liferay/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   331.3 @@ -51,9 +51,12 @@
   331.4                      <compile-dependency/>
   331.5                      <run-dependency>
   331.6                          <release-version>1</release-version>
   331.7 -                        <specification-version>1.18</specification-version>
   331.8 +                        <specification-version>1.10.1</specification-version>
   331.9 +                        <!-- Uncomment this section for NB 6.5 
  331.10 +                        <specification-version>1.18</specification-version> -->
  331.11                      </run-dependency>
  331.12                  </dependency>
  331.13 +                <!-- Uncomment this section to compile it with netbeans 6.5 
  331.14                  <dependency>
  331.15                      <code-name-base>org.netbeans.api.java.classpath</code-name-base>
  331.16                      <build-prerequisite/>
  331.17 @@ -62,7 +65,8 @@
  331.18                          <release-version>1</release-version>
  331.19                          <specification-version>1.0</specification-version>
  331.20                      </run-dependency>
  331.21 -                </dependency>
  331.22 +                </dependency> -->
  331.23 +                
  331.24                  <dependency>
  331.25                      <code-name-base>org.netbeans.api.web.webmodule</code-name-base>
  331.26                      <build-prerequisite/>
  331.27 @@ -136,7 +140,8 @@
  331.28                      <compile-dependency/>
  331.29                      <run-dependency>
  331.30                          <release-version>1</release-version>
  331.31 -                        <specification-version>1.17</specification-version>
  331.32 +                        <!-- Uncomment this section to compile against NB 6.5
  331.33 +                        <specification-version>1.17</specification-version> -->
  331.34                      </run-dependency>
  331.35                  </dependency>
  331.36                  <dependency>
   332.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   332.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   332.3 @@ -19,4 +19,5 @@
   332.4  
   332.5  Sun_Java_System_AppServer_9=GlassFish / Sun Java System AppServer 9.x
   332.6  
   332.7 -LBL_LifeRay=Liferay Portal Server 4.4.x/5.0
   332.8 +LBL_LifeRay=WebSynergy Server (Early Access)
   332.9 +Tomcat_5_x=Tomcat 5.x
   333.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/LiferayConfigPanelManagerImpl.java	Thu Jul 10 19:13:29 2008 +0800
   333.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/LiferayConfigPanelManagerImpl.java	Thu Jul 10 19:50:39 2008 +0800
   333.3 @@ -23,6 +23,7 @@
   333.4  import org.netbeans.modules.portalpack.servers.core.api.PSConfigPanelManager;
   333.5  import org.netbeans.modules.portalpack.servers.core.common.ServerConstants;
   333.6  import org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.SunAppServerConfigPanel;
   333.7 +import org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.tomcat.TomcatConfigPanel;
   333.8  import org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.ui.ClasspathConfigPanel;
   333.9  import org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.ui.DefaultServerConfigPanel;
  333.10  import org.netbeans.modules.portalpack.servers.core.ui.InstallPanel;
  333.11 @@ -60,7 +61,7 @@
  333.12      {
  333.13          DefaultServerConfigPanel serverConfigPanel = new DefaultServerConfigPanel();
  333.14          serverConfigPanel.registerServerConfigPanel(new SunAppServerConfigPanel(),SUN_APP_SERVER_9,org.openide.util.NbBundle.getMessage(LiferayConfigPanelManagerImpl.class, "Sun_Java_System_AppServer_9"));
  333.15 -        //serverConfigPanel.registerServerConfigPanel(new TomcatConfigPanel(),TOMCAT_5_X,"Tomcat 5.x");
  333.16 +        serverConfigPanel.registerServerConfigPanel(new TomcatConfigPanel(),TOMCAT_5_X,org.openide.util.NbBundle.getMessage(LiferayConfigPanelManagerImpl.class, "Tomcat_5_x"));
  333.17          return serverConfigPanel;
  333.18      }
  333.19  }
   334.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/LiferayJ2eePlatformImpl.java	Thu Jul 10 19:13:29 2008 +0800
   334.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/LiferayJ2eePlatformImpl.java	Thu Jul 10 19:50:39 2008 +0800
   334.3 @@ -51,7 +51,7 @@
   334.4      protected List getCustomLibraries() {
   334.5           List classPath = new ArrayList();
   334.6           
   334.7 -         String[] libFiles = {"portal-service.jar"};
   334.8 +         String[] libFiles = {"portal-service.jar","portal-kernel.jar"};
   334.9           //PSConfigObject psconfig = psconfig.getPSConfig();
  334.10           
  334.11           for(int i=0;i<libFiles.length;i++)
   335.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/common/LiferayConstants.java	Thu Jul 10 19:13:29 2008 +0800
   335.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/common/LiferayConstants.java	Thu Jul 10 19:50:39 2008 +0800
   335.3 @@ -35,4 +35,5 @@
   335.4  
   335.5      public static String PORTLET_URI = "LR_PORTLET_URI";
   335.6      public static String LR_LOGGER = "org.netbeans.modules.portalpack.servers.liferay.logger";
   335.7 +    public static String AUTO_DEPLOY_DIR = "lr_auto_deploy_dir";
   335.8  }
   336.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/config/LiferayModuleConfiguration.java	Thu Jul 10 19:13:29 2008 +0800
   336.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/config/LiferayModuleConfiguration.java	Thu Jul 10 19:50:39 2008 +0800
   336.3 @@ -206,7 +206,7 @@
   336.4          t.addType("portlets");
   336.5          pluginPackage.setTypes(t);
   336.6          LiferayVersions lv = pluginPackage.newLiferayVersions();
   336.7 -        lv.addLiferayVersion("4.4.0");
   336.8 +        lv.addLiferayVersion("5.0");
   336.9          pluginPackage.setLiferayVersions(lv);
  336.10          
  336.11          Licenses licenses = pluginPackage.newLicenses();
  336.12 @@ -228,6 +228,7 @@
  336.13          props.setProperty("module-group-id", "liferay"); //NOI18N
  336.14          props.setProperty("module-incremental-version", "1"); //NOI18N
  336.15          props.setProperty("tags", "portlet");
  336.16 +        props.setProperty("portal.dependency.jars","commons-logging.jar");
  336.17          try{
  336.18              OutputStream out = new FileOutputStream(pluginPackageProp);
  336.19              props.store(out, name);
   337.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/impl/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   337.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/impl/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   337.3 @@ -43,3 +43,4 @@
   337.4  MSG_DEPLOY_ON_GLASSFISH_FAILED=Deployment on Glassfish failed
   337.5  
   337.6  MSG_UNDEPLOY_ON_GLASSFISH_FAILED=UnDeployment on Glassfish failed
   337.7 +Deployment_Done=Deployment on WebSynergy Portal Server is done. Check Server log in the output tab for more details.
   338.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/impl/LiferayTaskHandler.java	Thu Jul 10 19:13:29 2008 +0800
   338.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/impl/LiferayTaskHandler.java	Thu Jul 10 19:50:39 2008 +0800
   338.3 @@ -42,9 +42,11 @@
   338.4  import javax.xml.namespace.QName;
   338.5  import org.netbeans.modules.j2ee.deployment.plugins.api.UISupport;
   338.6  import org.netbeans.modules.portalpack.servers.core.api.PSDeploymentManager;
   338.7 +import org.netbeans.modules.portalpack.servers.core.common.DeploymentException;
   338.8  import org.netbeans.modules.portalpack.servers.core.common.ExtendedClassLoader;
   338.9  import org.netbeans.modules.portalpack.servers.core.common.FileLogViewerSupport;
  338.10  import org.netbeans.modules.portalpack.servers.core.common.LogManager;
  338.11 +import org.netbeans.modules.portalpack.servers.core.common.ServerConstants;
  338.12  import org.netbeans.modules.portalpack.servers.core.impl.DefaultPSTaskHandler;
  338.13  import org.netbeans.modules.portalpack.servers.core.util.NetbeanConstants;
  338.14  import org.netbeans.modules.portalpack.servers.core.util.PSConfigObject;
  338.15 @@ -116,9 +118,76 @@
  338.16          //writeErrorToOutput(uri,e);
  338.17          throw e;
  338.18          }*/
  338.19 -        copy(warfile, System.getProperty("user.home") + File.separator + "liferay" + File.separator + "deploy");
  338.20 +        String deployDir = psconfig.getProperty(LiferayConstants.AUTO_DEPLOY_DIR);
  338.21 +        File deployDirFile = new File(deployDir);
  338.22 +        if(!deployDirFile.exists())
  338.23 +            deployDirFile.mkdirs();
  338.24 +        //copy(warfile, System.getProperty("user.home") + File.separator + "liferay" + File.separator + "deploy");
  338.25 +        long baseTime = System.currentTimeMillis();
  338.26 +        copy(warfile,deployDir);
  338.27          showServerLog();
  338.28 -        return org.openide.util.NbBundle.getMessage(LiferayTaskHandler.class, "Deployed_Successfully");
  338.29 +        return getDeploymentMessage(warfile,baseTime);
  338.30 +        //return org.openide.util.NbBundle.getMessage(LiferayTaskHandler.class, "Deployment_Done");
  338.31 +    }
  338.32 +    
  338.33 +    
  338.34 +    public String getDeploymentMessage(String warfile,long baseTime) throws Exception
  338.35 +    {
  338.36 +        File warFile = new File(warfile);
  338.37 +        String warName = warFile.getName();
  338.38 +        if(!psconfig.getServerType().equals(ServerConstants.SUN_APP_SERVER_9))
  338.39 +            org.openide.util.NbBundle.getMessage(LiferayTaskHandler.class, "Deployment_Done");
  338.40 +        
  338.41 +        String deployDir = psconfig.getProperty(LiferayConstants.AUTO_DEPLOY_DIR);
  338.42 +        
  338.43 +        File warInLRAutoDeployDir = new File(deployDir + File.separator +warName);
  338.44 +        int counter = 0;
  338.45 +        while(warInLRAutoDeployDir.exists())
  338.46 +        {
  338.47 +            try {
  338.48 +                Thread.sleep(200);
  338.49 +            } catch (InterruptedException ex) {
  338.50 +                logger.info(ex.getMessage());
  338.51 +            }
  338.52 +            counter ++;
  338.53 +            if(counter >= 50)
  338.54 +                return "Deployment done. Check server log for the status.";
  338.55 +        }
  338.56 +        
  338.57 +        File appServerAutoDeployDir = new File(psconfig.getDomainDir() + File.separator + "autodeploy");
  338.58 +        File warFileInAppServerAutoDeployDir = new File(appServerAutoDeployDir,warName + "_deployed");
  338.59 +        File deployFailFileInAppServerAutoDeployDir = new File(appServerAutoDeployDir,warName + "_deployFailed");
  338.60 +        
  338.61 +        counter = 0;
  338.62 +        while(true)
  338.63 +        {
  338.64 +            if(warFileInAppServerAutoDeployDir.exists())
  338.65 +            {
  338.66 +                if(warFileInAppServerAutoDeployDir.lastModified() >= baseTime)
  338.67 +                {
  338.68 +                    return warName + " deployed successfully. Check log for more message.";
  338.69 +                }
  338.70 +            }
  338.71 +            
  338.72 +            if(deployFailFileInAppServerAutoDeployDir.exists())
  338.73 +            {
  338.74 +                if(deployFailFileInAppServerAutoDeployDir.lastModified() >= baseTime)
  338.75 +                {
  338.76 +                    throw new DeploymentException(warName + " deployment failed. For more into check log message. ");
  338.77 +                    //return warName + " deployment failed. For more into check log message. ";
  338.78 +                }
  338.79 +            }
  338.80 +            try {
  338.81 +
  338.82 +                Thread.sleep(300);
  338.83 +            } catch (InterruptedException ex) {
  338.84 +                logger.info(ex.getMessage());
  338.85 +            }
  338.86 +            counter ++;
  338.87 +            if(counter >= 50)
  338.88 +                return "Deployment done. Check server log for the status.";
  338.89 +        }
  338.90 +        
  338.91      }
  338.92  
  338.93      /*protected void _deployOnPC(final String warfile) throws Exception {
  338.94 @@ -589,7 +658,7 @@
  338.95                  try {
  338.96                      from.close();
  338.97                  } catch (IOException e) {
  338.98 -                    ;
  338.99 +                    
 338.100                  }
 338.101              }
 338.102              if (to != null) {
   339.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   339.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   339.3 @@ -46,6 +46,8 @@
   339.4      GUI infrastructure for working with projects in the IDE: the Projects and Files windows, \
   339.5      the project chooser dialog, the project-sensitive New File wizard, etc.
   339.6  
   339.7 +Templates/LiferayPortlets/PHPPortlet.php=Php Portlet for Liferay
   339.8 +Templates/LiferayPortlets=Liferay Portlets
   339.9  # ProjectXMLCatalogReader
  339.10  LBL_project_xml_schemas=Project XML Schemas
  339.11  HINT_project_xml_schemas=Permits validation of project.xml and private.xml files from the IDE.
  339.12 @@ -378,3 +380,47 @@
  339.13      <ul>{1}</ul></html>
  339.14  
  339.15  MNE_TargetChooser_FileName_Label_1=
  339.16 +
  339.17 +#Portlet details
  339.18 +LBL_PORTLET_NAME=&Portlet Name:
  339.19 +LBL_PORTLET_DISPLAY_NAME=Portlet &Display Name:
  339.20 +LBL_PORTLET_DESC=Portlet Des&cription:
  339.21 +LBL_PORTLET_TITLE=Portlet &Title:
  339.22 +LBL_PORTLET_SHORT_TITLE=Portlet S&hort Title:
  339.23 +LBL_PORTLET_MODE=Portlet &Mode:
  339.24 +LBL_VIEW=&VIEW
  339.25 +
  339.26 +LB_EDIT=&EDIT
  339.27 +
  339.28 +LBL_HELP=&HELP
  339.29 +
  339.30 +MSG_INVALID_PORTLET_NAME=Invalid Portlet Name
  339.31 +
  339.32 +MSG_INVALID_PORTLET_TITLE=Invalid Portlet Title
  339.33 +
  339.34 +MSG_INVALID_PORTLET_SHORT_TITLE=Invalid Portlet Short Title
  339.35 +
  339.36 +MSG_INVALID_PORTLET_DISPLAY_NAME=Invalid Display Name
  339.37 +
  339.38 +MSG_INVALID_PORTLET_DESC=Invalid Portlet Description
  339.39 +
  339.40 +MSG_PORTLET_ALREADY_PRESENT=A Portlet with same name already exists
  339.41 +ErrorVisualPanel.jLabel1.text=This operation is only allowed for a Portlet Applications
  339.42 +
  339.43 +TTL_NEW_PORTLET=New Portlet Class
  339.44 +TTL_JSP_PANEL=Create Jsps for Portlet
  339.45 +ACSN_Portlet_Name=&PortletName
  339.46 +ACSD_Portlet_Name=Portlet Name
  339.47 +ACSD_Portlet_Display_Name=Portlet Display Name
  339.48 +ACSD_Portlet_Description=Portlet Description
  339.49 +ACSD_Portlet_Title=Portlet Title
  339.50 +ACSD_Portlet_Short_Title=Portlet Short Title
  339.51 +ACSD_VIEW=View Mode
  339.52 +ACSD_EDIT=Edit Mode
  339.53 +ACSD_HELP=Help Mode
  339.54 +ACSD_VIEW_JSP=View Jsp
  339.55 +ACSD_EDIT_JSP=Edit Jsp
  339.56 +ACSD_HELP_JSP=Help Jsp
  339.57 +ACSD_CREATE_JSPS=Create Jsps
  339.58 +
  339.59 +TXT_CantUpdatePortletXML=Could not update portlet.xml
  339.60 \ No newline at end of file
   340.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/JsfProjectUtils.java	Thu Jul 10 19:13:29 2008 +0800
   340.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/JsfProjectUtils.java	Thu Jul 10 19:50:39 2008 +0800
   340.3 @@ -106,14 +106,14 @@
   340.4       * Check for Creator project
   340.5       * @param project Project to be checked
   340.6       */
   340.7 -    public static boolean isJsfProject(Project project) {
   340.8 + /*   public static boolean isJsfProject(Project project) {
   340.9          if (project == null) {
  340.10              return false;
  340.11          }
  340.12  
  340.13 -        String version = getProjectVersion(project);
  340.14 -        return version != null && version.length() > 0;
  340.15 -    }
  340.16 +//////        String version = getProjectVersion(project);
  340.17 +//////        return version != null && version.length() > 0;
  340.18 +    }*/
  340.19  
  340.20      public static boolean isJsfFramework(WebFrameworkProvider framework) {
  340.21          if (framework == null) {
  340.22 @@ -216,7 +216,7 @@
  340.23       * @param project the Project object
  340.24       * @return the FileObject of the page bean root folder
  340.25       */
  340.26 -    public static FileObject getPageBeanRoot(Project project) {
  340.27 +    /*public static FileObject getPageBeanRoot(Project project) {
  340.28          if (project == null) {
  340.29              return null;
  340.30          }
  340.31 @@ -247,7 +247,7 @@
  340.32              ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
  340.33              return null;
  340.34          }
  340.35 -    }
  340.36 +    }*/
  340.37      
  340.38      /** J2EE platform version - one of the constants {@link #J2EE_13_LEVEL}, {@link #J2EE_14_LEVEL}.
  340.39       * @param project
  340.40 @@ -283,36 +283,8 @@
  340.41  
  340.42          return slq.getSourceLevel(srcRoot);
  340.43      }
  340.44 -
  340.45 -    public static boolean supportProjectProperty(Project project) {
  340.46 -        if (isWebProject(project)) {
  340.47 -            AuxiliaryConfiguration ac = ProjectUtils.getAuxiliaryConfiguration(project);
  340.48 -            Element auxElement = ac.getConfigurationFragment(JsfProjectConstants.RAVE_AUX_NAME, JsfProjectConstants.RAVE_AUX_NAMESPACE, true);
  340.49 -            if (auxElement != null) {
  340.50 -                return true;
  340.51 -            }
  340.52 -
  340.53 -            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  340.54 -            try {
  340.55 -                DocumentBuilder builder = factory.newDocumentBuilder();
  340.56 -                Document xmlDoc = builder.newDocument();
  340.57 -                auxElement = xmlDoc.createElementNS(JsfProjectConstants.RAVE_AUX_NAMESPACE, JsfProjectConstants.RAVE_AUX_NAME);
  340.58 -            } catch (ParserConfigurationException e) {
  340.59 -                ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
  340.60 -                return false;
  340.61 -            }
  340.62 -
  340.63 -            ac.putConfigurationFragment(auxElement, true);
  340.64 -            auxElement = ac.getConfigurationFragment(JsfProjectConstants.RAVE_AUX_NAME, JsfProjectConstants.RAVE_AUX_NAMESPACE, true);
  340.65 -            if (auxElement != null) {
  340.66 -                return true;
  340.67 -            }
  340.68 -        }
  340.69 -
  340.70 -        return false;
  340.71 -    }
  340.72      
  340.73 -    public static String getProjectProperty(Project project, String propName) {
  340.74 +   /* public static String getProjectProperty(Project project, String propName) {
  340.75          if (isWebProject(project)) {
  340.76              AuxiliaryConfiguration ac = ProjectUtils.getAuxiliaryConfiguration(project);
  340.77              Element auxElement = ac.getConfigurationFragment(JsfProjectConstants.RAVE_AUX_NAME, JsfProjectConstants.RAVE_AUX_NAMESPACE, true);
  340.78 @@ -326,17 +298,11 @@
  340.79              return value;
  340.80          } else
  340.81              return "";
  340.82 -    }
  340.83 +    }*/
  340.84      
  340.85 -    private static String getCreatorProperty(final Project project, String propName) {
  340.86 +    /*private static String getCreatorProperty(final Project project, String propName) {
  340.87          EditableProperties props;
  340.88 -        /* XXX WebPropertyEvaluator in org.netbeans.modules.web.project is not accessible; need friend-package
  340.89 -        WebPropertyEvaluator wpe = (WebPropertyEvaluator) project.getLookup().lookup(WebPropertyEvaluator.class);
  340.90 -        if (wpe != null) {
  340.91 -            PropertyEvaluator pe = wpe.evaluator();
  340.92 -            props = new EditableProperties(pe.getProperties());
  340.93 -        } else {
  340.94 -        */
  340.95 +    
  340.96          props = NetbeansUtil.getWebProperties(project);
  340.97          if (props == null) {
  340.98              // Can't find anything, try to read the project.properties file directly. Shouldn't be here.
  340.99 @@ -387,17 +353,17 @@
 340.100          }
 340.101  
 340.102          return ret;
 340.103 -    }
 340.104 +    }*/
 340.105  
 340.106 -    public static void createProjectProperty(Project project, String propName, String value) {
 340.107 +   /* public static void createProjectProperty(Project project, String propName, String value) {
 340.108          putProjectProperty(project, propName, value, ""); // NOI18N
 340.109 -    }
 340.110 +    }*/
 340.111      
 340.112 -    public static void putProjectProperty(Project project, String propName, String value) {
 340.113 +/*    public static void putProjectProperty(Project project, String propName, String value) {
 340.114          putProjectProperty(project, propName, value, getProjectProperty(project, propName));
 340.115 -    }
 340.116 +    }*/
 340.117      
 340.118 -    private static void putProjectProperty(Project project, String propName, String value, String oldval) {
 340.119 +   /* private static void putProjectProperty(Project project, String propName, String value, String oldval) {
 340.120          if (isWebProject(project)) {
 340.121              AuxiliaryConfiguration ac = ProjectUtils.getAuxiliaryConfiguration(project);
 340.122              Element auxElement = ac.getConfigurationFragment(JsfProjectConstants.RAVE_AUX_NAME, JsfProjectConstants.RAVE_AUX_NAMESPACE, true);
 340.123 @@ -415,15 +381,15 @@
 340.124              auxElement.setAttribute(propName, value);
 340.125              ac.putConfigurationFragment(auxElement, true);
 340.126          }
 340.127 -    }
 340.128 +    }*/
 340.129  
 340.130 -    public static String getProjectVersion(Project project) {
 340.131 +  /*  public static String getProjectVersion(Project project) {
 340.132          return getProjectProperty(project, JsfProjectConstants.PROP_JSF_PROJECT_VERSION);
 340.133      }
 340.134  
 340.135      public static void setProjectVersion(Project project, String version) {
 340.136          putProjectProperty(project, JsfProjectConstants.PROP_JSF_PROJECT_VERSION, version);
 340.137 -    }
 340.138 +    }*/
 340.139  
 340.140      /**
 340.141       * Add an array of library references to a project, qualified for both the design-time classpath or deployed with the application
   341.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PagebeanPackagePanel.java	Thu Jul 10 19:13:29 2008 +0800
   341.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PagebeanPackagePanel.java	Thu Jul 10 19:50:39 2008 +0800
   341.3 @@ -46,6 +46,7 @@
   341.4  // import org.netbeans.modules.visualweb.project.jsf.api.JsfProjectUtils;
   341.5  // import org.netbeans.modules.visualweb.project.jsf.api.JsfProjectConstants;
   341.6  
   341.7 +import org.netbeans.modules.portalpack.servers.liferay.portlets.php.util.PortletProjectUtils;
   341.8  import java.awt.Component;
   341.9  import java.util.ArrayList;
  341.10  import java.util.Iterator;
  341.11 @@ -93,7 +94,7 @@
  341.12  
  341.13          // Check to make sure that the package name is valid
  341.14          String packageName = gui.getPackageName();
  341.15 -        if (!JsfProjectUtils.isValidJavaPackageName(packageName)) {
  341.16 +        if (!PortletProjectUtils.isValidJavaPackageName(packageName)) {
  341.17              wizard.putProperty("WizardPanel_errorMessage", NbBundle.getMessage(PagebeanPackagePanel.class, "MSG_InvalidPackageName", packageName)); // NOI18N
  341.18              return false;
  341.19          }
  341.20 @@ -137,13 +138,13 @@
  341.21          }
  341.22  
  341.23          if (isValid()) {
  341.24 -            ((WizardDescriptor) settings).putProperty(JsfProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE, gui.getPackageName());
  341.25 +            ((WizardDescriptor) settings).putProperty(PhpProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE, gui.getPackageName());
  341.26          }
  341.27      }
  341.28  
  341.29      public void stateChanged(ChangeEvent e) {        
  341.30          if (wizard != null && isValid()) {
  341.31 -            wizard.putProperty(JsfProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE, gui.getPackageName());
  341.32 +            wizard.putProperty(PhpProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE, gui.getPackageName());
  341.33          }
  341.34  
  341.35          fireChange();
   342.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PagebeanPackagePanelGUI.java	Thu Jul 10 19:13:29 2008 +0800
   342.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PagebeanPackagePanelGUI.java	Thu Jul 10 19:50:39 2008 +0800
   342.3 @@ -46,6 +46,7 @@
   342.4  // import org.netbeans.modules.visualweb.project.jsf.api.JsfProjectUtils;
   342.5  // import org.netbeans.modules.visualweb.project.jsf.api.JsfProjectConstants;
   342.6  
   342.7 +import org.netbeans.modules.portalpack.servers.liferay.portlets.php.util.PortletProjectUtils;
   342.8  import java.util.ArrayList;
   342.9  import java.util.Iterator;
  342.10  import java.util.List;
  342.11 @@ -75,13 +76,13 @@
  342.12      }
  342.13  
  342.14      public void initValues(Project project) {
  342.15 -        String packageName = JsfProjectUtils.getProjectProperty(project, JsfProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE);
  342.16 +        String packageName = PortletProjectUtils.getProjectProperty(project, PhpProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE);
  342.17          if (packageName == null || packageName.length() == 0) {
  342.18 -            packageName = JsfProjectUtils.deriveSafeName(project.getProjectDirectory().getName());
  342.19 +            packageName = PortletProjectUtils.deriveSafeName(project.getProjectDirectory().getName());
  342.20          }
  342.21          packageTextField.setText(packageName);
  342.22  
  342.23 -        packageTextField.setEditable(!JsfProjectUtils.isJsfProject(project));
  342.24 +        //packageTextField.setEditable(!JsfProjectUtils.isJsfProject(project));
  342.25      }
  342.26  
  342.27      public String getPackageName() {
   343.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PhpPortletWizardIterator.java	Thu Jul 10 19:13:29 2008 +0800
   343.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PhpPortletWizardIterator.java	Thu Jul 10 19:50:39 2008 +0800
   343.3 @@ -4,33 +4,57 @@
   343.4   */
   343.5  package org.netbeans.modules.portalpack.servers.liferay.portlets.php;
   343.6  
   343.7 +import org.netbeans.modules.portalpack.servers.liferay.portlets.php.util.PortletProjectUtils;
   343.8  import java.awt.Component;
   343.9 +import java.io.File;
  343.10  import java.io.IOException;
  343.11 +import java.io.OutputStream;
  343.12 +import java.util.ArrayList;
  343.13  import java.util.Collections;
  343.14  import java.util.HashMap;
  343.15  import java.util.Map;
  343.16  import java.util.NoSuchElementException;
  343.17  import java.util.Set;
  343.18 +import java.util.logging.Level;
  343.19 +import java.util.logging.Logger;
  343.20  import javax.swing.JComponent;
  343.21  import javax.swing.event.ChangeListener;
  343.22  import org.netbeans.api.java.project.JavaProjectConstants;
  343.23  import org.netbeans.api.project.Project;
  343.24  import org.netbeans.api.project.ProjectUtils;
  343.25  import org.netbeans.api.project.SourceGroup;
  343.26 +import org.netbeans.modules.portalpack.portlets.genericportlets.core.AppContext;
  343.27 +import org.netbeans.modules.portalpack.portlets.genericportlets.core.PortletContext;
  343.28 +import org.netbeans.modules.portalpack.portlets.genericportlets.core.listeners.PortletXMLChangeEventNotificationHelper;
  343.29 +import org.netbeans.modules.portalpack.portlets.genericportlets.core.util.NetbeansUtil;
  343.30 +import org.netbeans.modules.portalpack.portlets.genericportlets.ddapi.InitParamType;
  343.31 +import org.netbeans.modules.portalpack.portlets.genericportlets.ddapi.PortletApp;
  343.32 +import org.netbeans.modules.portalpack.portlets.genericportlets.ddapi.PortletInfoType;
  343.33 +import org.netbeans.modules.portalpack.portlets.genericportlets.ddapi.PortletType;
  343.34 +import org.netbeans.modules.portalpack.portlets.genericportlets.ddapi.PortletXMLFactory;
  343.35 +import org.netbeans.modules.portalpack.portlets.genericportlets.ddapi.SupportsType;
  343.36 +import org.netbeans.modules.portalpack.servers.liferay.common.LiferayConstants;
  343.37 +import org.netbeans.modules.portalpack.servers.liferay.portlets.php.util.PortletDDHelper;
  343.38 +import org.netbeans.modules.web.api.webmodule.WebModule;
  343.39  import org.openide.WizardDescriptor;
  343.40  import org.netbeans.spi.project.ui.templates.support.Templates;
  343.41 +import org.openide.DialogDisplayer;
  343.42 +import org.openide.NotifyDescriptor;
  343.43  import org.openide.cookies.OpenCookie;
  343.44 +import org.openide.filesystems.FileLock;
  343.45  import org.openide.filesystems.FileObject;
  343.46  import org.openide.filesystems.FileUtil;
  343.47  import org.openide.loaders.DataFolder;
  343.48  import org.openide.loaders.DataObject;
  343.49  import org.openide.loaders.TemplateWizard;
  343.50 +import org.openide.util.Exceptions;
  343.51  import org.openide.util.NbBundle;
  343.52  
  343.53 -public final class PhpPortletWizardIterator implements TemplateWizard.Iterator/*WizardDescriptor.InstantiatingIterator*/ {
  343.54 +public final class PhpPortletWizardIterator implements TemplateWizard.Iterator, PhpPortletConstants/*WizardDescriptor.InstantiatingIterator*/ {
  343.55  
  343.56      private int index;
  343.57      private WizardDescriptor.Panel[] panels;
  343.58 +    private static Logger logger = Logger.getLogger(LiferayConstants.LR_LOGGER);
  343.59  
  343.60  //    /**
  343.61  //     * Initialize panels representing individual wizard's steps and sets
  343.62 @@ -84,13 +108,13 @@
  343.63              obj = dTemplate.createFromTemplate(df);
  343.64          } else {
  343.65              Map<String, String> templateParameters = new HashMap<String, String>();
  343.66 -            //templateParameters.put("j2eePlatformVersion", JsfProjectUtils.getJ2eePlatformVersion(project)); //NOI18N
  343.67 +            templateParameters.put("MSG", "Hello Php Portlet"); //NOI18N
  343.68  
  343.69              //templateParameters.put("sourceLevel", JsfProjectUtils.getSourceLevel(project)); //NOI18N
  343.70  
  343.71              if ("php".equals(template.getExt())) { // NOI18N
  343.72  
  343.73 -                FileObject webDocbase = JsfProjectUtils.getDocumentRoot(project);
  343.74 +                FileObject webDocbase = PortletProjectUtils.getDocumentRoot(project);
  343.75                  String folder;
  343.76                  if (dir == webDocbase) {
  343.77                      folder = "";
  343.78 @@ -109,6 +133,18 @@
  343.79              obj = dTemplate.createFromTemplate(df, targetName, templateParameters);
  343.80          }
  343.81  
  343.82 +        //check if index.php is present
  343.83 +        FileObject webDocbase = PortletProjectUtils.getDocumentRoot(project);
  343.84 +        FileObject indexPhpObj = webDocbase.getFileObject("index.php");
  343.85 +        if (indexPhpObj == null) {
  343.86 +            Map<String, String> templateParameters = new HashMap<String, String>();
  343.87 +            templateParameters.put("MSG", "Index Php Page. Do not delete this page." +
  343.88 +                    " If you delete this page then your portlet may not work."); //NOI18N
  343.89 +
  343.90 +            DataObject indexObj = dTemplate.createFromTemplate(df, "index", templateParameters);
  343.91 +        }
  343.92 +
  343.93 +
  343.94  
  343.95          if (result == Collections.EMPTY_SET) {
  343.96              result = Collections.singleton(obj);
  343.97 @@ -116,6 +152,11 @@
  343.98              result.add(obj);
  343.99          }
 343.100  
 343.101 +        PortletContext context = (PortletContext) wizard.getProperty("context");
 343.102 +        String phpRelativePath = PortletProjectUtils.getRelativePathForPhpPortlet(webDocbase, dir);
 343.103 +        if(phpRelativePath == null) phpRelativePath = "/";
 343.104 +        String viewPhp = phpRelativePath + targetName + "." + template.getExt();
 343.105 +        addPhpPortletToPortletXML(project, context, viewPhp);
 343.106          // Open the new document
 343.107          OpenCookie open = (OpenCookie) obj.getCookie(OpenCookie.class);
 343.108          if (open != null) {
 343.109 @@ -131,8 +172,9 @@
 343.110          Project project = Templates.getProject(wizard);
 343.111          SourceGroup[] sourceGroups = ProjectUtils.getSources(project).getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
 343.112  
 343.113 -        WizardDescriptor.Panel packagePanel = new PagebeanPackagePanel(project);
 343.114 -        WizardDescriptor.Panel javaPanel = new SimpleTargetChooserPanel(project, sourceGroups, packagePanel, false);
 343.115 +        //WizardDescriptor.Panel packagePanel = new PagebeanPackagePanel(project);
 343.116 +        WizardDescriptor.Panel portletDtlPanel = new PortletDetailsPanel(wizard, new ArrayList(), project);
 343.117 +        WizardDescriptor.Panel javaPanel = new SimpleTargetChooserPanel(project, sourceGroups, portletDtlPanel, false);
 343.118          String templateType = Templates.getTemplate(wizard).getExt();
 343.119          panels = new WizardDescriptor.Panel[]{javaPanel};
 343.120  
 343.121 @@ -157,13 +199,13 @@
 343.122          }
 343.123  
 343.124          // no support for non-web project
 343.125 -        if (!JsfProjectUtils.isWebProject(project)) {
 343.126 +        if (!PortletProjectUtils.isWebProject(project)) {
 343.127              return;
 343.128          }
 343.129  
 343.130          // Always start with the document root or under
 343.131 -        FileObject docRoot = JsfProjectUtils.getDocumentRoot(project);
 343.132 -        FileObject javaDir = JsfProjectUtils.getPageBeanRoot(project);
 343.133 +        FileObject docRoot = PortletProjectUtils.getDocumentRoot(project);
 343.134 +        FileObject javaDir = PortletProjectUtils.getPageBeanRoot(project);
 343.135          FileObject jspDir = Templates.getTargetFolder(wizard);
 343.136          String relativePath = (jspDir == null) ? null : FileUtil.getRelativePath(docRoot, jspDir);
 343.137          if ((relativePath == null) || (relativePath.indexOf("WEB-INF") != -1)) {
 343.138 @@ -175,7 +217,7 @@
 343.139  
 343.140          // Find a free page name
 343.141          String ext = Templates.getTemplate(wizard).getExt();
 343.142 -        String prefix = "jsp".equals(ext) ? "PortletPage" : "PortletFragment"; // NOI18N
 343.143 +        String prefix = "php".equals(ext) ? "PhpPortlet" : "PhpPortlet"; // NOI18N
 343.144  
 343.145          for (int pageIndex = 1;; pageIndex++) {
 343.146              String name = prefix + pageIndex;
 343.147 @@ -224,6 +266,103 @@
 343.148      public final void removeChangeListener(ChangeListener l) {
 343.149      }
 343.150  
 343.151 +    private void addPhpPortletToPortletXML(Project project, PortletContext pc, String viewPhp) {
 343.152 +        WebModule webModule = PortletProjectUtils.getWebModule(project);
 343.153 +        // Create portlet.xml if not exist
 343.154 +        File filePortlet = new File(FileUtil.toFile(webModule.getWebInf()), "portlet.xml"); // NOI18N
 343.155 +
 343.156 +        if (!filePortlet.exists()) {
 343.157 +            logger.log(Level.INFO, "No Portlet.xml found ");
 343.158 +            return;
 343.159 +        }
 343.160 +
 343.161 +        //create messages.properties if doesn't exis
 343.162 +        FileObject sourceRoot = PortletProjectUtils.getSourceRoot(project);
 343.163 +        if (sourceRoot != null) {
 343.164 +            try {
 343.165 +                FileObject mObj = sourceRoot.getFileObject("messages.properties");
 343.166 +                if (mObj == null) {
 343.167 +                    FileObject data = sourceRoot.createData("messages", "properties");
 343.168 +                    if (data != null) {
 343.169 +                        System.out.println("messages.properties is created");
 343.170 +                    } else {
 343.171 +                        System.out.println("message.properties could not be created");
 343.172 +                    }
 343.173 +                }
 343.174 +            } catch (IOException ex) {
 343.175 +                ex.printStackTrace();
 343.176 +            }
 343.177 +        }
 343.178 +        PortletApp portletApp = NetbeansUtil.getPortletApp(filePortlet);
 343.179 +        if (portletApp == null) {
 343.180 +            logger.log(Level.WARNING, "Invalid Portlet XML");
 343.181 +            return;
 343.182 +        }
 343.183 +
 343.184 +        if (!PortletDDHelper.isPhpPortletEntryPresent(portletApp)) {
 343.185 +
 343.186 +            PortletType portletType = portletApp.newPortletType();
 343.187 +            portletType.addDescription(pc.getPortletDescription());
 343.188 +            portletType.setPortletName(pc.getPortletName());
 343.189 +            portletType.addDisplayName(pc.getPortletDisplayName());
 343.190 +            portletType.setPortletClass(PHP_PORTLET_CLASS); //NOI18N
 343.191 +
 343.192 +            InitParamType initParam = portletType.newInitParamType();
 343.193 +            initParam.setDescription(new String[]{"Portlet Init View Page"});
 343.194 +            initParam.setName(VIEW_URI); //NOI18N
 343.195 +
 343.196 +            initParam.setValue(viewPhp);
 343.197 +
 343.198 +            portletType.addInitParam(initParam);
 343.199 +            
 343.200 +            InitParamType initParam1 = portletType.newInitParamType();
 343.201 +            initParam1.setDescription(new String[]{"Add Portlet Params"});
 343.202 +            initParam1.setName("add-portlet-params");
 343.203 +            initParam1.setValue("true");
 343.204 +            portletType.addInitParam(initParam1);
 343.205 +            
 343.206 +            portletType.setExpirationCache(0);
 343.207 +
 343.208 +            SupportsType support = portletType.newSupportsType();
 343.209 +            support.setMimeType("text/html"); //NOI18N
 343.210 +
 343.211 +            support.addPortletMode("VIEW");   //NOI18N
 343.212 +
 343.213 +            portletType.addSupports(support);
 343.214 +            portletType.setSupportedLocale(new String[]{"en"}); //NOI18N
 343.215 +
 343.216 +            PortletInfoType portletInfo = portletType.newPortletInfoType();
 343.217 +            portletInfo.setTitle(pc.getPortletTitle());
 343.218 +            portletInfo.setShortTitle(pc.getPortletShortTitle());
 343.219 +
 343.220 +            portletType.setPortletInfo(portletInfo);
 343.221 +            portletType.setResourceBundle("messages");//NOI18N
 343.222 +
 343.223 +            //add VisualJSFPortlet page as the first portlet entry in portlet.xml
 343.224 +            PortletType[] portletTypes = portletApp.getPortlet();
 343.225 +            if (portletTypes.length == 0) {
 343.226 +                portletApp.addPortlet(portletType);
 343.227 +            } else {
 343.228 +
 343.229 +                PortletType firstPortlet = portletApp.getPortlet(0);
 343.230 +                portletApp.setPortlet(0, portletType);
 343.231 +                portletApp.addPortlet(firstPortlet);
 343.232 +
 343.233 +
 343.234 +            }
 343.235 +
 343.236 +            NetbeansUtil.savePortletXML(portletApp, filePortlet);
 343.237 +
 343.238 +            //fire add portlet event
 343.239 +
 343.240 +            if (webModule.getWebInf() != null) {
 343.241 +                String webInfPath = FileUtil.toFile(webModule.getWebInf()).getAbsolutePath();
 343.242 +                PortletXMLChangeEventNotificationHelper.firePortletAddEvent(pc, new AppContext(), webInfPath);
 343.243 +            }
 343.244 +        }
 343.245 +
 343.246 +    }
 343.247 +
 343.248      private String[] createSteps(String[] before, WizardDescriptor.Panel[] panels) {
 343.249          int diff = 0;
 343.250          if (before == null) {
 343.251 @@ -247,3 +386,4 @@
 343.252          panels = null;
 343.253      }
 343.254  }
 343.255 +
   344.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   344.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/PhpProjectConstants.java	Thu Jul 10 19:50:39 2008 +0800
   344.3 @@ -0,0 +1,69 @@
   344.4 +/*
   344.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   344.6 + *
   344.7 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   344.8 + *
   344.9 + * The contents of this file are subject to the terms of either the GNU
  344.10 + * General Public License Version 2 only ("GPL") or the Common
  344.11 + * Development and Distribution License("CDDL") (collectively, the
  344.12 + * "License"). You may not use this file except in compliance with the
  344.13 + * License. You can obtain a copy of the License at
  344.14 + * http://www.netbeans.org/cddl-gplv2.html
  344.15 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  344.16 + * specific language governing permissions and limitations under the
  344.17 + * License.  When distributing the software, include this License Header
  344.18 + * Notice in each file and include the License file at
  344.19 + * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  344.20 + * particular file as subject to the "Classpath" exception as provided
  344.21 + * by Sun in the GPL Version 2 section of the License file that
  344.22 + * accompanied this code. If applicable, add the following below the
  344.23 + * License Header, with the fields enclosed by brackets [] replaced by
  344.24 + * your own identifying information:
  344.25 + * "Portions Copyrighted [year] [name of copyright owner]"
  344.26 + *
  344.27 + * Contributor(s):
  344.28 + *
  344.29 + * The Original Software is NetBeans. The Initial Developer of the Original
  344.30 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  344.31 + * Microsystems, Inc. All Rights Reserved.
  344.32 + *
  344.33 + * If you wish your version of this file to be governed by only the CDDL
  344.34 + * or only the GPL Version 2, indicate your decision by adding
  344.35 + * "[Contributor] elects to include this software in this distribution
  344.36 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
  344.37 + * single choice of license, a recipient has the option to distribute
  344.38 + * your version of this file under either the CDDL, the GPL Version 2 or
  344.39 + * to extend the choice of license to its licensees as provided above.
  344.40 + * However, if you add GPL Version 2 code and therefore, elected the GPL
  344.41 + * Version 2 license, then the option applies only if the new code is
  344.42 + * made subject to such option by the copyright holder.
  344.43 + */
  344.44 +
  344.45 +package org.netbeans.modules.portalpack.servers.liferay.portlets.php;
  344.46 +
  344.47 +
  344.48 +/**
  344.49 + *
  344.50 + * @author Satya
  344.51 + */
  344.52 +public class PhpProjectConstants {
  344.53 +    public final static String VISUAL_WEB_FRAMEWWORK = "org.netbeans.modules.visualweb.project.jsf.framework.JSFFrameworkProvider"; // NOI18N
  344.54 +    public final static String RAVE_AUX_NAMESPACE = "http://www.sun.com/creator/ns"; // NOI18N
  344.55 +    public final static String RAVE_AUX_NAME = "creator-data"; // NOI18N
  344.56 +
  344.57 +    public static final String PROP_CURRENT_THEME = "jsf.current.theme"; // NOI18N
  344.58 +    public final static String PROP_JSF_PAGEBEAN_PACKAGE = "jsf.pagebean.package"; // NOI18N
  344.59 +    public static final String PROP_JSF_PROJECT_LIBRARIES_DIR = "jsf.project.libraries.dir"; // NOI18N
  344.60 +    public static final String PROP_START_PAGE = "jsf.startPage"; // NOI18N
  344.61 +    public static final String PROP_JSF_PROJECT_VERSION = "jsf.project.version"; // NOI18N
  344.62 +    public final static String NO_START_PAGE = "__no_start_page__"; // NOI18N
  344.63 +    public static final String PATH_WEB_INF = "web/WEB-INF";  // NOI18N
  344.64 +    public static final String PATH_DOC_ROOT = "web";  // NOI18N
  344.65 +
  344.66 +    public final static String[] CreatorProperties = {
  344.67 +        PROP_CURRENT_THEME,
  344.68 +        PROP_JSF_PAGEBEAN_PACKAGE,
  344.69 +        PROP_JSF_PROJECT_LIBRARIES_DIR,
  344.70 +        PROP_START_PAGE
  344.71 +    };
  344.72 +}
   345.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/SimpleTargetChooserPanel.java	Thu Jul 10 19:13:29 2008 +0800
   345.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/SimpleTargetChooserPanel.java	Thu Jul 10 19:50:39 2008 +0800
   345.3 @@ -42,6 +42,7 @@
   345.4  // <RAVE> Copy from projects/projectui/src/org/netbeans/modules/project/ui
   345.5  package org.netbeans.modules.portalpack.servers.liferay.portlets.php;
   345.6  
   345.7 +import org.netbeans.modules.portalpack.servers.liferay.portlets.php.util.PortletProjectUtils;
   345.8  import java.awt.Component;
   345.9  import java.io.IOException;
  345.10  import java.util.ArrayList;
  345.11 @@ -139,28 +140,28 @@
  345.12          }
  345.13  
  345.14          // no support for non-web project
  345.15 -        if (!JsfProjectUtils.isWebProject(project)) {
  345.16 +        if (!PortletProjectUtils.isWebProject(project)) {
  345.17              wizard.putProperty("WizardPanel_errorMessage", NbBundle.getMessage(SimpleTargetChooserPanel.class, "MSG_NotInWebProject")); // NOI18N
  345.18              return false;
  345.19          }
  345.20          
  345.21 -        FileObject webInf = JsfProjectUtils.getWebInf(project);
  345.22 +        FileObject webInf = PortletProjectUtils.getWebInf(project);
  345.23          
  345.24          // Check to make sure that the target name is not illegal
  345.25          String targetName = gui.getTargetName();
  345.26 -        if (!JsfProjectUtils.isValidJavaFileName(targetName)) {
  345.27 +        if (!PortletProjectUtils.isValidJavaFileName(targetName)) {
  345.28              wizard.putProperty("WizardPanel_errorMessage", NbBundle.getMessage(SimpleTargetChooserPanel.class, "MSG_InvalidJavaFileName", targetName)); // NOI18N
  345.29              return false;
  345.30          }
  345.31  
  345.32          // Check to make sure there is valid Source Package Folder
  345.33 -        if (JsfProjectUtils.getSourceRoot(project) == null) {
  345.34 +        if (PortletProjectUtils.getSourceRoot(project) == null) {
  345.35              wizard.putProperty("WizardPanel_errorMessage", NbBundle.getMessage(SimpleTargetChooserPanel.class, "MSG_NoSourceRoot")); // NOI18N
  345.36              return false;
  345.37          }
  345.38  
  345.39  
  345.40 -        FileObject docRoot = JsfProjectUtils.getDocumentRoot(project);
  345.41 +        FileObject docRoot = PortletProjectUtils.getDocumentRoot(project);
  345.42          String folderPath = getFolderPath(FileUtil.getFileDisplayName(docRoot));
  345.43          if (folderPath == null) {
  345.44              return false;
  345.45 @@ -174,7 +175,7 @@
  345.46          // Check to make sure that the backing file doesn't already exist.
  345.47          String jspName = targetName + ".php";
  345.48          String javaName = targetName + ".java";
  345.49 -        FileObject javaDir = JsfProjectUtils.getPageBeanRoot(project);
  345.50 +        FileObject javaDir = PortletProjectUtils.getPageBeanRoot(project);
  345.51          String javaPath = folderPath + javaName;
  345.52          if (javaPath.startsWith("/")) {
  345.53              javaPath = javaPath.substring(1);
  345.54 @@ -225,7 +226,7 @@
  345.55          String[] folderTokens = relativePath.split("/");
  345.56          for (int i = 0; i < folderTokens.length; i++) {
  345.57              String token = folderTokens[i];
  345.58 -            if (!"".equals(token) && !JsfProjectUtils.isValidJavaFileName(token)) {
  345.59 +            if (!"".equals(token) && !PortletProjectUtils.isValidJavaFileName(token)) {
  345.60                  wizard.putProperty("WizardPanel_errorMessage", NbBundle.getMessage(SimpleTargetChooserPanel.class, "MSG_InvalidJavaFolderName", token)); // NOI18N
  345.61                  return null;
  345.62              }
   346.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/phpPortlet.html	Thu Jul 10 19:13:29 2008 +0800
   346.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/phpPortlet.html	Thu Jul 10 19:50:39 2008 +0800
   346.3 @@ -7,7 +7,6 @@
   346.4          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   346.5      </head>
   346.6      <body>
   346.7 -        Replace this with a description what your wizard is supposed to do. This
   346.8 -        information will be displayed in the New Wizard Description area.
   346.9 +       Create a PHP Portlet
  346.10      </body>
  346.11  </html>
   347.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   347.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/portlets/php/util/PortletProjectUtils.java	Thu Jul 10 19:50:39 2008 +0800
   347.3 @@ -0,0 +1,630 @@
   347.4 +/*
   347.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   347.6 + *
   347.7 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   347.8 + *
   347.9 + * The contents of this file are subject to the terms of either the GNU
  347.10 + * General Public License Version 2 only ("GPL") or the Common
  347.11 + * Development and Distribution License("CDDL") (collectively, the
  347.12 + * "License"). You may not use this file except in compliance with the
  347.13 + * License. You can obtain a copy of the License at
  347.14 + * http://www.netbeans.org/cddl-gplv2.html
  347.15 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  347.16 + * specific language governing permissions and limitations under the
  347.17 + * License.  When distributing the software, include this License Header
  347.18 + * Notice in each file and include the License file at
  347.19 + * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  347.20 + * particular file as subject to the "Classpath" exception as provided
  347.21 + * by Sun in the GPL Version 2 section of the License file that
  347.22 + * accompanied this code. If applicable, add the following below the
  347.23 + * License Header, with the fields enclosed by brackets [] replaced by
  347.24 + * your own identifying information:
  347.25 + * "Portions Copyrighted [year] [name of copyright owner]"
  347.26 + *
  347.27 + * Contributor(s):
  347.28 + *
  347.29 + * The Original Software is NetBeans. The Initial Developer of the Original
  347.30 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  347.31 + * Microsystems, Inc. All Rights Reserved.
  347.32 + *
  347.33 + * If you wish your version of this file to be governed by only the CDDL
  347.34 + * or only the GPL Version 2, indicate your decision by adding
  347.35 + * "[Contributor] elects to include this software in this distribution
  347.36 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
  347.37 + * single choice of license, a recipient has the option to distribute
  347.38 + * your version of this file under either the CDDL, the GPL Version 2 or
  347.39 + * to extend the choice of license to its licensees as provided above.
  347.40 + * However, if you add GPL Version 2 code and therefore, elected the GPL
  347.41 + * Version 2 license, then the option applies only if the new code is
  347.42 + * made subject to such option by the copyright holder.
  347.43 + */
  347.44 +
  347.45 +package org.netbeans.modules.portalpack.servers.liferay.portlets.php.util;
  347.46 +
  347.47 +import org.netbeans.modules.portalpack.servers.liferay.portlets.php.*;
  347.48 +import java.io.InputStream;
  347.49 +import java.io.IOException;
  347.50 +import java.io.BufferedReader;
  347.51 +import java.io.BufferedWriter;
  347.52 +import java.io.InputStreamReader;
  347.53 +import java.io.OutputStreamWriter;
  347.54 +import javax.xml.parsers.DocumentBuilder;
  347.55 +import javax.xml.parsers.DocumentBuilderFactory;
  347.56 +import javax.xml.parsers.ParserConfigurationException;
  347.57 +import org.w3c.dom.Document;
  347.58 +import org.w3c.dom.Element;
  347.59 +
  347.60 +import org.openide.filesystems.FileObject;
  347.61 +import org.openide.filesystems.FileUtil;
  347.62 +import org.openide.filesystems.FileLock;
  347.63 +import org.openide.util.NbBundle;
  347.64 +import org.openide.util.Mutex;
  347.65 +import org.openide.util.Utilities;
  347.66 +import org.openide.ErrorManager;
  347.67 +
  347.68 +import org.netbeans.api.java.classpath.ClassPath;
  347.69 +import org.netbeans.api.java.project.JavaProjectConstants;
  347.70 +import org.netbeans.api.java.project.classpath.ProjectClassPathModifier;
  347.71 +import org.netbeans.spi.java.queries.SourceLevelQueryImplementation;
  347.72 +import org.netbeans.api.project.ProjectManager;
  347.73 +import org.netbeans.api.project.Project;
  347.74 +import org.netbeans.api.project.ProjectUtils;
  347.75 +import org.netbeans.api.project.Sources;
  347.76 +import org.netbeans.api.project.SourceGroup;
  347.77 +import org.netbeans.spi.project.AuxiliaryConfiguration;
  347.78 +import org.netbeans.spi.project.support.ant.EditableProperties;
  347.79 +import org.netbeans.spi.project.support.ant.PropertyEvaluator;
  347.80 +import org.netbeans.spi.project.support.ant.AntProjectHelper;
  347.81 +import org.netbeans.api.project.libraries.Library;
  347.82 +import org.netbeans.modules.web.api.webmodule.WebModule;
  347.83 +import org.netbeans.modules.web.spi.webmodule.WebFrameworkProvider;
  347.84 +import org.netbeans.modules.j2ee.deployment.devmodules.api.J2eeModule;
  347.85 +
  347.86 +// XXX WebProjectLibrariesModifier and WebPropertyEvaluator in org.netbeans.modules.web.project
  347.87 +// are not accessible under NetBeans 6.0; need friend-package
  347.88 +// We now access these APIs by org.netbeans.modules.portalpack.portlets.genericportlets.core.util.NetbeansUtil
  347.89 +// import org.netbeans.modules.web.project.api.WebProjectLibrariesModifier;
  347.90 +// import org.netbeans.modules.web.project.api.WebPropertyEvaluator;
  347.91 +import org.netbeans.modules.portalpack.portlets.genericportlets.core.util.NetbeansUtil;
  347.92 +//import org.netbeans.modules.portalpack.visualweb.api.JsfPortletSupport;
  347.93 +//import org.netbeans.modules.portalpack.visualweb.api.JsfPortletSupportImpl;
  347.94 +
  347.95 +
  347.96 +/**
  347.97 + *
  347.98 + * @author Po-Ting Wu
  347.99 + */
 347.100 +public class PortletProjectUtils {
 347.101 +    public static boolean isWebProject(Project project) {
 347.102 +        if (project == null) {
 347.103 +            return false;
 347.104 +        }
 347.105 +
 347.106 +        WebModule wm = getWebModule(project);
 347.107 +        return wm != null;
 347.108 +    }
 347.109 +
 347.110 +    public static boolean isJavaEE5Project(Project project) {
 347.111 +        if (project == null) {
 347.112 +            return false;
 347.113 +        }
 347.114 +
 347.115 +        return J2eeModule.JAVA_EE_5.equals(getJ2eePlatformVersion(project));
 347.116 +    }
 347.117 +
 347.118 +    public static WebModule getWebModule(Project project) {
 347.119 +        WebModule wm = WebModule.getWebModule(project.getProjectDirectory());
 347.120 +
 347.121 +        if (wm != null) {
 347.122 +            return wm;
 347.123 +        }
 347.124 +
 347.125 +        Sources sources = ProjectUtils.getSources(project);
 347.126 +        SourceGroup[] groups = sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
 347.127 +        for (SourceGroup group : groups) {
 347.128 +            wm = WebModule.getWebModule(group.getRootFolder());
 347.129 +            if (wm != null) {
 347.130 +                return wm;
 347.131 +            }
 347.132 +        }
 347.133 +
 347.134 +        return null;
 347.135 +    }
 347.136 +
 347.137 +    /**
 347.138 +     * Convenience method to obtain the document root folder.
 347.139 +     * @param project the Project object
 347.140 +     * @return the FileObject of the document root folder
 347.141 +     */
 347.142 +    public static FileObject getDocumentRoot(Project project) {
 347.143 +        if (project == null) {
 347.144 +            return null;
 347.145 +        }
 347.146 +
 347.147 +        WebModule wm = getWebModule(project);
 347.148 +        if (wm == null) {
 347.149 +            return null;
 347.150 +        }
 347.151 +
 347.152 +        return wm.getDocumentBase();
 347.153 +    }
 347.154 +
 347.155 +    /**
 347.156 +     * Convenience method to obtain the WEB-INF folder.
 347.157 +     * @param project the Project object
 347.158 +     * @return the FileObject of the WEB-INF folder
 347.159 +     */
 347.160 +    public static FileObject getWebInf(Project project) {
 347.161 +        if (project == null) {
 347.162 +            return null;
 347.163 +        }
 347.164 +
 347.165 +        WebModule wm = getWebModule(project);
 347.166 +        if (wm == null) {
 347.167 +            return null;
 347.168 +        }
 347.169 +
 347.170 +        return wm.getWebInf();
 347.171 +    }
 347.172 +    
 347.173 +    /**
 347.174 +     * Convenience method to obtain the source root folder.
 347.175 +     * @param project the Project object
 347.176 +     * @return the FileObject of the source root folder
 347.177 +     */
 347.178 +    public static FileObject getSourceRoot(Project project) {
 347.179 +        if (project == null) {
 347.180 +            return null;
 347.181 +        }
 347.182 +
 347.183 +        // Search the ${src.dir} Source Package Folder first, use the first source group if failed.
 347.184 +        Sources src = ProjectUtils.getSources(project);
 347.185 +        SourceGroup[] grp = src.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
 347.186 +        for (int i = 0; i < grp.length; i++) {
 347.187 +            if ("${src.dir}".equals(grp[i].getName())) { // NOI18N
 347.188 +                return grp[i].getRootFolder();
 347.189 +            }
 347.190 +        }
 347.191 +        if (grp.length != 0) {
 347.192 +            return grp[0].getRootFolder();
 347.193 +        }
 347.194 +
 347.195 +        return null;
 347.196 +    }
 347.197 +
 347.198 +    /**
 347.199 +     * Convenience method to obtain the root folder for page beans
 347.200 +     * @param project the Project object
 347.201 +     * @return the FileObject of the page bean root folder
 347.202 +     */
 347.203 +    public static FileObject getPageBeanRoot(Project project) {
 347.204 +        if (project == null) {
 347.205 +            return null;
 347.206 +        }
 347.207 +
 347.208 +        if (!isWebProject(project)) {
 347.209 +            return null;
 347.210 +        }
 347.211 +
 347.212 +        FileObject srcRoot = getSourceRoot(project);
 347.213 +        if (srcRoot == null) {
 347.214 +            return null;
 347.215 +        }
 347.216 +        
 347.217 +        String pageBeanPackage = getProjectProperty(project, PhpProjectConstants.PROP_JSF_PAGEBEAN_PACKAGE);
 347.218 +        if (pageBeanPackage == null) {
 347.219 +            return null;
 347.220 +        }
 347.221 +        
 347.222 +        pageBeanPackage = pageBeanPackage.replace('.', '/');
 347.223 +        FileObject pageBeanFolder = srcRoot.getFileObject(pageBeanPackage);
 347.224 +        if (pageBeanFolder != null) {
 347.225 +            return pageBeanFolder;
 347.226 +        }
 347.227 +        
 347.228 +        try {
 347.229 +            return FileUtil.createFolder(srcRoot, pageBeanPackage);
 347.230 +        } catch (IOException e) {
 347.231 +            ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
 347.232 +            return null;
 347.233 +        }
 347.234 +    }
 347.235 +    
 347.236 +    /** J2EE platform version - one of the constants {@link #J2EE_13_LEVEL}, {@link #J2EE_14_LEVEL}.
 347.237 +     * @param project
 347.238 +     * @return J2EE platform version
 347.239 +     */
 347.240 +    public static String getJ2eePlatformVersion(Project project) {
 347.241 +        if (project == null) {
 347.242 +            return "";
 347.243 +        }
 347.244 +
 347.245 +        WebModule wm = getWebModule(project);
 347.246 +        if (wm == null) {
 347.247 +            return "";
 347.248 +        }
 347.249 +
 347.250 +        return wm.getJ2eePlatformVersion();
 347.251 +    }
 347.252 +    
 347.253 +    public static String getSourceLevel(Project project) {
 347.254 +        if (!isWebProject(project)) {
 347.255 +            return null;
 347.256 +        }
 347.257 +
 347.258 +        SourceLevelQueryImplementation slq = (SourceLevelQueryImplementation) project.getLookup().lookup(SourceLevelQueryImplementation.class);
 347.259 +        if (slq == null) {
 347.260 +            return null;
 347.261 +        }
 347.262 +
 347.263 +        FileObject srcRoot = getSourceRoot(project);
 347.264 +        if (srcRoot == null) {
 347.265 +            return null;
 347.266 +        }
 347.267 +
 347.268 +        return slq.getSourceLevel(srcRoot);
 347.269 +    }
 347.270 +
 347.271 +    public static boolean supportProjectProperty(Project project) {
 347.272 +        if (isWebProject(project)) {
 347.273 +            AuxiliaryConfiguration ac = (AuxiliaryConfiguration)project.getLookup().lookup(AuxiliaryConfiguration.class);
 347.274 +            if (ac == null) {
 347.275 +                return false;
 347.276 +            }
 347.277 +            
 347.278 +            Element auxElement = ac.getConfigurationFragment(PhpProjectConstants.RAVE_AUX_NAME, PhpProjectConstants.RAVE_AUX_NAMESPACE, true);
 347.279 +            if (auxElement != null) {
 347.280 +                return true;
 347.281 +            }
 347.282 +
 347.283 +            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
 347.284 +            try {
 347.285 +                DocumentBuilder builder = factory.newDocumentBuilder();
 347.286 +                Document xmlDoc = builder.newDocument();
 347.287 +                auxElement = xmlDoc.createElementNS(PhpProjectConstants.RAVE_AUX_NAMESPACE, PhpProjectConstants.RAVE_AUX_NAME);
 347.288 +            } catch (ParserConfigurationException e) {
 347.289 +                ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
 347.290 +                return false;
 347.291 +            }
 347.292 +
 347.293 +            ac.putConfigurationFragment(auxElement, true);
 347.294 +            auxElement = ac.getConfigurationFragment(PhpProjectConstants.RAVE_AUX_NAME, PhpProjectConstants.RAVE_AUX_NAMESPACE, true);
 347.295 +            if (auxElement != null) {
 347.296 +                return true;
 347.297 +            }
 347.298 +        }
 347.299 +
 347.300 +        return false;
 347.301 +    }
 347.302 +    
 347.303 +    public static String getProjectProperty(Project project, String propName) {
 347.304 +        if (isWebProject(project)) {
 347.305 +            AuxiliaryConfiguration ac = (AuxiliaryConfiguration) project.getLookup().lookup(AuxiliaryConfiguration.class);
 347.306 +            if (ac == null) {
 347.307 +                return "";
 347.308 +            }
 347.309 +            
 347.310 +            Element auxElement = ac.getConfigurationFragment(PhpProjectConstants.RAVE_AUX_NAME, PhpProjectConstants.RAVE_AUX_NAMESPACE, true);
 347.311 +            if (auxElement == null) {  // Creator 2 project
 347.312 +                return getCreatorProperty(project, propName);
 347.313 +            }
 347.314 +            String value = auxElement.getAttribute(propName);
 347.315 +            if (value == null || value.equals("")) {  // Creator 2 project
 347.316 +                return getCreatorProperty(project, propName);
 347.317 +            }
 347.318 +            return value;
 347.319 +        } else
 347.320 +            return "";
 347.321 +    }
 347.322 +    
 347.323 +    private static String getCreatorProperty(final Project project, String propName) {
 347.324 +        EditableProperties props;
 347.325 +        /* XXX WebPropertyEvaluator in org.netbeans.modules.web.project is not accessible; need friend-package
 347.326 +        WebPropertyEvaluator wpe = (WebPropertyEvaluator) project.getLookup().lookup(WebPropertyEvaluator.class);
 347.327 +        if (wpe != null) {
 347.328 +            PropertyEvaluator pe = wpe.evaluator();
 347.329 +            props = new EditableProperties(pe.getProperties());
 347.330 +        } else {
 347.331 +        */
 347.332 +        props = NetbeansUtil.getWebProperties(project);
 347.333 +        if (props == null) {
 347.334 +            // Can't find anything, try to read the project.properties file directly. Shouldn't be here.
 347.335 +            try {
 347.336 +                props = (EditableProperties) ProjectManager.mutex().readAccess(new Mutex.ExceptionAction() {
 347.337 +                    public Object run() throws Exception {
 347.338 +                        EditableProperties ep = new EditableProperties();
 347.339 +                        FileObject propFile = project.getProjectDirectory().getFileObject(AntProjectHelper.PROJECT_PROPERTIES_PATH);
 347.340 +                        InputStream is = propFile.getInputStream();
 347.341 +            
 347.342 +                        ep.load(is);
 347.343 +                        is.close();
 347.344 +
 347.345 +                        return ep;
 347.346 +                    }
 347.347 +                });
 347.348 +            } catch (Exception e) {
 347.349 +                return "";
 347.350 +            }
 347.351 +        }
 347.352 +
 347.353 +        // Store Creator properties into the new format
 347.354 +        String ret = "";
 347.355 +        boolean isCreator = false;
 347.356 +        for (int i = 0; i < PhpProjectConstants.CreatorProperties.length; i++) {
 347.357 +            String val = props.getProperty(PhpProjectConstants.CreatorProperties[i]);
 347.358 +            if (val != null) {
 347.359 +                isCreator = true;
 347.360 +
 347.361 +                putProjectProperty(project, PhpProjectConstants.CreatorProperties[i], val);
 347.362 +
 347.363 +                if (propName.equals(PhpProjectConstants.CreatorProperties[i])) {
 347.364 +                    ret = val;
 347.365 +                }
 347.366 +            }
 347.367 +        }
 347.368 +
 347.369 +        // Store version into the new format
 347.370 +        String version = props.getProperty("creator"); // NOI18N
 347.371 +        if (isCreator && version == null) {
 347.372 +            version = "2.0"; // NOI18N
 347.373 +        }
 347.374 +        if (version != null) {
 347.375 +            setProjectVersion(project, version);
 347.376 +            if (propName.equals(PhpProjectConstants.PROP_JSF_PROJECT_VERSION)) { // NOI18N
 347.377 +                ret = version;
 347.378 +            }
 347.379 +        }
 347.380 +
 347.381 +        return ret;
 347.382 +    }
 347.383 +
 347.384 +    public static void createProjectProperty(Project project, String propName, String value) {
 347.385 +        putProjectProperty(project, propName, value, ""); // NOI18N
 347.386 +    }
 347.387 +    
 347.388 +    public static void putProjectProperty(Project project, String propName, String value) {
 347.389 +        putProjectProperty(project, propName, value, getProjectProperty(project, propName));
 347.390 +    }
 347.391 +    
 347.392 +    private static void putProjectProperty(Project project, String propName, String value, String oldval) {
 347.393 +        if (isWebProject(project)) {
 347.394 +            AuxiliaryConfiguration ac = (AuxiliaryConfiguration) project.getLookup().lookup(AuxiliaryConfiguration.class);
 347.395 +            if (ac == null) {
 347.396 +                return;
 347.397 +            }
 347.398 +            
 347.399 +            Element auxElement = ac.getConfigurationFragment(PhpProjectConstants.RAVE_AUX_NAME, PhpProjectConstants.RAVE_AUX_NAMESPACE, true);
 347.400 +            if (auxElement == null) {
 347.401 +                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
 347.402 +                try {
 347.403 +                    DocumentBuilder builder = factory.newDocumentBuilder();
 347.404 +                    Document xmlDoc = builder.newDocument();
 347.405 +                    auxElement = xmlDoc.createElementNS(PhpProjectConstants.RAVE_AUX_NAMESPACE, PhpProjectConstants.RAVE_AUX_NAME);
 347.406 +                } catch (ParserConfigurationException e) {
 347.407 +                    ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e);
 347.408 +                    return;
 347.409 +                }
 347.410 +            }
 347.411 +            auxElement.setAttribute(propName, value);
 347.412 +            ac.putConfigurationFragment(auxElement, true);
 347.413 +        }
 347.414 +    }
 347.415 +
 347.416 +    public static String getProjectVersion(Project project) {
 347.417 +        return getProjectProperty(project, PhpProjectConstants.PROP_JSF_PROJECT_VERSION);
 347.418 +    }
 347.419 +
 347.420 +    public static void setProjectVersion(Project project, String version) {
 347.421 +        putProjectProperty(project, PhpProjectConstants.PROP_JSF_PROJECT_VERSION, version);
 347.422 +    }
 347.423 +
 347.424 +    /**
 347.425 +     * Add an array of library references to a project, qualified for both the design-time classpath or deployed with the application
 347.426 +     * @param project Project to which the library is to be added
 347.427 +     * @param libraries Library objects from the LibraryManager registry
 347.428 +     * @return Returns true if the library reference was successfully added
 347.429 +     * @throws an IOException if there was a problem adding the reference
 347.430 +     */
 347.431 +    public static boolean addLibraryReferences(Project project, Library[] libraries) throws IOException {
 347.432 +        try {
 347.433 +            return ProjectClassPathModifier.addLibraries(libraries, getSourceRoot(project), ClassPath.COMPILE);
 347.434 +        } catch (IOException e) {
 347.435 +            // Should continue here, many exceptions happened in NetBeans codes are not fatal.
 347.436 +        }
 347.437 +
 347.438 +        return false;
 347.439 +    }
 347.440 +
 347.441 +    /**
 347.442 +     * Add an array of library references to a web project, qualified by the type parameter.
 347.443 +     * @param project Project to which the library is to be added
 347.444 +     * @param libraries Library objects from the LibraryManager registry
 347.445 +     * @param type Determines whether the library is to be added to the
 347.446 +     *        design-time classpath (ClassPath.COMPILE) or deployed with the application (ClassPath.EXECUTE)
 347.447 +     * @return Returns true if the library reference was successfully added
 347.448 +     * @throws an IOException if there was a problem adding the reference
 347.449 +     */
 347.450 +    public static boolean addLibraryReferences(Project project, Library[] libraries, String type) throws IOException {
 347.451 +        /* XXX WebProjectLibrariesModifier in org.netbeans.modules.web.project is not accessible; need friend-package
 347.452 +        WebProjectLibrariesModifier wplm = (WebProjectLibrariesModifier) project.getLookup().lookup(WebProjectLibrariesModifier.class);
 347.453 +        if (wplm == null) {
 347.454 +            // Something is wrong, shouldn't be here.
 347.455 +            return addLibraryReferences(project, libraries);
 347.456 +        }
 347.457 +
 347.458 +        if (ClassPath.COMPILE.equals(type)) {
 347.459 +            return wplm.addCompileLibraries(libraries);
 347.460 +        } else if (ClassPath.EXECUTE.equals(type)) {
 347.461 +            return wplm.addPackageLibraries(libraries, PATH_IN_WAR_LIB);
 347.462 +        }
 347.463 +
 347.464 +        return false;
 347.465 +        */
 347.466 +        if (NetbeansUtil.addLibraryReferences(project, libraries, type)) {
 347.467 +            return true;
 347.468 +        }
 347.469 +
 347.470 +        return addLibraryReferences(project, libraries);
 347.471 +    }
 347.472 +    
 347.473 +    /**
 347.474 +     * Derive an identifier suitable for a java package name or context path
 347.475 +     * @param sourceName Original name from which to derive the name
 347.476 +     * @return An identifier suitable for a java package name or context path
 347.477 +     */
 347.478 +    public static String deriveSafeName(String sourceName) {
 347.479 +        StringBuffer dest = new StringBuffer(sourceName.length());
 347.480 +        int sourceLen = sourceName.length();
 347.481 +        if (sourceLen > 0) {
 347.482 +            int pos = 0;
 347.483 +            while (pos < sourceLen) {
 347.484 +                if (Character.isJavaIdentifierStart(sourceName.charAt(pos))) {
 347.485 +                    dest.append(Character.toLowerCase(sourceName.charAt(pos)));
 347.486 +                    pos++;
 347.487 +                    break;
 347.488 +                }
 347.489 +                pos++;
 347.490 +            }
 347.491 +
 347.492 +            for (int i = pos; i < sourceLen; i++) {
 347.493 +                if (Character.isJavaIdentifierPart(sourceName.charAt(i)))
 347.494 +                    dest.append(Character.toLowerCase(sourceName.charAt(i)));
 347.495 +            }
 347.496 +        }
 347.497 +        if (dest.length() == 0 || !Utilities.isJavaIdentifier(dest.toString()))
 347.498 +            return "untitled";  // NOI18N
 347.499 +        else
 347.500 +            return dest.toString();
 347.501 +    }
 347.502 +
 347.503 +    public static String readResource(InputStream is, String encoding) throws IOException {
 347.504 +        // read the config from resource first
 347.505 +        StringBuffer sbuffer = new StringBuffer();
 347.506 +        String lineSep = System.getProperty("line.separator");//NOI18N
 347.507 +        BufferedReader br = new BufferedReader(new InputStreamReader(is, encoding));
 347.508 +        String line = br.readLine();
 347.509 +        while (line != null) {
 347.510 +            sbuffer.append(line);
 347.511 +            sbuffer.append(lineSep);
 347.512 +            line = br.readLine();
 347.513 +        }
 347.514 +        br.close();
 347.515 +        return sbuffer.toString();
 347.516 +    }
 347.517 +
 347.518 +    public static void createFile(FileObject target, String content, String encoding) throws IOException{
 347.519 +        FileLock lock = target.lock();
 347.520 +        try {
 347.521 +            BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(target.getOutputStream(lock), encoding));
 347.522 +            bw.write(content);
 347.523 +            bw.close();
 347.524 +            
 347.525 +        } finally {
 347.526 +            lock.releaseLock();
 347.527 +        }
 347.528 +    }
 347.529 +
 347.530 +    /** Reports whether the given name is a valid Java package name.
 347.531 +     * @param name The Java package name to be checked
 347.532 +     * @return true iff the name parameter is a valid Java package name
 347.533 +     */
 347.534 +    public static boolean isValidJavaPackageName(String pkgName) {
 347.535 +        if (pkgName == null)
 347.536 +            return false;
 347.537 +
 347.538 +        String[] pkg = pkgName.split("\\.");
 347.539 +        for (int i = 0; i < pkg.length; i++) {
 347.540 +            if (!Utilities.isJavaIdentifier(pkg[i])) {
 347.541 +                return false;
 347.542 +            }
 347.543 +        }
 347.544 +
 347.545 +        return true;
 347.546 +    }
 347.547 +
 347.548 +    /** Reports whether the given name is a valid Java file name.
 347.549 +     * @param name The Java file name to be checked
 347.550 +     * @return true iff the name parameter is a valid Java file name
 347.551 +     * @todo Use the passed in project context to make sure that the
 347.552 +     *   name would not conflict with existing files (e.g. check
 347.553 +     *   the webforms and backing file folders for name conflicts).
 347.554 +     */
 347.555 +    public static boolean isValidJavaFileName(String name) {
 347.556 +        if (name == null) {
 347.557 +            return false;
 347.558 +        }
 347.559 +        int n = name.length();
 347.560 +        if (n == 0) {
 347.561 +            return false;
 347.562 +        }
 347.563 +        
 347.564 +        if (!Character.isJavaIdentifierStart(name.charAt(0))) {
 347.565 +            return false;
 347.566 +        }
 347.567 +        
 347.568 +        for (int i = 1; i < n; i++) {
 347.569 +            char c = name.charAt(i);
 347.570 +            if (!Character.isJavaIdentifierPart(c)) {
 347.571 +                return false;
 347.572 +            }
 347.573 +        }
 347.574 +
 347.575 +        if (!Utilities.isJavaIdentifier(name)) {
 347.576 +            return false;
 347.577 +        }
 347.578 +
 347.579 +        return true;
 347.580 +    }
 347.581 +
 347.582 +    public static String getBackwardsKitMesg(boolean addJSF11, boolean addJAXRPC, boolean addRowset) {
 347.583 +        int count = 0;
 347.584 +        String nbms = "";
 347.585 +        if (addJSF11) {
 347.586 +            count++;
 347.587 +            nbms = NbBundle.getMessage(PortletProjectUtils.class, "LBL_MissingJSF");
 347.588 +        }
 347.589 +        if (addJAXRPC) {
 347.590 +            count++;
 347.591 +            nbms += NbBundle.getMessage(PortletProjectUtils.class, "LBL_MissingJAXRPC");
 347.592 +        }
 347.593 +        if (addRowset) {
 347.594 +            count++;
 347.595 +            nbms += NbBundle.getMessage(PortletProjectUtils.class, "LBL_MissingRowset");
 347.596 +        }
 347.597 +
 347.598 +        String RI = NbBundle.getMessage(PortletProjectUtils.class, (count > 1) ? "LBL_MissingMany" : "LBL_MissingOne");
 347.599 +
 347.600 +        return NbBundle.getMessage(PortletProjectUtils.class, "LBL_MissingNBM", RI, nbms);
 347.601 +    }
 347.602 +    
 347.603 +    public static boolean isPortletSupported(Project project)
 347.604 +    {
 347.605 +        FileObject webInf = getWebInf(project);
 347.606 +        if (webInf == null) {
 347.607 +            return false;
 347.608 +        }
 347.609 +
 347.610 +        FileObject fo = webInf.getFileObject("portlet.xml");  // NOI18N
 347.611 +        if (fo == null)
 347.612 +            return false;
 347.613 +        else {
 347.614 +            return true;
 347.615 +        }
 347.616 +    }
 347.617 +    
 347.618 +    public static String getRelativePathForPhpPortlet(FileObject docBase,FileObject phpPortletFolder) {
 347.619 +        String phpPortletFolderRelativePath = FileUtil.getRelativePath(docBase, phpPortletFolder);
 347.620 +        if (phpPortletFolderRelativePath != null) {
 347.621 +            if (!phpPortletFolderRelativePath.startsWith("/") && !phpPortletFolderRelativePath.startsWith("\\")) {
 347.622 +                phpPortletFolderRelativePath = "/" + phpPortletFolderRelativePath;
 347.623 +            }
 347.624 +            if (!phpPortletFolderRelativePath.endsWith("/") && !phpPortletFolderRelativePath.endsWith("\\")) {
 347.625 +                phpPortletFolderRelativePath += "/";
 347.626 +            }
 347.627 +            phpPortletFolderRelativePath = phpPortletFolderRelativePath.replace("\\", "/");
 347.628 +        }else
 347.629 +            phpPortletFolderRelativePath = "/";
 347.630 +        
 347.631 +        return phpPortletFolderRelativePath;
 347.632 +    }
 347.633 +}
   348.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/resources/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   348.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/resources/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   348.3 @@ -1,4 +1,6 @@
   348.4 -OpenIDE-Module-Display-Category=Portal Pack
   348.5 -OpenIDE-Module-Name=Liferay Portal Server
   348.6 -OpenIDE-Module-Short-Description=Liferay integration plugin
   348.7 +OpenIDE-Module-Display-Category=PortalPack
   348.8 +OpenIDE-Module-Long-Description=\
   348.9 +    This plug-in can be used to deploy/undeploy portlets on the WebSynergy Server.
  348.10 +OpenIDE-Module-Name=WebSynergy Plugin
  348.11 +OpenIDE-Module-Short-Description=Plugin to develop and deploy portlets on WebSynergy.
  348.12  Templates/asmFiles/phpPortlet=Liferay Php Portlet
   349.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/resources/layer.xml	Thu Jul 10 19:13:29 2008 +0800
   349.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/resources/layer.xml	Thu Jul 10 19:50:39 2008 +0800
   349.3 @@ -64,12 +64,12 @@
   349.4      </folder>
   349.5      
   349.6      <folder name="Templates">
   349.7 -        <folder name="Liferay Files">
   349.8 +        <folder name="WebSynergy Portlets">
   349.9              <file name="PHPPortlet.php" url="/templates/phpportlet.template">
  349.10                  <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.portalpack.servers.liferay.portlets.php.Bundle"/>
  349.11                  <attr name="position" intvalue="500"/>
  349.12                  <attr name="template" boolvalue="true"/>
  349.13 -                <!-- attr name="templateCategory" stringvalue="web-types"/ -->
  349.14 +                <attr name="templateCategory" stringvalue="web-types"/>
  349.15              
  349.16                  <attr name="templateWizardIterator" newvalue="org.netbeans.modules.portalpack.servers.liferay.portlets.php.PhpPortletWizardIterator"/>
  349.17                  <attr name="template" boolvalue="true"/>
  349.18 @@ -108,4 +108,59 @@
  349.19          </folder>
  349.20      </folder> 
  349.21          
  349.22 +    <!-- loader changes -->
  349.23 +     <folder name="Loaders">
  349.24 +        <folder name="text">
  349.25 +            <folder name="x-php5">
  349.26 +                <folder name="Actions">
  349.27 +                    <file name="org-openide-actions-OpenAction.instance"/>
  349.28 +                    <attr name="org-openide-actions-OpenAction.instance/org-openide-actions-FileSystemAction.instance" boolvalue="true"/>
  349.29 +                    <file name="org-openide-actions-FileSystemAction.instance"/>
  349.30 +                    <attr name="org-openide-actions-FileSystemAction.instance/sep-1.instance" boolvalue="true"/>
  349.31 +                    <file name="sep-1.instance">
  349.32 +                        <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
  349.33 +                    </file>
  349.34 +                    <attr name="sep-1.instance/org-openide-actions-CutAction.instance" boolvalue="true"/>
  349.35 +                    <file name="org-openide-actions-CutAction.instance"/>
  349.36 +                    <attr name="org-openide-actions-CutAction.instance/org-openide-actions-CopyAction.instance" boolvalue="true"/>
  349.37 +                    <file name="org-openide-actions-CopyAction.instance"/>
  349.38 +                    <attr name="org-openide-actions-CopyAction.instance/sep-2.instance" boolvalue="true"/>
  349.39 +                    <file name="sep-2.instance">
  349.40 +                        <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
  349.41 +                    </file>
  349.42 +                    <attr name="sep-2.instance/org-openide-actions-DeleteAction.instance" boolvalue="true"/>
  349.43 +                    <file name="org-openide-actions-DeleteAction.instance"/>
  349.44 +                    <attr name="org-openide-actions-DeleteAction.instance/org-openide-actions-RenameAction.instance" boolvalue="true"/>
  349.45 +                    <file name="org-openide-actions-RenameAction.instance"/>
  349.46 +                    <attr name="org-openide-actions-RenameAction.instance/sep-3.instance" boolvalue="true"/>
  349.47 +                    <file name="sep-3.instance">
  349.48 +                        <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
  349.49 +                    </file>
  349.50 +                    <attr name="sep-3.instance/org-openide-actions-SaveAsTemplateAction.instance" boolvalue="true"/>
  349.51 +                    <file name="org-openide-actions-SaveAsTemplateAction.instance"/>
  349.52 +                    <attr name="org-openide-actions-SaveAsTemplateAction.instance/sep-4.instance" boolvalue="true"/>
  349.53 +                    <file name="sep-4.instance">
  349.54 +                        <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
  349.55 +                    </file>
  349.56 +                    <attr name="sep-4.instance/org-openide-actions-ToolsAction.instance" boolvalue="true"/>
  349.57 +                    <file name="org-openide-actions-ToolsAction.instance"/>
  349.58 +                    <attr name="org-openide-actions-ToolsAction.instance/org-openide-actions-PropertiesAction.instance" boolvalue="true"/>
  349.59 +                    <file name="org-openide-actions-PropertiesAction.instance"/>
  349.60 +                </folder>
  349.61 +            </folder>
  349.62 +        </folder>
  349.63 +        </folder>
  349.64 +         <folder name="Loaders">
  349.65 +        <folder name="text">
  349.66 +            <folder name="x-php5">
  349.67 +                <folder name="Actions">
  349.68 +                  <!-- Add Set As Initial Page action -->
  349.69 +                  <file name="SetPortletModeAction.instance">
  349.70 +                     <attr name="instanceClass" stringvalue="org.netbeans.modules.portalpack.servers.liferay.portlets.php.actions.SetAsInitialAction"/>
  349.71 +                     <attr name="position" intvalue="150"/>
  349.72 +                   </file>
  349.73 +               </folder>
  349.74 +              </folder>
  349.75 +          </folder>
  349.76 +     </folder>
  349.77  </filesystem>
   350.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   350.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   350.3 @@ -23,6 +23,10 @@
   350.4  LBL_PORTLET_URI=Portlet Uri:
   350.5  LBL_LIFE_RAY_PORTAL_SERVER=Liferay Portal Server
   350.6  LBL_LIFE_RAY_INSTALLATION_HOME=Liferay Home
   350.7 -LBL_LIFERAY_PORTAL_SERVER=Liferay Portal Server
   350.8 +LBL_LIFERAY_PORTAL_SERVER=WebSynergy Server (Early Access)
   350.9  
  350.10 -DESC_LIFE_RAY=Liferay
  350.11 +DESC_LIFE_RAY=WebSynergy
  350.12 +LBL_Auto_Deploy_Dir=Auto Deploy Dir:
  350.13 +LBL_BrowseButton=Browse
  350.14 +LBL_ChooserName=Browse
  350.15 +MSG_NO_LIFERAY_INSTALLATION_FOUND=No WebSynergy Installation Found in this GlassFish domain.
   351.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/ui/LiferayConfigPanel.form	Thu Jul 10 19:13:29 2008 +0800
   351.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/ui/LiferayConfigPanel.form	Thu Jul 10 19:50:39 2008 +0800
   351.3 @@ -20,40 +20,44 @@
   351.4    <Layout>
   351.5      <DimensionLayout dim="0">
   351.6        <Group type="103" groupAlignment="0" attributes="0">
   351.7 -          <Component id="jSeparator1" alignment="0" pref="618" max="32767" attributes="0"/>
   351.8 -          <Group type="102" alignment="0" attributes="0">
   351.9 -              <EmptySpace max="-2" attributes="0"/>
  351.10 -              <Component id="jLabel2" min="-2" max="-2" attributes="0"/>
  351.11 -              <EmptySpace pref="579" max="32767" attributes="0"/>
  351.12 -          </Group>
  351.13 +          <Component id="jSeparator1" alignment="0" pref="466" max="32767" attributes="0"/>
  351.14            <Group type="102" alignment="0" attributes="0">
  351.15                <EmptySpace min="-2" pref="169" max="-2" attributes="0"/>
  351.16                <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
  351.17 -              <EmptySpace pref="332" max="32767" attributes="0"/>
  351.18 +              <EmptySpace pref="162" max="32767" attributes="0"/>
  351.19            </Group>
  351.20            <Group type="102" alignment="0" attributes="0">
  351.21                <EmptySpace max="-2" attributes="0"/>
  351.22 -              <Group type="103" groupAlignment="0" attributes="0">
  351.23 -                  <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>
  351.24 -                  <Component id="homeLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  351.25 -                  <Component id="jLabel6" alignment="0" min="-2" pref="75" max="-2" attributes="0"/>
  351.26 -              </Group>
  351.27 -              <EmptySpace max="-2" attributes="0"/>
  351.28 -              <Group type="103" groupAlignment="0" attributes="0">
  351.29 +              <Group type="103" groupAlignment="1" attributes="0">
  351.30 +                  <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
  351.31                    <Group type="102" alignment="0" attributes="0">
  351.32 -                      <Group type="103" groupAlignment="1" max="-2" attributes="0">
  351.33 -                          <Component id="hostTf" alignment="0" max="32767" attributes="1"/>
  351.34 -                          <Component id="homeTf" alignment="0" pref="299" max="32767" attributes="1"/>
  351.35 +                      <Group type="103" groupAlignment="0" attributes="0">
  351.36 +                          <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>
  351.37 +                          <Component id="jLabel6" alignment="0" min="-2" pref="75" max="-2" attributes="0"/>
  351.38                        </Group>
  351.39 +                      <Group type="103" groupAlignment="0" max="-2" attributes="0">
  351.40 +                          <Group type="102" attributes="0">
  351.41 +                              <EmptySpace min="10" pref="10" max="-2" attributes="0"/>
  351.42 +                              <Group type="103" groupAlignment="0" max="-2" attributes="0">
  351.43 +                                  <Component id="hostTf" alignment="0" max="32767" attributes="1"/>
  351.44 +                                  <Component id="portalUri" alignment="0" pref="189" max="32767" attributes="1"/>
  351.45 +                              </Group>
  351.46 +                          </Group>
  351.47 +                          <Group type="102" attributes="1">
  351.48 +                              <EmptySpace type="unrelated" max="-2" attributes="0"/>
  351.49 +                              <Component id="portletUriTf" max="32767" attributes="1"/>
  351.50 +                          </Group>
  351.51 +                      </Group>
  351.52 +                  </Group>
  351.53 +                  <Group type="102" alignment="0" attributes="0">
  351.54 +                      <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
  351.55                        <EmptySpace max="-2" attributes="0"/>
  351.56 -                      <Component id="homeChooseButton" min="-2" pref="36" max="-2" attributes="0"/>
  351.57 -                  </Group>
  351.58 -                  <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0">
  351.59 -                      <Component id="portletUriTf" alignment="0" max="32767" attributes="1"/>
  351.60 -                      <Component id="portalUri" alignment="0" pref="173" max="32767" attributes="1"/>
  351.61 +                      <Component id="autoDeployTf" min="-2" pref="268" max="-2" attributes="0"/>
  351.62 +                      <EmptySpace type="unrelated" max="-2" attributes="0"/>
  351.63 +                      <Component id="browseButton" min="-2" max="-2" attributes="0"/>
  351.64                    </Group>
  351.65                </Group>
  351.66 -              <EmptySpace pref="188" max="32767" attributes="0"/>
  351.67 +              <EmptySpace pref="50" max="32767" attributes="0"/>
  351.68            </Group>
  351.69        </Group>
  351.70      </DimensionLayout>
  351.71 @@ -66,26 +70,26 @@
  351.72                <Component id="jSeparator1" min="-2" pref="10" max="-2" attributes="0"/>
  351.73                <EmptySpace max="-2" attributes="0"/>
  351.74                <Group type="103" groupAlignment="3" attributes="0">
  351.75 -                  <Component id="homeLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  351.76 -                  <Component id="homeChooseButton" alignment="3" min="-2" max="-2" attributes="0"/>
  351.77 -                  <Component id="homeTf" alignment="3" min="-2" max="-2" attributes="0"/>
  351.78 -              </Group>
  351.79 -              <EmptySpace max="-2" attributes="0"/>
  351.80 -              <Group type="103" groupAlignment="3" attributes="0">
  351.81                    <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
  351.82                    <Component id="hostTf" alignment="3" min="-2" max="-2" attributes="0"/>
  351.83                </Group>
  351.84                <EmptySpace max="-2" attributes="0"/>
  351.85                <Group type="103" groupAlignment="3" attributes="0">
  351.86 +                  <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="1"/>
  351.87                    <Component id="portalUri" alignment="3" min="-2" max="-2" attributes="1"/>
  351.88 -                  <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="1"/>
  351.89                </Group>
  351.90 -              <EmptySpace type="separate" max="-2" attributes="0"/>
  351.91 +              <EmptySpace max="-2" attributes="0"/>
  351.92                <Group type="103" groupAlignment="3" attributes="0">
  351.93                    <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
  351.94                    <Component id="portletUriTf" alignment="3" min="-2" max="-2" attributes="0"/>
  351.95                </Group>
  351.96 -              <EmptySpace pref="37" max="32767" attributes="0"/>
  351.97 +              <EmptySpace type="unrelated" max="-2" attributes="0"/>
  351.98 +              <Group type="103" groupAlignment="3" attributes="0">
  351.99 +                  <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
 351.100 +                  <Component id="autoDeployTf" alignment="3" min="-2" max="-2" attributes="0"/>
 351.101 +                  <Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
 351.102 +              </Group>
 351.103 +              <EmptySpace pref="22" max="32767" attributes="0"/>
 351.104            </Group>
 351.105        </Group>
 351.106      </DimensionLayout>
 351.107 @@ -94,7 +98,7 @@
 351.108      <Component class="javax.swing.JLabel" name="jLabel1">
 351.109        <Properties>
 351.110          <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
 351.111 -          <Font name="Tahoma" size="11" style="1"/>
 351.112 +          <Font name="Tahoma" size="14" style="0"/>
 351.113          </Property>
 351.114          <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 351.115            <ResourceString bundle="org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties" key="LBL_LIFERAY_PORTAL_SERVER" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 351.116 @@ -103,9 +107,6 @@
 351.117      </Component>
 351.118      <Component class="javax.swing.JLabel" name="jLabel4">
 351.119        <Properties>
 351.120 -        <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
 351.121 -          <Font name="Tahoma" size="11" style="1"/>
 351.122 -        </Property>
 351.123          <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 351.124            <ResourceString bundle="org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties" key="LBL_PORTAL_URI" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 351.125          </Property>
 351.126 @@ -115,38 +116,8 @@
 351.127      </Component>
 351.128      <Component class="javax.swing.JSeparator" name="jSeparator1">
 351.129      </Component>
 351.130 -    <Component class="javax.swing.JLabel" name="homeLabel">
 351.131 -      <Properties>
 351.132 -        <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
 351.133 -          <Font name="Tahoma" size="11" style="1"/>
 351.134 -        </Property>
 351.135 -        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 351.136 -          <ResourceString bundle="org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties" key="LBL_LIFE_RAY_INSTALLATION_HOME" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 351.137 -        </Property>
 351.138 -      </Properties>
 351.139 -    </Component>
 351.140 -    <Component class="javax.swing.JTextField" name="homeTf">
 351.141 -      <Properties>
 351.142 -        <Property name="editable" type="boolean" value="false"/>
 351.143 -        <Property name="enabled" type="boolean" value="false"/>
 351.144 -      </Properties>
 351.145 -      <Events>
 351.146 -        <EventHandler event="focusLost" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="homeTfFocusLost"/>
 351.147 -      </Events>
 351.148 -    </Component>
 351.149 -    <Component class="javax.swing.JButton" name="homeChooseButton">
 351.150 -      <Properties>
 351.151 -        <Property name="text" type="java.lang.String" value="..."/>
 351.152 -      </Properties>
 351.153 -      <Events>
 351.154 -        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="homeChooseButtonActionPerformed"/>
 351.155 -      </Events>
 351.156 -    </Component>
 351.157      <Component class="javax.swing.JLabel" name="jLabel2">
 351.158        <Properties>
 351.159 -        <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
 351.160 -          <Font name="Tahoma" size="11" style="1"/>
 351.161 -        </Property>
 351.162          <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 351.163            <ResourceString bundle="org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties" key="LBL_HOST" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 351.164          </Property>
 351.165 @@ -159,9 +130,6 @@
 351.166      </Component>
 351.167      <Component class="javax.swing.JLabel" name="jLabel6">
 351.168        <Properties>
 351.169 -        <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
 351.170 -          <Font name="Tahoma" size="11" style="1"/>
 351.171 -        </Property>
 351.172          <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 351.173            <ComponentRef name="portletUriTf"/>
 351.174          </Property>
 351.175 @@ -172,5 +140,25 @@
 351.176      </Component>
 351.177      <Component class="javax.swing.JTextField" name="portletUriTf">
 351.178      </Component>
 351.179 +    <Component class="javax.swing.JLabel" name="jLabel3">
 351.180 +      <Properties>
 351.181 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 351.182 +          <ComponentRef name="autoDeployTf"/>
 351.183 +        </Property>
 351.184 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 351.185 +          <ResourceString bundle="org/netbeans/modules/portalpack/servers/liferay/ui/Bundle.properties" key="LBL_Auto_Deploy_Dir" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 351.186 +        </Property>
 351.187 +      </Properties>
 351.188 +    </Component>
 351.189 +    <Component class="javax.swing.JTextField" name="autoDeployTf">
 351.190 +    </Component>
 351.191 +    <Component class="javax.swing.JButton" name="browseButton">
 351.192 +      <Properties>
 351.193 +        <Property name="text" type="java.lang.String" value="..."/>
 351.194 +      </Properties>
 351.195 +      <Events>
 351.196 +        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
 351.197 +      </Events>
 351.198 +    </Component>
 351.199    </SubComponents>
 351.200  </Form>
   352.1 --- a/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/ui/LiferayConfigPanel.java	Thu Jul 10 19:13:29 2008 +0800
   352.2 +++ b/portalpack.servers.liferay/src/org/netbeans/modules/portalpack/servers/liferay/ui/LiferayConfigPanel.java	Thu Jul 10 19:50:39 2008 +0800
   352.3 @@ -20,15 +20,14 @@
   352.4  package org.netbeans.modules.portalpack.servers.liferay.ui;
   352.5  
   352.6  import java.io.File;
   352.7 -import java.net.InetAddress;
   352.8 -import java.net.UnknownHostException;
   352.9 +import javax.swing.JFileChooser;
  352.10 +import javax.swing.SwingUtilities;
  352.11  import javax.swing.event.DocumentEvent;
  352.12  import javax.swing.event.DocumentListener;
  352.13  import org.netbeans.modules.portalpack.servers.core.WizardPropertyReader;
  352.14  import org.netbeans.modules.portalpack.servers.core.api.ConfigPanel;
  352.15 -import org.netbeans.modules.portalpack.servers.core.util.DirectoryChooser;
  352.16 +import org.netbeans.modules.portalpack.servers.core.common.ServerConstants;
  352.17  import org.netbeans.modules.portalpack.servers.core.util.PSConfigObject;
  352.18 -import org.netbeans.modules.portalpack.servers.core.util.Util;
  352.19  import org.netbeans.modules.portalpack.servers.liferay.common.LiferayConstants;
  352.20  import org.openide.WizardDescriptor;
  352.21  import org.openide.util.NbBundle;
  352.22 @@ -40,6 +39,8 @@
  352.23  public class LiferayConfigPanel extends ConfigPanel implements DocumentListener{
  352.24      
  352.25      private String psVersion;
  352.26 +    private WizardDescriptor wd;
  352.27 +    
  352.28      /** Creates new form LifeRayConfigPanel */
  352.29      public LiferayConfigPanel(String psVersion) {
  352.30          this.psVersion = psVersion;
  352.31 @@ -63,41 +64,21 @@
  352.32          jLabel4 = new javax.swing.JLabel();
  352.33          portalUri = new javax.swing.JTextField();
  352.34          jSeparator1 = new javax.swing.JSeparator();
  352.35 -        homeLabel = new javax.swing.JLabel();
  352.36 -        homeTf = new javax.swing.JTextField();
  352.37 -        homeChooseButton = new javax.swing.JButton();
  352.38          jLabel2 = new javax.swing.JLabel();
  352.39          hostTf = new javax.swing.JTextField();
  352.40          jLabel6 = new javax.swing.JLabel();
  352.41          portletUriTf = new javax.swing.JTextField();
  352.42 +        jLabel3 = new javax.swing.JLabel();
  352.43 +        autoDeployTf = new javax.swing.JTextField();
  352.44 +        browseButton = new javax.swing.JButton();
  352.45  
  352.46          setFont(new java.awt.Font("Tahoma", 1, 11));
  352.47  
  352.48 -        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 11));
  352.49 +        jLabel1.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
  352.50          jLabel1.setText(org.openide.util.NbBundle.getMessage(LiferayConfigPanel.class, "LBL_LIFERAY_PORTAL_SERVER")); // NOI18N
  352.51  
  352.52 -        jLabel4.setFont(new java.awt.Font("Tahoma", 1, 11));
  352.53          jLabel4.setText(org.openide.util.NbBundle.getMessage(LiferayConfigPanel.class, "LBL_PORTAL_URI")); // NOI18N
  352.54  
  352.55 -        homeLabel.setFont(new java.awt.Font("Tahoma", 1, 11));
  352.56 -        homeLabel.setText(org.openide.util.NbBundle.getMessage(LiferayConfigPanel.class, "LBL_LIFE_RAY_INSTALLATION_HOME")); // NOI18N
  352.57 -
  352.58 -        homeTf.setEditable(false);
  352.59 -        homeTf.setEnabled(false);
  352.60 -        homeTf.addFocusListener(new java.awt.event.FocusAdapter() {
  352.61 -            public void focusLost(java.awt.event.FocusEvent evt) {
  352.62 -                homeTfFocusLost(evt);
  352.63 -            }
  352.64 -        });
  352.65 -
  352.66 -        homeChooseButton.setText("...");
  352.67 -        homeChooseButton.addActionListener(new java.awt.event.ActionListener() {
  352.68 -            public void actionPerformed(java.awt.event.ActionEvent evt) {
  352.69 -                homeChooseButtonActionPerformed(evt);
  352.70 -            }
  352.71 -        });
  352.72 -
  352.73 -        jLabel2.setFont(new java.awt.Font("Tahoma", 1, 11));
  352.74          jLabel2.setText(org.openide.util.NbBundle.getMessage(LiferayConfigPanel.class, "LBL_HOST")); // NOI18N
  352.75  
  352.76          hostTf.addFocusListener(new java.awt.event.FocusAdapter() {
  352.77 @@ -106,41 +87,52 @@
  352.78              }
  352.79          });
  352.80  
  352.81 -        jLabel6.setFont(new java.awt.Font("Tahoma", 1, 11));
  352.82          jLabel6.setLabelFor(portletUriTf);
  352.83          jLabel6.setText(org.openide.util.NbBundle.getBundle(LiferayConfigPanel.class).getString("LBL_PORTLET_URI")); // NOI18N
  352.84  
  352.85 +        jLabel3.setLabelFor(autoDeployTf);
  352.86 +        jLabel3.setText(org.openide.util.NbBundle.getMessage(LiferayConfigPanel.class, "LBL_Auto_Deploy_Dir")); // NOI18N
  352.87 +
  352.88 +        browseButton.setText("...");
  352.89 +        browseButton.addActionListener(new java.awt.event.ActionListener() {
  352.90 +            public void actionPerformed(java.awt.event.ActionEvent evt) {
  352.91 +                browseButtonActionPerformed(evt);
  352.92 +            }
  352.93 +        });
  352.94 +
  352.95          org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  352.96          this.setLayout(layout);
  352.97          layout.setHorizontalGroup(
  352.98              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  352.99 -            .add(jSeparator1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 618, Short.MAX_VALUE)
 352.100 -            .add(layout.createSequentialGroup()
 352.101 -                .addContainerGap()
 352.102 -                .add(jLabel2)
 352.103 -                .addContainerGap(579, Short.MAX_VALUE))
 352.104 +            .add(jSeparator1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 466, Short.MAX_VALUE)
 352.105              .add(layout.createSequentialGroup()
 352.106                  .add(169, 169, 169)
 352.107                  .add(jLabel1)
 352.108 -                .addContainerGap(332, Short.MAX_VALUE))
 352.109 +                .addContainerGap(162, Short.MAX_VALUE))
 352.110              .add(layout.createSequentialGroup()
 352.111                  .addContainerGap()
 352.112 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 352.113 -                    .add(jLabel4)
 352.114 -                    .add(homeLabel)
 352.115 -                    .add(jLabel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 75, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.116 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 352.117 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 352.118 -                    .add(layout.createSequentialGroup()
 352.119 -                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
 352.120 -                            .add(org.jdesktop.layout.GroupLayout.LEADING, hostTf)
 352.121 -                            .add(org.jdesktop.layout.GroupLayout.LEADING, homeTf, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 299, Short.MAX_VALUE))
 352.122 +                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
 352.123 +                    .add(org.jdesktop.layout.GroupLayout.LEADING, jLabel2)
 352.124 +                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
 352.125 +                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 352.126 +                            .add(jLabel4)
 352.127 +                            .add(jLabel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 75, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.128 +                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
 352.129 +                            .add(layout.createSequentialGroup()
 352.130 +                                .add(10, 10, 10)
 352.131 +                                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
 352.132 +                                    .add(hostTf)
 352.133 +                                    .add(portalUri, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 189, Short.MAX_VALUE)))
 352.134 +                            .add(layout.createSequentialGroup()
 352.135 +                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
 352.136 +                                .add(portletUriTf))))
 352.137 +                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
 352.138 +                        .add(jLabel3)
 352.139                          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 352.140 -                        .add(homeChooseButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 36, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.141 -                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
 352.142 -                        .add(org.jdesktop.layout.GroupLayout.LEADING, portletUriTf)
 352.143 -                        .add(org.jdesktop.layout.GroupLayout.LEADING, portalUri, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE)))
 352.144 -                .addContainerGap(188, Short.MAX_VALUE))
 352.145 +                        .add(autoDeployTf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 268, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 352.146 +                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
 352.147 +                        .add(browseButton)))
 352.148 +                .addContainerGap(50, Short.MAX_VALUE))
 352.149          );
 352.150          layout.setVerticalGroup(
 352.151              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 352.152 @@ -151,22 +143,22 @@
 352.153                  .add(jSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 352.154                  .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 352.155                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 352.156 -                    .add(homeLabel)
 352.157 -                    .add(homeChooseButton)
 352.158 -                    .add(homeTf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.159 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 352.160 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 352.161                      .add(jLabel2)
 352.162                      .add(hostTf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.163                  .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 352.164                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 352.165 -                    .add(portalUri, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 352.166 -                    .add(jLabel4))
 352.167 -                .add(18, 18, 18)
 352.168 +                    .add(jLabel4)
 352.169 +                    .add(portalUri, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.170 +                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 352.171                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 352.172                      .add(jLabel6)
 352.173                      .add(portletUriTf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 352.174 -                .addContainerGap(37, Short.MAX_VALUE))
 352.175 +                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
 352.176 +                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 352.177 +                    .add(jLabel3)
 352.178 +                    .add(autoDeployTf, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 352.179 +                    .add(browseButton))
 352.180 +                .addContainerGap(22, Short.MAX_VALUE))
 352.181          );
 352.182      }// </editor-fold>//GEN-END:initComponents
 352.183  
 352.184 @@ -175,57 +167,36 @@
 352.185          fireChangeEvent();
 352.186      }//GEN-LAST:event_hostTfFocusLost
 352.187  
 352.188 -    private void homeTfFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_homeTfFocusLost
 352.189 +private void browseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_browseButtonActionPerformed
 352.190  // TODO add your handling code here:
 352.191 -        fireChangeEvent();
 352.192 -    }//GEN-LAST:event_homeTfFocusLost
 352.193 +    String autoDeployLoc = browseAutoDeployLocation();
 352.194 +    if(autoDeployLoc != null)
 352.195 +        autoDeployTf.setText(autoDeployLoc);
 352.196 +}//GEN-LAST:event_browseButtonActionPerformed
 352.197  
 352.198      private boolean validatePCHome()
 352.199      {
 352.200 +//      
 352.201 +//        if(!config.exists() || !lib.exists())
 352.202 +//        {           
 352.203 +//            setErrorMessage(NbBundle.getMessage(LiferayConfigPanel.class,"MSG_INVALID_PC_HOME"));
 352.204 +//            return false;
 352.205 +//        }else{
 352.206 +//            
 352.207 +//            setErrorMessage("");
 352.208 +//            return true;
 352.209 +//        }
 352.210 +        return true;
 352.211 +    }
 352.212          
 352.213 -        String dir = homeTf.getText();
 352.214 -        File homeDir = new File(dir);
 352.215 -        File portletPolicy = new File(homeDir,"config" + File.separator + "portlet-policy.xml");
 352.216 -        if(psVersion.equals(LiferayConstants.LR_1_0))
 352.217 -        {
 352.218 -            if(portletPolicy.exists())
 352.219 -            {
 352.220 -                setErrorMessage(NbBundle.getMessage(LiferayConfigPanel.class,"MSG_PC_2_0_HOME_NEED_PC_1_0_Home"));
 352.221 -                return false;
 352.222 -            }
 352.223 -        }
 352.224 -        File config = new File(homeDir,"config" + File.separator + "pcenv.conf");
 352.225 -        File lib = new File(homeDir,"lib");
 352.226 -        if(!config.exists() || !lib.exists())
 352.227 -        {           
 352.228 -            setErrorMessage(NbBundle.getMessage(LiferayConfigPanel.class,"MSG_INVALID_PC_HOME"));
 352.229 -            return false;
 352.230 -        }else{
 352.231 -            
 352.232 -            setErrorMessage("");
 352.233 -            return true;
 352.234 -        }
 352.235 -        
 352.236 -    }
 352.237 -    
 352.238 -    private void homeChooseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_homeChooseButtonActionPerformed
 352.239 -// TODO add your handling code here:
 352.240 -        DirectoryChooser chooser = new DirectoryChooser();
 352.241 -        chooser.open(System.getProperty("user.home"));
 352.242 -        String dir = chooser.getSelectedDir();
 352.243 -        if(dir != null && dir.trim().length() != 0)
 352.244 -            homeTf.setText(dir);
 352.245 -        fireChangeEvent();    
 352.246 -    }//GEN-LAST:event_homeChooseButtonActionPerformed
 352.247 -    
 352.248      
 352.249      // Variables declaration - do not modify//GEN-BEGIN:variables
 352.250 -    private javax.swing.JButton homeChooseButton;
 352.251 -    private javax.swing.JLabel homeLabel;
 352.252 -    private javax.swing.JTextField homeTf;
 352.253 +    private javax.swing.JTextField autoDeployTf;
 352.254 +    private javax.swing.JButton browseButton;
 352.255      private javax.swing.JTextField hostTf;
 352.256      private javax.swing.JLabel jLabel1;
 352.257      private javax.swing.JLabel jLabel2;
 352.258 +    private javax.swing.JLabel jLabel3;
 352.259      private javax.swing.JLabel jLabel4;
 352.260      private javax.swing.JLabel jLabel6;
 352.261      private javax.swing.JSeparator jSeparator1;
 352.262 @@ -244,6 +215,8 @@
 352.263        ///  InstanceProperties intProps = InstanceProperties.getInstanceProperties(instances[1]);
 352.264          
 352.265        /// DeploymentFactoryManager.getInstance().getDisconnectedDeploymentManager("test").
 352.266 +       autoDeployTf.setText(System.getProperty("user.home")+File.separator + "liferay" + 
 352.267 +               File.separator + "deploy");
 352.268         portalUri.setText("/portal");
 352.269  //       adminConsoleUriTf.setText("/portletdriver/admin");
 352.270         portletUriTf.setText("/portal");
 352.271 @@ -255,27 +228,21 @@
 352.272          //hostTf.setText(object.getHost());
 352.273          //portTf.setText(object.getPort());
 352.274          portalUri.setText(object.getPortalUri());
 352.275 -        homeTf.setText(object.getPSHome());
 352.276 +
 352.277          hostTf.setText(object.getHost());
 352.278         // adminConsoleUriTf.setText(object.getProperty(LifeRayConstants.ADMIN_CONSOLE_URI));
 352.279          portletUriTf.setText(object.getProperty(LiferayConstants.PORTLET_URI));
 352.280          
 352.281 -        homeTf.setEnabled(false);
 352.282          hostTf.setEnabled(false);
 352.283 -        homeChooseButton.setEnabled(false);
 352.284 +        browseButton.setEnabled(false);
 352.285          
 352.286      }
 352.287  
 352.288      public void read(org.openide.WizardDescriptor wizardDescriptor) {
 352.289 +        if(wd == null)
 352.290 +            this.wd = wizardDescriptor;
 352.291 +        
 352.292          WizardPropertyReader reader = new WizardPropertyReader(wizardDescriptor);
 352.293 -        String domainDir = reader.getDomainDir();
 352.294 -        String pcHome = homeTf.getText();
 352.295 -        if(pcHome == null || pcHome.trim().length() == 0)
 352.296 -        {
 352.297 -            File pcHomeFile = new File(domainDir,"portlet-container");
 352.298 -            if(pcHomeFile.exists())
 352.299 -                homeTf.setText(pcHomeFile.getAbsolutePath());
 352.300 -        }
 352.301          
 352.302      }
 352.303  
 352.304 @@ -284,7 +251,6 @@
 352.305          WizardPropertyReader wr = new WizardPropertyReader(d);                
 352.306          wr.setAdminUser("admin");
 352.307          wr.setAdminPassWord("adminadmin");
 352.308 -        wr.setPSHome(homeTf.getText());
 352.309          //wr.setPort(portTf.getText());
 352.310          //wr.setAdminPort(portTf.getText());
 352.311          wr.setRemote(false);
 352.312 @@ -292,43 +258,65 @@
 352.313          wr.setHost(hostTf.getText());
 352.314  //        wr.setProperty(LifeRayConstants.ADMIN_CONSOLE_URI,adminConsoleUriTf.getText());
 352.315          wr.setProperty(LiferayConstants.PORTLET_URI,portletUriTf.getText());
 352.316 +        wr.setProperty(LiferayConstants.AUTO_DEPLOY_DIR, autoDeployTf.getText());
 352.317        //  wr.setPortalUri("/pcdriver");
 352.318      }
 352.319  
 352.320      public boolean validate(Object wizardDescriptor) {
 352.321 -        /*
 352.322 -        if(!validatePCHome())
 352.323 -            return false;
 352.324 -        
 352.325 -        if(!Util.isIp(hostTf.getText().trim()))
 352.326 +        if(wd == null)
 352.327 +            return true;
 352.328 +        WizardPropertyReader wr = new WizardPropertyReader(((WizardDescriptor)wd));                
 352.329 +        //String serverHome = wr.getServerHome();
 352.330 +        String domainDir = wr.getDomainDir();
 352.331 +        String serverType = wr.getServerType();
 352.332 +        if(serverType.equals(ServerConstants.SUN_APP_SERVER_9))
 352.333          {
 352.334 -            if(!Util.isHostValid(hostTf.getText().trim()))
 352.335 +            File file = new File(domainDir + File.separator + "lib" + File.separator + "portal-service.jar");
 352.336 +            if(!file.exists())
 352.337              {
 352.338 -                setErrorMessage(NbBundle.getMessage(LifeRayConfigPanel.class,"MSG_NOT_A_VALID_HOST"));
 352.339 +                setErrorMessage(NbBundle.getMessage(LiferayConfigPanel.class, "MSG_NO_LIFERAY_INSTALLATION_FOUND"));
 352.340                  return false;
 352.341              }
 352.342          }
 352.343 +       
 352.344          
 352.345 -        if(portalUri.getText() == null || portalUri.getText().trim().length() == 0)
 352.346 -        {
 352.347 -            setErrorMessage(NbBundle.getMessage(LifeRayConfigPanel.class,"MSG_NOT_A_VALID_PORTAL_URI"));
 352.348 -            return false;
 352.349 -        }
 352.350 -        
 352.351 -        if(adminConsoleUriTf.getText() == null || adminConsoleUriTf.getText().trim().length() == 0)
 352.352 -        {
 352.353 -            setErrorMessage(NbBundle.getMessage(LifeRayConfigPanel.class,"MSG_NOT_A_VALID_ADMIN_URI"));
 352.354 -            return false;
 352.355 -        }
 352.356 -
 352.357 -        if(portletUriTf.getText() == null || portletUriTf.getText().trim().length() == 0)
 352.358 -        {
 352.359 -            setErrorMessage(NbBundle.getMessage(LifeRayConfigPanel.class,"MSG_NOT_A_VALID_PORTLET_URI"));
 352.360 -            return false;
 352.361 -        }*/
 352.362          setErrorMessage("");
 352.363          return true;
 352.364      }
 352.365 +    
 352.366 +    private String browseAutoDeployLocation(){
 352.367 +        String autoDeployLocation = null;
 352.368 +        JFileChooser chooser = getJFileChooser();
 352.369 +        int returnValue = chooser.showDialog(SwingUtilities.getWindowAncestor(this),
 352.370 +                NbBundle.getMessage(LiferayConfigPanel.class, "LBL_BrowseButton")); //NOI18N
 352.371 +        
 352.372 +        if(returnValue == JFileChooser.APPROVE_OPTION){
 352.373 +            autoDeployLocation = chooser.getSelectedFile().getAbsolutePath();
 352.374 +        }
 352.375 +        return autoDeployLocation;
 352.376 +    }
 352.377 +    
 352.378 +    private JFileChooser getJFileChooser(){
 352.379 +        JFileChooser chooser = new JFileChooser();
 352.380 +        chooser.setDialogTitle(NbBundle.getMessage(LiferayConfigPanel.class, "LBL_ChooserName")); //NOI18N
 352.381 +        chooser.setDialogType(JFileChooser.CUSTOM_DIALOG);
 352.382 +
 352.383 +        chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
 352.384 +        chooser.setApproveButtonMnemonic("Choose_Button_Mnemonic".charAt(0)); //NOI18N
 352.385 +        chooser.setMultiSelectionEnabled(false);
 352.386 +        chooser.setApproveButtonToolTipText(NbBundle.getMessage(LiferayConfigPanel.class, "LBL_ChooserName")); //NOI18N
 352.387 +
 352.388 +        chooser.getAccessibleContext().setAccessibleName(NbBundle.getMessage(LiferayConfigPanel.class, "LBL_ChooserName")); //NOI18N
 352.389 +        chooser.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(LiferayConfigPanel.class, "LBL_ChooserName")); //NOI18N
 352.390 +
 352.391 +        // set the current directory
 352.392 +        String dir = System.getProperty("user.home");
 352.393 +        if(dir != null)
 352.394 +            chooser.setSelectedFile(new File(dir));
 352.395 +
 352.396 +        return chooser;
 352.397 +    }
 352.398 +
 352.399  
 352.400      public String getDescription() {
 352.401          return NbBundle.getMessage(LiferayConfigPanel.class, "DESC_LIFE_RAY");
   353.1 --- a/portalpack.servers.liferay/src/templates/phpportlet.template	Thu Jul 10 19:13:29 2008 +0800
   353.2 +++ b/portalpack.servers.liferay/src/templates/phpportlet.template	Thu Jul 10 19:50:39 2008 +0800
   353.3 @@ -1,4 +1,4 @@
   353.4  <?php
   353.5  
   353.6 -
   353.7 +      echo '${MSG}';
   353.8  ?>
   353.9 \ No newline at end of file
   354.1 --- a/portalpack.servers.opensourcepc/l10n/build.xml	Thu Jul 10 19:13:29 2008 +0800
   354.2 +++ b/portalpack.servers.opensourcepc/l10n/build.xml	Thu Jul 10 19:50:39 2008 +0800
   354.3 @@ -49,6 +49,14 @@
   354.4         
   354.5           </copy>
   354.6       </target>
   354.7 +	 
   354.8 +	 <target name="copyL10n">
   354.9 +		 <echo message="${l10n.src.dir}"/>
  354.10 +		 <copy todir=".">
  354.11 +			<fileset dir="${l10n.src.dir}"/>			
  354.12 +			<mapper type="glob" from="src" to="l10n/${locale}"/>
  354.13 +		 </copy>
  354.14 +	 </target>
  354.15  
  354.16        
  354.17  </project>
   355.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   355.2 +++ b/portalpack.servers.opensourcepc/l10n/ja/org/netbeans/modules/portalpack/servers/jnpc/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   355.3 @@ -0,0 +1,22 @@
   355.4 +# The contents of this file are subject to the terms of the Common Development
   355.5 +# and Distribution License (the License). You may not use this file except in
   355.6 +# compliance with the License.
   355.7 +# 
   355.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   355.9 +# or http://www.netbeans.org/cddl.txt.
  355.10 +# 
  355.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  355.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  355.13 +# If applicable, add the following below the CDDL Header, with the fields
  355.14 +# enclosed by brackets [] replaced by your own identifying information:
  355.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  355.16 +# 
  355.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  355.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  355.19 +# Microsystems, Inc. All Rights Reserved.
  355.20 +
  355.21 +# Sample ResourceBundle properties file
  355.22 +
  355.23 +Sun_Java_System_AppServer_9=GlassFish / Sun Java System AppServer 9
  355.24 +
  355.25 +Open_Source_Portlet_Container=OpenPortal Portlet Container 1.0
   356.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   356.2 +++ b/portalpack.servers.opensourcepc/l10n/ja/org/netbeans/modules/portalpack/servers/jnpc/impl/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   356.3 @@ -0,0 +1,38 @@
   356.4 +# The contents of this file are subject to the terms of the Common Development
   356.5 +# and Distribution License (the License). You may not use this file except in
   356.6 +# compliance with the License.
   356.7 +# 
   356.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   356.9 +# or http://www.netbeans.org/cddl.txt.
  356.10 +# 
  356.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  356.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  356.13 +# If applicable, add the following below the CDDL Header, with the fields
  356.14 +# enclosed by brackets [] replaced by your own identifying information:
  356.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  356.16 +# 
  356.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  356.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  356.19 +# Microsystems, Inc. All Rights Reserved.
  356.20 +
  356.21 +
  356.22 +Deployment_failed=\u914d\u5099\u5931\u6557
  356.23 +
  356.24 +Deployed_Successfully=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u304c\u6b63\u5e38\u306b\u914d\u5099\u3055\u308c\u307e\u3057\u305f\u3002
  356.25 +UNDEPLOYMENT_FAILED=\u914d\u5099\u53d6\u308a\u6d88\u3057\u5931\u6557
  356.26 +
  356.27 +INSTALLING_PORTLET_CONTAINER=Portlet Container \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059
  356.28 +
  356.29 +SETUP_XML_NOT_FOUND=Setup.xml \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002PC \u306f AppServer \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u305b\u3093
  356.30 +
  356.31 +STARTING_APPSERVER=Glassfish \u3092\u8d77\u52d5
  356.32 +
  356.33 +ERROR_INSTALLING_PC=AppServer \u3078\u306e PC \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30a8\u30e9\u30fc
  356.34 +
  356.35 +PORTLET_CONTAINER_IS_NOT_INSTALLED=Portlet Container \u304c GlassFish \u306b\u6b63\u3057\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n\u30b5\u30fc\u30d0\u30fc\u306e\u6700\u521d\u306e\u8d77\u52d5\u4e2d\u306b\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30b3\u30f3\u30c6\u30ca\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u6570\u5206\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\n\u3057\u3070\u3089\u304f\u5f85\u3063\u3066\u304b\u3089 URI {0} \u3092\u78ba\u8a8d\u3057\u3001\n\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30b3\u30f3\u30c6\u30ca\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002 \n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\n"java -jar portlet-container-configurator.jar <AppServerInstallRoot>  <DomainDir>" 
  356.36 +
  356.37 +CHECK_PORTLET_CONTAINER_INSTALLATION=Portlet Container \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059...
  356.38 +
  356.39 +MSG_DEPLOY_ON_GLASSFISH_FAILED=Glassfish \u3078\u306e\u914d\u5099\u306b\u5931\u6557\u3057\u307e\u3057\u305f
  356.40 +
  356.41 +MSG_UNDEPLOY_ON_GLASSFISH_FAILED=Glassfish \u3067\u306e\u914d\u5099\u53d6\u308a\u6d88\u3057\u306b\u5931\u6557\u3057\u307e\u3057\u305f
   357.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   357.2 +++ b/portalpack.servers.opensourcepc/l10n/ja/org/netbeans/modules/portalpack/servers/jnpc/node/action/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   357.3 @@ -0,0 +1,19 @@
   357.4 +# The contents of this file are subject to the terms of the Common Development
   357.5 +# and Distribution License (the License). You may not use this file except in
   357.6 +# compliance with the License.
   357.7 +# 
   357.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   357.9 +# or http://www.netbeans.org/cddl.txt.
  357.10 +# 
  357.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  357.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  357.13 +# If applicable, add the following below the CDDL Header, with the fields
  357.14 +# enclosed by brackets [] replaced by your own identifying information:
  357.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  357.16 +# 
  357.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  357.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  357.19 +# Microsystems, Inc. All Rights Reserved.
  357.20 +
  357.21 +# Sample ResourceBundle properties file
  357.22 +CTL_ShowMultiplePortlets=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u8868\u793a
   358.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   358.2 +++ b/portalpack.servers.opensourcepc/l10n/ja/org/netbeans/modules/portalpack/servers/jnpc/pc20/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   358.3 @@ -0,0 +1,19 @@
   358.4 +# The contents of this file are subject to the terms of the Common Development
   358.5 +# and Distribution License (the License). You may not use this file except in
   358.6 +# compliance with the License.
   358.7 +# 
   358.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   358.9 +# or http://www.netbeans.org/cddl.txt.
  358.10 +# 
  358.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  358.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  358.13 +# If applicable, add the following below the CDDL Header, with the fields
  358.14 +# enclosed by brackets [] replaced by your own identifying information:
  358.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  358.16 +# 
  358.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  358.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  358.19 +# Microsystems, Inc. All Rights Reserved.
  358.20 +
  358.21 +Open_Portal_Portlet_Container_2_0=OpenPortal Portlet Container 2.0
  358.22 +
   359.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   359.2 +++ b/portalpack.servers.opensourcepc/l10n/ja/org/netbeans/modules/portalpack/servers/jnpc/resources/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   359.3 @@ -0,0 +1,21 @@
   359.4 +# The contents of this file are subject to the terms of the Common Development
   359.5 +# and Distribution License (the License). You may not use this file except in
   359.6 +# compliance with the License.
   359.7 +# 
   359.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   359.9 +# or http://www.netbeans.org/cddl.txt.
  359.10 +# 
  359.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  359.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  359.13 +# If applicable, add the following below the CDDL Header, with the fields
  359.14 +# enclosed by brackets [] replaced by your own identifying information:
  359.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  359.16 +# 
  359.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  359.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  359.19 +# Microsystems, Inc. All Rights Reserved.
  359.20 +
  359.21 +OpenIDE-Module-Display-Category=PortalPack
  359.22 +OpenIDE-Module-Long-Description=\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001OpenPortal Portlet Container \u7d71\u5408\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002NetBeans IDE \u3067\u958b\u767a\u3055\u308c\u305f\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306f\u3001\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5b9f\u884c\u6642\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30b3\u30f3\u30c6\u30ca\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u76f4\u63a5\u914d\u5099\u3067\u304d\u307e\u3059\u3002OpenPortal Portlet Container \u306f\u3001https://portlet-container.dev.java.net \u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002
  359.23 +OpenIDE-Module-Name=OpenPortal Portlet Container
  359.24 +OpenIDE-Module-Short-Description=OpenPortal Portlet Container \u4e0a\u306b\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u914d\u5099/\u914d\u5099\u53d6\u308a\u6d88\u3057\u3059\u308b\u305f\u3081\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001java.net \u3067\u5165\u624b\u3067\u304d\u307e\u3059
   360.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   360.2 +++ b/portalpack.servers.opensourcepc/l10n/ja/org/netbeans/modules/portalpack/servers/jnpc/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   360.3 @@ -0,0 +1,47 @@
   360.4 +# The contents of this file are subject to the terms of the Common Development
   360.5 +# and Distribution License (the License). You may not use this file except in
   360.6 +# compliance with the License.
   360.7 +# 
   360.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   360.9 +# or http://www.netbeans.org/cddl.txt.
  360.10 +# 
  360.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  360.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  360.13 +# If applicable, add the following below the CDDL Header, with the fields
  360.14 +# enclosed by brackets [] replaced by your own identifying information:
  360.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  360.16 +# 
  360.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  360.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  360.19 +# Microsystems, Inc. All Rights Reserved.
  360.20 +
  360.21 +# Sample ResourceBundle properties file
  360.22 +LBL_OPEN_SOURCE_PORTLET_CONTAINER=OpenPortal Portlet Container
  360.23 +
  360.24 +LBL_PC_HOME=PC \u306e\u30db\u30fc\u30e0\:
  360.25 +
  360.26 +LBL_HOST=\u30db\u30b9\u30c8\:
  360.27 +
  360.28 +LBL_PORTAL_URI=\u30dd\u30fc\u30bf\u30eb URI\:
  360.29 +
  360.30 +LBL_ADMIN_URI=\u7ba1\u7406 URI\:
  360.31 +
  360.32 +MSG_NOT_A_VALID_HOST=\u6709\u52b9\u306a\u30db\u30b9\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  360.33 +
  360.34 +MSG_NOT_A_VALID_PORTAL_URI=\u6709\u52b9\u306a\u30dd\u30fc\u30bf\u30eb URI \u3067\u306f\u3042\u308a\u307e\u305b\u3093
  360.35 +
  360.36 +MSG_NOT_A_VALID_ADMIN_URI=\u6709\u52b9\u306a\u7ba1\u7406 URI \u3067\u306f\u3042\u308a\u307e\u305b\u3093
  360.37 +
  360.38 +MSG_NOT_A_VALID_PORTLET_URI=\u6709\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 URI \u3067\u306f\u3042\u308a\u307e\u305b\u3093
  360.39 +
  360.40 +MSG_INVALID_PC_HOME=\u7121\u52b9\u306a Portlet Container \u306e\u30db\u30fc\u30e0\u3067\u3059
  360.41 +
  360.42 +MSG_INVALID_PC_2_0_HOME=\u6709\u52b9\u306a OpenPortal Portlet Container 2.0 \u306e\u30db\u30fc\u30e0\u3067\u306f\u3042\u308a\u307e\u305b\u3093
  360.43 +
  360.44 +MSG_PC_2_0_HOME_NEED_PC_1_0_Home=PC 2.0 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u9078\u629e\u3055\u308c\u307e\u3057\u305f\u3002\u3057\u304b\u3057 PC 1.0 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002
  360.45 +
  360.46 +LBL_PORTLET_URI=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 URI\:
  360.47 +
  360.48 +LBL_BrowseButton=\u4e86\u89e3
  360.49 +
  360.50 +LBL_ChooserName=\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u9078\u629e
   361.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   361.2 +++ b/portalpack.servers.opensourcepc/l10n/pt_BR/org/netbeans/modules/portalpack/servers/jnpc/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   361.3 @@ -0,0 +1,22 @@
   361.4 +# The contents of this file are subject to the terms of the Common Development
   361.5 +# and Distribution License (the License). You may not use this file except in
   361.6 +# compliance with the License.
   361.7 +# 
   361.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   361.9 +# or http://www.netbeans.org/cddl.txt.
  361.10 +# 
  361.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  361.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  361.13 +# If applicable, add the following below the CDDL Header, with the fields
  361.14 +# enclosed by brackets [] replaced by your own identifying information:
  361.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  361.16 +# 
  361.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  361.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  361.19 +# Microsystems, Inc. All Rights Reserved.
  361.20 +
  361.21 +# Sample ResourceBundle properties file
  361.22 +
  361.23 +Sun_Java_System_AppServer_9=GlassFish / Sun Java System AppServer 9
  361.24 +
  361.25 +Open_Source_Portlet_Container=OpenPortal Portlet Container 1.0
   362.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   362.2 +++ b/portalpack.servers.opensourcepc/l10n/pt_BR/org/netbeans/modules/portalpack/servers/jnpc/impl/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   362.3 @@ -0,0 +1,38 @@
   362.4 +# The contents of this file are subject to the terms of the Common Development
   362.5 +# and Distribution License (the License). You may not use this file except in
   362.6 +# compliance with the License.
   362.7 +# 
   362.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   362.9 +# or http://www.netbeans.org/cddl.txt.
  362.10 +# 
  362.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  362.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  362.13 +# If applicable, add the following below the CDDL Header, with the fields
  362.14 +# enclosed by brackets [] replaced by your own identifying information:
  362.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  362.16 +# 
  362.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  362.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  362.19 +# Microsystems, Inc. All Rights Reserved.
  362.20 +
  362.21 +
  362.22 +Deployment_failed=Falha no deployment
  362.23 +
  362.24 +Deployed_Successfully=Portlet implantado com \u00eaxito.
  362.25 +UNDEPLOYMENT_FAILED=Falha na desimplanta\u00e7\u00e3o
  362.26 +
  362.27 +INSTALLING_PORTLET_CONTAINER=Instalando o cont\u00eainer do portlet
  362.28 +
  362.29 +SETUP_XML_NOT_FOUND=Setup.xml n\u00e3o encontrado. PC n\u00e3o pode ser instalado em AppServer
  362.30 +
  362.31 +STARTING_APPSERVER=Iniciando o Glassfish
  362.32 +
  362.33 +ERROR_INSTALLING_PC=Erro ao instalar o PC em AppServer
  362.34 +
  362.35 +PORTLET_CONTAINER_IS_NOT_INSTALLED=O cont\u00eainer do portlet talvez n\u00e3o tenha sido instalado corretamente no GlassFish.\nPode levar alguns segundos para instalar o cont\u00eainer do portlet durante a primeira inicializa\u00e7\u00e3o do servidor.\nAguarde algum tempo e verifique a url {0} \na fim de verificar a instala\u00e7\u00e3o do cont\u00eainer do portlet. \nCaso n\u00e3o esteja instalado ent\u00e3o instale-o usando o comando \n"java -jar portlet-container-configurator.jar <AppServerInstallRoot>  <DomainDir>" 
  362.36 +
  362.37 +CHECK_PORTLET_CONTAINER_INSTALLATION=Verificando a instala\u00e7\u00e3o do cont\u00eainer do portlet ...
  362.38 +
  362.39 +MSG_DEPLOY_ON_GLASSFISH_FAILED=Falha no deployment no Glassfish
  362.40 +
  362.41 +MSG_UNDEPLOY_ON_GLASSFISH_FAILED=Falha na desimplanta\u00e7\u00e3o no Glassfish
   363.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   363.2 +++ b/portalpack.servers.opensourcepc/l10n/pt_BR/org/netbeans/modules/portalpack/servers/jnpc/node/action/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   363.3 @@ -0,0 +1,19 @@
   363.4 +# The contents of this file are subject to the terms of the Common Development
   363.5 +# and Distribution License (the License). You may not use this file except in
   363.6 +# compliance with the License.
   363.7 +# 
   363.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   363.9 +# or http://www.netbeans.org/cddl.txt.
  363.10 +# 
  363.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  363.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  363.13 +# If applicable, add the following below the CDDL Header, with the fields
  363.14 +# enclosed by brackets [] replaced by your own identifying information:
  363.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  363.16 +# 
  363.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  363.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  363.19 +# Microsystems, Inc. All Rights Reserved.
  363.20 +
  363.21 +# Sample ResourceBundle properties file
  363.22 +CTL_ShowMultiplePortlets=Mostrar portlets
   364.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   364.2 +++ b/portalpack.servers.opensourcepc/l10n/pt_BR/org/netbeans/modules/portalpack/servers/jnpc/pc20/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   364.3 @@ -0,0 +1,19 @@
   364.4 +# The contents of this file are subject to the terms of the Common Development
   364.5 +# and Distribution License (the License). You may not use this file except in
   364.6 +# compliance with the License.
   364.7 +# 
   364.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   364.9 +# or http://www.netbeans.org/cddl.txt.
  364.10 +# 
  364.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  364.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  364.13 +# If applicable, add the following below the CDDL Header, with the fields
  364.14 +# enclosed by brackets [] replaced by your own identifying information:
  364.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  364.16 +# 
  364.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  364.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  364.19 +# Microsystems, Inc. All Rights Reserved.
  364.20 +
  364.21 +Open_Portal_Portlet_Container_2_0=OpenPortal Portlet Container 2.0
  364.22 +
   365.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   365.2 +++ b/portalpack.servers.opensourcepc/l10n/pt_BR/org/netbeans/modules/portalpack/servers/jnpc/resources/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   365.3 @@ -0,0 +1,21 @@
   365.4 +# The contents of this file are subject to the terms of the Common Development
   365.5 +# and Distribution License (the License). You may not use this file except in
   365.6 +# compliance with the License.
   365.7 +# 
   365.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   365.9 +# or http://www.netbeans.org/cddl.txt.
  365.10 +# 
  365.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  365.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  365.13 +# If applicable, add the following below the CDDL Header, with the fields
  365.14 +# enclosed by brackets [] replaced by your own identifying information:
  365.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  365.16 +# 
  365.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  365.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  365.19 +# Microsystems, Inc. All Rights Reserved.
  365.20 +
  365.21 +OpenIDE-Module-Display-Category=PortalPack
  365.22 +OpenIDE-Module-Long-Description=Este plug-in fornece suporte para integra\u00e7\u00e3o do OpenPortal Portlet Container. Os portlets desenvolvidos no NetBeans IDE podem ser implantados no cont\u00eainer, designando o cont\u00eainer do portlet como o servidor de tempo de execu\u00e7\u00e3o de um projeto de aplicativo do portlet.  O OpenPortal Portlet Container pode ser baixado de https://portlet-container.dev.java.net.
  365.23 +OpenIDE-Module-Name=OpenPortal Portlet Container
  365.24 +OpenIDE-Module-Short-Description=Plug-in para implantar/desimplantar aplicativo do portlet no OpenPortal Portlet Container dispon\u00edvel em java.net
   366.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   366.2 +++ b/portalpack.servers.opensourcepc/l10n/pt_BR/org/netbeans/modules/portalpack/servers/jnpc/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   366.3 @@ -0,0 +1,47 @@
   366.4 +# The contents of this file are subject to the terms of the Common Development
   366.5 +# and Distribution License (the License). You may not use this file except in
   366.6 +# compliance with the License.
   366.7 +# 
   366.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   366.9 +# or http://www.netbeans.org/cddl.txt.
  366.10 +# 
  366.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  366.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  366.13 +# If applicable, add the following below the CDDL Header, with the fields
  366.14 +# enclosed by brackets [] replaced by your own identifying information:
  366.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  366.16 +# 
  366.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  366.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  366.19 +# Microsystems, Inc. All Rights Reserved.
  366.20 +
  366.21 +# Sample ResourceBundle properties file
  366.22 +LBL_OPEN_SOURCE_PORTLET_CONTAINER=OpenPortal Portlet Container
  366.23 +
  366.24 +LBL_PC_HOME=Home do PC\:
  366.25 +
  366.26 +LBL_HOST=Host\:
  366.27 +
  366.28 +LBL_PORTAL_URI=Uri do portal\:
  366.29 +
  366.30 +LBL_ADMIN_URI=Uri de administra\u00e7\u00e3o\:
  366.31 +
  366.32 +MSG_NOT_A_VALID_HOST=N\u00e3o \u00e9 um host v\u00e1lido
  366.33 +
  366.34 +MSG_NOT_A_VALID_PORTAL_URI=N\u00e3o \u00e9 uma uri do portal v\u00e1lida
  366.35 +
  366.36 +MSG_NOT_A_VALID_ADMIN_URI=N\u00e3o \u00e9 uma uri de administra\u00e7\u00e3o v\u00e1lida
  366.37 +
  366.38 +MSG_NOT_A_VALID_PORTLET_URI=N\u00e3o \u00e9 uma uri do portlet v\u00e1lida
  366.39 +
  366.40 +MSG_INVALID_PC_HOME=Home do cont\u00eainer do portlet inv\u00e1lido
  366.41 +
  366.42 +MSG_INVALID_PC_2_0_HOME=N\u00e3o \u00e9 um Home v\u00e1lido do OpenPortal Portlet Container 2.0
  366.43 +
  366.44 +MSG_PC_2_0_HOME_NEED_PC_1_0_Home=A instala\u00e7\u00e3o do PC 2.0 est\u00e1 selecionada. Mas a instala\u00e7\u00e3o do PC 1.0 \u00e9 obrigat\u00f3ria.
  366.45 +
  366.46 +LBL_PORTLET_URI=Uri do portlet\:
  366.47 +
  366.48 +LBL_BrowseButton=Ok
  366.49 +
  366.50 +LBL_ChooserName=Escolher diret\u00f3rio de instala\u00e7\u00e3o
   367.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   367.2 +++ b/portalpack.servers.opensourcepc/l10n/zh_CN/org/netbeans/modules/portalpack/servers/jnpc/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   367.3 @@ -0,0 +1,22 @@
   367.4 +# The contents of this file are subject to the terms of the Common Development
   367.5 +# and Distribution License (the License). You may not use this file except in
   367.6 +# compliance with the License.
   367.7 +# 
   367.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   367.9 +# or http://www.netbeans.org/cddl.txt.
  367.10 +# 
  367.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  367.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  367.13 +# If applicable, add the following below the CDDL Header, with the fields
  367.14 +# enclosed by brackets [] replaced by your own identifying information:
  367.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  367.16 +# 
  367.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  367.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  367.19 +# Microsystems, Inc. All Rights Reserved.
  367.20 +
  367.21 +# Sample ResourceBundle properties file
  367.22 +
  367.23 +Sun_Java_System_AppServer_9=GlassFish/Sun Java System AppServer 9
  367.24 +
  367.25 +Open_Source_Portlet_Container=OpenPortal Portlet Container 1.0
   368.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   368.2 +++ b/portalpack.servers.opensourcepc/l10n/zh_CN/org/netbeans/modules/portalpack/servers/jnpc/impl/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   368.3 @@ -0,0 +1,38 @@
   368.4 +# The contents of this file are subject to the terms of the Common Development
   368.5 +# and Distribution License (the License). You may not use this file except in
   368.6 +# compliance with the License.
   368.7 +# 
   368.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   368.9 +# or http://www.netbeans.org/cddl.txt.
  368.10 +# 
  368.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  368.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  368.13 +# If applicable, add the following below the CDDL Header, with the fields
  368.14 +# enclosed by brackets [] replaced by your own identifying information:
  368.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  368.16 +# 
  368.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  368.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  368.19 +# Microsystems, Inc. All Rights Reserved.
  368.20 +
  368.21 +
  368.22 +Deployment_failed=\u90e8\u7f72\u5931\u8d25
  368.23 +
  368.24 +Deployed_Successfully=\u5df2\u6210\u529f\u90e8\u7f72 Portlet\u3002
  368.25 +UNDEPLOYMENT_FAILED=\u53d6\u6d88\u90e8\u7f72\u5931\u8d25
  368.26 +
  368.27 +INSTALLING_PORTLET_CONTAINER=\u5b89\u88c5 Portlet \u5bb9\u5668
  368.28 +
  368.29 +SETUP_XML_NOT_FOUND=\u627e\u4e0d\u5230 setup.xml\u3002\u65e0\u6cd5\u5728 AppServer \u4e0a\u5b89\u88c5 PC
  368.30 +
  368.31 +STARTING_APPSERVER=\u542f\u52a8 GlassFish
  368.32 +
  368.33 +ERROR_INSTALLING_PC=\u5728 AppServer \u4e0a\u5b89\u88c5 PC \u65f6\u51fa\u9519
  368.34 +
  368.35 +PORTLET_CONTAINER_IS_NOT_INSTALLED=\u53ef\u80fd\u672a\u5728 GlassFish \u4e0a\u6b63\u786e\u5b89\u88c5 Portlet \u5bb9\u5668\u3002\n\u7b2c\u4e00\u6b21\u542f\u52a8\u670d\u52a1\u5668\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u82b1\u8d39\u51e0\u79d2\u949f\u7684\u65f6\u95f4\u6765\u5b89\u88c5 Portlet \u5bb9\u5668\u3002\n\u7a0d\u7b49\u7247\u523b\u540e\uff0c\u8bf7\u68c0\u67e5 URL {0} \n\u4ee5\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5 Portlet \u5bb9\u5668\u3002\n\u5982\u679c\u672a\u5b89\u88c5\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a\n"java -jar portlet-container-configurator.jar <AppServerInstallRoot>  <DomainDir>" 
  368.36 +
  368.37 +CHECK_PORTLET_CONTAINER_INSTALLATION=\u6b63\u5728\u68c0\u67e5 Portlet \u5bb9\u5668\u5b89\u88c5...
  368.38 +
  368.39 +MSG_DEPLOY_ON_GLASSFISH_FAILED=\u5728 GlassFish \u4e0a\u7684\u90e8\u7f72\u5931\u8d25
  368.40 +
  368.41 +MSG_UNDEPLOY_ON_GLASSFISH_FAILED=\u5728 GlassFish \u4e0a\u7684\u53d6\u6d88\u90e8\u7f72\u5931\u8d25
   369.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   369.2 +++ b/portalpack.servers.opensourcepc/l10n/zh_CN/org/netbeans/modules/portalpack/servers/jnpc/node/action/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   369.3 @@ -0,0 +1,19 @@
   369.4 +# The contents of this file are subject to the terms of the Common Development
   369.5 +# and Distribution License (the License). You may not use this file except in
   369.6 +# compliance with the License.
   369.7 +# 
   369.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   369.9 +# or http://www.netbeans.org/cddl.txt.
  369.10 +# 
  369.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  369.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  369.13 +# If applicable, add the following below the CDDL Header, with the fields
  369.14 +# enclosed by brackets [] replaced by your own identifying information:
  369.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  369.16 +# 
  369.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  369.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  369.19 +# Microsystems, Inc. All Rights Reserved.
  369.20 +
  369.21 +# Sample ResourceBundle properties file
  369.22 +CTL_ShowMultiplePortlets=\u663e\u793a Portlet
   370.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   370.2 +++ b/portalpack.servers.opensourcepc/l10n/zh_CN/org/netbeans/modules/portalpack/servers/jnpc/pc20/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   370.3 @@ -0,0 +1,19 @@
   370.4 +# The contents of this file are subject to the terms of the Common Development
   370.5 +# and Distribution License (the License). You may not use this file except in
   370.6 +# compliance with the License.
   370.7 +# 
   370.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   370.9 +# or http://www.netbeans.org/cddl.txt.
  370.10 +# 
  370.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  370.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  370.13 +# If applicable, add the following below the CDDL Header, with the fields
  370.14 +# enclosed by brackets [] replaced by your own identifying information:
  370.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  370.16 +# 
  370.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  370.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  370.19 +# Microsystems, Inc. All Rights Reserved.
  370.20 +
  370.21 +Open_Portal_Portlet_Container_2_0=OpenPortal Portlet Container 2.0
  370.22 +
   371.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   371.2 +++ b/portalpack.servers.opensourcepc/l10n/zh_CN/org/netbeans/modules/portalpack/servers/jnpc/resources/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   371.3 @@ -0,0 +1,21 @@
   371.4 +# The contents of this file are subject to the terms of the Common Development
   371.5 +# and Distribution License (the License). You may not use this file except in
   371.6 +# compliance with the License.
   371.7 +# 
   371.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   371.9 +# or http://www.netbeans.org/cddl.txt.
  371.10 +# 
  371.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  371.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  371.13 +# If applicable, add the following below the CDDL Header, with the fields
  371.14 +# enclosed by brackets [] replaced by your own identifying information:
  371.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  371.16 +# 
  371.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  371.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  371.19 +# Microsystems, Inc. All Rights Reserved.
  371.20 +
  371.21 +OpenIDE-Module-Display-Category=PortalPack
  371.22 +OpenIDE-Module-Long-Description=\u6b64\u63d2\u4ef6\u4e3a OpenPortal Portlet Container \u96c6\u6210\u63d0\u4f9b\u652f\u6301\u3002\u901a\u8fc7\u5c06 Portlet \u5bb9\u5668\u6307\u5b9a\u4e3a Portlet \u5e94\u7528\u7a0b\u5e8f\u9879\u76ee\u7684\u8fd0\u884c\u65f6\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u5c06\u5728 NetBeans IDE \u4e2d\u5f00\u53d1\u7684 Portlet \u76f4\u63a5\u90e8\u7f72\u5230\u5bb9\u5668\u4e0a\u3002\u53ef\u4ee5\u4ece https://portlet-container.dev.java.net \u4e0b\u8f7d OpenPortal Portlet Container\u3002
  371.23 +OpenIDE-Module-Name=OpenPortal Portlet Container
  371.24 +OpenIDE-Module-Short-Description=\u6b64\u63d2\u4ef6\u7528\u4e8e\u5728 OpenPortal Portlet Container\uff08\u53ef\u4ece java.net \u83b7\u53d6\uff09\u4e0a\u90e8\u7f72/\u53d6\u6d88\u90e8\u7f72 Portlet \u5e94\u7528\u7a0b\u5e8f
   372.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   372.2 +++ b/portalpack.servers.opensourcepc/l10n/zh_CN/org/netbeans/modules/portalpack/servers/jnpc/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   372.3 @@ -0,0 +1,47 @@
   372.4 +# The contents of this file are subject to the terms of the Common Development
   372.5 +# and Distribution License (the License). You may not use this file except in
   372.6 +# compliance with the License.
   372.7 +# 
   372.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   372.9 +# or http://www.netbeans.org/cddl.txt.
  372.10 +# 
  372.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  372.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  372.13 +# If applicable, add the following below the CDDL Header, with the fields
  372.14 +# enclosed by brackets [] replaced by your own identifying information:
  372.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  372.16 +# 
  372.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  372.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  372.19 +# Microsystems, Inc. All Rights Reserved.
  372.20 +
  372.21 +# Sample ResourceBundle properties file
  372.22 +LBL_OPEN_SOURCE_PORTLET_CONTAINER=OpenPortal Portlet Container
  372.23 +
  372.24 +LBL_PC_HOME=PC Home \u76ee\u5f55\uff1a
  372.25 +
  372.26 +LBL_HOST=\u4e3b\u673a\uff1a
  372.27 +
  372.28 +LBL_PORTAL_URI=\u95e8\u6237 URI\uff1a
  372.29 +
  372.30 +LBL_ADMIN_URI=\u7ba1\u7406 URI\uff1a
  372.31 +
  372.32 +MSG_NOT_A_VALID_HOST=\u4e3b\u673a\u65e0\u6548
  372.33 +
  372.34 +MSG_NOT_A_VALID_PORTAL_URI=\u95e8\u6237 URI \u65e0\u6548
  372.35 +
  372.36 +MSG_NOT_A_VALID_ADMIN_URI=\u7ba1\u7406 URI \u65e0\u6548
  372.37 +
  372.38 +MSG_NOT_A_VALID_PORTLET_URI=Portlet URI \u65e0\u6548
  372.39 +
  372.40 +MSG_INVALID_PC_HOME=Portlet \u5bb9\u5668 Home \u76ee\u5f55\u65e0\u6548
  372.41 +
  372.42 +MSG_INVALID_PC_2_0_HOME=OpenPortal Portlet Container 2.0 Home \u76ee\u5f55\u65e0\u6548
  372.43 +
  372.44 +MSG_PC_2_0_HOME_NEED_PC_1_0_Home=\u5df2\u9009\u62e9 PC 2.0 \u5b89\u88c5\u3002\u4f46\u9700\u8981\u7684\u662f PC 1.0 \u5b89\u88c5\u3002
  372.45 +
  372.46 +LBL_PORTLET_URI=Portlet URI\uff1a
  372.47 +
  372.48 +LBL_BrowseButton=\u786e\u5b9a
  372.49 +
  372.50 +LBL_ChooserName=\u9009\u62e9\u5b89\u88c5\u76ee\u5f55
   373.1 --- a/portalpack.servers.sunps/l10n/build.xml	Thu Jul 10 19:13:29 2008 +0800
   373.2 +++ b/portalpack.servers.sunps/l10n/build.xml	Thu Jul 10 19:50:39 2008 +0800
   373.3 @@ -49,6 +49,14 @@
   373.4         
   373.5           </copy>
   373.6       </target>
   373.7 +	 
   373.8 +	 <target name="copyL10n">
   373.9 +		 <echo message="${l10n.src.dir}"/>
  373.10 +		 <copy todir=".">
  373.11 +			<fileset dir="${l10n.src.dir}"/>			
  373.12 +			<mapper type="glob" from="src" to="l10n/${locale}"/>
  373.13 +		 </copy>
  373.14 +	 </target>
  373.15  
  373.16        
  373.17  </project>
   374.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   374.2 +++ b/portalpack.servers.sunps/l10n/ja/org/netbeans/modules/portalpack/servers/sunps7/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   374.3 @@ -0,0 +1,41 @@
   374.4 +# The contents of this file are subject to the terms of the Common Development
   374.5 +# and Distribution License (the License). You may not use this file except in
   374.6 +# compliance with the License.
   374.7 +# 
   374.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   374.9 +# or http://www.netbeans.org/cddl.txt.
  374.10 +# 
  374.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  374.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  374.13 +# If applicable, add the following below the CDDL Header, with the fields
  374.14 +# enclosed by brackets [] replaced by your own identifying information:
  374.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  374.16 +# 
  374.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  374.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  374.19 +# Microsystems, Inc. All Rights Reserved.
  374.20 +
  374.21 +# Sample ResourceBundle properties file
  374.22 +START_DEPLOY=\u914d\u5099\u306e\u958b\u59cb
  374.23 +MSG_DEPLOYED=\u6b63\u5e38\u306b\u914d\u5099\u3055\u308c\u307e\u3057\u305f\u3002
  374.24 +START_UNDEPLOY=\u914d\u5099\u306e\u53d6\u6d88\u3057\u306e\u958b\u59cb\u3002
  374.25 +MSG_UNDEPLOYED=\u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f
  374.26 +
  374.27 +CTL_AjaxPageCreateAction=CreateAjaxPage
  374.28 +CTL_InitializeAction=\u30d8\u30eb\u30d7
  374.29 +CTL_NetbeansConfigPortalSever=\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u6210
  374.30 +CTL_NetbeansCreateWar=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8 WAR \u3092\u4f5c\u6210
  374.31 +CTL_NetbeansDeployPortletAction=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u914d\u5099
  374.32 +CTL_NetbeansInitializerComponent=\u521d\u671f\u5316\u5b50
  374.33 +CTL_NetbeansJSR168PortletCreateAction=\u65b0\u898f JSR-168 \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8
  374.34 +LBL_CreateProjectStep=\u65b0\u898f JSR-168 \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210
  374.35 +MyLibrary=MyLibrary
  374.36 +MyLibrary1=MyLibrary1
  374.37 +OpenIDE-Module-Name=SunPS7
  374.38 +OpenIDE-Module-Short-Description=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u958b\u767a\u30d7\u30e9\u30b0\u30a4\u30f3
  374.39 +Templates/Classes/netbeansNewPortlet=\u65b0\u898f\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30af\u30e9\u30b9
  374.40 +Templates/Classes/netbeansNewPortletClass=JSR-168 \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8
  374.41 +Templates/Classes/newJavaFile=\u65b0\u898f Java \u30d5\u30a1\u30a4\u30eb
  374.42 +Templates/Project/J2EE/PortalApplicationProject.zip=JSR-168 \u30dd\u30fc\u30bf\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3
  374.43 +Templates/Project/Web/PortletApplicationProject.zip=JSR-168 \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3
  374.44 +
   375.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   375.2 +++ b/portalpack.servers.sunps/l10n/ja/org/netbeans/modules/portalpack/servers/sunps7/impl/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   375.3 @@ -0,0 +1,124 @@
   375.4 +# The contents of this file are subject to the terms of the Common Development
   375.5 +# and Distribution License (the License). You may not use this file except in
   375.6 +# compliance with the License.
   375.7 +# 
   375.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   375.9 +# or http://www.netbeans.org/cddl.txt.
  375.10 +# 
  375.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  375.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  375.13 +# If applicable, add the following below the CDDL Header, with the fields
  375.14 +# enclosed by brackets [] replaced by your own identifying information:
  375.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  375.16 +# 
  375.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  375.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  375.19 +# Microsystems, Inc. All Rights Reserved.
  375.20 +
  375.21 +# Sample ResourceBundle properties file
  375.22 +portlet.errorFindProviderAndPortlet=DP \u306e\u66f4\u65b0\u30a8\u30e9\u30fc: \u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u691c\u7d22\u306b\u5931\u6557\u3057\u307e\u3057\u305f: provider={0}\u3002{1} \u304c dn \u306b\u914d\u5099\u3055\u308c\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059: {2}
  375.23 +portlet.errorSetDirty=\u8868\u793a\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u5c5e\u6027 dirty \u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
  375.24 +portlet.errorRetrieveDP=DP \u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f: DN="{0}"\u3002
  375.25 +portlet.errorCreateDPRoot=DP \u30eb\u30fc\u30c8\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f: dn="{0}"\u3002
  375.26 +portlet.errorCannotAdd={0} \u3092\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4ee3\u308f\u308a\u306b\u5909\u66f4\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002
  375.27 +portlet.errorDupDP=DP \u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059: dn={0}\u3002\u8ffd\u52a0\u3059\u308b\u524d\u306b\u3001\u524a\u9664\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u65e2\u5b58\u306e DP \u3092\u524a\u9664\u3057\u307e\u3059\u3002
  375.28 +portlet.errorCheckDupName=\u91cd\u8907\u3059\u308b\u540d\u524d\u306e\u78ba\u8a8d\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
  375.29 +portlet.errorDupName=\u91cd\u8907\u3059\u308b\u540d\u524d\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002\u5225\u306e\u540d\u524d\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  375.30 +portlet.errorAddProvider=\u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u8ffd\u52a0\u306b\u5931\u6557\u3057\u307e\u3057\u305f: provider={0}\u3002
  375.31 +portlet.errorFindProvider=\u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u691c\u7d22\u306b\u5931\u6557\u3057\u307e\u3057\u305f: provider={0}\u3002
  375.32 +portlet.errorFindProviderAndPortlet=DP \u306e\u66f4\u65b0\u30a8\u30e9\u30fc: \u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u691c\u7d22\u306b\u5931\u6557\u3057\u307e\u3057\u305f: provider={0}\u3002{1} \u304c dn \u306b\u914d\u5099\u3055\u308c\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059: {2}
  375.33 +portlet.errorLookupProvider=DP \u306e\u66f4\u65b0\u30a8\u30e9\u30fc: \u30d7\u30ed\u30d0\u30a4\u30c0\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f: provider={0}\u3002
  375.34 +portlet.errorRemoveProvider=\u30d7\u30ed\u30d0\u30a4\u30c0\u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f: provider={0}\u3002
  375.35 +portlet.errorCreateDPProvider=DPProvider \u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
  375.36 +portlet.errorInvalidXML=\u7121\u52b9\u306a XML \u5165\u529b\u3067\u3059\u3002
  375.37 +portlet.errorInvalidXMLText=\u7121\u52b9\u306a XML \u5165\u529b: {0}
  375.38 +portlet.errorStoreDP=\u8868\u793a\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
  375.39 +portlet.errorPortletAlreadyDeployed= "{0}" \u306f\u3059\u3067\u306b\u914d\u5099\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u914d\u5099\u3092\u53d6\u308a\u6d88\u3057\u3066\u3075\u305f\u305f\u3073\u914d\u5099\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  375.40 +MSG_PSConfig_is_NULL=PSConfig \u304c NULL \u3067\u3059
  375.41 +portlet.errorGettingPortalInstances=\u30dd\u30fc\u30bf\u30eb\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30b5\u30fc\u30d0\u30fc\u8a2d\u5b9a\u306e InstanceId \u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  375.42 +
  375.43 +Error=\u30a8\u30e9\u30fc
  375.44 +
  375.45 +MSG_HOST_IS\ _NULL=\u30db\u30b9\u30c8\u304c null \u3067\u3059\u3002
  375.46 +
  375.47 +MSG_DomainID_Is_Null.=domainID \u304c null \u3067\u3059\u3002
  375.48 +
  375.49 +MSG_UserID_Is_null.=userID \u304c null \u3067\u3059\u3002
  375.50 +
  375.51 +MSG_Password_Is_Null=\u30d1\u30b9\u30ef\u30fc\u30c9\u304c null \u3067\u3059\u3002
  375.52 +
  375.53 +MSG_PortalID_Is_Null=portalID \u304c null \u3067\u3059\u3002
  375.54 +
  375.55 +MSG_Type_Is_Null=\u578b\u304c null \u3067\u3059\u3002
  375.56 +
  375.57 +MSG_Path_Is_Null=\u30d1\u30b9\u304c null \u3067\u3059\u3002
  375.58 +
  375.59 +MSG_Path_Cannot_Be_Empty.=\u30d1\u30b9\u3092\u7a7a\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002
  375.60 +
  375.61 +domainID_is_null.=domainID \u304c null \u3067\u3059\u3002
  375.62 +
  375.63 +MSG_InstanceID_Is_Null.=instanceID \u304c null \u3067\u3059\u3002
  375.64 +
  375.65 +MSG_ParentPath_Is_Null.=parentPath \u304c null \u3067\u3059\u3002
  375.66 +
  375.67 +MSG_Security_Exception=\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u4f8b\u5916\u3067\u3059\u3002\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306e MBean \u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
  375.68 +
  375.69 +MSG_Error_connecting_MBean_Server=\u30dd\u30fc\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306e MBean \u30b5\u30fc\u30d0\u30fc\u63a5\u7d9a\u30a8\u30e9\u30fc\u3002\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002
  375.70 +
  375.71 +MSG_Cant_close_JMX_connector=JMX \u30b3\u30cd\u30af\u30bf\u3092\u9589\u3058\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093
  375.72 +
  375.73 +MSG_Portlet_Could_not_be_deployed.=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u3092\u914d\u5099\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002
  375.74 +
  375.75 +MSG_Portlet_Deployed_Successfully=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u304c\u6b63\u5e38\u306b\u914d\u5099\u3055\u308c\u307e\u3057\u305f 
  375.76 +
  375.77 +MSG_MBean_Exception=MBean \u4f8b\u5916 \: 
  375.78 +
  375.79 +MSG_Uploading_file_to_remote_server=\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059 
  375.80 +
  375.81 +MSG_Error_uploading_file_to=\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30a8\u30e9\u30fc 
  375.82 +
  375.83 +MSG_Error_uploading_file=\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30a8\u30e9\u30fc
  375.84 +
  375.85 +MSG_Start_deploying=\u914d\u5099\u3092\u958b\u59cb 
  375.86 +
  375.87 +MSG_Error_in_deployment=\u914d\u5099\u306e\u30a8\u30e9\u30fc 
  375.88 +
  375.89 +MSG_Instance_Not_Found=\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f \: 
  375.90 +
  375.91 +MSG_Creating_channel=\u30c1\u30e3\u30cd\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 
  375.92 +
  375.93 +MSG_Created_channel=\u4f5c\u6210\u3055\u308c\u305f\u30c1\u30e3\u30cd\u30eb 
  375.94 +
  375.95 +MSG_Creating_container=\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 
  375.96 +
  375.97 +MSG_Created_container=\u4f5c\u6210\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30ca 
  375.98 +
  375.99 +MSG_Error_setting_tab_name=\u30bf\u30d6\u540d\u306e\u8a2d\u5b9a\u30a8\u30e9\u30fc
 375.100 +
 375.101 +MSG_Application_is_already_deployed_Want_To_Redeploy=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3059\u3067\u306b\u914d\u5099\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u518d\u914d\u5099\u3057\u307e\u3059\u304b ?
 375.102 +
 375.103 +MSG_Trying_to_undeploy=\u914d\u5099\u306e\u53d6\u308a\u6d88\u3057\u4e2d\u3067\u3059 
 375.104 +
 375.105 +MSG_Undeployed_successfully= \u6b63\u5e38\u306b\u914d\u5099\u304c\u53d6\u308a\u6d88\u3055\u308c\u307e\u3057\u305f
 375.106 +
 375.107 +MSG_Unable_to_undeploy_the_app=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u914d\u5099\u3092\u53d6\u308a\u6d88\u3057\u3067\u304d\u307e\u305b\u3093  
 375.108 +
 375.109 +MSG_Deleting_container=\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u3057\u3066\u3044\u307e\u3059 
 375.110 +
 375.111 +MSG_from=From 
 375.112 +
 375.113 +Error_=\u30a8\u30e9\u30fc 
 375.114 +
 375.115 +MSG_Error_creating_channel=\u30c1\u30e3\u30cd\u30eb\u306e\u4f5c\u6210\u30a8\u30e9\u30fc
 375.116 +
 375.117 +MSG_Error_getting_Authless_user_for=Authless \u30e6\u30fc\u30b6\u30fc\u306e\u53d6\u5f97\u30a8\u30e9\u30fc 
 375.118 +
 375.119 +MSG_Portlet_Channel_is_created=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30c1\u30e3\u30cd\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f
 375.120 +
 375.121 +LBL_INVALID_JMX_PORT=\u7121\u52b9\u306a JMX \u30b3\u30cd\u30af\u30bf\u30dd\u30fc\u30c8
 375.122 +
 375.123 +LBL_Provider=\u30d7\u30ed\u30d0\u30a4\u30c0
 375.124 +
 375.125 +LBL_Channel=\u30c1\u30e3\u30cd\u30eb
 375.126 +
 375.127 +LBL_Create_a_channel=\u30c1\u30e3\u30cd\u30eb\u306e\u4f5c\u6210
   376.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   376.2 +++ b/portalpack.servers.sunps/l10n/ja/org/netbeans/modules/portalpack/servers/sunps7/resources/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   376.3 @@ -0,0 +1,21 @@
   376.4 +# The contents of this file are subject to the terms of the Common Development
   376.5 +# and Distribution License (the License). You may not use this file except in
   376.6 +# compliance with the License.
   376.7 +# 
   376.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   376.9 +# or http://www.netbeans.org/cddl.txt.
  376.10 +# 
  376.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  376.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  376.13 +# If applicable, add the following below the CDDL Header, with the fields
  376.14 +# enclosed by brackets [] replaced by your own identifying information:
  376.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  376.16 +# 
  376.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  376.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  376.19 +# Microsystems, Inc. All Rights Reserved.
  376.20 +
  376.21 +OpenIDE-Module-Display-Category=PortalPack
  376.22 +OpenIDE-Module-Long-Description=\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001NetBeans IDE \u304b\u3089\u76f4\u63a5 Sun Java System Portal Server 7.x \u4e0a\u306b\u3001\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u914d\u5099/\u914d\u5099\u53d6\u308a\u6d88\u3057\u3059\u308b\u305f\u3081\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30dd\u30fc\u30bf\u30eb\u7ba1\u7406\u7528\u306e\u62e1\u5f35\u6a5f\u80fd\u3082\u3044\u304f\u3064\u304b\u63d0\u4f9b\u3057\u307e\u3059\u3002
  376.23 +OpenIDE-Module-Name=Sun Java System Portal Server 7.x
  376.24 +OpenIDE-Module-Short-Description=Sun Java System Portal Server 7.x \u306e\u30d7\u30e9\u30b0\u30a4\u30f3
   377.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   377.2 +++ b/portalpack.servers.sunps/l10n/ja/org/netbeans/modules/portalpack/servers/sunps7/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   377.3 @@ -0,0 +1,65 @@
   377.4 +# Sample ResourceBundle properties file
   377.5 +
   377.6 +LBL_SUN_JAVA_SYSTEM_PORTAL_SERVER_CONFIGURATION=Sun Java System Portal Server 7.x \u69cb\u6210
   377.7 +
   377.8 +LBL_SUN_PS=Sun PS 7.x
   377.9 +
  377.10 +LBL_PORTAL_ID=\u30dd\u30fc\u30bf\u30eb ID\:
  377.11 +
  377.12 +LBL_INSTANCE_ID=\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 ID\:
  377.13 +
  377.14 +LBL_ADMIN_USER=\u7ba1\u7406\u30e6\u30fc\u30b6\u30fc\:
  377.15 +
  377.16 +LBL_PASSWORD=\u30d1\u30b9\u30ef\u30fc\u30c9\:
  377.17 +
  377.18 +LBL_HOST=\u30db\u30b9\u30c8\:
  377.19 +
  377.20 +LBL_PORT=\u30dd\u30fc\u30c8\:
  377.21 +
  377.22 +LBL_ADMIN_PORT=\u7ba1\u7406\u30dd\u30fc\u30c8\:
  377.23 +
  377.24 +LBL_PORTAL_URI=\u30dd\u30fc\u30bf\u30eb URI\:
  377.25 +
  377.26 +LBL_JMX_CONNECTOR_PORT=JMX \u30b3\u30cd\u30af\u30bf\u30dd\u30fc\u30c8\:
  377.27 +
  377.28 +LBL_PROVIDER=\u30d7\u30ed\u30d0\u30a4\u30c0
  377.29 +
  377.30 +LBL_CONTAINER=\u30b3\u30f3\u30c6\u30ca
  377.31 +
  377.32 +LBL_OK=\u4e86\u89e3
  377.33 +
  377.34 +LBL_CANCEL=\u53d6\u6d88\u3057
  377.35 +
  377.36 +LBL_APPLY=\u9069\u7528
  377.37 +
  377.38 +LBL_CHANNEL_TYPE=\u30c1\u30e3\u30cd\u30eb\u306e\u7a2e\u985e \: 
  377.39 +
  377.40 +LBL_PROVIDER_CHANNEL=\u30d7\u30ed\u30d0\u30a4\u30c0\u30c1\u30e3\u30cd\u30eb
  377.41 +
  377.42 +LBL_PORTLET_CHANNEL=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30c1\u30e3\u30cd\u30eb
  377.43 +
  377.44 +LBL_CHOOSE_CHANNEL_TYPE=\u30c1\u30e3\u30cd\u30eb\u306e\u7a2e\u985e\u306e\u9078\u629e
  377.45 +
  377.46 +
  377.47 +LBL_Provider=\u30d7\u30ed\u30d0\u30a4\u30c0
  377.48 +
  377.49 +MSG_INVALID_PORTAL_ID=\u7121\u52b9\u306a\u30dd\u30fc\u30bf\u30eb ID \u3067\u3059
  377.50 +
  377.51 +MSG_INVALID_INSTANCE_ID=\u7121\u52b9\u306a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 ID \u3067\u3059
  377.52 +
  377.53 +MSG_INVALID_ADMIN_USER=\u7121\u52b9\u306a\u7ba1\u7406 ID \u3067\u3059
  377.54 +
  377.55 +MSG_INVALID_PORTAL_URI=\u7121\u52b9\u306a\u30dd\u30fc\u30bf\u30eb URI \u3067\u3059
  377.56 +
  377.57 +MSG_INVALID_PORT=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u3067\u3059
  377.58 +
  377.59 +MSG_INVALID_ADMIN_PORT=\u7121\u52b9\u306a\u7ba1\u7406\u30dd\u30fc\u30c8\u3067\u3059
  377.60 +
  377.61 +MSG_INVALID_CONNECTOR_PORT=\u7121\u52b9\u306a JMX \u30b3\u30cd\u30af\u30bf\u30dd\u30fc\u30c8\u3067\u3059
  377.62 +
  377.63 +MSG_INVALID_HOST=\u7121\u52b9\u306a\u30db\u30b9\u30c8\u3067\u3059
  377.64 +
  377.65 +MSG_INVALID_ADMIN_PASSWORD=\u7121\u52b9\u306a\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u3059
  377.66 +LBL_CLASSPATH=\u30af\u30e9\u30b9\u30d1\u30b9
  377.67 +LBL_ADD=\u8ffd\u52a0
  377.68 +LBL_REMOVE=\u524a\u9664
   378.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   378.2 +++ b/portalpack.servers.sunps/l10n/pt_BR/org/netbeans/modules/portalpack/servers/sunps7/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   378.3 @@ -0,0 +1,41 @@
   378.4 +# The contents of this file are subject to the terms of the Common Development
   378.5 +# and Distribution License (the License). You may not use this file except in
   378.6 +# compliance with the License.
   378.7 +# 
   378.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   378.9 +# or http://www.netbeans.org/cddl.txt.
  378.10 +# 
  378.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  378.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  378.13 +# If applicable, add the following below the CDDL Header, with the fields
  378.14 +# enclosed by brackets [] replaced by your own identifying information:
  378.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  378.16 +# 
  378.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  378.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  378.19 +# Microsystems, Inc. All Rights Reserved.
  378.20 +
  378.21 +# Sample ResourceBundle properties file
  378.22 +START_DEPLOY=Deployment iniciado
  378.23 +MSG_DEPLOYED=Implantado com \u00eaxito.
  378.24 +START_UNDEPLOY=Desimplanta\u00e7\u00e3o iniciada.
  378.25 +MSG_UNDEPLOYED=Desimplantado com \u00eaxito
  378.26 +
  378.27 +CTL_AjaxPageCreateAction=Criar p\u00e1gina do Ajax
  378.28 +CTL_InitializeAction=Ajuda
  378.29 +CTL_NetbeansConfigPortalSever=Configurar servidor do portal
  378.30 +CTL_NetbeansCreateWar=Criar war do portlet
  378.31 +CTL_NetbeansDeployPortletAction=Implantar portlet
  378.32 +CTL_NetbeansInitializerComponent=Inicializador
  378.33 +CTL_NetbeansJSR168PortletCreateAction=Novo portlet JSR-168
  378.34 +LBL_CreateProjectStep=Criar um novo projeto de aplicativo do portlet JSR-168
  378.35 +MyLibrary=Minha biblioteca
  378.36 +MyLibrary1=MyLibrary1
  378.37 +OpenIDE-Module-Name=SunPS7
  378.38 +OpenIDE-Module-Short-Description=Plug-in de desenvolvimento do portlet
  378.39 +Templates/Classes/netbeansNewPortlet=Nova classe do portlet
  378.40 +Templates/Classes/netbeansNewPortletClass=Portlet JSR-168
  378.41 +Templates/Classes/newJavaFile=Novo arquivo Java
  378.42 +Templates/Project/J2EE/PortalApplicationProject.zip=Aplicativo do portal JSR-168
  378.43 +Templates/Project/Web/PortletApplicationProject.zip=Aplicativo do portlet JSR-168
  378.44 +
   379.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   379.2 +++ b/portalpack.servers.sunps/l10n/pt_BR/org/netbeans/modules/portalpack/servers/sunps7/impl/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   379.3 @@ -0,0 +1,124 @@
   379.4 +# The contents of this file are subject to the terms of the Common Development
   379.5 +# and Distribution License (the License). You may not use this file except in
   379.6 +# compliance with the License.
   379.7 +# 
   379.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   379.9 +# or http://www.netbeans.org/cddl.txt.
  379.10 +# 
  379.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  379.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  379.13 +# If applicable, add the following below the CDDL Header, with the fields
  379.14 +# enclosed by brackets [] replaced by your own identifying information:
  379.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  379.16 +# 
  379.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  379.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  379.19 +# Microsystems, Inc. All Rights Reserved.
  379.20 +
  379.21 +# Sample ResourceBundle properties file
  379.22 +portlet.errorFindProviderAndPortlet=Erro ao atualizar DP: Falha ao localizar provedor: provider={0}. {1} talvez n\u00e3o tenha sido implantado em: {2}
  379.23 +portlet.errorSetDirty=N\u00e3o \u00e9 poss\u00edvel definir o atributo dirty no perfil de exibi\u00e7\u00e3o
  379.24 +portlet.errorRetrieveDP=Falha ao recuperar DP: DN="{0}".
  379.25 +portlet.errorCreateDPRoot=Falha ao criar DP Root: dn="{0}".
  379.26 +portlet.errorCannotAdd=N\u00e3o \u00e9 poss\u00edvel adicionar {0}.  Use modificar comando em vez disso.
  379.27 +portlet.errorDupDP=DP j\u00e1 existe: dn={0}.  Use remover comando para remover o DP existente antes de adicionar.
  379.28 +portlet.errorCheckDupName=Falha ao verificar nomes duplicados.
  379.29 +portlet.errorDupName=Encontrado nome duplicado.  Usar um nome diferente.
  379.30 +portlet.errorAddProvider=Falha ao adicionar provedor: provider={0}.
  379.31 +portlet.errorFindProvider=Falha ao localizar provedor: provider={0}.
  379.32 +portlet.errorFindProviderAndPortlet=Erro ao atualizar DP: Falha ao localizar provedor: provider={0}. {1} talvez n\u00e3o tenha sido implantado em: {2}
  379.33 +portlet.errorLookupProvider=Erro ao atualizar DP: Falha ao procurar por provedor: provider={0}.
  379.34 +portlet.errorRemoveProvider=Falha ao remover provedor: provider={0}.
  379.35 +portlet.errorCreateDPProvider=Falha ao criar DPProvider.
  379.36 +portlet.errorInvalidXML=Entrada de XML inv\u00e1lida.
  379.37 +portlet.errorInvalidXMLText=Entrada de XML inv\u00e1lida: {0}
  379.38 +portlet.errorStoreDP=Falha ao armazenar perfil de exibi\u00e7\u00e3o.
  379.39 +portlet.errorPortletAlreadyDeployed= "{0}" j\u00e1 est\u00e1 implantado. Desimplante e implante novamente.
  379.40 +MSG_PSConfig_is_NULL=PSConfig \u00e9 NULO
  379.41 +portlet.errorGettingPortalInstances=N\u00e3o foi poss\u00edvel encontrar a inst\u00e2ncia do portal. Verifique InstanceId na configura\u00e7\u00e3o do servidor.
  379.42 +
  379.43 +Error=Erro
  379.44 +
  379.45 +MSG_HOST_IS\ _NULL=host \u00e9 nulo.
  379.46 +
  379.47 +MSG_DomainID_Is_Null.=domainID \u00e9 nulo.
  379.48 +
  379.49 +MSG_UserID_Is_null.=userID \u00e9 nulo.
  379.50 +
  379.51 +MSG_Password_Is_Null=senha \u00e9 nula.
  379.52 +
  379.53 +MSG_PortalID_Is_Null=portalID \u00e9 nulo.
  379.54 +
  379.55 +MSG_Type_Is_Null=tipo \u00e9 nulo.
  379.56 +
  379.57 +MSG_Path_Is_Null=caminho \u00e9 nulo.
  379.58 +
  379.59 +MSG_Path_Cannot_Be_Empty.=o caminho n\u00e3o pode estar vazio.
  379.60 +
  379.61 +domainID_is_null.=domainID \u00e9 nulo.
  379.62 +
  379.63 +MSG_InstanceID_Is_Null.=instanceID \u00e9 nulo.
  379.64 +
  379.65 +MSG_ParentPath_Is_Null.=parentPath \u00e9 nulo.
  379.66 +
  379.67 +MSG_Security_Exception=Exce\u00e7\u00e3o de seguran\u00e7a. N\u00e3o foi poss\u00edvel conectar ao servidor MBean do servidor do portal
  379.68 +
  379.69 +MSG_Error_connecting_MBean_Server=Erro ao conectar ao servidor MBean do servidor do portal. Verifique sua configura\u00e7\u00e3o.
  379.70 +
  379.71 +MSG_Cant_close_JMX_connector=N\u00e3o \u00e9 poss\u00edvel fechar conector JMX 
  379.72 +
  379.73 +MSG_Portlet_Could_not_be_deployed.=N\u00e3o foi poss\u00edvel implantar o portlet.
  379.74 +
  379.75 +MSG_Portlet_Deployed_Successfully=Portlet implantado com \u00eaxito 
  379.76 +
  379.77 +MSG_MBean_Exception=Exce\u00e7\u00e3o de MBean \: 
  379.78 +
  379.79 +MSG_Uploading_file_to_remote_server=Transferindo o arquivo para o servidor remoto 
  379.80 +
  379.81 +MSG_Error_uploading_file_to=Erro ao transferir arquivo para 
  379.82 +
  379.83 +MSG_Error_uploading_file=Erro ao transferir arquivo
  379.84 +
  379.85 +MSG_Start_deploying=Come\u00e7ar a implantar 
  379.86 +
  379.87 +MSG_Error_in_deployment=Erro no deployment 
  379.88 +
  379.89 +MSG_Instance_Not_Found=Inst\u00e2ncia n\u00e3o encontrada \: 
  379.90 +
  379.91 +MSG_Creating_channel=Criando canal 
  379.92 +
  379.93 +MSG_Created_channel=Canal criado 
  379.94 +
  379.95 +MSG_Creating_container=Criando cont\u00eainer 
  379.96 +
  379.97 +MSG_Created_container=Cont\u00eainer criado 
  379.98 +
  379.99 +MSG_Error_setting_tab_name=Erro ao definir o nome da aba
 379.100 +
 379.101 +MSG_Application_is_already_deployed_Want_To_Redeploy=O aplicativo j\u00e1 est\u00e1 implantado. Deseja reimplant\u00e1-lo?
 379.102 +
 379.103 +MSG_Trying_to_undeploy=Tentando desimplantar 
 379.104 +
 379.105 +MSG_Undeployed_successfully= desimplantado com \u00eaxito
 379.106 +
 379.107 +MSG_Unable_to_undeploy_the_app=Imposs\u00edvel desimplantar o aplicativo  
 379.108 +
 379.109 +MSG_Deleting_container=Excluindo cont\u00eainer 
 379.110 +
 379.111 +MSG_from=de 
 379.112 +
 379.113 +Error_=Erro 
 379.114 +
 379.115 +MSG_Error_creating_channel=Erro ao criar canal
 379.116 +
 379.117 +MSG_Error_getting_Authless_user_for=Erro ao obter usu\u00e1rio Authless para 
 379.118 +
 379.119 +MSG_Portlet_Channel_is_created=O  canal do portlet foi criado
 379.120 +
 379.121 +LBL_INVALID_JMX_PORT=Porta do conector JMX inv\u00e1lida
 379.122 +
 379.123 +LBL_Provider=Provedor
 379.124 +
 379.125 +LBL_Channel=Canal
 379.126 +
 379.127 +LBL_Create_a_channel=Criar canal A
   380.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   380.2 +++ b/portalpack.servers.sunps/l10n/pt_BR/org/netbeans/modules/portalpack/servers/sunps7/resources/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   380.3 @@ -0,0 +1,21 @@
   380.4 +# The contents of this file are subject to the terms of the Common Development
   380.5 +# and Distribution License (the License). You may not use this file except in
   380.6 +# compliance with the License.
   380.7 +# 
   380.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   380.9 +# or http://www.netbeans.org/cddl.txt.
  380.10 +# 
  380.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  380.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  380.13 +# If applicable, add the following below the CDDL Header, with the fields
  380.14 +# enclosed by brackets [] replaced by your own identifying information:
  380.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  380.16 +# 
  380.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  380.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  380.19 +# Microsystems, Inc. All Rights Reserved.
  380.20 +
  380.21 +OpenIDE-Module-Display-Category=PortalPack
  380.22 +OpenIDE-Module-Long-Description=Este plug-in fornece suporte para o deployment/undeployment de aplicativos do portlet no Sun Java System Portal Server 7.x diretamente a partir do Netbeans IDE. Ele tamb\u00e9m fornece recursos avan\u00e7ados para o gerenciamento do portal.
  380.23 +OpenIDE-Module-Name=Sun Java System Portal Server 7.x
  380.24 +OpenIDE-Module-Short-Description=Plug-in para Sun Java System Portal Server 7.x
   381.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   381.2 +++ b/portalpack.servers.sunps/l10n/pt_BR/org/netbeans/modules/portalpack/servers/sunps7/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   381.3 @@ -0,0 +1,65 @@
   381.4 +# Sample ResourceBundle properties file
   381.5 +
   381.6 +LBL_SUN_JAVA_SYSTEM_PORTAL_SERVER_CONFIGURATION=Configura\u00e7\u00e3o do Sun Java System Portal Server 7.x
   381.7 +
   381.8 +LBL_SUN_PS=Sun PS 7.x
   381.9 +
  381.10 +LBL_PORTAL_ID=Id do portal\:
  381.11 +
  381.12 +LBL_INSTANCE_ID=Id da inst\u00e2ncia\:
  381.13 +
  381.14 +LBL_ADMIN_USER=Usu\u00e1rio admin\:
  381.15 +
  381.16 +LBL_PASSWORD=Senha\:
  381.17 +
  381.18 +LBL_HOST=Endere\u00e7o\:
  381.19 +
  381.20 +LBL_PORT=Porta\:
  381.21 +
  381.22 +LBL_ADMIN_PORT=Porta admin\:
  381.23 +
  381.24 +LBL_PORTAL_URI=Uri do portal\:
  381.25 +
  381.26 +LBL_JMX_CONNECTOR_PORT=Porta do conector Jmx\:
  381.27 +
  381.28 +LBL_PROVIDER=Provedor
  381.29 +
  381.30 +LBL_CONTAINER=Cont\u00eainer
  381.31 +
  381.32 +LBL_OK=Ok
  381.33 +
  381.34 +LBL_CANCEL=Cancelar
  381.35 +
  381.36 +LBL_APPLY=Aplicar
  381.37 +
  381.38 +LBL_CHANNEL_TYPE=Tipo de canal \: 
  381.39 +
  381.40 +LBL_PROVIDER_CHANNEL=Canal do provedor
  381.41 +
  381.42 +LBL_PORTLET_CHANNEL=Canal do portlet
  381.43 +
  381.44 +LBL_CHOOSE_CHANNEL_TYPE=Escolher tipo de canal
  381.45 +
  381.46 +
  381.47 +LBL_Provider=Provedor
  381.48 +
  381.49 +MSG_INVALID_PORTAL_ID=Id do portal inv\u00e1lido
  381.50 +
  381.51 +MSG_INVALID_INSTANCE_ID=Id da inst\u00e2ncia inv\u00e1lido
  381.52 +
  381.53 +MSG_INVALID_ADMIN_USER=Id admin inv\u00e1lido
  381.54 +
  381.55 +MSG_INVALID_PORTAL_URI=Uri do portal inv\u00e1lido
  381.56 +
  381.57 +MSG_INVALID_PORT=Porta inv\u00e1lida
  381.58 +
  381.59 +MSG_INVALID_ADMIN_PORT=Porta admin inv\u00e1lida
  381.60 +
  381.61 +MSG_INVALID_CONNECTOR_PORT=Porta do conector JMX inv\u00e1lida
  381.62 +
  381.63 +MSG_INVALID_HOST=Host inv\u00e1lido
  381.64 +
  381.65 +MSG_INVALID_ADMIN_PASSWORD=Senha inv\u00e1lida
  381.66 +LBL_CLASSPATH=ClassPath
  381.67 +LBL_ADD=Adicionar
  381.68 +LBL_REMOVE=Remover
   382.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   382.2 +++ b/portalpack.servers.sunps/l10n/zh_CN/org/netbeans/modules/portalpack/servers/sunps7/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   382.3 @@ -0,0 +1,41 @@
   382.4 +# The contents of this file are subject to the terms of the Common Development
   382.5 +# and Distribution License (the License). You may not use this file except in
   382.6 +# compliance with the License.
   382.7 +# 
   382.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   382.9 +# or http://www.netbeans.org/cddl.txt.
  382.10 +# 
  382.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  382.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  382.13 +# If applicable, add the following below the CDDL Header, with the fields
  382.14 +# enclosed by brackets [] replaced by your own identifying information:
  382.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  382.16 +# 
  382.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  382.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  382.19 +# Microsystems, Inc. All Rights Reserved.
  382.20 +
  382.21 +# Sample ResourceBundle properties file
  382.22 +START_DEPLOY=\u5df2\u5f00\u59cb\u90e8\u7f72
  382.23 +MSG_DEPLOYED=\u5df2\u6210\u529f\u90e8\u7f72\u3002
  382.24 +START_UNDEPLOY=\u5df2\u5f00\u59cb\u53d6\u6d88\u90e8\u7f72\u3002
  382.25 +MSG_UNDEPLOYED=\u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72
  382.26 +
  382.27 +CTL_AjaxPageCreateAction=\u521b\u5efa Ajax \u9875
  382.28 +CTL_InitializeAction=\u5e2e\u52a9
  382.29 +CTL_NetbeansConfigPortalSever=\u914d\u7f6e\u95e8\u6237\u670d\u52a1\u5668
  382.30 +CTL_NetbeansCreateWar=\u521b\u5efa Portlet WAR
  382.31 +CTL_NetbeansDeployPortletAction=\u90e8\u7f72 Portlet
  382.32 +CTL_NetbeansInitializerComponent=\u521d\u59cb\u5316\u51fd\u6570
  382.33 +CTL_NetbeansJSR168PortletCreateAction=\u65b0\u5efa JSR-168 Portlet
  382.34 +LBL_CreateProjectStep=\u521b\u5efa\u65b0\u7684 JSR-168 Portlet \u5e94\u7528\u7a0b\u5e8f\u9879\u76ee
  382.35 +MyLibrary=MyLibrary
  382.36 +MyLibrary1=MyLibrary1
  382.37 +OpenIDE-Module-Name=SunPS7
  382.38 +OpenIDE-Module-Short-Description=Portlet \u5f00\u53d1\u63d2\u4ef6
  382.39 +Templates/Classes/netbeansNewPortlet=\u65b0\u5efa Portlet \u7c7b
  382.40 +Templates/Classes/netbeansNewPortletClass=JSR-168 Portlet
  382.41 +Templates/Classes/newJavaFile=\u65b0\u5efa Java \u6587\u4ef6
  382.42 +Templates/Project/J2EE/PortalApplicationProject.zip=JSR-168 \u95e8\u6237\u5e94\u7528\u7a0b\u5e8f
  382.43 +Templates/Project/Web/PortletApplicationProject.zip=JSR-168 Portlet \u5e94\u7528\u7a0b\u5e8f
  382.44 +
   383.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   383.2 +++ b/portalpack.servers.sunps/l10n/zh_CN/org/netbeans/modules/portalpack/servers/sunps7/impl/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   383.3 @@ -0,0 +1,124 @@
   383.4 +# The contents of this file are subject to the terms of the Common Development
   383.5 +# and Distribution License (the License). You may not use this file except in
   383.6 +# compliance with the License.
   383.7 +# 
   383.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   383.9 +# or http://www.netbeans.org/cddl.txt.
  383.10 +# 
  383.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  383.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  383.13 +# If applicable, add the following below the CDDL Header, with the fields
  383.14 +# enclosed by brackets [] replaced by your own identifying information:
  383.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  383.16 +# 
  383.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  383.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  383.19 +# Microsystems, Inc. All Rights Reserved.
  383.20 +
  383.21 +# Sample ResourceBundle properties file
  383.22 +portlet.errorFindProviderAndPortlet=\u66f4\u65b0 DP \u65f6\u51fa\u9519\uff1a\u627e\u4e0d\u5230\u63d0\u4f9b\u5668\uff1a\u63d0\u4f9b\u5668={0}\u3002\u53ef\u80fd\u5c1a\u672a\u5728\u4ee5\u4e0b DN \u4e2d\u90e8\u7f72 {1}\uff1a{2}
  383.23 +portlet.errorSetDirty=\u65e0\u6cd5\u5728\u663e\u793a\u914d\u7f6e\u6587\u4ef6\u4e2d\u5c06\u5c5e\u6027\u8bbe\u7f6e\u4e3a dirty
  383.24 +portlet.errorRetrieveDP=\u65e0\u6cd5\u68c0\u7d22 DP\uff1aDN="{0}"\u3002
  383.25 +portlet.errorCreateDPRoot=\u65e0\u6cd5\u521b\u5efa DP \u6839\u76ee\u5f55\uff1adn="{0}"\u3002
  383.26 +portlet.errorCannotAdd=\u65e0\u6cd5\u6dfb\u52a0 {0}\u3002\u8bf7\u6539\u7528\u4fee\u6539\u547d\u4ee4\u3002
  383.27 +portlet.errorDupDP=DP \u5df2\u5b58\u5728\uff1adn={0}\u3002\u8bf7\u5148\u4f7f\u7528\u5220\u9664\u547d\u4ee4\u5220\u9664\u73b0\u6709\u7684 DP\uff0c\u7136\u540e\u518d\u8fdb\u884c\u6dfb\u52a0\u3002
  383.28 +portlet.errorCheckDupName=\u65e0\u6cd5\u68c0\u67e5\u91cd\u590d\u7684\u540d\u79f0\u3002
  383.29 +portlet.errorDupName=\u53d1\u73b0\u91cd\u590d\u7684\u540d\u79f0\u3002\u8bf7\u4f7f\u7528\u4e0d\u540c\u7684\u540d\u79f0\u3002
  383.30 +portlet.errorAddProvider=\u65e0\u6cd5\u6dfb\u52a0\u63d0\u4f9b\u5668\uff1a\u63d0\u4f9b\u5668={0}\u3002
  383.31 +portlet.errorFindProvider=\u627e\u4e0d\u5230\u63d0\u4f9b\u5668\uff1a\u63d0\u4f9b\u5668={0}\u3002
  383.32 +portlet.errorFindProviderAndPortlet=\u66f4\u65b0 DP \u65f6\u51fa\u9519\uff1a\u627e\u4e0d\u5230\u63d0\u4f9b\u5668\uff1a\u63d0\u4f9b\u5668={0}\u3002\u53ef\u80fd\u5c1a\u672a\u5728\u4ee5\u4e0b DN \u4e2d\u90e8\u7f72 {1}\uff1a{2}
  383.33 +portlet.errorLookupProvider=\u66f4\u65b0 DP \u65f6\u51fa\u9519\uff1a\u65e0\u6cd5\u67e5\u627e\u63d0\u4f9b\u5668\uff1a\u63d0\u4f9b\u5668={0}\u3002
  383.34 +portlet.errorRemoveProvider=\u65e0\u6cd5\u5220\u9664\u63d0\u4f9b\u5668\uff1a\u63d0\u4f9b\u5668={0}\u3002
  383.35 +portlet.errorCreateDPProvider=\u65e0\u6cd5\u521b\u5efa DP \u63d0\u4f9b\u5668\u3002
  383.36 +portlet.errorInvalidXML=XML \u8f93\u5165\u65e0\u6548\u3002
  383.37 +portlet.errorInvalidXMLText=XML \u8f93\u5165\u65e0\u6548\uff1a{0}
  383.38 +portlet.errorStoreDP=\u65e0\u6cd5\u5b58\u50a8\u663e\u793a\u914d\u7f6e\u6587\u4ef6\u3002
  383.39 +portlet.errorPortletAlreadyDeployed= \u5df2\u90e8\u7f72 "{0}"\u3002\u8bf7\u5148\u5c06\u5176\u53d6\u6d88\u90e8\u7f72\uff0c\u7136\u540e\u518d\u91cd\u65b0\u90e8\u7f72\u3002
  383.40 +MSG_PSConfig_is_NULL=PSConfig \u4e3a NULL
  383.41 +portlet.errorGettingPortalInstances=\u627e\u4e0d\u5230\u95e8\u6237\u5b9e\u4f8b\u3002\u8bf7\u68c0\u67e5\u670d\u52a1\u5668\u914d\u7f6e\u4e2d\u7684\u5b9e\u4f8b ID\u3002
  383.42 +
  383.43 +Error=\u9519\u8bef
  383.44 +
  383.45 +MSG_HOST_IS\ _NULL=\u4e3b\u673a\u4e3a null\u3002
  383.46 +
  383.47 +MSG_DomainID_Is_Null.=\u57df ID \u4e3a null\u3002
  383.48 +
  383.49 +MSG_UserID_Is_null.=\u7528\u6237 ID \u4e3a null\u3002
  383.50 +
  383.51 +MSG_Password_Is_Null=\u53e3\u4ee4\u4e3a null\u3002
  383.52 +
  383.53 +MSG_PortalID_Is_Null=\u95e8\u6237 ID \u4e3a null\u3002
  383.54 +
  383.55 +MSG_Type_Is_Null=\u7c7b\u578b\u4e3a null\u3002
  383.56 +
  383.57 +MSG_Path_Is_Null=\u8def\u5f84\u4e3a null\u3002
  383.58 +
  383.59 +MSG_Path_Cannot_Be_Empty.=\u8def\u5f84\u4e0d\u80fd\u4e3a\u7a7a\u3002
  383.60 +
  383.61 +domainID_is_null.=\u57df ID \u4e3a null\u3002
  383.62 +
  383.63 +MSG_InstanceID_Is_Null.=\u5b9e\u4f8b ID \u4e3a null\u3002
  383.64 +
  383.65 +MSG_ParentPath_Is_Null.=\u7236\u8def\u5f84\u4e3a null\u3002
  383.66 +
  383.67 +MSG_Security_Exception=\u5b89\u5168\u5f02\u5e38\u3002\u65e0\u6cd5\u8fde\u63a5\u5230\u95e8\u6237\u670d\u52a1\u5668\u7684 MBean \u670d\u52a1\u5668
  383.68 +
  383.69 +MSG_Error_connecting_MBean_Server=\u8fde\u63a5\u95e8\u6237\u670d\u52a1\u5668\u7684 MBean \u670d\u52a1\u5668\u65f6\u51fa\u9519\u3002\u8bf7\u68c0\u67e5\u914d\u7f6e\u3002
  383.70 +
  383.71 +MSG_Cant_close_JMX_connector=\u65e0\u6cd5\u5173\u95ed JMX \u8fde\u63a5\u5668
  383.72 +
  383.73 +MSG_Portlet_Could_not_be_deployed.=\u65e0\u6cd5\u90e8\u7f72 Portlet\u3002
  383.74 +
  383.75 +MSG_Portlet_Deployed_Successfully=\u5df2\u6210\u529f\u90e8\u7f72 Portlet 
  383.76 +
  383.77 +MSG_MBean_Exception=MBean \u5f02\u5e38\uff1a 
  383.78 +
  383.79 +MSG_Uploading_file_to_remote_server=\u5c06\u6587\u4ef6\u4e0a\u8f7d\u5230\u8fdc\u7a0b\u670d\u52a1\u5668 
  383.80 +
  383.81 +MSG_Error_uploading_file_to=\u5c06\u6587\u4ef6\u4e0a\u8f7d\u5230\u4ee5\u4e0b\u4f4d\u7f6e\u65f6\u51fa\u9519 
  383.82 +
  383.83 +MSG_Error_uploading_file=\u4e0a\u8f7d\u6587\u4ef6\u65f6\u51fa\u9519
  383.84 +
  383.85 +MSG_Start_deploying=\u5f00\u59cb\u90e8\u7f72 
  383.86 +
  383.87 +MSG_Error_in_deployment=\u90e8\u7f72\u65f6\u51fa\u9519 
  383.88 +
  383.89 +MSG_Instance_Not_Found=\u627e\u4e0d\u5230\u5b9e\u4f8b\uff1a 
  383.90 +
  383.91 +MSG_Creating_channel=\u521b\u5efa\u901a\u9053 
  383.92 +
  383.93 +MSG_Created_channel=\u5df2\u521b\u5efa\u901a\u9053 
  383.94 +
  383.95 +MSG_Creating_container=\u521b\u5efa\u5bb9\u5668 
  383.96 +
  383.97 +MSG_Created_container=\u5df2\u521b\u5efa\u5bb9\u5668 
  383.98 +
  383.99 +MSG_Error_setting_tab_name=\u8bbe\u7f6e\u6807\u7b7e\u540d\u79f0\u65f6\u51fa\u9519
 383.100 +
 383.101 +MSG_Application_is_already_deployed_Want_To_Redeploy=\u5df2\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u3002\u662f\u5426\u8981\u91cd\u65b0\u90e8\u7f72\uff1f
 383.102 +
 383.103 +MSG_Trying_to_undeploy=\u5c1d\u8bd5\u53d6\u6d88\u90e8\u7f72 
 383.104 +
 383.105 +MSG_Undeployed_successfully= \u5df2\u6210\u529f\u53d6\u6d88\u90e8\u7f72
 383.106 +
 383.107 +MSG_Unable_to_undeploy_the_app=\u65e0\u6cd5\u53d6\u6d88\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f  
 383.108 +
 383.109 +MSG_Deleting_container=\u5220\u9664\u5bb9\u5668 
 383.110 +
 383.111 +MSG_from=\u6765\u6e90 
 383.112 +
 383.113 +Error_=\u9519\u8bef 
 383.114 +
 383.115 +MSG_Error_creating_channel=\u521b\u5efa\u901a\u9053\u65f6\u51fa\u9519
 383.116 +
 383.117 +MSG_Error_getting_Authless_user_for=\u83b7\u53d6 Authless \u7528\u6237\u65f6\u51fa\u9519 
 383.118 +
 383.119 +MSG_Portlet_Channel_is_created=\u5df2\u521b\u5efa Portlet \u901a\u9053
 383.120 +
 383.121 +LBL_INVALID_JMX_PORT=JMX \u8fde\u63a5\u5668\u7aef\u53e3\u65e0\u6548
 383.122 +
 383.123 +LBL_Provider=\u63d0\u4f9b\u5668
 383.124 +
 383.125 +LBL_Channel=\u901a\u9053
 383.126 +
 383.127 +LBL_Create_a_channel=\u521b\u5efa\u901a\u9053
   384.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   384.2 +++ b/portalpack.servers.sunps/l10n/zh_CN/org/netbeans/modules/portalpack/servers/sunps7/resources/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   384.3 @@ -0,0 +1,21 @@
   384.4 +# The contents of this file are subject to the terms of the Common Development
   384.5 +# and Distribution License (the License). You may not use this file except in
   384.6 +# compliance with the License.
   384.7 +# 
   384.8 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   384.9 +# or http://www.netbeans.org/cddl.txt.
  384.10 +# 
  384.11 +# When distributing Covered Code, include this CDDL Header Notice in each file
  384.12 +# and include the License file at http://www.netbeans.org/cddl.txt.
  384.13 +# If applicable, add the following below the CDDL Header, with the fields
  384.14 +# enclosed by brackets [] replaced by your own identifying information:
  384.15 +# "Portions Copyrighted [year] [name of copyright owner]"
  384.16 +# 
  384.17 +# The Original Software is NetBeans. The Initial Developer of the Original
  384.18 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  384.19 +# Microsystems, Inc. All Rights Reserved.
  384.20 +
  384.21 +OpenIDE-Module-Display-Category=PortalPack
  384.22 +OpenIDE-Module-Long-Description=\u6b64\u63d2\u4ef6\u652f\u6301\u76f4\u63a5\u901a\u8fc7 NetBeans IDE \u5728 Sun Java System Portal Server 7.x \u4e0a\u90e8\u7f72/\u53d6\u6d88\u90e8\u7f72 Portlet \u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u9ad8\u7ea7\u95e8\u6237\u7ba1\u7406\u529f\u80fd\u3002
  384.23 +OpenIDE-Module-Name=Sun Java System Portal Server 7.x
  384.24 +OpenIDE-Module-Short-Description=Sun Java System Portal Server 7.x \u63d2\u4ef6
   385.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   385.2 +++ b/portalpack.servers.sunps/l10n/zh_CN/org/netbeans/modules/portalpack/servers/sunps7/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   385.3 @@ -0,0 +1,65 @@
   385.4 +# Sample ResourceBundle properties file
   385.5 +
   385.6 +LBL_SUN_JAVA_SYSTEM_PORTAL_SERVER_CONFIGURATION=Sun Java System Portal Server 7.x \u914d\u7f6e
   385.7 +
   385.8 +LBL_SUN_PS=Sun PS 7.x
   385.9 +
  385.10 +LBL_PORTAL_ID=\u95e8\u6237 ID\uff1a
  385.11 +
  385.12 +LBL_INSTANCE_ID=\u5b9e\u4f8b ID\uff1a
  385.13 +
  385.14 +LBL_ADMIN_USER=\u7ba1\u7406\u5458\u7528\u6237\uff1a
  385.15 +
  385.16 +LBL_PASSWORD=\u53e3\u4ee4\uff1a
  385.17 +
  385.18 +LBL_HOST=\u4e3b\u673a\uff1a
  385.19 +
  385.20 +LBL_PORT=\u7aef\u53e3\uff1a
  385.21 +
  385.22 +LBL_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\uff1a
  385.23 +
  385.24 +LBL_PORTAL_URI=\u95e8\u6237 URI\uff1a
  385.25 +
  385.26 +LBL_JMX_CONNECTOR_PORT=JMX \u8fde\u63a5\u5668\u7aef\u53e3\uff1a
  385.27 +
  385.28 +LBL_PROVIDER=\u63d0\u4f9b\u5668
  385.29 +
  385.30 +LBL_CONTAINER=\u5bb9\u5668
  385.31 +
  385.32 +LBL_OK=\u786e\u5b9a
  385.33 +
  385.34 +LBL_CANCEL=\u53d6\u6d88
  385.35 +
  385.36 +LBL_APPLY=\u5e94\u7528
  385.37 +
  385.38 +LBL_CHANNEL_TYPE=\u901a\u9053\u7c7b\u578b\uff1a 
  385.39 +
  385.40 +LBL_PROVIDER_CHANNEL=\u63d0\u4f9b\u5668\u901a\u9053
  385.41 +
  385.42 +LBL_PORTLET_CHANNEL=Portlet \u901a\u9053
  385.43 +
  385.44 +LBL_CHOOSE_CHANNEL_TYPE=\u9009\u62e9\u901a\u9053\u7c7b\u578b
  385.45 +
  385.46 +
  385.47 +LBL_Provider=\u63d0\u4f9b\u5668
  385.48 +
  385.49 +MSG_INVALID_PORTAL_ID=\u95e8\u6237 ID \u65e0\u6548
  385.50 +
  385.51 +MSG_INVALID_INSTANCE_ID=\u5b9e\u4f8b ID \u65e0\u6548
  385.52 +
  385.53 +MSG_INVALID_ADMIN_USER=\u7ba1\u7406 ID \u65e0\u6548
  385.54 +
  385.55 +MSG_INVALID_PORTAL_URI=\u95e8\u6237 URI \u65e0\u6548
  385.56 +
  385.57 +MSG_INVALID_PORT=\u7aef\u53e3\u65e0\u6548
  385.58 +
  385.59 +MSG_INVALID_ADMIN_PORT=\u7ba1\u7406\u7aef\u53e3\u65e0\u6548
  385.60 +
  385.61 +MSG_INVALID_CONNECTOR_PORT=JMX \u8fde\u63a5\u5668\u7aef\u53e3\u65e0\u6548
  385.62 +
  385.63 +MSG_INVALID_HOST=\u4e3b\u673a\u65e0\u6548
  385.64 +
  385.65 +MSG_INVALID_ADMIN_PASSWORD=\u53e3\u4ee4\u65e0\u6548
  385.66 +LBL_CLASSPATH=\u7c7b\u8def\u5f84
  385.67 +LBL_ADD=\u6dfb\u52a0
  385.68 +LBL_REMOVE=\u5220\u9664
   386.1 --- a/portalpack.visualweb/l10n/build.xml	Thu Jul 10 19:13:29 2008 +0800
   386.2 +++ b/portalpack.visualweb/l10n/build.xml	Thu Jul 10 19:50:39 2008 +0800
   386.3 @@ -49,6 +49,14 @@
   386.4         
   386.5           </copy>
   386.6       </target>
   386.7 +	 
   386.8 +	 <target name="copyL10n">
   386.9 +		 <echo message="${l10n.src.dir}"/>
  386.10 +		 <copy todir=".">
  386.11 +			<fileset dir="${l10n.src.dir}"/>			
  386.12 +			<mapper type="glob" from="src" to="l10n/${locale}"/>
  386.13 +		 </copy>
  386.14 +	 </target>
  386.15  
  386.16        
  386.17  </project>
   387.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   387.2 +++ b/portalpack.visualweb/l10n/ja/org/netbeans/modules/portalpack/visualweb/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   387.3 @@ -0,0 +1,46 @@
   387.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   387.5 +#
   387.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   387.7 +#
   387.8 +# The contents of this file are subject to the terms of either the GNU
   387.9 +# General Public License Version 2 only ("GPL") or the Common
  387.10 +# Development and Distribution License("CDDL") (collectively, the
  387.11 +# "License"). You may not use this file except in compliance with the
  387.12 +# License. You can obtain a copy of the License at
  387.13 +# http://www.netbeans.org/cddl-gplv2.html
  387.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  387.15 +# specific language governing permissions and limitations under the
  387.16 +# License.  When distributing the software, include this License Header
  387.17 +# Notice in each file and include the License file at
  387.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  387.19 +# particular file as subject to the "Classpath" exception as provided
  387.20 +# by Sun in the GPL Version 2 section of the License file that
  387.21 +# accompanied this code. If applicable, add the following below the
  387.22 +# License Header, with the fields enclosed by brackets [] replaced by
  387.23 +# your own identifying information:
  387.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  387.25 +#
  387.26 +# Contributor(s):
  387.27 +#
  387.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  387.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  387.30 +# Microsystems, Inc. All Rights Reserved.
  387.31 +#
  387.32 +# If you wish your version of this file to be governed by only the CDDL
  387.33 +# or only the GPL Version 2, indicate your decision by adding
  387.34 +# "[Contributor] elects to include this software in this distribution
  387.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  387.36 +# single choice of license, a recipient has the option to distribute
  387.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  387.38 +# to extend the choice of license to its licensees as provided above.
  387.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  387.40 +# Version 2 license, then the option applies only if the new code is
  387.41 +# made subject to such option by the copyright holder.
  387.42 +
  387.43 +OpenIDE-Module-Display-Category=PortalPack
  387.44 +OpenIDE-Module-Long-Description=\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u958b\u767a\u8005\u306f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092 WYSIWYG \u30d3\u30b8\u30e5\u30a2\u30eb\u30a8\u30c7\u30a3\u30bf\u4e0a\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001NetBeans \u3067 JSF \u30d9\u30fc\u30b9\u306e\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u3059\u3070\u3084\u304f\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002
  387.45 +OpenIDE-Module-Name=Visual Web JSF \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8
  387.46 +
  387.47 +Templates/JSF/PortletPage.jsp=Visual Web JSF \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u30da\u30fc\u30b8
  387.48 +Templates/JSF/PortletPage.java=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30d0\u30c3\u30ad\u30f3\u30b0 Java \u30d5\u30a1\u30a4\u30eb
  387.49 +
   388.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   388.2 +++ b/portalpack.visualweb/l10n/ja/org/netbeans/modules/portalpack/visualweb/actions/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   388.3 @@ -0,0 +1,58 @@
   388.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   388.5 +#
   388.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   388.7 +#
   388.8 +# The contents of this file are subject to the terms of either the GNU
   388.9 +# General Public License Version 2 only ("GPL") or the Common
  388.10 +# Development and Distribution License("CDDL") (collectively, the
  388.11 +# "License"). You may not use this file except in compliance with the
  388.12 +# License. You can obtain a copy of the License at
  388.13 +# http://www.netbeans.org/cddl-gplv2.html
  388.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  388.15 +# specific language governing permissions and limitations under the
  388.16 +# License.  When distributing the software, include this License Header
  388.17 +# Notice in each file and include the License file at
  388.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  388.19 +# particular file as subject to the "Classpath" exception as provided
  388.20 +# by Sun in the GPL Version 2 section of the License file that
  388.21 +# accompanied this code. If applicable, add the following below the
  388.22 +# License Header, with the fields enclosed by brackets [] replaced by
  388.23 +# your own identifying information:
  388.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  388.25 +#
  388.26 +# Contributor(s):
  388.27 +#
  388.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  388.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  388.30 +# Microsystems, Inc. All Rights Reserved.
  388.31 +#
  388.32 +# If you wish your version of this file to be governed by only the CDDL
  388.33 +# or only the GPL Version 2, indicate your decision by adding
  388.34 +# "[Contributor] elects to include this software in this distribution
  388.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  388.36 +# single choice of license, a recipient has the option to distribute
  388.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  388.38 +# to extend the choice of license to its licensees as provided above.
  388.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  388.40 +# Version 2 license, then the option applies only if the new code is
  388.41 +# made subject to such option by the copyright holder.
  388.42 +
  388.43 +
  388.44 +# SetStartPageAction
  388.45 +LBL_SetAsStartPage=\u958b\u59cb\u30da\u30fc\u30b8\u3068\u3057\u3066\u8a2d\u5b9a
  388.46 +LBL_SetInitalPageAction_SETINITIALVIEWPAGE=\u521d\u671f\u30da\u30fc\u30b8\u3068\u3057\u3066\u8a2d\u5b9a
  388.47 +LBL_InitialViewShortDesc=\u521d\u671f\u30d3\u30e5\u30fc\u30da\u30fc\u30b8
  388.48 +LBL_InitialEditShortDesc=\u521d\u671f\u7de8\u96c6\u30da\u30fc\u30b8
  388.49 +LBL_InitialHelpShortDesc=\u521d\u671f\u30d8\u30eb\u30d7\u30da\u30fc\u30b8
  388.50 +MSG_StartPageChanged=\u958b\u59cb\u30da\u30fc\u30b8\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u8a2d\u5b9a\u5148\:
  388.51 +MSG_NoStartPage=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u59cb\u30da\u30fc\u30b8\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002
  388.52 +MSG_UnableToSetDefaultIcon=\u30c7\u30d5\u30a9\u30eb\u30c8\u30a2\u30a4\u30b3\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u30d5\u30a1\u30a4\u30eb {0} \u306e\u30c7\u30fc\u30bf\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
  388.53 +MNU_VIEWMODE=\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u30da\u30fc\u30b8
  388.54 +MNU_EDITMODE=\u7de8\u96c6\u30e2\u30fc\u30c9\u30da\u30fc\u30b8
  388.55 +MNU_HELPMODE=\u30d8\u30eb\u30d7\u30e2\u30fc\u30c9\u30da\u30fc\u30b8
  388.56 +MNU_NONEMODE=\u521d\u671f\u30da\u30fc\u30b8\u306a\u3057
  388.57 +MNE_VIEWMODE=V
  388.58 +MNE_EDITMODE=E
  388.59 +MNE_HELPMODE=H
  388.60 +MNE_NONEMODE=N
  388.61 +
   389.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   389.2 +++ b/portalpack.visualweb/l10n/ja/org/netbeans/modules/portalpack/visualweb/templates/WebFormTemplateHelp_ja.html	Thu Jul 10 19:50:39 2008 +0800
   389.3 @@ -0,0 +1,52 @@
   389.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   389.5 +<!--
   389.6 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   389.7 +
   389.8 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   389.9 +
  389.10 +
  389.11 +The contents of this file are subject to the terms of either the GNU
  389.12 +General Public License Version 2 only ("GPL") or the Common
  389.13 +Development and Distribution License("CDDL") (collectively, the
  389.14 +"License"). You may not use this file except in compliance with the
  389.15 +License. You can obtain a copy of the License at
  389.16 +http://www.netbeans.org/cddl-gplv2.html
  389.17 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  389.18 +specific language governing permissions and limitations under the
  389.19 +License.  When distributing the software, include this License Header
  389.20 +Notice in each file and include the License file at
  389.21 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  389.22 +particular file as subject to the "Classpath" exception as provided
  389.23 +by Sun in the GPL Version 2 section of the License file that
  389.24 +accompanied this code. If applicable, add the following below the
  389.25 +License Header, with the fields enclosed by brackets [] replaced by
  389.26 +your own identifying information:
  389.27 +"Portions Copyrighted [year] [name of copyright owner]"
  389.28 +
  389.29 +Contributor(s):
  389.30 +
  389.31 +The Original Software is NetBeans. The Initial Developer of the Original
  389.32 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  389.33 +Microsystems, Inc. All Rights Reserved.
  389.34 +
  389.35 +If you wish your version of this file to be governed by only the CDDL
  389.36 +or only the GPL Version 2, indicate your decision by adding
  389.37 +"[Contributor] elects to include this software in this distribution
  389.38 +under the [CDDL or GPL Version 2] license." If you do not indicate a
  389.39 +single choice of license, a recipient has the option to distribute
  389.40 +your version of this file under either the CDDL, the GPL Version 2 or
  389.41 +to extend the choice of license to its licensees as provided above.
  389.42 +However, if you add GPL Version 2 code and therefore, elected the GPL
  389.43 +Version 2 license, then the option applies only if the new code is
  389.44 +made subject to such option by the copyright holder.
  389.45 +-->
  389.46 +
  389.47 +
  389.48 +<HTML>
  389.49 +<head>
  389.50 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  389.51 +</head>
  389.52 +<BODY>
  389.53 +   ã“ã®ãƒ†ãƒ³ãƒ—レートを利用ã—ã¦ã€æ–°ã—ã„空㮠Web ページを作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚パレットã‹ã‚‰ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆã‚’ドラッグã™ã‚‹ã“ã¨ã§ãƒšãƒ¼ã‚¸ã‚’デザインã—ã¾ã™ã€‚
  389.54 +</BODY>
  389.55 +</HTML>
   390.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   390.2 +++ b/portalpack.visualweb/l10n/ja/org/netbeans/modules/portalpack/visualweb/templates/pageJavaTemplateHelp_ja.html	Thu Jul 10 19:50:39 2008 +0800
   390.3 @@ -0,0 +1,52 @@
   390.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   390.5 +<!--
   390.6 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   390.7 +
   390.8 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   390.9 +
  390.10 +
  390.11 +The contents of this file are subject to the terms of either the GNU
  390.12 +General Public License Version 2 only ("GPL") or the Common
  390.13 +Development and Distribution License("CDDL") (collectively, the
  390.14 +"License"). You may not use this file except in compliance with the
  390.15 +License. You can obtain a copy of the License at
  390.16 +http://www.netbeans.org/cddl-gplv2.html
  390.17 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  390.18 +specific language governing permissions and limitations under the
  390.19 +License.  When distributing the software, include this License Header
  390.20 +Notice in each file and include the License file at
  390.21 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  390.22 +particular file as subject to the "Classpath" exception as provided
  390.23 +by Sun in the GPL Version 2 section of the License file that
  390.24 +accompanied this code. If applicable, add the following below the
  390.25 +License Header, with the fields enclosed by brackets [] replaced by
  390.26 +your own identifying information:
  390.27 +"Portions Copyrighted [year] [name of copyright owner]"
  390.28 +
  390.29 +Contributor(s):
  390.30 +
  390.31 +The Original Software is NetBeans. The Initial Developer of the Original
  390.32 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  390.33 +Microsystems, Inc. All Rights Reserved.
  390.34 +
  390.35 +If you wish your version of this file to be governed by only the CDDL
  390.36 +or only the GPL Version 2, indicate your decision by adding
  390.37 +"[Contributor] elects to include this software in this distribution
  390.38 +under the [CDDL or GPL Version 2] license." If you do not indicate a
  390.39 +single choice of license, a recipient has the option to distribute
  390.40 +your version of this file under either the CDDL, the GPL Version 2 or
  390.41 +to extend the choice of license to its licensees as provided above.
  390.42 +However, if you add GPL Version 2 code and therefore, elected the GPL
  390.43 +Version 2 license, then the option applies only if the new code is
  390.44 +made subject to such option by the copyright holder.
  390.45 +-->
  390.46 +
  390.47 +
  390.48 +<HTML>
  390.49 +<head>
  390.50 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  390.51 +</head>
  390.52 +<BODY>
  390.53 +        ã“ã®ãƒ†ãƒ³ãƒ—レートを利用ã—ã¦ã€ãƒšãƒ¼ã‚¸ç”¨ã®æ–°ã—ã„ Java Bean を作æˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ページを作æˆã™ã‚‹ã¨ã€ãƒãƒƒã‚­ãƒ³ã‚° Java ファイル (ページ Bean) ãŒè¦æ±‚スコープ内ã«è‡ªå‹•çš„ã«ä½œæˆã•ã‚Œã¾ã™ã€‚
  390.54 +</BODY>
  390.55 +</HTML>
   391.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   391.2 +++ b/portalpack.visualweb/l10n/ja/org/netbeans/modules/portalpack/visualweb/ui/Bundle_ja.properties	Thu Jul 10 19:50:39 2008 +0800
   391.3 @@ -0,0 +1,402 @@
   391.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   391.5 +#
   391.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   391.7 +#
   391.8 +# The contents of this file are subject to the terms of either the GNU
   391.9 +# General Public License Version 2 only ("GPL") or the Common
  391.10 +# Development and Distribution License("CDDL") (collectively, the
  391.11 +# "License"). You may not use this file except in compliance with the
  391.12 +# License. You can obtain a copy of the License at
  391.13 +# http://www.netbeans.org/cddl-gplv2.html
  391.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  391.15 +# specific language governing permissions and limitations under the
  391.16 +# License.  When distributing the software, include this License Header
  391.17 +# Notice in each file and include the License file at
  391.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  391.19 +# particular file as subject to the "Classpath" exception as provided
  391.20 +# by Sun in the GPL Version 2 section of the License file that
  391.21 +# accompanied this code. If applicable, add the following below the
  391.22 +# License Header, with the fields enclosed by brackets [] replaced by
  391.23 +# your own identifying information:
  391.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  391.25 +#
  391.26 +# Contributor(s):
  391.27 +#
  391.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  391.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  391.30 +# Microsystems, Inc. All Rights Reserved.
  391.31 +#
  391.32 +# If you wish your version of this file to be governed by only the CDDL
  391.33 +# or only the GPL Version 2, indicate your decision by adding
  391.34 +# "[Contributor] elects to include this software in this distribution
  391.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  391.36 +# single choice of license, a recipient has the option to distribute
  391.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  391.38 +# to extend the choice of license to its licensees as provided above.
  391.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  391.40 +# Version 2 license, then the option applies only if the new code is
  391.41 +# made subject to such option by the copyright holder.
  391.42 +
  391.43 +
  391.44 +# <RAVE> Copy from projects/projectui/src/org/netbeans/modules/project/ui
  391.45 +OpenIDE-Module-Name=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 UI
  391.46 +OpenIDE-Module-Display-Category=\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u30fc
  391.47 +OpenIDE-Module-Short-Description=IDE \u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u57fa\u672c\u7684\u306a\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002
  391.48 +OpenIDE-Module-Long-Description=IDE \u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u53d6\u308a\u7d44\u3080\u305f\u3081\u306e GUI \u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u30fc: \u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u304a\u3088\u3073\u300c\u30d5\u30a1\u30a4\u30eb\u300d\u30a6\u30a3\u30f3\u30c9\u30a6\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u9078\u629e\u30c0\u30a4\u30a2\u30ed\u30b0\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u300c\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u300d\u30a6\u30a3\u30b6\u30fc\u30c9\u306a\u3069\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002
  391.49 +
  391.50 +# ProjectXMLCatalogReader
  391.51 +LBL_project_xml_schemas=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e XML \u30b9\u30ad\u30fc\u30de
  391.52 +HINT_project_xml_schemas=IDE \u304b\u3089 project.xml \u304a\u3088\u3073 private.xml \u30d5\u30a1\u30a4\u30eb\u306e\u59a5\u5f53\u6027\u691c\u67fb\u3092\u884c\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002
  391.53 +
  391.54 +#BrowseFolders
  391.55 +BTN_BrowseFolders_Select_Option=\u30d5\u30a9\u30eb\u30c0\u3092\u9078\u629e
  391.56 +BTN_BrowseFolders_Cancel_Option=\u53d6\u6d88\u3057
  391.57 +ACSN_BrowseFolders_Cancel_Option=\u53d6\u6d88\u3057
  391.58 +ACSD_BrowseFolders_Cancel_Option=N/A
  391.59 +MNE_BrowseFolders_Select_Option=S
  391.60 +ACSN_BrowseFolders_Select_Option=\u30d5\u30a9\u30eb\u30c0\u3092\u9078\u629e
  391.61 +ACSD_BrowseFolders_Select_Option=N/A
  391.62 +LBL_BrowseFolders_jLabel1=\u30d5\u30a9\u30eb\u30c0:
  391.63 +MNE_BrowseFolders_jLabel1=F
  391.64 +LBL_BrowseFolders_Dialog=\u30d5\u30a9\u30eb\u30c0\u3092\u53c2\u7167
  391.65 +# ProjectTab
  391.66 +#LBL_ProjectTab=Projects
  391.67 +LBL_projectTab_tc=\u30d5\u30a1\u30a4\u30eb
  391.68 +LBL_projectTabLogical_tc=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
  391.69 +
  391.70 +LBL_ProjectMode=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
  391.71 +LBL_ProjectsPhysicalTabAction_Name=\u30d5\u30a1\u30a4\u30eb(&F)
  391.72 +LBL_ProjectsLogicalTabAction_Name=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8(&J)
  391.73 +
  391.74 +# {0} Display name of the group, {1} Display name of the project,
  391.75 +# {2} Original name of the folder,
  391.76 +FMT_PhysicalView_GroupName={1} - {0}
  391.77 +
  391.78 +#Nodes
  391.79 +LBL_OpenProjectsNode_Name=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
  391.80 +
  391.81 +#Badged version of the project name {0} = orignal name
  391.82 +LBL_MainProject_BadgedNamePattern={0} [\u4e3b]
  391.83 +
  391.84 +#Dialogs
  391.85 +LBL_PrjChooser_Title=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304f
  391.86 +BTN_PrjChooser_ApproveButtonText=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304f
  391.87 +BTN_PrjChooser_ApproveButtonTooltipText=\u9078\u629e\u3055\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304d\u307e\u3059\u3002
  391.88 +MNM_PrjChooser_ApproveButtonText=O
  391.89 +LBL_PrjChooser_ProjectDirectoryFilter_Name=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0
  391.90 +LBL_PrjChooser_ProjectName_Label=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d(&P)\:
  391.91 +LBL_PrjChooser_Main_CheckBox=\u4e3b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u958b\u304f(&M)
  391.92 +LBL_PrjChooser_Subprojects_CheckBox=\u5fc5\u9808\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304f(&R)\:
  391.93 +MSG_PrjChooser_WaitMessage=... \u304a\u5f85\u3061\u304f\u3060\u3055\u3044 ...
  391.94 +# {0} number of projects
  391.95 +LBL_PrjChooser_Multiselection={0} \u500b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
  391.96 +# {0} - display name of subproject
  391.97 +# {1} - location of subproject on disk
  391.98 +LBL_PrjChooser_SubprojectName_Format={0} ({1})
  391.99 +
 391.100 +#SystemFile system
 391.101 +  #Menus
 391.102 +Menu/File/New=\u65b0\u898f
 391.103 +Menu/File/New/org-netbeans-core-actions-NewTemplateCallableAction.instance=\u30d5\u30a9\u30eb\u30c0/\u30d5\u30a1\u30a4\u30eb...
 391.104 +Menu/File/Open=\u958b\u304f
 391.105 +Menu/File/Open/org-netbeans-modules-project-ui-OpenProjectAction.instance=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8...
 391.106 +
 391.107 +Menu/BuildProject=\u69cb\u7bc9(&B)
 391.108 +Menu/RunProject=\u5b9f\u884c(&R)
 391.109 +Menu/RunProject/RunOther=\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c(&N)
 391.110 +Mount/PrjAllRoots.instance=\u3053\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf
 391.111 +
 391.112 +Actions/Project=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.113 +Actions/Build=\u69cb\u7bc9
 391.114 +
 391.115 +Templates/Project=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.116 +Templates/Project/Import=\u65e2\u5b58\u306e\u30bd\u30fc\u30b9\u3092\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.117 +Templates/Project/Samples=\u30b5\u30f3\u30d7\u30eb
 391.118 +Toolbars/Build=\u69cb\u7bc9
 391.119 +
 391.120 +# PhysicalViewFactoryImpl
 391.121 +HINT_project={0} \u5185\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.122 +HINT_group={0} \u5185\u306e\u30bd\u30fc\u30b9\u30d5\u30a9\u30eb\u30c0
 391.123 +
 391.124 +#NoMainProjectWarning
 391.125 +LBL_NoMainProjectWarning_jLabel1=\u4e3b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002
 391.126 +LBL_NoMainProjectWarning_jLabel2=\u4e3b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e(&S)\:
 391.127 +MNE_NoMainProjectWarning_jLabel2=S
 391.128 +LBL_NoMainClassWarning_ChooseMainProject_OK=\u4e86\u89e3
 391.129 +AD_NoMainClassWarning_ChooseMainProject_OK=N/A
 391.130 +CTL_NoMainProjectWarning_Title=\u8b66\u544a
 391.131 +
 391.132 +ACC_InfiniteProgressName=\u5b8c\u5168\u306a\u9032\u6357\u30d0\u30fc
 391.133 +ACC_InfiniteProgressDesc=\u30bf\u30b9\u30af\u304c\u9032\u884c\u4e2d\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002
 391.134 +
 391.135 +# ExitDialog
 391.136 +CTL_ExitTitle=\u4fdd\u5b58
 391.137 +# Note that the '&' goes just before the mnemonic character
 391.138 +CTL_Save=\u4fdd\u5b58
 391.139 +CTL_Save_MNM=S
 391.140 +ACSD_Save=\u4fdd\u5b58\u3002
 391.141 +# Note that the '&' goes just before the mnemonic character
 391.142 +CTL_SaveAll=\u3059\u3079\u3066\u3092\u4fdd\u5b58
 391.143 +CTL_SaveAll_MNM=A
 391.144 +ACSD_SaveAll=\u3059\u3079\u3066\u3092\u4fdd\u5b58
 391.145 +# Note that the '&' goes just before the mnemonic character
 391.146 +CTL_DiscardAll=\u3059\u3079\u3066\u3092\u7834\u68c4
 391.147 +CTL_DiscardAll_MNM=D
 391.148 +ACSD_DiscardAll=\u3059\u3079\u3066\u3092\u7834\u68c4
 391.149 +EXC_Save=\u4fdd\u5b58\u4e2d\u306b\u4f8b\u5916\u304c\u767a\u751f
 391.150 +ACSN_ListOfChangedFiles=\u30ea\u30b9\u30c8
 391.151 +ACSD_ListOfChangedFiles=\u4fdd\u5b58\u3059\u308b\u5909\u66f4\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8
 391.152 +ACSD_ExitDialog=\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u4fdd\u5b58\u3059\u308b\u30c0\u30a4\u30a2\u30ed\u30b0
 391.153 +
 391.154 +#ProjectOpenListSettings
 391.155 +TXT_SelectTemplate=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e
 391.156 +TXT_UISettings=UISettings
 391.157 +CTL_Categories=\u30ab\u30c6\u30b4\u30ea\:
 391.158 +CTL_Projects=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\:
 391.159 +CTL_Files=\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\:
 391.160 +MNE_Categories=C
 391.161 +MNE_Projects=P
 391.162 +MNE_Files=F
 391.163 +
 391.164 +TXT_NoDescription=\u8aac\u660e\u306a\u3057\u3002
 391.165 +
 391.166 +CTL_Description=\u8aac\u660e(&D)\:
 391.167 +
 391.168 +#TemplateChooserPanelGUI
 391.169 +LBL_TemplateChooserPanelGUI_Name=\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u3092\u9078\u629e
 391.170 +LBL_TemplateChooserPanelGUI_jLabel1=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8:
 391.171 +MNE_TemplateChooserPanelGUI_jLabel1=P
 391.172 +LBL_TemplateChooserPanelGUI_jLabel2=\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e:
 391.173 +LBL_TemplateChooserPanelGUI_jLabel3=\u8aac\u660e:
 391.174 +LBL_TemplateChooserPanelGUI_jTextArea=\u8aac\u660e\u306a\u3057
 391.175 +LBL_TemplateChooserPanelGUI_showRecommendedTemplatesCheckBox=\u9078\u629e\u3055\u308c\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u306e\u307f\u8868\u793a
 391.176 +
 391.177 +#Target chooser
 391.178 +LBL_TargetChooser_FileName_Label=\u30d5\u30a1\u30a4\u30eb\u540d\:
 391.179 +LBL_TargetChooser_FolderName_Label=\u30d5\u30a9\u30eb\u30c0\u540d\:
 391.180 +LBL_TargetChooser_Project_Label=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\:
 391.181 +LBL_TargetChooser_Folder_Label=\u30d5\u30a9\u30eb\u30c0\:
 391.182 +LBL_TargetChooser_ParentFolder_Label=\u89aa\u30d5\u30a9\u30eb\u30c0\:
 391.183 +LBL_TargetChooser_Browse_Button=\u53c2\u7167...
 391.184 +LBL_TargetChooser_CreatedFile_Label=\u4f5c\u6210\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\:
 391.185 +LBL_TargetChooser_CreatedFolder_Label=\u4f5c\u6210\u3055\u308c\u308b\u30d5\u30a9\u30eb\u30c0\:
 391.186 +LBL_TargetChooser_Location_Label=\u5834\u6240\:
 391.187 +MNE_TargetChooser_FileName_Label=N
 391.188 +MNE_TargetChooser_FolderName_Label=N
 391.189 +MNE_TargetChooser_Project_Label=P
 391.190 +MNE_TargetChooser_Folder_Label=l
 391.191 +MNE_TargetChooser_ParentFolder_Label=r
 391.192 +MNE_TargetChooser_Browse_Button=w
 391.193 +MNE_TargetChooser_CreatedFile_Label=C
 391.194 +MNE_TargetChooser_CreatedFolder_Label=C
 391.195 +MNE_TargetChooser_Location_Label=t
 391.196 +# 0 - name of group, 1 - name of project
 391.197 +FMT_TargetChooser_GroupProjectNameBadge={0} [{1}]
 391.198 +
 391.199 +#NewFileWizard
 391.200 +LBL_NewFileWizard_Title=\u65b0\u898f\u30d5\u30a1\u30a4\u30eb
 391.201 +LBL_NewFileWizard_Subtitle=\u65b0\u898f
 391.202 +LBL_NewFileWizard_MessageFormat={0} {1}
 391.203 +ACSN_NewFileWizard=\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u30a6\u30a3\u30b6\u30fc\u30c9
 391.204 +ACSD_NewFileWizard=\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u3092\u9078\u629e
 391.205 +
 391.206 +#NewProjectWizard
 391.207 +LBL_NewProjectWizard_Title=\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.208 +LBL_NewProjectWizard_Subtitle=\u65b0\u898f
 391.209 +LBL_NewProjectWizard_MessageFormat={0} {1}
 391.210 +ACSN_NewProjectWizard=\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30a6\u30a3\u30b6\u30fc\u30c9
 391.211 +ACSD_NewProjectWizard=\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7a2e\u985e\u3092\u9078\u629e
 391.212 +LBL_NewProjectWizard_Name=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e
 391.213 +LBL_NewProjectWizard_Dots=...
 391.214 +
 391.215 +LBL_TemplatesPanel_Name=\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u3092\u9078\u629e
 391.216 +LBL_TemplatesPanel_Dots=...
 391.217 +LBL_TemplatesPanel_PleaseWait=\u304a\u5f85\u3061\u304f\u3060\u3055\u3044...
 391.218 +
 391.219 +LBL_PageLayoutsPanel_Name=\u30da\u30fc\u30b8\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u9078\u629e
 391.220 +
 391.221 +#Templates
 391.222 +Templates/Other/Folder=\u30d5\u30a9\u30eb\u30c0
 391.223 +
 391.224 +#Dialog for new File/Folder outside of project
 391.225 +LBL_NonProject_OK_Button=\u4e86\u89e3
 391.226 +LBL_NonProject_Cancel_Button=\u53d6\u6d88\u3057
 391.227 +LBL_NonProject_File_Name=\u30d5\u30a1\u30a4\u30eb\u540d(&F)\:
 391.228 +LBL_NonProject_File_Title=\u65b0\u898f\u306e\u7a7a\u306e\u30d5\u30a1\u30a4\u30eb
 391.229 +LBL_NonProject_Folder_Name=\u30d5\u30a9\u30eb\u30c0\u540d(&F)\:
 391.230 +LBL_NonProject_Folder_Title=\u65b0\u898f\u30d5\u30a9\u30eb\u30c0
 391.231 +ACD_NonProject_File_TextField=\u4f5c\u6210\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d
 391.232 +ACD_NonProject_File_Dialog=\u65b0\u898f\u30d5\u30a1\u30a4\u30eb
 391.233 +ACD_NonProject_Folder_TextField=\u4f5c\u6210\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306e\u540d\u524d
 391.234 +ACD_NonProject_Folder_Dialog=\u65b0\u898f\u30d5\u30a9\u30eb\u30c0
 391.235 +
 391.236 +CTL_Templates=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\:
 391.237 +MNE_Templates=T
 391.238 +
 391.239 +#SimpleTargetChooserPanel
 391.240 +LBL_SimpleTargetChooserPanel_Name=\u540d\u524d\u3068\u5834\u6240
 391.241 +LBL_SimpleTargetChooserPanelGUI_NewFilePrefix=new
 391.242 +
 391.243 +#ProjectUtilities
 391.244 +MSG_fs_or_folder_does_not_exist=\u30bf\u30fc\u30b2\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002
 391.245 +MSG_fs_is_readonly=\u30bf\u30fc\u30b2\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0\u304c\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u3059\u3002
 391.246 +# {0} - name of the existing file
 391.247 +MSG_file_already_exist=\u30d5\u30a1\u30a4\u30eb {0} \u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002
 391.248 +MSG_NodeNotFound_ProjectsTab=\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30ce\u30fc\u30c9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002
 391.249 +MSG_NodeNotFound_FilesTab=\u300c\u30d5\u30a1\u30a4\u30eb\u300d\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30ce\u30fc\u30c9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002
 391.250 +#Hacks
 391.251 +LBL_MultipleProjects=\u8907\u6570\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.252 +
 391.253 +#TemplatesPanelGUI
 391.254 +ACSN_CategoriesPanel=\u65b0\u898f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30ab\u30c6\u30b4\u30ea
 391.255 +ACSD_CategoriesPanel=\u9078\u629e\u53ef\u80fd\u306a\u65b0\u898f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30ab\u30c6\u30b4\u30ea\u4e00\u89a7
 391.256 +ACSN_TemplatesPanel=\u65b0\u898f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7a2e\u985e
 391.257 +ACSD_TemplatesPanel=\u9078\u629e\u53ef\u80fd\u306a\u65b0\u898f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7a2e\u985e\u4e00\u89a7
 391.258 +
 391.259 +ACSN_jLabel1=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
 391.260 +
 391.261 +ACSD_jLabel1=\u4f7f\u7528\u53ef\u80fd\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4e00\u89a7
 391.262 +
 391.263 +ACSN_BrowseFolders_jLabel1=\u30d5\u30a9\u30eb\u30c0\:
 391.264 +ACSN_BrowseFolders_folderPanel=\u30d5\u30a9\u30eb\u30c0:
 391.265 +ACSD_BrowseFolders_folderPanel=\u30c4\u30ea\u30fc\u306b\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u542b\u307e\u308c\u308b\u3059\u3079\u3066\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u542b\u307e\u308c\u307e\u3059
 391.266 +
 391.267 +ACSN_BrowseFolders=\u30d5\u30a9\u30eb\u30c0\u3092\u53c2\u7167\u3057\u3066\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u9078\u629e
 391.268 +
 391.269 +ACSD_ProjectChooserAccessory_jCheckBoxMain=N/A
 391.270 +ACSD_ProjectChooserAccessory_jCheckBoxSubprojects=\u9078\u629e\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4f9d\u5b58\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3082\u958b\u304d\u307e\u3059
 391.271 +
 391.272 +ACSN_ProjectChooserAccessory_jListSubprojects=\u30b5\u30d6\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4e00\u89a7
 391.273 +
 391.274 +ACSD_ProjectChooserAccessory_jListSubprojects=\u9078\u629e\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4f9d\u5b58\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4e00\u89a7
 391.275 +
 391.276 +AD_SimpleTargetChooserPanelGUI=N/A
 391.277 +
 391.278 +AD_documentNameTextField=N/A
 391.279 +
 391.280 +AD_projectTextField=N/A
 391.281 +
 391.282 +AD_locationComboBox=N/A
 391.283 +
 391.284 +AD_folderTextField=N/A
 391.285 +
 391.286 +AD_browseButton=N/A
 391.287 +
 391.288 +AD_fileTextField=N/A
 391.289 +
 391.290 +AN_ProjectChooserAccessory=N/A
 391.291 +AD_ProjectChooserAccessory=N/A
 391.292 +
 391.293 +AN_ProjectName=N/A
 391.294 +AD_ProjectName=N/A
 391.295 +
 391.296 +AD_NoMainProjectWarning_jList1=N/A
 391.297 +
 391.298 +AD_NoMainProjectWarninig=N/A
 391.299 +# {0} - name of the file
 391.300 +# {1} - an integer representing the invalid characters:
 391.301 +#       0: both '/' and '\\' are invalid
 391.302 +#       1: '\\' is invalid
 391.303 +MSG_not_valid_filename=\u30d5\u30a1\u30a4\u30eb\u540d {0} \u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002{1,choice,0#\u30b9\u30e9\u30c3\u30b7\u30e5 (/) \u307e\u305f\u306f\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5 (\\)|1#\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5 (\\)} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002
 391.304 +# {0} - name of the file
 391.305 +# {1} - an integer representing the invalid characters:
 391.306 +#       0: both '/' and '\\' are invalid
 391.307 +#       1: '\\' is invalid
 391.308 +MSG_not_valid_folder=\u30d5\u30a9\u30eb\u30c0\u540d {0} \u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002{1,choice,0#\u30b9\u30e9\u30c3\u30b7\u30e5 (/) \u307e\u305f\u306f\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5 (\\)|1#\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5 (\\)} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002
 391.309 +
 391.310 +#OpenProjectList:
 391.311 +#Dialog caption:
 391.312 +CAP_Opening_Projects=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304f
 391.313 +LBL_Opening_Projects_Progress=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304f
 391.314 +LBL_Opening_Projects=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304f:
 391.315 +
 391.316 +# <RAVE>
 391.317 +# Window System API
 391.318 +
 391.319 +# TopComponent
 391.320 +LBL_component_name=<\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d>
 391.321 +#LBL_mode_name=<name of mode>
 391.322 +#LBL_workspace_name=<name of workspace>
 391.323 +
 391.324 +# WizardDescriptor
 391.325 +# Dialog title:
 391.326 +TITLE_wizard=\u30de\u30a4\u30a6\u30a3\u30b6\u30fc\u30c9
 391.327 +
 391.328 +# WizardDescriptor.Iterator
 391.329 +# Label the sequence #. Appears at top of pane:
 391.330 +# e.g. "Panel Name (1 of 3)"
 391.331 +TITLE_x_of_y={0} / {1}
 391.332 +# Provide list of steps to show in left pane:
 391.333 +#LBL_step_1=Select First Thing
 391.334 +#LBL_step_2=Configure Details
 391.335 +
 391.336 +# WizardDescriptor.Panel
 391.337 +# Will appear in dialog title; see above
 391.338 +TITLE_WizardPanel=\u30d1\u30cd\u30eb\u540d
 391.339 +# {0} name of folder
 391.340 +TXT_CantCreatePage={0} \u30d5\u30a9\u30eb\u30c0\u306b\u65b0\u3057\u3044\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002
 391.341 +TXT_CantUpdatePortletXML=portlet.xml \u3092\u66f4\u65b0\u3067\u304d\u307e\u305b\u3093
 391.342 +
 391.343 +# CallableSystemAction
 391.344 +LBL_Action=\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c
 391.345 +
 391.346 +# PageIterator
 391.347 +# {0} web form name
 391.348 +MSG_NotInWebProject=<html>Web \u4ee5\u5916\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4e0b\u306b Visual Web \u306e\u9805\u76ee\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002</html>
 391.349 +MSG_NotSupportProperties=<html>\u30bf\u30fc\u30b2\u30c3\u30c8\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001\u88dc\u52a9\u8a2d\u5b9a\u3092\u4f7f\u7528\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u306e\u4fdd\u5b58\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001Visual Web \u306e\u9805\u76ee\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002</html>
 391.350 +MSG_InvalidJavaFileName=<html>\u540d\u524d "{0}" \u306f\u7121\u52b9\u306a\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3059\u3002Java \u8b58\u5225\u5b50\u3068\u3057\u3066\u6709\u52b9\u306a\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002</html>
 391.351 +MSG_InvalidJavaFolderName=<html>\u540d\u524d "{0}" \u306f\u7121\u52b9\u306a\u30d5\u30a9\u30eb\u30c0\u540d\u3067\u3059\u3002Java \u8b58\u5225\u5b50\u3068\u3057\u3066\u6709\u52b9\u306a\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002</html>
 391.352 +MSG_NotUnderTargetFolder=<html>\u30d5\u30a9\u30eb\u30c0 "{0}" \u306f\u6709\u52b9\u306a\u30bf\u30fc\u30b2\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0 "{1}" \u306e\u4e0b\u306b\u3042\u308a\u307e\u305b\u3093</html>
 391.353 +MSG_InvalidTargetFolder=<html>\u30d5\u30a9\u30eb\u30c0 "{0}" \u306f\u7121\u52b9\u306a\u30d5\u30a9\u30eb\u30c0\u540d\u3067\u3059</html>
 391.354 +MSG_NoSourceRoot=<html>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u3067\u6709\u52b9\u306a\u30bd\u30fc\u30b9\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a9\u30eb\u30c0\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002</html>
 391.355 +MSG_PortletIncompatible=<html>Visual Web JSF \u306e\u901a\u5e38\u306e\u30da\u30fc\u30b8\u3068\u3001\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30da\u30fc\u30b8\u306e\u4f75\u7528\u306f\u73fe\u5728\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002</html>
 391.356 +MSG_PageBeanNameConflict=<html>\u30da\u30fc\u30b8\u540d "{1}" \u306b\u5bfe\u5fdc\u3057\u305f Java \u30d5\u30a1\u30a4\u30eb "{0}" \u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059\u3002\u5225\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002</html>
 391.357 +MSG_FileDifferentByCase=<html>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u3001\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u65e2\u5b58\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u4f3c\u3066\u3044\u3066\u3001\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u306e\u9055\u3044\u304c\u3042\u308b\u3060\u3051\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3057\u306a\u3044\u30b7\u30b9\u30c6\u30e0\u3067\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u5834\u5408\u3001\u554f\u984c\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br>\u30da\u30fc\u30b8\u540d\u3092\u5909\u66f4\u3057\u3066\u4e00\u610f\u306b\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002</html>
 391.358 +MSG_InvalidPackageName=<html>\u540d\u524d "{0}" \u306f\u7121\u52b9\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3067\u3059\u3002Java \u8b58\u5225\u5b50\u3068\u3057\u3066\u6709\u52b9\u306a\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002</html>
 391.359 +MSG_NotAPortlet10Application=<html>Visual JSF \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306f\u3001Portlet 1.0 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u3068\u3057\u3066\u306e\u307f\u4f5c\u6210\u3067\u304d\u307e\u3059</html>
 391.360 +
 391.361 +LBL_PagebeanPackagePanel_Name=\u30da\u30fc\u30b8 Bean \u30d1\u30c3\u30b1\u30fc\u30b8
 391.362 +LBL_PagebeanPackage_Label=\u30c7\u30d5\u30a9\u30eb\u30c8 Java \u30d1\u30c3\u30b1\u30fc\u30b8\:
 391.363 +MNE_PagebeanPackage_Label=B
 391.364 +AD_PagebeanPackagePanelGUI=N/A
 391.365 +AD_packageTextField=N/A
 391.366 +NO_PREVIEW_TEXT=\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093
 391.367 +PREVIEW_TITLE=\u30d7\u30ec\u30d3\u30e5\u30fc
 391.368 +NO_DESCRIPTION_TEXT=\u8aac\u660e\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093
 391.369 +
 391.370 +# Visual Web JSF Backwards Compatibility Kit
 391.371 +LBL_MissingJSF=<li>J2EE 1.4 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u306f <b>JavaServer Faces 1.1 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u5b9f\u88c5 (RI)</b> \u304c\u5fc5\u8981\u3067\u3059\u3002</li>
 391.372 +LBL_MissingJAXRPC=<li>J2EE 1.4 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u306f <b>Web \u30b5\u30fc\u30d3\u30b9 JAX-RPC \u30e9\u30a4\u30d6\u30e9\u30ea</b>\u304c\u5fc5\u8981\u3067\u3059\u3002</li>
 391.373 +LBL_MissingRowset=<li>J2SE 1.4 \u3092\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001<b>\u884c\u30bb\u30c3\u30c8\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u5b9f\u88c5 (RI)</b>\u304c\u5fc5\u8981\u3067\u3059\u3002</li>
 391.374 +LBL_MissingOne=RI \u306f
 391.375 +LBL_MissingMany=RI \u306f
 391.376 +LBL_MissingNBM=<html>\u6b21\u306e {0} \u304c IDE \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066 <b>Visual Web JSF \u4e0b\u4f4d\u4e92\u63db\u6027\u30ad\u30c3\u30c8</b>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<ul>{1}</ul></html>
 391.377 +
 391.378 +LBL_PORTLET_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d:
 391.379 +LBL_PORTLET_DISPLAY_NAME=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8868\u793a\u540d:
 391.380 +LBL_PORTLET_DESC=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e:
 391.381 +LBL_PORTLET_TITLE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb:
 391.382 +LBL_PORTLET_SHORT_TITLE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb:
 391.383 +LBL_PORTLET_MODE=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30e2\u30fc\u30c9:
 391.384 +
 391.385 +MSG_INVALID_PORTLET_NAME=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d\u3067\u3059
 391.386 +MSG_PORTLET_ALREADY_PRESENT=\u540c\u3058\u540d\u524d\u3092\u6301\u3064\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
 391.387 +MSG_INVALID_PORTLET_TITLE=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb\u3067\u3059
 391.388 +
 391.389 +MSG_INVALID_PORTLET_SHORT_TITLE=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb\u3067\u3059
 391.390 +
 391.391 +MSG_INVALID_PORTLET_DISPLAY_NAME=\u7121\u52b9\u306a\u8868\u793a\u540d\u3067\u3059
 391.392 +
 391.393 +MSG_INVALID_PORTLET_DESC=\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e\u3067\u3059
 391.394 +
 391.395 +MSG_PORTLET_ALREADY_PRESENT=\u540c\u3058\u540d\u524d\u3092\u6301\u3064\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059
 391.396 +ACSN_Portlet_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d:
 391.397 +ACSD_Portlet_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u540d:
 391.398 +ACSN_Portlet_Display_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8868\u793a\u540d(&D):
 391.399 +ACSD_Portlet_Display_Name=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8868\u793a\u540d:
 391.400 +ACSN_Portlet_Desc=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u8aac\u660e(&C):
 391.401 +ACSD_Portlet_Desc=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u8aac\u660e:
 391.402 +ACSN_Portlet_Title=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb(&T):
 391.403 +ASCD_Portlet_Title=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30bf\u30a4\u30c8\u30eb:
 391.404 +ACSN_Portlet_Short_Title=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb(&H):
 391.405 +ASCD_Portlet_Short_Title=\u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u306e\u77ed\u3044\u30bf\u30a4\u30c8\u30eb:
   392.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   392.2 +++ b/portalpack.visualweb/l10n/pt_BR/org/netbeans/modules/portalpack/visualweb/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   392.3 @@ -0,0 +1,46 @@
   392.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   392.5 +#
   392.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   392.7 +#
   392.8 +# The contents of this file are subject to the terms of either the GNU
   392.9 +# General Public License Version 2 only ("GPL") or the Common
  392.10 +# Development and Distribution License("CDDL") (collectively, the
  392.11 +# "License"). You may not use this file except in compliance with the
  392.12 +# License. You can obtain a copy of the License at
  392.13 +# http://www.netbeans.org/cddl-gplv2.html
  392.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  392.15 +# specific language governing permissions and limitations under the
  392.16 +# License.  When distributing the software, include this License Header
  392.17 +# Notice in each file and include the License file at
  392.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  392.19 +# particular file as subject to the "Classpath" exception as provided
  392.20 +# by Sun in the GPL Version 2 section of the License file that
  392.21 +# accompanied this code. If applicable, add the following below the
  392.22 +# License Header, with the fields enclosed by brackets [] replaced by
  392.23 +# your own identifying information:
  392.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  392.25 +#
  392.26 +# Contributor(s):
  392.27 +#
  392.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  392.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  392.30 +# Microsystems, Inc. All Rights Reserved.
  392.31 +#
  392.32 +# If you wish your version of this file to be governed by only the CDDL
  392.33 +# or only the GPL Version 2, indicate your decision by adding
  392.34 +# "[Contributor] elects to include this software in this distribution
  392.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  392.36 +# single choice of license, a recipient has the option to distribute
  392.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  392.38 +# to extend the choice of license to its licensees as provided above.
  392.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  392.40 +# Version 2 license, then the option applies only if the new code is
  392.41 +# made subject to such option by the copyright holder.
  392.42 +
  392.43 +OpenIDE-Module-Display-Category=PortalPack
  392.44 +OpenIDE-Module-Long-Description=Este m\u00f3dulo permite aos desenvolvedores do portlet construir rapidamente aplicativos portlet baseados em JSF no NetBeans, arrastando e soltando componentes no editor visual WYSIWYG.
  392.45 +OpenIDE-Module-Name=Suporte ao portlet JSF de Visual Web
  392.46 +
  392.47 +Templates/JSF/PortletPage.jsp=P\u00e1gina do portlet JSF de Visual Web
  392.48 +Templates/JSF/PortletPage.java=Arquivo Java de backup do portlet
  392.49 +
   393.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   393.2 +++ b/portalpack.visualweb/l10n/pt_BR/org/netbeans/modules/portalpack/visualweb/actions/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   393.3 @@ -0,0 +1,58 @@
   393.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   393.5 +#
   393.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   393.7 +#
   393.8 +# The contents of this file are subject to the terms of either the GNU
   393.9 +# General Public License Version 2 only ("GPL") or the Common
  393.10 +# Development and Distribution License("CDDL") (collectively, the
  393.11 +# "License"). You may not use this file except in compliance with the
  393.12 +# License. You can obtain a copy of the License at
  393.13 +# http://www.netbeans.org/cddl-gplv2.html
  393.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  393.15 +# specific language governing permissions and limitations under the
  393.16 +# License.  When distributing the software, include this License Header
  393.17 +# Notice in each file and include the License file at
  393.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  393.19 +# particular file as subject to the "Classpath" exception as provided
  393.20 +# by Sun in the GPL Version 2 section of the License file that
  393.21 +# accompanied this code. If applicable, add the following below the
  393.22 +# License Header, with the fields enclosed by brackets [] replaced by
  393.23 +# your own identifying information:
  393.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  393.25 +#
  393.26 +# Contributor(s):
  393.27 +#
  393.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  393.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  393.30 +# Microsystems, Inc. All Rights Reserved.
  393.31 +#
  393.32 +# If you wish your version of this file to be governed by only the CDDL
  393.33 +# or only the GPL Version 2, indicate your decision by adding
  393.34 +# "[Contributor] elects to include this software in this distribution
  393.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  393.36 +# single choice of license, a recipient has the option to distribute
  393.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  393.38 +# to extend the choice of license to its licensees as provided above.
  393.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  393.40 +# Version 2 license, then the option applies only if the new code is
  393.41 +# made subject to such option by the copyright holder.
  393.42 +
  393.43 +
  393.44 +# SetStartPageAction
  393.45 +LBL_SetAsStartPage=Definir como p\u00e1gina inicial
  393.46 +LBL_SetInitalPageAction_SETINITIALVIEWPAGE=Definir como p\u00e1gina inicial
  393.47 +LBL_InitialViewShortDesc=P\u00e1gina de EXIBI\u00c7\u00c3O inicial
  393.48 +LBL_InitialEditShortDesc=P\u00e1gina de EDI\u00c7\u00c3O inicial
  393.49 +LBL_InitialHelpShortDesc=P\u00e1gina de AJUDA inicial
  393.50 +MSG_StartPageChanged=A p\u00e1gina inicial foi definida como\:
  393.51 +MSG_NoStartPage=Nenhuma p\u00e1gina inicial foi definida para o aplicativo.
  393.52 +MSG_UnableToSetDefaultIcon=N\u00e3o \u00e9 poss\u00edvel encontrar o objeto de dados para o arquivo {0} para definir o \u00edcone padr\u00e3o.
  393.53 +MNU_VIEWMODE=P\u00e1gina de modo de visualiza\u00e7\u00e3o
  393.54 +MNU_EDITMODE=P\u00e1gina de modo de edi\u00e7\u00e3o
  393.55 +MNU_HELPMODE=P\u00e1gina de modo de ajuda
  393.56 +MNU_NONEMODE=Sem p\u00e1gina inicial
  393.57 +MNE_VIEWMODE=V
  393.58 +MNE_EDITMODE=E
  393.59 +MNE_HELPMODE=A
  393.60 +MNE_NONEMODE=N
  393.61 +
   394.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   394.2 +++ b/portalpack.visualweb/l10n/pt_BR/org/netbeans/modules/portalpack/visualweb/templates/WebFormTemplateHelp_pt_BR.html	Thu Jul 10 19:50:39 2008 +0800
   394.3 @@ -0,0 +1,52 @@
   394.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   394.5 +<!--
   394.6 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   394.7 +
   394.8 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   394.9 +
  394.10 +
  394.11 +The contents of this file are subject to the terms of either the GNU
  394.12 +General Public License Version 2 only ("GPL") or the Common
  394.13 +Development and Distribution License("CDDL") (collectively, the
  394.14 +"License"). You may not use this file except in compliance with the
  394.15 +License. You can obtain a copy of the License at
  394.16 +http://www.netbeans.org/cddl-gplv2.html
  394.17 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  394.18 +specific language governing permissions and limitations under the
  394.19 +License.  When distributing the software, include this License Header
  394.20 +Notice in each file and include the License file at
  394.21 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  394.22 +particular file as subject to the "Classpath" exception as provided
  394.23 +by Sun in the GPL Version 2 section of the License file that
  394.24 +accompanied this code. If applicable, add the following below the
  394.25 +License Header, with the fields enclosed by brackets [] replaced by
  394.26 +your own identifying information:
  394.27 +"Portions Copyrighted [year] [name of copyright owner]"
  394.28 +
  394.29 +Contributor(s):
  394.30 +
  394.31 +The Original Software is NetBeans. The Initial Developer of the Original
  394.32 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  394.33 +Microsystems, Inc. All Rights Reserved.
  394.34 +
  394.35 +If you wish your version of this file to be governed by only the CDDL
  394.36 +or only the GPL Version 2, indicate your decision by adding
  394.37 +"[Contributor] elects to include this software in this distribution
  394.38 +under the [CDDL or GPL Version 2] license." If you do not indicate a
  394.39 +single choice of license, a recipient has the option to distribute
  394.40 +your version of this file under either the CDDL, the GPL Version 2 or
  394.41 +to extend the choice of license to its licensees as provided above.
  394.42 +However, if you add GPL Version 2 code and therefore, elected the GPL
  394.43 +Version 2 license, then the option applies only if the new code is
  394.44 +made subject to such option by the copyright holder.
  394.45 +-->
  394.46 +
  394.47 +
  394.48 +<HTML>
  394.49 +<head>
  394.50 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  394.51 +</head>
  394.52 +<BODY>
  394.53 +   Este modelo criar&aacute; uma nova p&aacute;gina da web em branco. Projete a p&aacute;gina arrastando os componentes da Paleta.
  394.54 +</BODY>
  394.55 +</HTML>
   395.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   395.2 +++ b/portalpack.visualweb/l10n/pt_BR/org/netbeans/modules/portalpack/visualweb/templates/pageJavaTemplateHelp_pt_BR.html	Thu Jul 10 19:50:39 2008 +0800
   395.3 @@ -0,0 +1,52 @@
   395.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   395.5 +<!--
   395.6 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   395.7 +
   395.8 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   395.9 +
  395.10 +
  395.11 +The contents of this file are subject to the terms of either the GNU
  395.12 +General Public License Version 2 only ("GPL") or the Common
  395.13 +Development and Distribution License("CDDL") (collectively, the
  395.14 +"License"). You may not use this file except in compliance with the
  395.15 +License. You can obtain a copy of the License at
  395.16 +http://www.netbeans.org/cddl-gplv2.html
  395.17 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  395.18 +specific language governing permissions and limitations under the
  395.19 +License.  When distributing the software, include this License Header
  395.20 +Notice in each file and include the License file at
  395.21 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  395.22 +particular file as subject to the "Classpath" exception as provided
  395.23 +by Sun in the GPL Version 2 section of the License file that
  395.24 +accompanied this code. If applicable, add the following below the
  395.25 +License Header, with the fields enclosed by brackets [] replaced by
  395.26 +your own identifying information:
  395.27 +"Portions Copyrighted [year] [name of copyright owner]"
  395.28 +
  395.29 +Contributor(s):
  395.30 +
  395.31 +The Original Software is NetBeans. The Initial Developer of the Original
  395.32 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  395.33 +Microsystems, Inc. All Rights Reserved.
  395.34 +
  395.35 +If you wish your version of this file to be governed by only the CDDL
  395.36 +or only the GPL Version 2, indicate your decision by adding
  395.37 +"[Contributor] elects to include this software in this distribution
  395.38 +under the [CDDL or GPL Version 2] license." If you do not indicate a
  395.39 +single choice of license, a recipient has the option to distribute
  395.40 +your version of this file under either the CDDL, the GPL Version 2 or
  395.41 +to extend the choice of license to its licensees as provided above.
  395.42 +However, if you add GPL Version 2 code and therefore, elected the GPL
  395.43 +Version 2 license, then the option applies only if the new code is
  395.44 +made subject to such option by the copyright holder.
  395.45 +-->
  395.46 +
  395.47 +
  395.48 +<HTML>
  395.49 +<head>
  395.50 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  395.51 +</head>
  395.52 +<BODY>
  395.53 +        Este modelo cria um novo Java Bean para uma p&aacute;gina. Ao criar uma p&aacute;gina, voc&ecirc; obt&eacute;m automaticamente um arquivo de Java de apoio (Bean de p&aacute;gina) criado no escopo de solicita&ccedil;&atilde;o
  395.54 +</BODY>
  395.55 +</HTML>
   396.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   396.2 +++ b/portalpack.visualweb/l10n/pt_BR/org/netbeans/modules/portalpack/visualweb/ui/Bundle_pt_BR.properties	Thu Jul 10 19:50:39 2008 +0800
   396.3 @@ -0,0 +1,402 @@
   396.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   396.5 +#
   396.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   396.7 +#
   396.8 +# The contents of this file are subject to the terms of either the GNU
   396.9 +# General Public License Version 2 only ("GPL") or the Common
  396.10 +# Development and Distribution License("CDDL") (collectively, the
  396.11 +# "License"). You may not use this file except in compliance with the
  396.12 +# License. You can obtain a copy of the License at
  396.13 +# http://www.netbeans.org/cddl-gplv2.html
  396.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  396.15 +# specific language governing permissions and limitations under the
  396.16 +# License.  When distributing the software, include this License Header
  396.17 +# Notice in each file and include the License file at
  396.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  396.19 +# particular file as subject to the "Classpath" exception as provided
  396.20 +# by Sun in the GPL Version 2 section of the License file that
  396.21 +# accompanied this code. If applicable, add the following below the
  396.22 +# License Header, with the fields enclosed by brackets [] replaced by
  396.23 +# your own identifying information:
  396.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  396.25 +#
  396.26 +# Contributor(s):
  396.27 +#
  396.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  396.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  396.30 +# Microsystems, Inc. All Rights Reserved.
  396.31 +#
  396.32 +# If you wish your version of this file to be governed by only the CDDL
  396.33 +# or only the GPL Version 2, indicate your decision by adding
  396.34 +# "[Contributor] elects to include this software in this distribution
  396.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  396.36 +# single choice of license, a recipient has the option to distribute
  396.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  396.38 +# to extend the choice of license to its licensees as provided above.
  396.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  396.40 +# Version 2 license, then the option applies only if the new code is
  396.41 +# made subject to such option by the copyright holder.
  396.42 +
  396.43 +
  396.44 +# <RAVE> Copy from projects/projectui/src/org/netbeans/modules/project/ui
  396.45 +OpenIDE-Module-Name=UI de projetos
  396.46 +OpenIDE-Module-Display-Category=Infra-estrutura
  396.47 +OpenIDE-Module-Short-Description=Prove a interface de usu\u00e1rio b\u00e1sica para projetos na IDE.
  396.48 +OpenIDE-Module-Long-Description=Infra-estrutura da GUI para trabalhar com projetos no IDE: as janelas Projetos e Arquivos, a caixa de di\u00e1logo do selecionador do projeto, o assistente Novo arquivo sens\u00edvel ao projeto, etc.
  396.49 +
  396.50 +# ProjectXMLCatalogReader
  396.51 +LBL_project_xml_schemas=Esquemas XML do projeto
  396.52 +HINT_project_xml_schemas=Permite a valida\u00e7\u00e3o dos arquivos project.xml e private.xml para o IDE.
  396.53 +
  396.54 +#BrowseFolders
  396.55 +BTN_BrowseFolders_Select_Option=Selecionar pasta
  396.56 +BTN_BrowseFolders_Cancel_Option=Cancelar
  396.57 +ACSN_BrowseFolders_Cancel_Option=Cancelar
  396.58 +ACSD_BrowseFolders_Cancel_Option=N/D
  396.59 +MNE_BrowseFolders_Select_Option=S
  396.60 +ACSN_BrowseFolders_Select_Option=Selecionar pasta
  396.61 +ACSD_BrowseFolders_Select_Option=N/D
  396.62 +LBL_BrowseFolders_jLabel1=Pastas:
  396.63 +MNE_BrowseFolders_jLabel1=v
  396.64 +LBL_BrowseFolders_Dialog=Explorar pastas
  396.65 +# ProjectTab
  396.66 +#LBL_ProjectTab=Projects
  396.67 +LBL_projectTab_tc=Arquivos
  396.68 +LBL_projectTabLogical_tc=Projetos
  396.69 +
  396.70 +LBL_ProjectMode=Projetos
  396.71 +LBL_ProjectsPhysicalTabAction_Name=&Arquivos
  396.72 +LBL_ProjectsLogicalTabAction_Name=Pro&jetos
  396.73 +
  396.74 +# {0} Display name of the group, {1} Display name of the project,
  396.75 +# {2} Original name of the folder,
  396.76 +FMT_PhysicalView_GroupName={1} - {0}
  396.77 +
  396.78 +#Nodes
  396.79 +LBL_OpenProjectsNode_Name=Projetos
  396.80 +
  396.81 +#Badged version of the project name {0} = orignal name
  396.82 +LBL_MainProject_BadgedNamePattern={0} [Principal]
  396.83 +
  396.84 +#Dialogs
  396.85 +LBL_PrjChooser_Title=Abrir projeto
  396.86 +BTN_PrjChooser_ApproveButtonText=Abrir pasta do projeto
  396.87 +BTN_PrjChooser_ApproveButtonTooltipText=Abre o projeto localizado na pasta selecionada.
  396.88 +MNM_PrjChooser_ApproveButtonText=O
  396.89 +LBL_PrjChooser_ProjectDirectoryFilter_Name=Diret\u00f3rio do projeto
  396.90 +LBL_PrjChooser_ProjectName_Label=Nome do &projeto\:
  396.91 +LBL_PrjChooser_Main_CheckBox=Abrir co&mo projeto principal
  396.92 +LBL_PrjChooser_Subprojects_CheckBox=Abrir projetos &requeridos\:
  396.93 +MSG_PrjChooser_WaitMessage=... Aguarde ...
  396.94 +# {0} number of projects
  396.95 +LBL_PrjChooser_Multiselection={0} projetos
  396.96 +# {0} - display name of subproject
  396.97 +# {1} - location of subproject on disk
  396.98 +LBL_PrjChooser_SubprojectName_Format={0} ({1})
  396.99 +
 396.100 +#SystemFile system
 396.101 +  #Menus
 396.102 +Menu/File/New=Novo
 396.103 +Menu/File/New/org-netbeans-core-actions-NewTemplateCallableAction.instance=Arquivo/Pasta...
 396.104 +Menu/File/Open=Abrir
 396.105 +Menu/File/Open/org-netbeans-modules-project-ui-OpenProjectAction.instance=Projeto...
 396.106 +
 396.107 +Menu/BuildProject=&Construir
 396.108 +Menu/RunProject=&Executar
 396.109 +Menu/RunProject/RunOther=E&xecutar arquivo
 396.110 +Mount/PrjAllRoots.instance=Este computador
 396.111 +
 396.112 +Actions/Project=Projeto
 396.113 +Actions/Build=Construir
 396.114 +
 396.115 +Templates/Project=Projeto
 396.116 +Templates/Project/Import=Projeto com c\u00f3digos-fonte existentes
 396.117 +Templates/Project/Samples=Exemplos
 396.118 +Toolbars/Build=Construir
 396.119 +
 396.120 +# PhysicalViewFactoryImpl
 396.121 +HINT_project=Projeto em {0}
 396.122 +HINT_group=Pasta de c\u00f3digos-fonte em {0}
 396.123 +
 396.124 +#NoMainProjectWarning
 396.125 +LBL_NoMainProjectWarning_jLabel1=O projeto principal n\u00e3o foi definido.
 396.126 +LBL_NoMainProjectWarning_jLabel2=&Selecione o projeto principal\:
 396.127 +MNE_NoMainProjectWarning_jLabel2=S
 396.128 +LBL_NoMainClassWarning_ChooseMainProject_OK=OK
 396.129 +AD_NoMainClassWarning_ChooseMainProject_OK=N/D
 396.130 +CTL_NoMainProjectWarning_Title=Aviso
 396.131 +
 396.132 +ACC_InfiniteProgressName=Barra de progresso infinita
 396.133 +ACC_InfiniteProgressDesc=Mostra algumas tarefas em execu\u00e7\u00e3o.
 396.134 +
 396.135 +# ExitDialog
 396.136 +CTL_ExitTitle=Salvar
 396.137 +# Note that the '&' goes just before the mnemonic character
 396.138 +CTL_Save=Salvar
 396.139 +CTL_Save_MNM=S
 396.140 +ACSD_Save=Salvar.
 396.141 +# Note that the '&' goes just before the mnemonic character
 396.142 +CTL_SaveAll=Salvar todos
 396.143 +CTL_SaveAll_MNM=A
 396.144 +ACSD_SaveAll=Salvar todos.
 396.145 +# Note that the '&' goes just before the mnemonic character
 396.146 +CTL_DiscardAll=Descartar tudo
 396.147 +CTL_DiscardAll_MNM=D
 396.148 +ACSD_DiscardAll=Descartar todos.
 396.149 +EXC_Save=Ocorreu uma exce\u00e7\u00e3o ao salvar
 396.150 +ACSN_ListOfChangedFiles=Lista
 396.151 +ACSD_ListOfChangedFiles=Lista de arquivos alterados para salvar
 396.152 +ACSD_ExitDialog=Di\u00e1logo para salvar quaisquer altera\u00e7\u00f5es
 396.153 +
 396.154 +#ProjectOpenListSettings
 396.155 +TXT_SelectTemplate=Selecionar projeto
 396.156 +TXT_UISettings=Configura\u00e7\u00f5es de UI
 396.157 +CTL_Categories=Categorias\:
 396.158 +CTL_Projects=Projetos\:
 396.159 +CTL_Files=Tipos de arquivo\:
 396.160 +MNE_Categories=C
 396.161 +MNE_Projects=P
 396.162 +MNE_Files=v
 396.163 +
 396.164 +TXT_NoDescription=Sem descri\u00e7\u00e3o.
 396.165 +
 396.166 +CTL_Description=&Descri\u00e7\u00e3o\:
 396.167 +
 396.168 +#TemplateChooserPanelGUI
 396.169 +LBL_TemplateChooserPanelGUI_Name=Escolha o tipo de arquivo
 396.170 +LBL_TemplateChooserPanelGUI_jLabel1=Projeto:
 396.171 +MNE_TemplateChooserPanelGUI_jLabel1=P
 396.172 +LBL_TemplateChooserPanelGUI_jLabel2=Tipos de arquivos:
 396.173 +LBL_TemplateChooserPanelGUI_jLabel3=Descri\u00e7\u00e3o:
 396.174 +LBL_TemplateChooserPanelGUI_jTextArea=Sem descri\u00e7\u00e3o
 396.175 +LBL_TemplateChooserPanelGUI_showRecommendedTemplatesCheckBox=Exibir somente tipos de arquivo suportados no projeto selecionado
 396.176 +
 396.177 +#Target chooser
 396.178 +LBL_TargetChooser_FileName_Label=Nome do arquivo\:
 396.179 +LBL_TargetChooser_FolderName_Label=Nome da pasta\:
 396.180 +LBL_TargetChooser_Project_Label=Projeto\:
 396.181 +LBL_TargetChooser_Folder_Label=Pasta\:
 396.182 +LBL_TargetChooser_ParentFolder_Label=Pasta pai\:
 396.183 +LBL_TargetChooser_Browse_Button=Procurar...
 396.184 +LBL_TargetChooser_CreatedFile_Label=Arquivo criado\:
 396.185 +LBL_TargetChooser_CreatedFolder_Label=Pasta criada\:
 396.186 +LBL_TargetChooser_Location_Label=Localiza\u00e7\u00e3o\:
 396.187 +MNE_TargetChooser_FileName_Label=N
 396.188 +MNE_TargetChooser_FolderName_Label=N
 396.189 +MNE_TargetChooser_Project_Label=P
 396.190 +MNE_TargetChooser_Folder_Label=l
 396.191 +MNE_TargetChooser_ParentFolder_Label=r
 396.192 +MNE_TargetChooser_Browse_Button=w
 396.193 +MNE_TargetChooser_CreatedFile_Label=C
 396.194 +MNE_TargetChooser_CreatedFolder_Label=C
 396.195 +MNE_TargetChooser_Location_Label=t
 396.196 +# 0 - name of group, 1 - name of project
 396.197 +FMT_TargetChooser_GroupProjectNameBadge={0} [{1}]
 396.198 +
 396.199 +#NewFileWizard
 396.200 +LBL_NewFileWizard_Title=Novo arquivo
 396.201 +LBL_NewFileWizard_Subtitle=Novo
 396.202 +LBL_NewFileWizard_MessageFormat={0} {1}
 396.203 +ACSN_NewFileWizard=Novo assistente de arquivos
 396.204 +ACSD_NewFileWizard=Escolher novo tipo de arquivo
 396.205 +
 396.206 +#NewProjectWizard
 396.207 +LBL_NewProjectWizard_Title=Novo projeto
 396.208 +LBL_NewProjectWizard_Subtitle=Novo
 396.209 +LBL_NewProjectWizard_MessageFormat={0} {1}
 396.210 +ACSN_NewProjectWizard=Novo assistente de projeto
 396.211 +ACSD_NewProjectWizard=Escolher o tipo do novo projeto
 396.212 +LBL_NewProjectWizard_Name=Escolha o projeto
 396.213 +LBL_NewProjectWizard_Dots=...
 396.214 +
 396.215 +LBL_TemplatesPanel_Name=Escolha o tipo de arquivo
 396.216 +LBL_TemplatesPanel_Dots=...
 396.217 +LBL_TemplatesPanel_PleaseWait=Aguarde...
 396.218 +
 396.219 +LBL_PageLayoutsPanel_Name=Selecionar layout da p\u00e1gina
 396.220 +
 396.221 +#Templates
 396.222 +Templates/Other/Folder=Diret\u00f3rio
 396.223 +
 396.224 +#Dialog for new File/Folder outside of project
 396.225 +LBL_NonProject_OK_Button=OK
 396.226 +LBL_NonProject_Cancel_Button=Cancelar
 396.227 +LBL_NonProject_File_Name=&Nome do arquivo\:
 396.228 +LBL_NonProject_File_Title=Novo arquivo vazio
 396.229 +LBL_NonProject_Folder_Name=&Nome da pasta\:
 396.230 +LBL_NonProject_Folder_Title=Novo diret\u00f3rio
 396.231 +ACD_NonProject_File_TextField=Nome do arquivo a criar
 396.232 +ACD_NonProject_File_Dialog=Novo arquivo
 396.233 +ACD_NonProject_Folder_TextField=Nome da pasta a criar
 396.234 +ACD_NonProject_Folder_Dialog=Novo diret\u00f3rio
 396.235 +
 396.236 +CTL_Templates=Modelos\:
 396.237 +MNE_Templates=M
 396.238 +
 396.239 +#SimpleTargetChooserPanel
 396.240 +LBL_SimpleTargetChooserPanel_Name=Nome e local
 396.241 +LBL_SimpleTargetChooserPanelGUI_NewFilePrefix=novo
 396.242 +
 396.243 +#ProjectUtilities
 396.244 +MSG_fs_or_folder_does_not_exist=A pasta de destino n\u00e3o existe.
 396.245 +MSG_fs_is_readonly=A pasta de destino \u00e9 somente-leitura
 396.246 +# {0} - name of the existing file
 396.247 +MSG_file_already_exist=O arquivo {0} j\u00e1 existe.
 396.248 +MSG_NodeNotFound_ProjectsTab=O n\u00f3 do documento n\u00e3o foi encontrado na janela Projetos.
 396.249 +MSG_NodeNotFound_FilesTab=O n\u00f3 do documento n\u00e3o foi encontrado na janela Arquivos.
 396.250 +#Hacks
 396.251 +LBL_MultipleProjects=M\u00faltiplos projetos
 396.252 +
 396.253 +#TemplatesPanelGUI
 396.254 +ACSN_CategoriesPanel=Categorias para novos tipos de objetos
 396.255 +ACSD_CategoriesPanel=Lista de categorias de novos objetos que podem ser escolhidos
 396.256 +ACSN_TemplatesPanel=Tipos de novos objetos
 396.257 +ACSD_TemplatesPanel=Listar os tipos dos novos objetos que podem ser escolhidos
 396.258 +
 396.259 +ACSN_jLabel1=Projeto
 396.260 +
 396.261 +ACSD_jLabel1=Lista de projetos dispon\u00edveis
 396.262 +
 396.263 +ACSN_BrowseFolders_jLabel1=Pastas\:
 396.264 +ACSN_BrowseFolders_folderPanel=Pastas:
 396.265 +ACSD_BrowseFolders_folderPanel=A \u00e1rvore cont\u00e9m as pastas do projeto
 396.266 +
 396.267 +ACSN_BrowseFolders=Procurar pastas para escolher a pasta de destino
 396.268 +
 396.269 +ACSD_ProjectChooserAccessory_jCheckBoxMain=N/D
 396.270 +ACSD_ProjectChooserAccessory_jCheckBoxSubprojects=Abrir tamb\u00e9m os projetos dos quais depende o projeto selecionado
 396.271 +
 396.272 +ACSN_ProjectChooserAccessory_jListSubprojects=Lista de sub-projetos
 396.273 +
 396.274 +ACSD_ProjectChooserAccessory_jListSubprojects=Lista dos projetos dos quais depende o projeto selecionado
 396.275 +
 396.276 +AD_SimpleTargetChooserPanelGUI=N/D
 396.277 +
 396.278 +AD_documentNameTextField=N/D
 396.279 +
 396.280 +AD_projectTextField=N/D
 396.281 +
 396.282 +AD_locationComboBox=N/D
 396.283 +
 396.284 +AD_folderTextField=N/D
 396.285 +
 396.286 +AD_browseButton=N/D
 396.287 +
 396.288 +AD_fileTextField=N/D
 396.289 +
 396.290 +AN_ProjectChooserAccessory=N/D
 396.291 +AD_ProjectChooserAccessory=N/D
 396.292 +
 396.293 +AN_ProjectName=N/D
 396.294 +AD_ProjectName=N/D
 396.295 +
 396.296 +AD_NoMainProjectWarning_jList1=N/D
 396.297 +
 396.298 +AD_NoMainProjectWarninig=N/D
 396.299 +# {0} - name of the file
 396.300 +# {1} - an integer representing the invalid characters:
 396.301 +#       0: both '/' and '\\' are invalid
 396.302 +#       1: '\\' is invalid
 396.303 +MSG_not_valid_filename=O nome do arquivo {0} n\u00e3o \u00e9 permitido pois cont\u00e9m {1,choice,0#uma barra (/) ou uma barra invertida(\)|1#uma barra invertida (\\)}.
 396.304 +# {0} - name of the file
 396.305 +# {1} - an integer representing the invalid characters:
 396.306 +#       0: both '/' and '\\' are invalid
 396.307 +#       1: '\\' is invalid
 396.308 +MSG_not_valid_folder=O nome da pasta {0} n\u00e3o \u00e9 permitido pois cont\u00e9m {1,choice,0#uma barra (/) ou uma barra invertida (\)|1#uma barra invertida (\\)}.
 396.309 +
 396.310 +#OpenProjectList:
 396.311 +#Dialog caption:
 396.312 +CAP_Opening_Projects=Abrindo projeto:
 396.313 +LBL_Opening_Projects_Progress=Abrindo projetos
 396.314 +LBL_Opening_Projects=Abrindo projeto:
 396.315 +
 396.316 +# <RAVE>
 396.317 +# Window System API
 396.318 +
 396.319 +# TopComponent
 396.320 +LBL_component_name=<nome do componente>
 396.321 +#LBL_mode_name=<name of mode>
 396.322 +#LBL_workspace_name=<name of workspace>
 396.323 +
 396.324 +# WizardDescriptor
 396.325 +# Dialog title:
 396.326 +TITLE_wizard=Meu Assistente
 396.327 +
 396.328 +# WizardDescriptor.Iterator
 396.329 +# Label the sequence #. Appears at top of pane:
 396.330 +# e.g. "Panel Name (1 of 3)"
 396.331 +TITLE_x_of_y={0} de {1}
 396.332 +# Provide list of steps to show in left pane:
 396.333 +#LBL_step_1=Select First Thing
 396.334 +#LBL_step_2=Configure Details
 396.335 +
 396.336 +# WizardDescriptor.Panel
 396.337 +# Will appear in dialog title; see above
 396.338 +TITLE_WizardPanel=Nome do painel
 396.339 +# {0} name of folder
 396.340 +TXT_CantCreatePage=N\u00e3o \u00e9 poss\u00edvel criar uma nova p\u00e1gina na pasta {0}.
 396.341 +TXT_CantUpdatePortletXML=N\u00e3o \u00e9 poss\u00edvel atualizar portlet.xml
 396.342 +
 396.343 +# CallableSystemAction
 396.344 +LBL_Action=Rodar A\u00e7\u00e3o
 396.345 +
 396.346 +# PageIterator
 396.347 +# {0} web form name
 396.348 +MSG_NotInWebProject=<html>N\u00e3o foi poss\u00edvel criar os itens do Visual Web no projeto n\u00e3o-Web.</html>
 396.349 +MSG_NotSupportProperties=<html>N\u00e3o foi poss\u00edvel criar os itens do Visual Web porque o projeto de destino n\u00e3o suporta a Configura\u00e7\u00e3o auxiliar para salvar as propriedades do projeto.</html>
 396.350 +MSG_InvalidJavaFileName=<html>O nome "{0}" \u00e9 um nome de arquivo inv\u00e1lido. Especifique um nome que seja um identificador de Java legal.</html>
 396.351 +MSG_InvalidJavaFolderName=<html>O nome "{0}" \u00e9 um nome de pasta inv\u00e1lido. Especifique um nome que seja um identificador de Java legal.</html>
 396.352 +MSG_NotUnderTargetFolder=<html>A pasta "{0}" n\u00e3o est\u00e1 sob a pasta de destino v\u00e1lida "{1}"</html>
 396.353 +MSG_InvalidTargetFolder=<html>Pasta "{0}" \u00e9 um nome de pasta inv\u00e1lido</html>
 396.354 +MSG_NoSourceRoot=<html>N\u00e3o h\u00e1 pasta do pacote de origem definido no projeto.</html>
 396.355 +MSG_PortletIncompatible=<html>A mistura da p\u00e1gina regular Visual Web JSF e da p\u00e1gina Portlet n\u00e3o \u00e9 aceita no momento.</html>
 396.356 +MSG_PageBeanNameConflict=<html>O arquivo Java "{0}" correspondente ao nome da p\u00e1gina " {1} " j\u00e1 existe. Selecione outro nome.</html>
 396.357 +MSG_FileDifferentByCase=<html>O nome de arquivo especificado \u00e9 semelhante ao de um arquivo existente nesta pasta, diferente apenas pelas letras mai\u00fasculas e min\u00fasculas. Isso causar\u00e1 problemas se voc\u00ea tentar trabalhar com este projeto em um sistema com nomes de arquivo que n\u00e3o diferenciam mai\u00fasculas e min\u00fasculas.<br>\u00c9 recomend\u00e1vel renomear o arquivo para que seja exclusivo.</html>
 396.358 +MSG_InvalidPackageName=<html>O nome "{0}" \u00e9 um nome de pacote inv\u00e1lido. Especifique um nome que seja um identificador de Java legal.</html>
 396.359 +MSG_NotAPortlet10Application=<html>O Portlet Visual JSF pode ser criado para o aplicativo Portlet 1.0</html>
 396.360 +
 396.361 +LBL_PagebeanPackagePanel_Name=Pacote do Bean de p\u00e1gina
 396.362 +LBL_PagebeanPackage_Label=Pacote Java padr\u00e3o\:
 396.363 +MNE_PagebeanPackage_Label=I
 396.364 +AD_PagebeanPackagePanelGUI=N/D
 396.365 +AD_packageTextField=N/D
 396.366 +NO_PREVIEW_TEXT=A visualiza\u00e7\u00e3o n\u00e3o est\u00e1 dispon\u00edvel
 396.367 +PREVIEW_TITLE=Visualizar
 396.368 +NO_DESCRIPTION_TEXT=A descri\u00e7\u00e3o n\u00e3o est\u00e1 dispon\u00edvel
 396.369 +
 396.370 +# Visual Web JSF Backwards Compatibility Kit
 396.371 +LBL_MissingJSF=<li>A <b>Implementa\u00e7\u00e3o de refer\u00eancia (RI) do JavaServer Faces 1.1</b> \u00e9 necess\u00e1ria para projetos J2EE 1.4.</li>
 396.372 +LBL_MissingJAXRPC=<li>As <b>Bibliotecas JAX-RPC dos servi\u00e7os Web</b> s\u00e3o necess\u00e1rias para os projetos J2EE 1.4.</li>
 396.373 +LBL_MissingRowset=<li>A <b>Implementa\u00e7\u00e3o de refer\u00eancia (RI) do conjunto de linhas</b> \u00e9 necess\u00e1ria para projetos que usam o J2SE 1.4.</li>
 396.374 +LBL_MissingOne=RI \u00e9
 396.375 +LBL_MissingMany=RIs s\u00e3o
 396.376 +LBL_MissingNBM=<html>O {0} a seguir n\u00e3o est\u00e1 instalado no IDE.  Use os plug-ins para instalar o <b>Visual Web JSF Backwards Compatibility Kit</b>.<ul>{1}</ul></html>
 396.377 +
 396.378 +LBL_PORTLET_NAME=Nome do portlet:
 396.379 +LBL_PORTLET_DISPLAY_NAME=Nome de exibi\u00e7\u00e3o do portlet:
 396.380 +LBL_PORTLET_DESC=Descri\u00e7\u00e3o do portlet:
 396.381 +LBL_PORTLET_TITLE=T\u00edtulo do portlet:
 396.382 +LBL_PORTLET_SHORT_TITLE=T\u00edtulo resumido do portlet:
 396.383 +LBL_PORTLET_MODE=Modo do portlet:
 396.384 +
 396.385 +MSG_INVALID_PORTLET_NAME=Nome do portlet inv\u00e1lido
 396.386 +MSG_PORTLET_ALREADY_PRESENT=Um portlet com o mesmo nome j\u00e1 existe
 396.387 +MSG_INVALID_PORTLET_TITLE=T\u00edtulo do portlet inv\u00e1lido
 396.388 +
 396.389 +MSG_INVALID_PORTLET_SHORT_TITLE=T\u00edtulo resumido do portlet inv\u00e1lido
 396.390 +
 396.391 +MSG_INVALID_PORTLET_DISPLAY_NAME=Nome de exibi\u00e7\u00e3o inv\u00e1lido
 396.392 +
 396.393 +MSG_INVALID_PORTLET_DESC=Descri\u00e7\u00e3o do portlet inv\u00e1lido
 396.394 +
 396.395 +MSG_PORTLET_ALREADY_PRESENT=Um portlet com o mesmo nome j\u00e1 existe
 396.396 +ACSN_Portlet_Name=Nome do portlet:
 396.397 +ACSD_Portlet_Name=Nome do portlet:
 396.398 +ACSN_Portlet_Display_Name=Nome &de exibi\u00e7\u00e3o do portlet:
 396.399 +ACSD_Portlet_Display_Name=Nome de exibi\u00e7\u00e3o do portlet:
 396.400 +ACSN_Portlet_Desc=Des&cri\u00e7\u00e3o do portlet:
 396.401 +ACSD_Portlet_Desc=Descri\u00e7\u00e3o do portlet:
 396.402 +ACSN_Portlet_Title=&T\u00edtulo do portlet:
 396.403 +ASCD_Portlet_Title=T\u00edtulo do portlet:
 396.404 +ACSN_Portlet_Short_Title=T\u00edt&ulo resumido do portlet:
 396.405 +ASCD_Portlet_Short_Title=T\u00edtulo resumido do portlet:
   397.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   397.2 +++ b/portalpack.visualweb/l10n/zh_CN/org/netbeans/modules/portalpack/visualweb/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   397.3 @@ -0,0 +1,46 @@
   397.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   397.5 +#
   397.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   397.7 +#
   397.8 +# The contents of this file are subject to the terms of either the GNU
   397.9 +# General Public License Version 2 only ("GPL") or the Common
  397.10 +# Development and Distribution License("CDDL") (collectively, the
  397.11 +# "License"). You may not use this file except in compliance with the
  397.12 +# License. You can obtain a copy of the License at
  397.13 +# http://www.netbeans.org/cddl-gplv2.html
  397.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  397.15 +# specific language governing permissions and limitations under the
  397.16 +# License.  When distributing the software, include this License Header
  397.17 +# Notice in each file and include the License file at
  397.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  397.19 +# particular file as subject to the "Classpath" exception as provided
  397.20 +# by Sun in the GPL Version 2 section of the License file that
  397.21 +# accompanied this code. If applicable, add the following below the
  397.22 +# License Header, with the fields enclosed by brackets [] replaced by
  397.23 +# your own identifying information:
  397.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  397.25 +#
  397.26 +# Contributor(s):
  397.27 +#
  397.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  397.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  397.30 +# Microsystems, Inc. All Rights Reserved.
  397.31 +#
  397.32 +# If you wish your version of this file to be governed by only the CDDL
  397.33 +# or only the GPL Version 2, indicate your decision by adding
  397.34 +# "[Contributor] elects to include this software in this distribution
  397.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  397.36 +# single choice of license, a recipient has the option to distribute
  397.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  397.38 +# to extend the choice of license to its licensees as provided above.
  397.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  397.40 +# Version 2 license, then the option applies only if the new code is
  397.41 +# made subject to such option by the copyright holder.
  397.42 +
  397.43 +OpenIDE-Module-Display-Category=PortalPack
  397.44 +OpenIDE-Module-Long-Description=\u5229\u7528\u6b64\u6a21\u5757\uff0cPortlet \u5f00\u53d1\u8005\u53ef\u4ee5\u901a\u8fc7\u5728\u6240\u89c1\u5373\u6240\u5f97 (WYSIWYG) \u7684\u53ef\u89c6\u7f16\u8f91\u5668\u4e2d\u62d6\u653e\u7ec4\u4ef6\uff0c\u5728 NetBeans \u4e2d\u5feb\u901f\u6784\u5efa\u57fa\u4e8e JSF \u7684 Portlet \u5e94\u7528\u7a0b\u5e8f\u3002
  397.45 +OpenIDE-Module-Name=Visual Web JSF Portlet \u652f\u6301
  397.46 +
  397.47 +Templates/JSF/PortletPage.jsp=Visual Web JSF Portlet \u9875
  397.48 +Templates/JSF/PortletPage.java=Portlet Backing Java \u6587\u4ef6
  397.49 +
   398.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   398.2 +++ b/portalpack.visualweb/l10n/zh_CN/org/netbeans/modules/portalpack/visualweb/actions/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   398.3 @@ -0,0 +1,58 @@
   398.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   398.5 +#
   398.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   398.7 +#
   398.8 +# The contents of this file are subject to the terms of either the GNU
   398.9 +# General Public License Version 2 only ("GPL") or the Common
  398.10 +# Development and Distribution License("CDDL") (collectively, the
  398.11 +# "License"). You may not use this file except in compliance with the
  398.12 +# License. You can obtain a copy of the License at
  398.13 +# http://www.netbeans.org/cddl-gplv2.html
  398.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  398.15 +# specific language governing permissions and limitations under the
  398.16 +# License.  When distributing the software, include this License Header
  398.17 +# Notice in each file and include the License file at
  398.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  398.19 +# particular file as subject to the "Classpath" exception as provided
  398.20 +# by Sun in the GPL Version 2 section of the License file that
  398.21 +# accompanied this code. If applicable, add the following below the
  398.22 +# License Header, with the fields enclosed by brackets [] replaced by
  398.23 +# your own identifying information:
  398.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  398.25 +#
  398.26 +# Contributor(s):
  398.27 +#
  398.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  398.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  398.30 +# Microsystems, Inc. All Rights Reserved.
  398.31 +#
  398.32 +# If you wish your version of this file to be governed by only the CDDL
  398.33 +# or only the GPL Version 2, indicate your decision by adding
  398.34 +# "[Contributor] elects to include this software in this distribution
  398.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  398.36 +# single choice of license, a recipient has the option to distribute
  398.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  398.38 +# to extend the choice of license to its licensees as provided above.
  398.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  398.40 +# Version 2 license, then the option applies only if the new code is
  398.41 +# made subject to such option by the copyright holder.
  398.42 +
  398.43 +
  398.44 +# SetStartPageAction
  398.45 +LBL_SetAsStartPage=\u8bbe\u7f6e\u4e3a\u8d77\u59cb\u9875
  398.46 +LBL_SetInitalPageAction_SETINITIALVIEWPAGE=\u8bbe\u7f6e\u4e3a\u521d\u59cb\u9875
  398.47 +LBL_InitialViewShortDesc=\u521d\u59cb\u67e5\u770b\u9875
  398.48 +LBL_InitialEditShortDesc=\u521d\u59cb\u7f16\u8f91\u9875
  398.49 +LBL_InitialHelpShortDesc=\u521d\u59cb\u5e2e\u52a9\u9875
  398.50 +MSG_StartPageChanged=\u8d77\u59cb\u9875\u5df2\u7ecf\u8bbe\u7f6e\u4e3a\uff1a
  398.51 +MSG_NoStartPage=\u6ca1\u6709\u4e3a\u5e94\u7528\u7a0b\u5e8f\u5b9a\u4e49\u8d77\u59cb\u9875\u3002
  398.52 +MSG_UnableToSetDefaultIcon=\u627e\u4e0d\u5230\u6587\u4ef6 {0} \u7684\u6570\u636e\u5bf9\u8c61\uff0c\u56e0\u6b64\u65e0\u6cd5\u8bbe\u7f6e\u7f3a\u7701\u56fe\u6807\u3002
  398.53 +MNU_VIEWMODE=\u67e5\u770b\u6a21\u5f0f\u9875
  398.54 +MNU_EDITMODE=\u7f16\u8f91\u6a21\u5f0f\u9875
  398.55 +MNU_HELPMODE=\u5e2e\u52a9\u6a21\u5f0f\u9875
  398.56 +MNU_NONEMODE=\u65e0\u521d\u59cb\u9875
  398.57 +MNE_VIEWMODE=V
  398.58 +MNE_EDITMODE=E
  398.59 +MNE_HELPMODE=H
  398.60 +MNE_NONEMODE=N
  398.61 +
   399.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   399.2 +++ b/portalpack.visualweb/l10n/zh_CN/org/netbeans/modules/portalpack/visualweb/templates/WebFormTemplateHelp_zh_CN.html	Thu Jul 10 19:50:39 2008 +0800
   399.3 @@ -0,0 +1,52 @@
   399.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   399.5 +<!--
   399.6 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   399.7 +
   399.8 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   399.9 +
  399.10 +
  399.11 +The contents of this file are subject to the terms of either the GNU
  399.12 +General Public License Version 2 only ("GPL") or the Common
  399.13 +Development and Distribution License("CDDL") (collectively, the
  399.14 +"License"). You may not use this file except in compliance with the
  399.15 +License. You can obtain a copy of the License at
  399.16 +http://www.netbeans.org/cddl-gplv2.html
  399.17 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  399.18 +specific language governing permissions and limitations under the
  399.19 +License.  When distributing the software, include this License Header
  399.20 +Notice in each file and include the License file at
  399.21 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  399.22 +particular file as subject to the "Classpath" exception as provided
  399.23 +by Sun in the GPL Version 2 section of the License file that
  399.24 +accompanied this code. If applicable, add the following below the
  399.25 +License Header, with the fields enclosed by brackets [] replaced by
  399.26 +your own identifying information:
  399.27 +"Portions Copyrighted [year] [name of copyright owner]"
  399.28 +
  399.29 +Contributor(s):
  399.30 +
  399.31 +The Original Software is NetBeans. The Initial Developer of the Original
  399.32 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  399.33 +Microsystems, Inc. All Rights Reserved.
  399.34 +
  399.35 +If you wish your version of this file to be governed by only the CDDL
  399.36 +or only the GPL Version 2, indicate your decision by adding
  399.37 +"[Contributor] elects to include this software in this distribution
  399.38 +under the [CDDL or GPL Version 2] license." If you do not indicate a
  399.39 +single choice of license, a recipient has the option to distribute
  399.40 +your version of this file under either the CDDL, the GPL Version 2 or
  399.41 +to extend the choice of license to its licensees as provided above.
  399.42 +However, if you add GPL Version 2 code and therefore, elected the GPL
  399.43 +Version 2 license, then the option applies only if the new code is
  399.44 +made subject to such option by the copyright holder.
  399.45 +-->
  399.46 +
  399.47 +
  399.48 +<HTML>
  399.49 +<head>
  399.50 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  399.51 +</head>
  399.52 +<BODY>
  399.53 +   此模æ¿å°†åˆ›å»ºæ–°çš„空白 Web 页。您å¯ä»¥é€šè¿‡ä»Žç»„件é¢æ¿ä¸­æ‹–动组件æ¥è®¾è®¡é¡µé¢ã€‚
  399.54 +</BODY>
  399.55 +</HTML>
   400.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   400.2 +++ b/portalpack.visualweb/l10n/zh_CN/org/netbeans/modules/portalpack/visualweb/templates/pageJavaTemplateHelp_zh_CN.html	Thu Jul 10 19:50:39 2008 +0800
   400.3 @@ -0,0 +1,52 @@
   400.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   400.5 +<!--
   400.6 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   400.7 +
   400.8 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   400.9 +
  400.10 +
  400.11 +The contents of this file are subject to the terms of either the GNU
  400.12 +General Public License Version 2 only ("GPL") or the Common
  400.13 +Development and Distribution License("CDDL") (collectively, the
  400.14 +"License"). You may not use this file except in compliance with the
  400.15 +License. You can obtain a copy of the License at
  400.16 +http://www.netbeans.org/cddl-gplv2.html
  400.17 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  400.18 +specific language governing permissions and limitations under the
  400.19 +License.  When distributing the software, include this License Header
  400.20 +Notice in each file and include the License file at
  400.21 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  400.22 +particular file as subject to the "Classpath" exception as provided
  400.23 +by Sun in the GPL Version 2 section of the License file that
  400.24 +accompanied this code. If applicable, add the following below the
  400.25 +License Header, with the fields enclosed by brackets [] replaced by
  400.26 +your own identifying information:
  400.27 +"Portions Copyrighted [year] [name of copyright owner]"
  400.28 +
  400.29 +Contributor(s):
  400.30 +
  400.31 +The Original Software is NetBeans. The Initial Developer of the Original
  400.32 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  400.33 +Microsystems, Inc. All Rights Reserved.
  400.34 +
  400.35 +If you wish your version of this file to be governed by only the CDDL
  400.36 +or only the GPL Version 2, indicate your decision by adding
  400.37 +"[Contributor] elects to include this software in this distribution
  400.38 +under the [CDDL or GPL Version 2] license." If you do not indicate a
  400.39 +single choice of license, a recipient has the option to distribute
  400.40 +your version of this file under either the CDDL, the GPL Version 2 or
  400.41 +to extend the choice of license to its licensees as provided above.
  400.42 +However, if you add GPL Version 2 code and therefore, elected the GPL
  400.43 +Version 2 license, then the option applies only if the new code is
  400.44 +made subject to such option by the copyright holder.
  400.45 +-->
  400.46 +
  400.47 +
  400.48 +<HTML>
  400.49 +<head>
  400.50 +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  400.51 +</head>
  400.52 +<BODY>
  400.53 +        此模æ¿å°†åˆ›å»ºé¡µé¢çš„æ–° Java Bean。在创建页é¢æ—¶ï¼Œæ‚¨å°†è‡ªåŠ¨èŽ·å–在请求范围中创建的 Java 支æŒæ–‡ä»¶ï¼ˆé¡µé¢ Bean)。
  400.54 +</BODY>
  400.55 +</HTML>
   401.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   401.2 +++ b/portalpack.visualweb/l10n/zh_CN/org/netbeans/modules/portalpack/visualweb/ui/Bundle_zh_CN.properties	Thu Jul 10 19:50:39 2008 +0800
   401.3 @@ -0,0 +1,402 @@
   401.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   401.5 +#
   401.6 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   401.7 +#
   401.8 +# The contents of this file are subject to the terms of either the GNU
   401.9 +# General Public License Version 2 only ("GPL") or the Common
  401.10 +# Development and Distribution License("CDDL") (collectively, the
  401.11 +# "License"). You may not use this file except in compliance with the
  401.12 +# License. You can obtain a copy of the License at
  401.13 +# http://www.netbeans.org/cddl-gplv2.html
  401.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  401.15 +# specific language governing permissions and limitations under the
  401.16 +# License.  When distributing the software, include this License Header
  401.17 +# Notice in each file and include the License file at
  401.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  401.19 +# particular file as subject to the "Classpath" exception as provided
  401.20 +# by Sun in the GPL Version 2 section of the License file that
  401.21 +# accompanied this code. If applicable, add the following below the
  401.22 +# License Header, with the fields enclosed by brackets [] replaced by
  401.23 +# your own identifying information:
  401.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  401.25 +#
  401.26 +# Contributor(s):
  401.27 +#
  401.28 +# The Original Software is NetBeans. The Initial Developer of the Original
  401.29 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  401.30 +# Microsystems, Inc. All Rights Reserved.
  401.31 +#
  401.32 +# If you wish your version of this file to be governed by only the CDDL
  401.33 +# or only the GPL Version 2, indicate your decision by adding
  401.34 +# "[Contributor] elects to include this software in this distribution
  401.35 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  401.36 +# single choice of license, a recipient has the option to distribute
  401.37 +# your version of this file under either the CDDL, the GPL Version 2 or
  401.38 +# to extend the choice of license to its licensees as provided above.
  401.39 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  401.40 +# Version 2 license, then the option applies only if the new code is
  401.41 +# made subject to such option by the copyright holder.
  401.42 +
  401.43 +
  401.44 +# <RAVE> Copy from projects/projectui/src/org/netbeans/modules/project/ui
  401.45 +OpenIDE-Module-Name=\u9879\u76ee UI
  401.46 +OpenIDE-Module-Display-Category=\u57fa\u7840\u7ed3\u6784
  401.47 +OpenIDE-Module-Short-Description=\u4e3a IDE \u4e2d\u7684\u9879\u76ee\u63d0\u4f9b\u57fa\u672c\u7528\u6237\u754c\u9762\u3002
  401.48 +OpenIDE-Module-Long-Description=\u7528\u4e8e\u5904\u7406 IDE \u4e2d\u7684\u9879\u76ee\u7684 GUI \u57fa\u7840\u7ed3\u6784\uff1a\u201c\u9879\u76ee\u201d\u548c\u201c\u6587\u4ef6\u201d\u7a97\u53e3\u3001\u9879\u76ee\u9009\u62e9\u5668\u5bf9\u8bdd\u6846\u4ee5\u53ca\u56e0\u9879\u76ee\u800c\u5f02\u7684\u201c\u65b0\u5efa\u6587\u4ef6\u201d\u5411\u5bfc\u7b49\u3002
  401.49 +
  401.50 +# ProjectXMLCatalogReader
  401.51 +LBL_project_xml_schemas=\u9879\u76ee XML \u67b6\u6784
  401.52 +HINT_project_xml_schemas=\u5141\u8bb8\u5728 IDE \u4e2d\u9a8c\u8bc1 project.xml \u548c private.xml \u6587\u4ef6\u3002
  401.53 +
  401.54 +#BrowseFolders
  401.55 +BTN_BrowseFolders_Select_Option=\u9009\u62e9\u6587\u4ef6\u5939
  401.56 +BTN_BrowseFolders_Cancel_Option=\u53d6\u6d88
  401.57 +ACSN_BrowseFolders_Cancel_Option=\u53d6\u6d88
  401.58 +ACSD_BrowseFolders_Cancel_Option=N/A
  401.59 +MNE_BrowseFolders_Select_Option=S
  401.60 +ACSN_BrowseFolders_Select_Option=\u9009\u62e9\u6587\u4ef6\u5939
  401.61 +ACSD_BrowseFolders_Select_Option=N/A
  401.62 +LBL_BrowseFolders_jLabel1=\u6587\u4ef6\u5939\uff1a
  401.63 +MNE_BrowseFolders_jLabel1=F
  401.64 +LBL_BrowseFolders_Dialog=\u6d4f\u89c8\u6587\u4ef6\u5939
  401.65 +# ProjectTab
  401.66 +#LBL_ProjectTab=Projects
  401.67 +LBL_projectTab_tc=\u6587\u4ef6
  401.68 +LBL_projectTabLogical_tc=\u9879\u76ee
  401.69 +
  401.70 +LBL_ProjectMode=\u9879\u76ee
  401.71 +LBL_ProjectsPhysicalTabAction_Name=\u6587\u4ef6(&F)
  401.72 +LBL_ProjectsLogicalTabAction_Name=\u9879\u76ee(&J)
  401.73 +
  401.74 +# {0} Display name of the group, {1} Display name of the project,
  401.75 +# {2} Original name of the folder,
  401.76 +FMT_PhysicalView_GroupName={1} - {0}
  401.77 +
  401.78 +#Nodes
  401.79 +LBL_OpenProjectsNode_Name=\u9879\u76ee
  401.80 +
  401.81 +#Badged version of the project name {0} = orignal name
  401.82 +LBL_MainProject_BadgedNamePattern={0} [\u4e3b\u9879\u76ee]
  401.83 +
  401.84 +#Dialogs
  401.85 +LBL_PrjChooser_Title=\u6253\u5f00\u9879\u76ee
  401.86 +BTN_PrjChooser_ApproveButtonText=\u6253\u5f00\u9879\u76ee\u6587\u4ef6\u5939
  401.87 +BTN_PrjChooser_ApproveButtonTooltipText=\u6253\u5f00\u4f4d\u4e8e\u9009\u5b9a\u6587\u4ef6\u5939\u4e2d\u7684\u9879\u76ee\u3002
  401.88 +MNM_PrjChooser_ApproveButtonText=O
  401.89 +LBL_PrjChooser_ProjectDirectoryFilter_Name=\u9879\u76ee\u6587\u4ef6\u5939
  401.90 +LBL_PrjChooser_ProjectName_Label=\u9879\u76ee\u540d\u79f0(&P)\uff1a
  401.91 +LBL_PrjChooser_Main_CheckBox=\u4f5c\u4e3a\u4e3b\u9879\u76ee\u6253\u5f00(&M)
  401.92 +LBL_PrjChooser_Subprojects_CheckBox=\u6253\u5f00\u6240\u9700\u7684\u9879\u76ee(&R)\uff1a
  401.93 +MSG_PrjChooser_WaitMessage=... \u8bf7\u7a0d\u5019...
  401.94 +# {0} number of projects
  401.95 +LBL_PrjChooser_Multiselection={0} \u4e2a\u9879\u76ee
  401.96 +# {0} - display name of subproject
  401.97 +# {1} - location of subproject on disk
  401.98 +LBL_PrjChooser_SubprojectName_Format={0} ({1})
  401.99 +
 401.100 +#SystemFile system
 401.101 +  #Menus
 401.102 +Menu/File/New=\u65b0\u5efa
 401.103 +Menu/File/New/org-netbeans-core-actions-NewTemplateCallableAction.instance=\u6587\u4ef6\u5939/\u6587\u4ef6...
 401.104 +Menu/File/Open=\u6253\u5f00
 401.105 +Menu/File/Open/org-netbeans-modules-project-ui-OpenProjectAction.instance=\u9879\u76ee...
 401.106 +
 401.107 +Menu/BuildProject=\u751f\u6210(&B)
 401.108 +Menu/RunProject=\u8fd0\u884c(&R)
 401.109 +Menu/RunProject/RunOther=\u8fd0\u884c\u6587\u4ef6(&N)
 401.110 +Mount/PrjAllRoots.instance=\u6b64\u8ba1\u7b97\u673a
 401.111 +
 401.112 +Actions/Project=\u9879\u76ee
 401.113 +Actions/Build=\u751f\u6210
 401.114 +
 401.115 +Templates/Project=\u9879\u76ee
 401.116 +Templates/Project/Import=\u57fa\u4e8e\u73b0\u6709\u6e90\u4ee3\u7801\u7684\u9879\u76ee
 401.117 +Templates/Project/Samples=\u6837\u4f8b
 401.118 +Toolbars/Build=\u751f\u6210
 401.119 +
 401.120 +# PhysicalViewFactoryImpl
 401.121 +HINT_project={0} \u4e2d\u7684\u9879\u76ee
 401.122 +HINT_group={0} \u4e2d\u7684\u6e90\u6587\u4ef6\u5939
 401.123 +
 401.124 +#NoMainProjectWarning
 401.125 +LBL_NoMainProjectWarning_jLabel1=\u5c1a\u672a\u8bbe\u7f6e\u4e3b\u9879\u76ee\u3002
 401.126 +LBL_NoMainProjectWarning_jLabel2=\u9009\u62e9\u4e3b\u9879\u76ee(&S)\uff1a
 401.127 +MNE_NoMainProjectWarning_jLabel2=S
 401.128 +LBL_NoMainClassWarning_ChooseMainProject_OK=\u786e\u5b9a
 401.129 +AD_NoMainClassWarning_ChooseMainProject_OK=N/A
 401.130 +CTL_NoMainProjectWarning_Title=\u8b66\u544a
 401.131 +
 401.132 +ACC_InfiniteProgressName=\u672a\u5b8c\u6210\u7684\u8fdb\u5ea6\u680f
 401.133 +ACC_InfiniteProgressDesc=\u8868\u793a\u6b63\u5728\u6267\u884c\u67d0\u4e9b\u4efb\u52a1\u3002
 401.134 +
 401.135 +# ExitDialog
 401.136 +CTL_ExitTitle=\u4fdd\u5b58
 401.137 +# Note that the '&' goes just before the mnemonic character
 401.138 +CTL_Save=\u4fdd\u5b58
 401.139 +CTL_Save_MNM=S
 401.140 +ACSD_Save=\u4fdd\u5b58\u3002
 401.141 +# Note that the '&' goes just before the mnemonic character
 401.142 +CTL_SaveAll=\u5168\u90e8\u4fdd\u5b58
 401.143 +CTL_SaveAll_MNM=A
 401.144 +ACSD_SaveAll=\u5168\u90e8\u4fdd\u5b58\u3002
 401.145 +# Note that the '&' goes just before the mnemonic character
 401.146 +CTL_DiscardAll=\u5168\u90e8\u653e\u5f03
 401.147 +CTL_DiscardAll_MNM=D
 401.148 +ACSD_DiscardAll=\u5168\u90e8\u653e\u5f03\u3002
 401.149 +EXC_Save=\u4fdd\u5b58\u65f6\u51fa\u73b0\u5f02\u5e38
 401.150 +ACSN_ListOfChangedFiles=\u5217\u8868
 401.151 +ACSD_ListOfChangedFiles=\u8981\u4fdd\u5b58\u7684\u66f4\u6539\u6587\u4ef6\u7684\u5217\u8868
 401.152 +ACSD_ExitDialog=\u7528\u4e8e\u4fdd\u5b58\u6240\u6709\u66f4\u6539\u7684\u5bf9\u8bdd\u6846
 401.153 +
 401.154 +#ProjectOpenListSettings
 401.155 +TXT_SelectTemplate=\u9009\u62e9\u9879\u76ee
 401.156 +TXT_UISettings=UI \u8bbe\u7f6e
 401.157 +CTL_Categories=\u7c7b\u522b\uff1a
 401.158 +CTL_Projects=\u9879\u76ee\uff1a
 401.159 +CTL_Files=\u6587\u4ef6\u7c7b\u578b\uff1a
 401.160 +MNE_Categories=C
 401.161 +MNE_Projects=P
 401.162 +MNE_Files=F
 401.163 +
 401.164 +TXT_NoDescription=\u65e0\u63cf\u8ff0\u3002
 401.165 +
 401.166 +CTL_Description=\u63cf\u8ff0(&D)\uff1a
 401.167 +
 401.168 +#TemplateChooserPanelGUI
 401.169 +LBL_TemplateChooserPanelGUI_Name=\u9009\u62e9\u6587\u4ef6\u7c7b\u578b
 401.170 +LBL_TemplateChooserPanelGUI_jLabel1=\u9879\u76ee\uff1a
 401.171 +MNE_TemplateChooserPanelGUI_jLabel1=P
 401.172 +LBL_TemplateChooserPanelGUI_jLabel2=\u6587\u4ef6\u7c7b\u578b\uff1a
 401.173 +LBL_TemplateChooserPanelGUI_jLabel3=\u63cf\u8ff0\uff1a
 401.174 +LBL_TemplateChooserPanelGUI_jTextArea=\u65e0\u63cf\u8ff0
 401.175 +LBL_TemplateChooserPanelGUI_showRecommendedTemplatesCheckBox=\u4ec5\u663e\u793a\u9009\u5b9a\u9879\u76ee\u4e2d\u652f\u6301\u7684\u6587\u4ef6\u7c7b\u578b
 401.176 +
 401.177 +#Target chooser
 401.178 +LBL_TargetChooser_FileName_Label=\u6587\u4ef6\u540d\uff1a
 401.179 +LBL_TargetChooser_FolderName_Label=\u6587\u4ef6\u5939\u540d\u79f0\uff1a
 401.180 +LBL_TargetChooser_Project_Label=\u9879\u76ee\uff1a
 401.181 +LBL_TargetChooser_Folder_Label=\u6587\u4ef6\u5939\uff1a
 401.182 +LBL_TargetChooser_ParentFolder_Label=\u7236\u6587\u4ef6\u5939\uff1a
 401.183 +LBL_TargetChooser_Browse_Button=\u6d4f\u89c8...
 401.184 +LBL_TargetChooser_CreatedFile_Label=\u521b\u5efa\u7684\u6587\u4ef6\uff1a
 401.185 +LBL_TargetChooser_CreatedFolder_Label=\u521b\u5efa\u7684\u6587\u4ef6\u5939\uff1a
 401.186 +LBL_TargetChooser_Location_Label=\u4f4d\u7f6e\uff1a
 401.187 +MNE_TargetChooser_FileName_Label=N
 401.188 +MNE_TargetChooser_FolderName_Label=N
 401.189 +MNE_TargetChooser_Project_Label=P
 401.190 +MNE_TargetChooser_Folder_Label=l
 401.191 +MNE_TargetChooser_ParentFolder_Label=r
 401.192 +MNE_TargetChooser_Browse_Button=w
 401.193 +MNE_TargetChooser_CreatedFile_Label=C
 401.194 +MNE_TargetChooser_CreatedFolder_Label=C
 401.195 +MNE_TargetChooser_Location_Label=t
 401.196 +# 0 - name of group, 1 - name of project
 401.197 +FMT_TargetChooser_GroupProjectNameBadge={0} [{1}]
 401.198 +
 401.199 +#NewFileWizard
 401.200 +LBL_NewFileWizard_Title=\u65b0\u5efa\u6587\u4ef6
 401.201 +LBL_NewFileWizard_Subtitle=\u65b0\u5efa
 401.202 +LBL_NewFileWizard_MessageFormat={0} {1}
 401.203 +ACSN_NewFileWizard=\u201c\u65b0\u5efa\u6587\u4ef6\u201d\u5411\u5bfc
 401.204 +ACSD_NewFileWizard=\u9009\u62e9\u65b0\u6587\u4ef6\u7684\u7c7b\u578b
 401.205 +
 401.206 +#NewProjectWizard
 401.207 +LBL_NewProjectWizard_Title=\u65b0\u5efa\u9879\u76ee
 401.208 +LBL_NewProjectWizard_Subtitle=\u65b0\u5efa
 401.209 +LBL_NewProjectWizard_MessageFormat={0} {1}
 401.210 +ACSN_NewProjectWizard=\u201c\u65b0\u5efa\u9879\u76ee\u201d\u5411\u5bfc
 401.211 +ACSD_NewProjectWizard=\u9009\u62e9\u65b0\u9879\u76ee\u7684\u7c7b\u578b
 401.212 +LBL_NewProjectWizard_Name=\u9009\u62e9\u9879\u76ee
 401.213 +LBL_NewProjectWizard_Dots=...
 401.214 +
 401.215 +LBL_TemplatesPanel_Name=\u9009\u62e9\u6587\u4ef6\u7c7b\u578b
 401.216 +LBL_TemplatesPanel_Dots=...
 401.217 +LBL_TemplatesPanel_PleaseWait=\u8bf7\u7a0d\u5019...
 401.218 +
 401.219 +LBL_PageLayoutsPanel_Name=\u9009\u62e9\u9875\u9762\u5e03\u5c40
 401.220 +
 401.221 +#Templates
 401.222 +Templates/Other/Folder=\u6587\u4ef6\u5939
 401.223 +
 401.224 +#Dialog for new File/Folder outside of project
 401.225 +LBL_NonProject_OK_Button=\u786e\u5b9a
 401.226 +LBL_NonProject_Cancel_Button=\u53d6\u6d88
 401.227 +LBL_NonProject_File_Name=\u6587\u4ef6\u540d(&F)\uff1a
 401.228 +LBL_NonProject_File_Title=\u65b0\u5efa\u7a7a\u6587\u4ef6
 401.229 +LBL_NonProject_Folder_Name=\u6587\u4ef6\u5939\u540d\u79f0(&F)\uff1a
 401.230 +LBL_NonProject_Folder_Title=\u65b0\u5efa\u6587\u4ef6\u5939
 401.231 +ACD_NonProject_File_TextField=\u8981\u521b\u5efa\u7684\u6587\u4ef6\u540d
 401.232 +ACD_NonProject_File_Dialog=\u65b0\u5efa\u6587\u4ef6
 401.233 +ACD_NonProject_Folder_TextField=\u8981\u521b\u5efa\u7684\u6587\u4ef6\u5939\u540d\u79f0
 401.234 +ACD_NonProject_Folder_Dialog=\u65b0\u5efa\u6587\u4ef6\u5939
 401.235 +
 401.236 +CTL_Templates=\u6a21\u677f\uff1a
 401.237 +MNE_Templates=T
 401.238 +
 401.239 +#SimpleTargetChooserPanel
 401.240 +LBL_SimpleTargetChooserPanel_Name=\u540d\u79f0\u548c\u4f4d\u7f6e
 401.241 +LBL_SimpleTargetChooserPanelGUI_NewFilePrefix=new
 401.242 +
 401.243 +#ProjectUtilities
 401.244 +MSG_fs_or_folder_does_not_exist=\u76ee\u6807\u6587\u4ef6\u5939\u4e0d\u5b58\u5728\u3002
 401.245 +MSG_fs_is_readonly=\u76ee\u6807\u6587\u4ef6\u5939\u5177\u6709\u53ea\u8bfb\u5c5e\u6027\u3002
 401.246 +# {0} - name of the existing file
 401.247 +MSG_file_already_exist=\u6587\u4ef6 {0} \u5df2\u5b58\u5728\u3002
 401.248 +MSG_NodeNotFound_ProjectsTab=\u5728\u201c\u9879\u76ee\u201d\u7a97\u53e3\u4e2d\u627e\u4e0d\u5230\u6b64\u6587\u6863\u8282\u70b9\u3002
 401.249 +MSG_NodeNotFound_FilesTab=\u5728\u201c\u6587\u4ef6\u201d\u7a97\u53e3\u4e2d\u627e\u4e0d\u5230\u6b64\u6587\u6863\u8282\u70b9\u3002
 401.250 +#Hacks
 401.251 +LBL_MultipleProjects=\u591a\u4e2a\u9879\u76ee
 401.252 +
 401.253 +#TemplatesPanelGUI
 401.254 +ACSN_CategoriesPanel=\u65b0\u5bf9\u8c61\u7684\u7c7b\u522b
 401.255 +ACSD_CategoriesPanel=\u53ef\u9009\u62e9\u7684\u65b0\u5bf9\u8c61\u7684\u7c7b\u522b\u5217\u8868
 401.256 +ACSN_TemplatesPanel=\u65b0\u5bf9\u8c61\u7684\u7c7b\u578b
 401.257 +ACSD_TemplatesPanel=\u53ef\u9009\u62e9\u7684\u65b0\u5bf9\u8c61\u7684\u7c7b\u578b\u5217\u8868
 401.258 +
 401.259 +ACSN_jLabel1=\u9879\u76ee
 401.260 +
 401.261 +ACSD_jLabel1=\u53ef\u7528\u9879\u76ee\u5217\u8868
 401.262 +
 401.263 +ACSN_BrowseFolders_jLabel1=\u6587\u4ef6\u5939\uff1a
 401.264 +ACSN_BrowseFolders_folderPanel=\u6587\u4ef6\u5939\uff1a
 401.265 +ACSD_BrowseFolders_folderPanel=\u8be5\u6811\u5305\u542b\u9879\u76ee\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u5939
 401.266 +
 401.267 +ACSN_BrowseFolders=\u6d4f\u89c8\u6587\u4ef6\u5939\u4ee5\u9009\u62e9\u76ee\u6807\u6587\u4ef6\u5939
 401.268 +
 401.269 +ACSD_ProjectChooserAccessory_jCheckBoxMain=N/A
 401.270 +ACSD_ProjectChooserAccessory_jCheckBoxSubprojects=\u540c\u65f6\u6253\u5f00\u9009\u5b9a\u9879\u76ee\u7684\u5b50\u9879\u76ee
 401.271 +
 401.272 +ACSN_ProjectChooserAccessory_jListSubprojects=\u5b50\u9879\u76ee\u5217\u8868
 401.273 +
 401.274 +ACSD_ProjectChooserAccessory_jListSubprojects=\u9009\u5b9a\u9879\u76ee\u7684\u5b50\u9879\u76ee\u5217\u8868
 401.275 +
 401.276 +AD_SimpleTargetChooserPanelGUI=N/A
 401.277 +
 401.278 +AD_documentNameTextField=N/A
 401.279 +
 401.280 +AD_projectTextField=N/A
 401.281 +
 401.282 +AD_locationComboBox=N/A
 401.283 +
 401.284 +AD_folderTextField=N/A
 401.285 +
 401.286 +AD_browseButton=N/A
 401.287 +
 401.288 +AD_fileTextField=N/A
 401.289 +
 401.290 +AN_ProjectChooserAccessory=N/A
 401.291 +AD_ProjectChooserAccessory=N/A
 401.292 +
 401.293 +AN_ProjectName=N/A
 401.294 +AD_ProjectName=N/A
 401.295 +
 401.296 +AD_NoMainProjectWarning_jList1=N/A
 401.297 +
 401.298 +AD_NoMainProjectWarninig=N/A
 401.299 +# {0} - name of the file
 401.300 +# {1} - an integer representing the invalid characters:
 401.301 +#       0: both '/' and '\\' are invalid
 401.302 +#       1: '\\' is invalid
 401.303 +MSG_not_valid_filename=\u4e0d\u5141\u8bb8\u4f7f\u7528\u6587\u4ef6\u540d {0}\uff0c\u539f\u56e0\u662f\u5b83\u5305\u542b {1,choice,0#\u6b63\u659c\u6760 (/) \u6216\u53cd\u659c\u6760 (\\)|1#\u53cd\u659c\u6760 (\\)}\u3002
 401.304 +# {0} - name of the file
 401.305 +# {1} - an integer representing the invalid characters:
 401.306 +#       0: both '/' and '\\' are invalid
 401.307 +#       1: '\\' is invalid
 401.308 +MSG_not_valid_folder=\u4e0d\u5141\u8bb8\u4f7f\u7528\u6587\u4ef6\u5939\u540d\u79f0 {0}\uff0c\u539f\u56e0\u662f\u5b83\u5305\u542b {1,choice,0#\u6b63\u659c\u6760 (/) \u6216\u53cd\u659c\u6760 (\\)|1#\u53cd\u659c\u6760 (\\)}\u3002
 401.309 +
 401.310 +#OpenProjectList:
 401.311 +#Dialog caption:
 401.312 +CAP_Opening_Projects=\u6b63\u5728\u6253\u5f00\u9879\u76ee
 401.313 +LBL_Opening_Projects_Progress=\u6b63\u5728\u6253\u5f00\u9879\u76ee
 401.314 +LBL_Opening_Projects=\u6b63\u5728\u6253\u5f00\u9879\u76ee\uff1a
 401.315 +
 401.316 +# <RAVE>
 401.317 +# Window System API
 401.318 +
 401.319 +# TopComponent
 401.320 +LBL_component_name=<\u7ec4\u4ef6\u540d\u79f0>
 401.321 +#LBL_mode_name=<name of mode>
 401.322 +#LBL_workspace_name=<name of workspace>
 401.323 +
 401.324 +# WizardDescriptor
 401.325 +# Dialog title:
 401.326 +TITLE_wizard=\u6211\u7684\u5411\u5bfc
 401.327 +
 401.328 +# WizardDescriptor.Iterator
 401.329 +# Label the sequence #. Appears at top of pane:
 401.330 +# e.g. "Panel Name (1 of 3)"
 401.331 +TITLE_x_of_y={0}/{1}
 401.332 +# Provide list of steps to show in left pane:
 401.333 +#LBL_step_1=Select First Thing
 401.334 +#LBL_step_2=Configure Details
 401.335 +
 401.336 +# WizardDescriptor.Panel
 401.337 +# Will appear in dialog title; see above
 401.338 +TITLE_WizardPanel=\u9762\u677f\u540d\u79f0
 401.339 +# {0} name of folder
 401.340 +TXT_CantCreatePage=\u65e0\u6cd5\u5728 {0} \u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u65b0\u9875\u3002
 401.341 +TXT_CantUpdatePortletXML=\u65e0\u6cd5\u66f4\u65b0 portlet.xml
 401.342 +
 401.343 +# CallableSystemAction
 401.344 +LBL_Action=\u8fd0\u884c\u64cd\u4f5c
 401.345 +
 401.346 +# PageIterator
 401.347 +# {0} web form name
 401.348 +MSG_NotInWebProject=<html>\u65e0\u6cd5\u5728\u975e Web \u9879\u76ee\u4e0b\u521b\u5efa\u53ef\u89c6\u7684 Web \u9879\u3002</html>
 401.349 +MSG_NotSupportProperties=<html>\u65e0\u6cd5\u521b\u5efa\u53ef\u89c6\u7684 Web \u9879\uff0c\u56e0\u4e3a\u76ee\u6807\u9879\u76ee\u4e0d\u652f\u6301\u7528\u4e8e\u4fdd\u5b58\u9879\u76ee\u5c5e\u6027\u7684\u8f85\u52a9\u914d\u7f6e\u3002</html>
 401.350 +MSG_InvalidJavaFileName=<html>\u540d\u79f0 "{0}" \u662f\u65e0\u6548\u7684\u6587\u4ef6\u540d\u3002\u8bf7\u6307\u5b9a\u4e00\u4e2a\u6709\u6548\u7684 Java \u6807\u8bc6\u7b26\u540d\u79f0\u3002</html>
 401.351 +MSG_InvalidJavaFolderName=<html>\u540d\u79f0 "{0}" \u662f\u65e0\u6548\u7684\u6587\u4ef6\u5939\u540d\u79f0\u3002\u8bf7\u6307\u5b9a\u4e00\u4e2a\u6709\u6548\u7684 Java \u6807\u8bc6\u7b26\u540d\u79f0\u3002</html>
 401.352 +MSG_NotUnderTargetFolder=<html>\u6587\u4ef6\u5939 "{0}" \u6ca1\u6709\u4f4d\u4e8e\u6709\u6548\u76ee\u6807\u6587\u4ef6\u5939 "{1}" \u4e0b</html>
 401.353 +MSG_InvalidTargetFolder=<html>\u6587\u4ef6\u5939 "{0}" \u662f\u65e0\u6548\u7684\u6587\u4ef6\u5939\u540d\u79f0</html>
 401.354 +MSG_NoSourceRoot=<html>\u6ca1\u6709\u5728\u9879\u76ee\u4e2d\u5b9a\u4e49\u6709\u6548\u7684\u6e90\u5305\u6587\u4ef6\u5939\u3002</html>
 401.355 +MSG_PortletIncompatible=<html>\u5f53\u524d\u4e0d\u652f\u6301\u6df7\u5408\u4f7f\u7528 Visual Web JSF \u5e38\u89c4\u9875\u9762\u548c Portlet \u9875\u9762\u3002</html>
 401.356 +MSG_PageBeanNameConflict=<html>\u4e0e\u9875\u540d\u79f0 "{1}" \u5bf9\u5e94\u7684 Java \u6587\u4ef6 "{0}" \u5df2\u5b58\u5728\u3002\u8bf7\u9009\u62e9\u53e6\u4e00\u4e2a\u540d\u79f0\u3002</html>
 401.357 +MSG_FileDifferentByCase=<html>\u60a8\u6307\u5b9a\u7684\u6587\u4ef6\u540d\u4e0e\u6b64\u6587\u4ef6\u5939\u4e2d\u73b0\u6709\u6587\u4ef6\u7684\u540d\u79f0\u7c7b\u4f3c\uff0c\u4ec5\u5b57\u6bcd\u5927\u5c0f\u5199\u4e0d\u540c\u3002\u5982\u679c\u5c1d\u8bd5\u5728\u4e0d\u533a\u5206\u6587\u4ef6\u540d\u5927\u5c0f\u5199\u7684\u7cfb\u7edf\u4e0a\u4f7f\u7528\u6b64\u9879\u76ee\uff0c\u5219\u4f1a\u51fa\u73b0\u95ee\u9898\u3002<br>\u5efa\u8bae\u60a8\u91cd\u547d\u540d\u8be5\u6587\u4ef6\uff0c\u4fdd\u8bc1\u5176\u552f\u4e00\u6027\u3002</html>
 401.358 +MSG_InvalidPackageName=<html>\u540d\u79f0 "{0}" \u662f\u65e0\u6548\u7684\u5305\u540d\u79f0\u3002\u8bf7\u6307\u5b9a\u4e00\u4e2a\u6709\u6548\u7684 Java \u6807\u8bc6\u7b26\u540d\u79f0\u3002</html>
 401.359 +MSG_NotAPortlet10Application=<html>\u53ea\u80fd\u4e3a Portlet 1.0 \u5e94\u7528\u7a0b\u5e8f\u521b\u5efa Visual JSF Portlet</html>
 401.360 +
 401.361 +LBL_PagebeanPackagePanel_Name=\u9875\u9762 Bean \u5305
 401.362 +LBL_PagebeanPackage_Label=\u7f3a\u7701\u7684 Java \u5305\uff1a
 401.363 +MNE_PagebeanPackage_Label=B
 401.364 +AD_PagebeanPackagePanelGUI=N/A
 401.365 +AD_packageTextField=N/A
 401.366 +NO_PREVIEW_TEXT=\u9884\u89c8\u4e0d\u53ef\u7528
 401.367 +PREVIEW_TITLE=\u9884\u89c8
 401.368 +NO_DESCRIPTION_TEXT=\u63cf\u8ff0\u4e0d\u53ef\u7528
 401.369 +
 401.370 +# Visual Web JSF Backwards Compatibility Kit
 401.371 +LBL_MissingJSF=<li>J2EE 1.4 \u9879\u76ee\u9700\u8981 <b>JavaServer Faces 1.1 \u53c2\u8003\u5b9e\u73b0 (RI)</b>\u3002</li>
 401.372 +LBL_MissingJAXRPC=<li>\u5bf9\u4e8e J2EE 1.4 \u9879\u76ee\uff0c\u9700\u8981 <b>Web \u670d\u52a1 JAX-RPC \u5e93</b>\u3002</li>
 401.373 +LBL_MissingRowset=<li>\u4f7f\u7528 J2SE 1.4 \u7684\u9879\u76ee\u9700\u8981<b>\u884c\u96c6\u53c2\u8003\u5b9e\u73b0 (RI)</b>\u3002</li>
 401.374 +LBL_MissingOne=RI
 401.375 +LBL_MissingMany=\u8fd9\u4e9b RI
 401.376 +LBL_MissingNBM=<html>IDE \u4e2d\u672a\u5b89\u88c5\u4ee5\u4e0b {0}\u3002\u8bf7\u4f7f\u7528\u63d2\u4ef6\u6765\u5b89\u88c5 <b>Visual Web JSF \u5411\u540e\u517c\u5bb9\u6027\u5de5\u5177\u5305</b>\u3002<ul>{1}</ul></html>
 401.377 +
 401.378 +LBL_PORTLET_NAME=Portlet \u540d\u79f0\uff1a
 401.379 +LBL_PORTLET_DISPLAY_NAME=Portlet \u663e\u793a\u540d\u79f0\uff1a
 401.380 +LBL_PORTLET_DESC=Portlet \u63cf\u8ff0\uff1a
 401.381 +LBL_PORTLET_TITLE=Portlet \u6807\u9898\uff1a
 401.382 +LBL_PORTLET_SHORT_TITLE=Portlet \u77ed\u6807\u9898\uff1a
 401.383 +LBL_PORTLET_MODE=Portlet \u6a21\u5f0f\uff1a
 401.384 +
 401.385 +MSG_INVALID_PORTLET_NAME=Portlet \u540d\u79f0\u65e0\u6548
 401.386 +MSG_PORTLET_ALREADY_PRESENT=\u5177\u6709\u76f8\u540c\u540d\u79f0\u7684 Portlet \u5df2\u5b58\u5728
 401.387 +MSG_INVALID_PORTLET_TITLE=Portlet \u6807\u9898\u65e0\u6548
 401.388 +
 401.389 +MSG_INVALID_PORTLET_SHORT_TITLE=Portlet \u77ed\u6807\u9898\u65e0\u6548
 401.390 +
 401.391 +MSG_INVALID_PORTLET_DISPLAY_NAME=\u663e\u793a\u540d\u79f0\u65e0\u6548
 401.392 +
 401.393 +MSG_INVALID_PORTLET_DESC=Portlet \u63cf\u8ff0\u65e0\u6548
 401.394 +
 401.395 +MSG_PORTLET_ALREADY_PRESENT=\u5177\u6709\u76f8\u540c\u540d\u79f0\u7684 Portlet \u5df2\u5b58\u5728
 401.396 +ACSN_Portlet_Name=Portlet \u540d\u79f0\uff1a
 401.397 +ACSD_Portlet_Name=Portlet \u540d\u79f0\uff1a
 401.398 +ACSN_Portlet_Display_Name=Portlet \u663e\u793a\u540d\u79f0(&D)\uff1a
 401.399 +ACSD_Portlet_Display_Name=Portlet \u663e\u793a\u540d\u79f0\uff1a
 401.400 +ACSN_Portlet_Desc=Portlet \u63cf\u8ff0(&C)\uff1a
 401.401 +ACSD_Portlet_Desc=Portlet \u63cf\u8ff0\uff1a
 401.402 +ACSN_Portlet_Title=Portlet \u6807\u9898(&T)\uff1a
 401.403 +ASCD_Portlet_Title=Portlet \u6807\u9898\uff1a
 401.404 +ACSN_Portlet_Short_Title=Portlet \u77ed\u6807\u9898(&H)\uff1a
 401.405 +ASCD_Portlet_Short_Title=Portlet \u77ed\u6807\u9898\uff1a
   402.1 --- a/projectpackager/build.xml	Thu Jul 10 19:13:29 2008 +0800
   402.2 +++ b/projectpackager/build.xml	Thu Jul 10 19:50:39 2008 +0800
   402.3 @@ -40,41 +40,6 @@
   402.4  Version 2 license, then the option applies only if the new code is
   402.5  made subject to such option by the copyright holder.
   402.6  -->
   402.7 -
   402.8  <project name="contrib/projectpackager" default="netbeans" basedir=".">
   402.9      <import file="../../nbbuild/templates/projectized.xml"/>
  402.10 -
  402.11 -    <target name="netbeans-extra" depends="release"/>
  402.12 -
  402.13 -    <target name="release" depends="init">
  402.14 -        <mkdir dir="${cluster}/modules/ext"/>
  402.15 -        <copy todir="${cluster}/modules/ext">
  402.16 -            <fileset dir="external">
  402.17 -                <include name="mail-1.3.2.jar"/>
  402.18 -                <include name="activation-1.0.2.jar"/>
  402.19 -            </fileset>
  402.20 -        </copy>
  402.21 -    </target>
  402.22 -
  402.23 -    <target name="nbm" depends="init,netbeans" description="Build NBM archive.">  
  402.24 -        <makenbm file="build/${nbm}"
  402.25 -                 productdir="${cluster}"
  402.26 -                 module="${module.jar}"
  402.27 -                 homepage="${nbm.homepage}"
  402.28 -                 distribution="http://${dist.base}/${nbm}"
  402.29 -                 needsrestart="${nbm.needs.restart}"
  402.30 -                 releasedate="${nbm.release.date}"
  402.31 -		 moduleauthor="${nbm.module.author}">
  402.32 -            <license>
  402.33 -                <text>For the projectpackager module itself:</text>
  402.34 -                <file location="${license.file}"/>
  402.35 -                <text>For the JavaMail library:</text>
  402.36 -                <file location="external/mail-license.txt"/>
  402.37 -                <text>For the Activation library:</text>
  402.38 -                <file location="external/activation-license.txt"/>
  402.39 -            </license>
  402.40 -            <signature keystore="${keystore}" storepass="${storepass}" alias="${nbm_alias}"/>
  402.41 -        </makenbm>        
  402.42 -    </target>    
  402.43 -    
  402.44  </project>
   403.1 --- a/projectpackager/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   403.2 +++ b/projectpackager/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   403.3 @@ -2,4 +2,4 @@
   403.4  OpenIDE-Module: org.netbeans.modules.projectpackager/1
   403.5  OpenIDE-Module-Layer: org/netbeans/modules/projectpackager/resources/layer.xml
   403.6  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projectpackager/resources/Bundle.properties
   403.7 -OpenIDE-Module-Specification-Version: 1.2
   403.8 +OpenIDE-Module-Specification-Version: 1.3
   404.1 --- a/projectpackager/nbproject/project.properties	Thu Jul 10 19:13:29 2008 +0800
   404.2 +++ b/projectpackager/nbproject/project.properties	Thu Jul 10 19:50:39 2008 +0800
   404.3 @@ -37,7 +37,6 @@
   404.4  # Version 2 license, then the option applies only if the new code is
   404.5  # made subject to such option by the copyright holder.
   404.6  
   404.7 -extra.module.files=\
   404.8 -    modules/ext/mail-1.3.2.jar,\
   404.9 -    modules/ext/activation-1.0.2.jar
  404.10  nbm.module.author=Roman Strobl
  404.11 +release.external/activation-1.0.2.jar=modules/ext/activation-1.0.2.jar
  404.12 +release.external/mail-1.3.2.jar=modules/ext/mail-1.3.2.jar
   405.1 --- a/projectpackager/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   405.2 +++ b/projectpackager/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   405.3 @@ -43,10 +43,8 @@
   405.4  <project xmlns="http://www.netbeans.org/ns/project/1">
   405.5      <type>org.netbeans.modules.apisupport.project</type>
   405.6      <configuration>
   405.7 -
   405.8 -    <data xmlns="http://www.netbeans.org/ns/nb-module-project/2">
   405.9 +        <data xmlns="http://www.netbeans.org/ns/nb-module-project/2">
  405.10              <code-name-base>org.netbeans.modules.projectpackager</code-name-base>
  405.11 -
  405.12              <module-dependencies>
  405.13                  <dependency>
  405.14                      <code-name-base>org.apache.tools.ant.module</code-name-base>
  405.15 @@ -54,7 +52,7 @@
  405.16                      <compile-dependency/>
  405.17                      <run-dependency>
  405.18                          <release-version>3</release-version>
  405.19 -                        <specification-version>3.22</specification-version>
  405.20 +                        <specification-version>3.26</specification-version>
  405.21                      </run-dependency>
  405.22                  </dependency>
  405.23                  <dependency>
  405.24 @@ -67,24 +65,6 @@
  405.25                      </run-dependency>
  405.26                  </dependency>
  405.27                  <dependency>
  405.28 -                    <code-name-base>org.netbeans.api.java</code-name-base>
  405.29 -                    <build-prerequisite/>
  405.30 -                    <compile-dependency/>
  405.31 -                    <run-dependency>
  405.32 -                        <release-version>1</release-version>
  405.33 -                        <specification-version>1.18</specification-version>
  405.34 -                    </run-dependency>
  405.35 -                </dependency>
  405.36 -                <dependency>
  405.37 -                    <code-name-base>org.netbeans.api.java.classpath</code-name-base>
  405.38 -                    <build-prerequisite/>
  405.39 -                    <compile-dependency/>
  405.40 -                    <run-dependency>
  405.41 -                        <release-version>1</release-version>
  405.42 -                        <specification-version>1.0</specification-version>
  405.43 -                    </run-dependency>
  405.44 -                </dependency>
  405.45 -                <dependency>
  405.46                      <code-name-base>org.netbeans.api.progress</code-name-base>
  405.47                      <build-prerequisite/>
  405.48                      <compile-dependency/>
  405.49 @@ -153,27 +133,11 @@
  405.50                      </run-dependency>
  405.51                  </dependency>
  405.52                  <dependency>
  405.53 -                    <code-name-base>org.openide.nodes</code-name-base>
  405.54 -                    <build-prerequisite/>
  405.55 -                    <compile-dependency/>
  405.56 -                    <run-dependency>
  405.57 -                        <specification-version>6.5</specification-version>
  405.58 -                    </run-dependency>
  405.59 -                </dependency>
  405.60 -                <dependency>
  405.61 -                    <code-name-base>org.openide.options</code-name-base>
  405.62 -                    <build-prerequisite/>
  405.63 -                    <compile-dependency/>
  405.64 -                    <run-dependency>
  405.65 -                        <specification-version>6.2</specification-version>
  405.66 -                    </run-dependency>
  405.67 -                </dependency>
  405.68 -                <dependency>
  405.69                      <code-name-base>org.openide.util</code-name-base>
  405.70                      <build-prerequisite/>
  405.71                      <compile-dependency/>
  405.72                      <run-dependency>
  405.73 -                        <specification-version>6.4</specification-version>
  405.74 +                        <specification-version>7.4</specification-version>
  405.75                      </run-dependency>
  405.76                  </dependency>
  405.77              </module-dependencies>
   406.1 --- a/projectpackager/src/META-INF/services/org.apache.tools.ant.module.spi.AutomaticExtraClasspathProvider	Thu Jul 10 19:13:29 2008 +0800
   406.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   406.3 @@ -1,1 +0,0 @@
   406.4 -org.netbeans.modules.projectpackager.tools.MimeMailClasspathProvider
   407.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   407.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   407.3 @@ -0,0 +1,40 @@
   407.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   407.5 +#
   407.6 +# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
   407.7 +#
   407.8 +# The contents of this file are subject to the terms of either the GNU
   407.9 +# General Public License Version 2 only ("GPL") or the Common
  407.10 +# Development and Distribution License("CDDL") (collectively, the
  407.11 +# "License"). You may not use this file except in compliance with the
  407.12 +# License. You can obtain a copy of the License at
  407.13 +# http://www.netbeans.org/cddl-gplv2.html
  407.14 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  407.15 +# specific language governing permissions and limitations under the
  407.16 +# License.  When distributing the software, include this License Header
  407.17 +# Notice in each file and include the License file at
  407.18 +# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  407.19 +# particular file as subject to the "Classpath" exception as provided
  407.20 +# by Sun in the GPL Version 2 section of the License file that
  407.21 +# accompanied this code. If applicable, add the following below the
  407.22 +# License Header, with the fields enclosed by brackets [] replaced by
  407.23 +# your own identifying information:
  407.24 +# "Portions Copyrighted [year] [name of copyright owner]"
  407.25 +#
  407.26 +# If you wish your version of this file to be governed by only the CDDL
  407.27 +# or only the GPL Version 2, indicate your decision by adding
  407.28 +# "[Contributor] elects to include this software in this distribution
  407.29 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
  407.30 +# single choice of license, a recipient has the option to distribute
  407.31 +# your version of this file under either the CDDL, the GPL Version 2 or
  407.32 +# to extend the choice of license to its licensees as provided above.
  407.33 +# However, if you add GPL Version 2 code and therefore, elected the GPL
  407.34 +# Version 2 license, then the option applies only if the new code is
  407.35 +# made subject to such option by the copyright holder.
  407.36 +#
  407.37 +# Contributor(s):
  407.38 +#
  407.39 +# Portions Copyrighted 2008 Sun Microsystems, Inc.
  407.40 +
  407.41 +SMTP_Mail_From=E-mail From:
  407.42 +SMTP_Mail_Subject=E-mail Subject:
  407.43 +SMTP_Mail_Body=E-mail Body:
   408.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/EmailSettingsDialog.form	Thu Jul 10 19:13:29 2008 +0800
   408.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/EmailSettingsDialog.form	Thu Jul 10 19:50:39 2008 +0800
   408.3 @@ -1,6 +1,6 @@
   408.4  <?xml version="1.0" encoding="UTF-8" ?>
   408.5  
   408.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   408.7 +<Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   408.8    <NonVisualComponents>
   408.9      <Component class="javax.swing.JLabel" name="jLabel3">
  408.10        <Properties>
  408.11 @@ -32,7 +32,12 @@
  408.12      <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
  408.13    </SyntheticProperties>
  408.14    <AuxValues>
  408.15 +    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
  408.16 +    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  408.17 +    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
  408.18      <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  408.19 +    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
  408.20 +    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
  408.21      <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  408.22      <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  408.23      <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  408.24 @@ -45,12 +50,6 @@
  408.25                <EmptySpace max="-2" attributes="0"/>
  408.26                <Group type="103" groupAlignment="0" attributes="0">
  408.27                    <Component id="useSSL" alignment="0" min="-2" max="-2" attributes="0"/>
  408.28 -                  <Group type="102" alignment="1" attributes="0">
  408.29 -                      <Component id="okButton" min="-2" pref="63" max="-2" attributes="0"/>
  408.30 -                      <EmptySpace max="-2" attributes="0"/>
  408.31 -                      <Component id="cancelButton" min="-2" max="-2" attributes="0"/>
  408.32 -                      <EmptySpace max="-2" attributes="0"/>
  408.33 -                  </Group>
  408.34                    <Component id="jLabel6" alignment="0" min="-2" max="-2" attributes="0"/>
  408.35                    <Component id="jLabel5" alignment="0" min="-2" max="-2" attributes="0"/>
  408.36                    <Group type="102" alignment="1" attributes="0">
  408.37 @@ -71,6 +70,24 @@
  408.38                            </Group>
  408.39                        </Group>
  408.40                    </Group>
  408.41 +                  <Group type="102" alignment="0" attributes="0">
  408.42 +                      <Group type="103" groupAlignment="0" attributes="0">
  408.43 +                          <Component id="mailSubjectLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  408.44 +                          <Component id="mailBodyLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  408.45 +                          <Component id="mailFromLabel" alignment="0" min="-2" max="-2" attributes="0"/>
  408.46 +                      </Group>
  408.47 +                      <EmptySpace max="-2" attributes="0"/>
  408.48 +                      <Group type="103" groupAlignment="0" attributes="0">
  408.49 +                          <Component id="mailFromField" alignment="0" pref="274" max="32767" attributes="0"/>
  408.50 +                          <Component id="mailBodyField" pref="274" max="32767" attributes="0"/>
  408.51 +                          <Component id="mailSubjectField" alignment="0" pref="274" max="32767" attributes="0"/>
  408.52 +                      </Group>
  408.53 +                  </Group>
  408.54 +                  <Group type="102" alignment="1" attributes="0">
  408.55 +                      <Component id="okButton" min="-2" pref="63" max="-2" attributes="0"/>
  408.56 +                      <EmptySpace max="-2" attributes="0"/>
  408.57 +                      <Component id="cancelButton" min="-2" max="-2" attributes="0"/>
  408.58 +                  </Group>
  408.59                </Group>
  408.60                <EmptySpace max="-2" attributes="0"/>
  408.61            </Group>
  408.62 @@ -79,7 +96,7 @@
  408.63      <DimensionLayout dim="1">
  408.64        <Group type="103" groupAlignment="0" attributes="0">
  408.65            <Group type="102" attributes="0">
  408.66 -              <EmptySpace max="-2" attributes="0"/>
  408.67 +              <EmptySpace max="32767" attributes="0"/>
  408.68                <Group type="103" groupAlignment="3" attributes="0">
  408.69                    <Component id="smtpServer" alignment="3" min="-2" max="-2" attributes="0"/>
  408.70                    <Component id="smtpServerField" alignment="3" min="-2" max="-2" attributes="0"/>
  408.71 @@ -100,15 +117,26 @@
  408.72                <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
  408.73                <EmptySpace max="-2" attributes="0"/>
  408.74                <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
  408.75 -              <EmptySpace min="-2" pref="43" max="-2" attributes="0"/>
  408.76 -          </Group>
  408.77 -          <Group type="102" alignment="1" attributes="0">
  408.78 -              <EmptySpace min="-2" pref="176" max="-2" attributes="0"/>
  408.79 +              <EmptySpace type="separate" max="-2" attributes="0"/>
  408.80 +              <Group type="103" groupAlignment="3" attributes="0">
  408.81 +                  <Component id="mailFromLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  408.82 +                  <Component id="mailFromField" alignment="3" min="-2" max="-2" attributes="0"/>
  408.83 +              </Group>
  408.84 +              <EmptySpace max="-2" attributes="0"/>
  408.85 +              <Group type="103" groupAlignment="3" attributes="0">
  408.86 +                  <Component id="mailSubjectLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  408.87 +                  <Component id="mailSubjectField" alignment="3" min="-2" max="-2" attributes="0"/>
  408.88 +              </Group>
  408.89 +              <EmptySpace max="-2" attributes="0"/>
  408.90 +              <Group type="103" groupAlignment="3" attributes="0">
  408.91 +                  <Component id="mailBodyLabel" alignment="3" min="-2" max="-2" attributes="0"/>
  408.92 +                  <Component id="mailBodyField" alignment="3" min="-2" max="-2" attributes="0"/>
  408.93 +              </Group>
  408.94 +              <EmptySpace type="separate" max="-2" attributes="0"/>
  408.95                <Group type="103" groupAlignment="3" attributes="0">
  408.96                    <Component id="okButton" alignment="3" min="-2" max="-2" attributes="0"/>
  408.97                    <Component id="cancelButton" alignment="3" min="-2" max="-2" attributes="0"/>
  408.98                </Group>
  408.99 -              <EmptySpace max="-2" attributes="0"/>
 408.100            </Group>
 408.101        </Group>
 408.102      </DimensionLayout>
 408.103 @@ -124,7 +152,7 @@
 408.104      </Component>
 408.105      <Component class="javax.swing.JButton" name="okButton">
 408.106        <Properties>
 408.107 -        <Property name="text" type="java.lang.String" value="Ok"/>
 408.108 +        <Property name="text" type="java.lang.String" value="OK"/>
 408.109        </Properties>
 408.110        <Events>
 408.111          <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="okButtonActionPerformed"/>
 408.112 @@ -179,5 +207,41 @@
 408.113          </Property>
 408.114        </Properties>
 408.115      </Component>
 408.116 +    <Component class="javax.swing.JLabel" name="mailFromLabel">
 408.117 +      <Properties>
 408.118 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 408.119 +          <ComponentRef name="mailFromField"/>
 408.120 +        </Property>
 408.121 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 408.122 +          <ResourceString bundle="org/netbeans/modules/projectpackager/resources/Bundle.properties" key="SMTP_Mail_From" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 408.123 +        </Property>
 408.124 +      </Properties>
 408.125 +    </Component>
 408.126 +    <Component class="javax.swing.JTextField" name="mailFromField">
 408.127 +    </Component>
 408.128 +    <Component class="javax.swing.JLabel" name="mailSubjectLabel">
 408.129 +      <Properties>
 408.130 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 408.131 +          <ComponentRef name="mailSubjectField"/>
 408.132 +        </Property>
 408.133 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 408.134 +          <ResourceString bundle="org/netbeans/modules/projectpackager/resources/Bundle.properties" key="SMTP_Mail_Subject" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 408.135 +        </Property>
 408.136 +      </Properties>
 408.137 +    </Component>
 408.138 +    <Component class="javax.swing.JTextField" name="mailSubjectField">
 408.139 +    </Component>
 408.140 +    <Component class="javax.swing.JLabel" name="mailBodyLabel">
 408.141 +      <Properties>
 408.142 +        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 408.143 +          <ComponentRef name="mailBodyField"/>
 408.144 +        </Property>
 408.145 +        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 408.146 +          <ResourceString bundle="org/netbeans/modules/projectpackager/resources/Bundle.properties" key="SMTP_Mail_Body" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 408.147 +        </Property>
 408.148 +      </Properties>
 408.149 +    </Component>
 408.150 +    <Component class="javax.swing.JTextField" name="mailBodyField">
 408.151 +    </Component>
 408.152    </SubComponents>
 408.153  </Form>
   409.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/EmailSettingsDialog.java	Thu Jul 10 19:13:29 2008 +0800
   409.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/EmailSettingsDialog.java	Thu Jul 10 19:50:39 2008 +0800
   409.3 @@ -1,5 +1,4 @@
   409.4  /*
   409.5 -
   409.6   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   409.7   *
   409.8   * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   409.9 @@ -23,12 +22,9 @@
  409.10   * "Portions Copyrighted [year] [name of copyright owner]"
  409.11   *
  409.12   * Contributor(s):
  409.13 -
  409.14   *
  409.15 -
  409.16   * The Original Software is NetBeans. The Initial Developer of the Original
  409.17   * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  409.18 -
  409.19   * Microsystems, Inc. All Rights Reserved.
  409.20   *
  409.21   * If you wish your version of this file to be governed by only the CDDL
  409.22 @@ -41,73 +37,43 @@
  409.23   * However, if you add GPL Version 2 code and therefore, elected the GPL
  409.24   * Version 2 license, then the option applies only if the new code is
  409.25   * made subject to such option by the copyright holder.
  409.26 -
  409.27   */
  409.28  
  409.29 -
  409.30 -
  409.31  package org.netbeans.modules.projectpackager.exporter;
  409.32  
  409.33 -
  409.34 -
  409.35 -import java.util.Vector;
  409.36 -
  409.37  import org.netbeans.modules.projectpackager.tools.ProjectPackagerSettings;
  409.38  
  409.39 -
  409.40 -
  409.41  /**
  409.42 -
  409.43   * E-mail settings dialog
  409.44 -
  409.45   * @author Roman "Roumen" Strobl
  409.46 -
  409.47   */
  409.48 -
  409.49  public class EmailSettingsDialog extends javax.swing.JFrame {
  409.50  
  409.51 -
  409.52 -
  409.53      /**
  409.54 -
  409.55       * Constructor of the dialog
  409.56 -
  409.57       */
  409.58 -
  409.59      public EmailSettingsDialog() {
  409.60 -
  409.61 +        // XXX use of JFrame is totally wrong; should use DialogDescriptor instead
  409.62          initComponents();
  409.63 -
  409.64          setLocationRelativeTo(null);
  409.65 -
  409.66          EmailSettingsUITools.setEmailSettingsDialog(this);
  409.67 -
  409.68 -        final ProjectPackagerSettings pps = ProjectPackagerSettings.getDefault();
  409.69 -
  409.70 -        smtpServerField.setText(pps.getSmtpServer());
  409.71 -
  409.72 -        smtpUsernameField.setText(pps.getSmtpUsername());
  409.73 -
  409.74 -        smtpPasswordField.setText(pps.getSmtpPassword());
  409.75 -
  409.76 -        useSSL.setSelected(pps.getSmtpUseSSL().booleanValue());
  409.77 -
  409.78 +        smtpServerField.setText(ProjectPackagerSettings.getSmtpServer());
  409.79 +        smtpUsernameField.setText(ProjectPackagerSettings.getSmtpUsername());
  409.80 +        smtpPasswordField.setText(ProjectPackagerSettings.getSmtpPassword());
  409.81 +        useSSL.setSelected(ProjectPackagerSettings.getSmtpUseSSL());
  409.82 +        mailFromField.setText(ProjectPackagerSettings.getMailFrom());
  409.83 +        mailSubjectField.setText(ProjectPackagerSettings.getMailSubject());
  409.84 +        mailBodyField.setText(ProjectPackagerSettings.getMailBody());
  409.85      }
  409.86  
  409.87 -    
  409.88 +    /** This method is called from within the constructor to
  409.89 +     * initialize the form.
  409.90 +     * WARNING: Do NOT modify this code. The content of this method is
  409.91 +     * always regenerated by the Form Editor.
  409.92 +     */
  409.93 +    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  409.94 +    private void initComponents() {
  409.95  
  409.96 -    /** This method is called from within the constructor to
  409.97 -
  409.98 -     * initialize the form.
  409.99 -
 409.100 -     * WARNING: Do NOT modify this code. The content of this method is
 409.101 -
 409.102 -     * always regenerated by the Form Editor.
 409.103 -
 409.104 -     */
 409.105 -
 409.106 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
 409.107 -    private void initComponents() {
 409.108          jLabel3 = new javax.swing.JLabel();
 409.109          jScrollPane1 = new javax.swing.JScrollPane();
 409.110          jTextArea1 = new javax.swing.JTextArea();
 409.111 @@ -122,8 +88,15 @@
 409.112          jLabel5 = new javax.swing.JLabel();
 409.113          jLabel6 = new javax.swing.JLabel();
 409.114          smtpPasswordField = new javax.swing.JPasswordField();
 409.115 +        mailFromLabel = new javax.swing.JLabel();
 409.116 +        mailFromField = new javax.swing.JTextField();
 409.117 +        mailSubjectLabel = new javax.swing.JLabel();
 409.118 +        mailSubjectField = new javax.swing.JTextField();
 409.119 +        mailBodyLabel = new javax.swing.JLabel();
 409.120 +        mailBodyField = new javax.swing.JTextField();
 409.121  
 409.122          jLabel3.setText("jLabel3");
 409.123 +
 409.124          jTextArea1.setColumns(20);
 409.125          jTextArea1.setRows(5);
 409.126          jScrollPane1.setViewportView(jTextArea1);
 409.127 @@ -131,6 +104,7 @@
 409.128          setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
 409.129          setTitle("E-mail Settings");
 409.130          setResizable(false);
 409.131 +
 409.132          cancelButton.setText("Cancel");
 409.133          cancelButton.addActionListener(new java.awt.event.ActionListener() {
 409.134              public void actionPerformed(java.awt.event.ActionEvent evt) {
 409.135 @@ -138,7 +112,7 @@
 409.136              }
 409.137          });
 409.138  
 409.139 -        okButton.setText("Ok");
 409.140 +        okButton.setText("OK");
 409.141          okButton.addActionListener(new java.awt.event.ActionListener() {
 409.142              public void actionPerformed(java.awt.event.ActionEvent evt) {
 409.143                  okButtonActionPerformed(evt);
 409.144 @@ -161,19 +135,23 @@
 409.145  
 409.146          smtpPasswordField.setPreferredSize(new java.awt.Dimension(11, 18));
 409.147  
 409.148 +        mailFromLabel.setLabelFor(mailFromField);
 409.149 +        mailFromLabel.setText(org.openide.util.NbBundle.getMessage(EmailSettingsDialog.class, "SMTP_Mail_From")); // NOI18N
 409.150 +
 409.151 +        mailSubjectLabel.setLabelFor(mailSubjectField);
 409.152 +        mailSubjectLabel.setText(org.openide.util.NbBundle.getMessage(EmailSettingsDialog.class, "SMTP_Mail_Subject")); // NOI18N
 409.153 +
 409.154 +        mailBodyLabel.setLabelFor(mailBodyField);
 409.155 +        mailBodyLabel.setText(org.openide.util.NbBundle.getMessage(EmailSettingsDialog.class, "SMTP_Mail_Body")); // NOI18N
 409.156 +
 409.157          org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
 409.158          getContentPane().setLayout(layout);
 409.159          layout.setHorizontalGroup(
 409.160              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 409.161 -            .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
 409.162 +            .add(layout.createSequentialGroup()
 409.163                  .addContainerGap()
 409.164                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 409.165                      .add(useSSL)
 409.166 -                    .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
 409.167 -                        .add(okButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 63, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 409.168 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 409.169 -                        .add(cancelButton)
 409.170 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
 409.171                      .add(jLabel6)
 409.172                      .add(jLabel5)
 409.173                      .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
 409.174 @@ -188,13 +166,27 @@
 409.175                                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
 409.176                                      .add(smtpPasswordField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 178, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 409.177                                      .add(smtpUsernameField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 178, Short.MAX_VALUE))
 409.178 -                                .add(87, 87, 87)))))
 409.179 +                                .add(87, 87, 87))))
 409.180 +                    .add(layout.createSequentialGroup()
 409.181 +                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 409.182 +                            .add(mailSubjectLabel)
 409.183 +                            .add(mailBodyLabel)
 409.184 +                            .add(mailFromLabel))
 409.185 +                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 409.186 +                        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 409.187 +                            .add(mailFromField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE)
 409.188 +                            .add(mailBodyField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE)
 409.189 +                            .add(mailSubjectField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE)))
 409.190 +                    .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
 409.191 +                        .add(okButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 63, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 409.192 +                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 409.193 +                        .add(cancelButton)))
 409.194                  .addContainerGap())
 409.195          );
 409.196          layout.setVerticalGroup(
 409.197              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 409.198 -            .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
 409.199 -                .addContainerGap()
 409.200 +            .add(layout.createSequentialGroup()
 409.201 +                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
 409.202                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 409.203                      .add(smtpServer)
 409.204                      .add(smtpServerField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 409.205 @@ -212,99 +204,76 @@
 409.206                  .add(jLabel5)
 409.207                  .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 409.208                  .add(jLabel6)
 409.209 -                .add(43, 43, 43))
 409.210 -            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
 409.211 -                .add(176, 176, 176)
 409.212 +                .add(18, 18, 18)
 409.213 +                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 409.214 +                    .add(mailFromLabel)
 409.215 +                    .add(mailFromField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 409.216 +                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 409.217 +                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 409.218 +                    .add(mailSubjectLabel)
 409.219 +                    .add(mailSubjectField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 409.220 +                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 409.221 +                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 409.222 +                    .add(mailBodyLabel)
 409.223 +                    .add(mailBodyField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 409.224 +                .add(18, 18, 18)
 409.225                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
 409.226                      .add(okButton)
 409.227 -                    .add(cancelButton))
 409.228 -                .addContainerGap())
 409.229 +                    .add(cancelButton)))
 409.230          );
 409.231 +
 409.232          pack();
 409.233 -    }
 409.234 -    // </editor-fold>//GEN-END:initComponents
 409.235 -
 409.236 -
 409.237 +    }// </editor-fold>//GEN-END:initComponents
 409.238  
 409.239      private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
 409.240 -
 409.241 -        EmailSettingsUITools.processOkButton();
 409.242 -
 409.243 -    }//GEN-LAST:event_okButtonActionPerformed
 409.244 -
 409.245 -
 409.246 -
 409.247 +        EmailSettingsUITools.processOkButton();//GEN-LAST:event_okButtonActionPerformed
 409.248 +    }                                        
 409.249 +                                        
 409.250      private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
 409.251 -
 409.252 -        EmailSettingsUITools.processCancelButton();
 409.253 -
 409.254 -    }//GEN-LAST:event_cancelButtonActionPerformed
 409.255 -
 409.256 -                       
 409.257 +        EmailSettingsUITools.processCancelButton();//GEN-LAST:event_cancelButtonActionPerformed
 409.258 +    }                                            
 409.259  
 409.260      /**
 409.261 -
 409.262       * Returns filled in SMTP server
 409.263 -
 409.264       * @return SMTP server
 409.265 -
 409.266       */
 409.267 -
 409.268      public String getSmtpServer() {
 409.269 -
 409.270          return smtpServerField.getText();
 409.271 -
 409.272      }
 409.273  
 409.274 -
 409.275 +    /**
 409.276 +     * Returns filled in SMTP username
 409.277 +     * @return SMTP username
 409.278 +     */
 409.279 +    public String getSmtpUsername() {
 409.280 +        return smtpUsernameField.getText();
 409.281 +    }
 409.282  
 409.283      /**
 409.284 -
 409.285 -     * Returns filled in SMTP username
 409.286 -
 409.287 -     * @return SMTP username
 409.288 -
 409.289 +     * Returns filled in SMTP password
 409.290 +     * @return SMTP password
 409.291       */
 409.292 -
 409.293 -    public String getSmtpUsername() {
 409.294 -
 409.295 -        return smtpUsernameField.getText();
 409.296 -
 409.297 +    public String getSmtpPassword() {
 409.298 +        return new String(smtpPasswordField.getPassword());
 409.299      }
 409.300  
 409.301 -    
 409.302 -
 409.303      /**
 409.304 -
 409.305 -     * Returns filled in SMTP password
 409.306 -
 409.307 -     * @return SMTP password
 409.308 -
 409.309 +     * Returns filled in Use SSL
 409.310 +     * @return Use SSL
 409.311       */
 409.312 -
 409.313 -    public String getSmtpPassword() {
 409.314 -
 409.315 -        return new String(smtpPasswordField.getPassword());
 409.316 -
 409.317 +    public boolean getSmtpUseSSL() {
 409.318 +        return useSSL.isSelected();
 409.319      }
 409.320  
 409.321 -
 409.322 -
 409.323 -    /**
 409.324 -
 409.325 -     * Returns filled in Use SSL
 409.326 -
 409.327 -     * @return Use SSL
 409.328 -
 409.329 -     */
 409.330 -
 409.331 -    public boolean getSmtpUseSSL() {
 409.332 -
 409.333 -        return useSSL.isSelected();
 409.334 -
 409.335 +    public String getMailFrom() {
 409.336 +        return mailFromField.getText();
 409.337      }
 409.338 -
 409.339 -        
 409.340 +    public String getMailSubject() {
 409.341 +        return mailSubjectField.getText();
 409.342 +    }
 409.343 +    public String getMailBody() {
 409.344 +        return mailBodyField.getText();
 409.345 +    }
 409.346  
 409.347      // Variables declaration - do not modify//GEN-BEGIN:variables
 409.348      private javax.swing.JButton cancelButton;
 409.349 @@ -313,6 +282,12 @@
 409.350      private javax.swing.JLabel jLabel6;
 409.351      private javax.swing.JScrollPane jScrollPane1;
 409.352      private javax.swing.JTextArea jTextArea1;
 409.353 +    private javax.swing.JTextField mailBodyField;
 409.354 +    private javax.swing.JLabel mailBodyLabel;
 409.355 +    private javax.swing.JTextField mailFromField;
 409.356 +    private javax.swing.JLabel mailFromLabel;
 409.357 +    private javax.swing.JTextField mailSubjectField;
 409.358 +    private javax.swing.JLabel mailSubjectLabel;
 409.359      private javax.swing.JButton okButton;
 409.360      private javax.swing.JLabel smtpPassword;
 409.361      private javax.swing.JPasswordField smtpPasswordField;
 409.362 @@ -323,7 +298,4 @@
 409.363      private javax.swing.JCheckBox useSSL;
 409.364      // End of variables declaration//GEN-END:variables
 409.365  
 409.366 -    
 409.367 -
 409.368  }
 409.369 -
   410.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/EmailSettingsUITools.java	Thu Jul 10 19:13:29 2008 +0800
   410.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/EmailSettingsUITools.java	Thu Jul 10 19:50:39 2008 +0800
   410.3 @@ -40,6 +40,7 @@
   410.4   */
   410.5  
   410.6  package org.netbeans.modules.projectpackager.exporter;
   410.7 +
   410.8  import org.netbeans.modules.projectpackager.tools.ProjectPackagerSettings;
   410.9  
  410.10  /**
  410.11 @@ -71,15 +72,20 @@
  410.12       * Processes the Ok button - saves the settings
  410.13       */
  410.14      public static void processOkButton() {
  410.15 -        final ProjectPackagerSettings pps = ProjectPackagerSettings.getDefault();
  410.16          ExportPackageInfo.setSmtpServer(esd.getSmtpServer());
  410.17          ExportPackageInfo.setSmtpUsername(esd.getSmtpUsername());
  410.18          ExportPackageInfo.setSmtpPassword(esd.getSmtpPassword());
  410.19          ExportPackageInfo.setSmtpUseSSL(esd.getSmtpUseSSL());
  410.20 -        pps.setSmtpServer(esd.getSmtpServer());
  410.21 -        pps.setSmtpUsername(esd.getSmtpUsername());
  410.22 -        pps.setSmtpPassword(esd.getSmtpPassword());
  410.23 -        pps.setSmtpUseSSL(new Boolean(esd.getSmtpUseSSL()));
  410.24 +        ExportPackageInfo.mailFrom = esd.getMailFrom();
  410.25 +        ExportPackageInfo.mailSubject = esd.getMailSubject();
  410.26 +        ExportPackageInfo.mailBody = esd.getMailBody();
  410.27 +        ProjectPackagerSettings.setSmtpServer(esd.getSmtpServer());
  410.28 +        ProjectPackagerSettings.setSmtpUsername(esd.getSmtpUsername());
  410.29 +        ProjectPackagerSettings.setSmtpPassword(esd.getSmtpPassword());
  410.30 +        ProjectPackagerSettings.setSmtpUseSSL(esd.getSmtpUseSSL());
  410.31 +        ProjectPackagerSettings.setMailFrom(esd.getMailFrom());
  410.32 +        ProjectPackagerSettings.setMailSubject(esd.getMailSubject());
  410.33 +        ProjectPackagerSettings.setMailBody(esd.getMailBody());
  410.34          esd.dispose();
  410.35      }
  410.36  }
   411.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportPackageInfo.java	Thu Jul 10 19:13:29 2008 +0800
   411.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportPackageInfo.java	Thu Jul 10 19:50:39 2008 +0800
   411.3 @@ -56,6 +56,9 @@
   411.4      private static String smtpUsername = "";
   411.5      private static String smtpPassword = "";
   411.6      private static boolean smtpUseSSL = false;
   411.7 +    static String mailFrom = "";
   411.8 +    static String mailSubject = "";
   411.9 +    static String mailBody = "";
  411.10      private static boolean processed = false;
  411.11      
  411.12      /** Creates a new instance of PackageInfo */
   412.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportPackageScheduler.java	Thu Jul 10 19:13:29 2008 +0800
   412.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportPackageScheduler.java	Thu Jul 10 19:50:39 2008 +0800
   412.3 @@ -51,7 +51,6 @@
   412.4  import org.netbeans.api.queries.SharabilityQuery;
   412.5  import org.netbeans.modules.projectpackager.tools.Constants;
   412.6  import org.netbeans.modules.projectpackager.tools.ExecutionTools;
   412.7 -import org.netbeans.modules.projectpackager.tools.ProjectPackagerSettings;
   412.8  import org.openide.filesystems.FileObject;
   412.9  import org.openide.filesystems.FileUtil;
  412.10  import org.openide.util.NbBundle;
  412.11 @@ -79,8 +78,7 @@
  412.12       */
  412.13      public static ExportExecutorThread init() {
  412.14          try {
  412.15 -            // XXX this string should not be internationalized!
  412.16 -            script = ExecutionTools.initScript(NbBundle.getBundle(Constants.BUNDLE).getString("Services/ProjectPackager/export_script.xml"));
  412.17 +            script = ExecutionTools.initScript("Services/ProjectPackager/export_script.xml");
  412.18              et = new ExportExecutorThread();
  412.19              initialized = true;
  412.20          } catch (IOException e) {
  412.21 @@ -196,10 +194,9 @@
  412.22              props.setProperty("smtp_use_ssl", "false");
  412.23              props.setProperty("smtp_mailport", "25");            
  412.24          }
  412.25 -        final ProjectPackagerSettings pps = ProjectPackagerSettings.getDefault();        
  412.26 -        props.setProperty("mail_from", pps.getMailFrom());
  412.27 -        props.setProperty("mail_subject", pps.getMailSubject());
  412.28 -        props.setProperty("mail_body", pps.getMailBody());
  412.29 +        props.setProperty("mail_from", ExportPackageInfo.mailFrom);
  412.30 +        props.setProperty("mail_subject", ExportPackageInfo.mailSubject);
  412.31 +        props.setProperty("mail_body", ExportPackageInfo.mailBody);
  412.32          et.schedule(script, new String[] {"mail-zips"}, props);
  412.33      }
  412.34      
   413.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportPackageValidator.java	Thu Jul 10 19:13:29 2008 +0800
   413.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportPackageValidator.java	Thu Jul 10 19:50:39 2008 +0800
   413.3 @@ -97,8 +97,6 @@
   413.4              return false;                        
   413.5          }
   413.6  
   413.7 -        ProjectPackagerSettings pps = ProjectPackagerSettings.getDefault();                
   413.8 -        
   413.9          if (ExportPackageInfo.isSendMail()) {
  413.10              if (ExportPackageInfo.getSmtpServer().equals("")) {
  413.11                  NotifyDescriptor.InputLine d = new NotifyDescriptor.InputLine(NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_server:"), NbBundle.getBundle(Constants.BUNDLE).getString("Please_specify_a_SMTP_server"));
  413.12 @@ -106,13 +104,13 @@
  413.13                  if (d.getInputText().equals("")) {
  413.14                      return false;
  413.15                  } else {
  413.16 -                    pps.setSmtpServer(d.getInputText());
  413.17 +                    ProjectPackagerSettings.setSmtpServer(d.getInputText());
  413.18                  }
  413.19                  ExportPackageInfo.setSmtpServer(d.getInputText());
  413.20                  NotifyDescriptor.InputLine d2 = new NotifyDescriptor.InputLine(NbBundle.getBundle(Constants.BUNDLE).getString("Username_(optional):"), NbBundle.getBundle(Constants.BUNDLE).getString("Please_enter_username_for_SMTP_server"));
  413.21                  DialogDisplayer.getDefault().notify(d2);
  413.22                  ExportPackageInfo.setSmtpUsername(d2.getInputText());
  413.23 -                pps.setSmtpUsername(d2.getInputText());
  413.24 +                ProjectPackagerSettings.setSmtpUsername(d2.getInputText());
  413.25                  NotifyDescriptorInputPassword d3 = new NotifyDescriptorInputPassword(NbBundle.getBundle(Constants.BUNDLE).getString("Password_(optional):"), NbBundle.getBundle(Constants.BUNDLE).getString("Please_enter_password_for_SMTP_server"));
  413.26                  DialogDisplayer.getDefault().notify(d3);
  413.27                  ExportPackageInfo.setSmtpPassword(d3.getInputText());
  413.28 @@ -123,7 +121,7 @@
  413.29                  NotifyDescriptor.InputLine d2 = new NotifyDescriptor.InputLine(NbBundle.getBundle(Constants.BUNDLE).getString("Username_(optional):"), NbBundle.getBundle(Constants.BUNDLE).getString("Please_enter_username_for_SMTP_server"));
  413.30                  DialogDisplayer.getDefault().notify(d2);
  413.31                  ExportPackageInfo.setSmtpUsername(d2.getInputText());
  413.32 -                pps.setSmtpUsername(d2.getInputText());
  413.33 +                ProjectPackagerSettings.setSmtpUsername(d2.getInputText());
  413.34                  NotifyDescriptorInputPassword d = new NotifyDescriptorInputPassword(NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_password:"), NbBundle.getBundle(Constants.BUNDLE).getString("Please_enter_password_for_SMTP_server"));
  413.35                  DialogDisplayer.getDefault().notify(d);
  413.36                  ExportPackageInfo.setSmtpPassword(d.getInputText());
   414.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportZipDialog.form	Thu Jul 10 19:13:29 2008 +0800
   414.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportZipDialog.form	Thu Jul 10 19:50:39 2008 +0800
   414.3 @@ -1,6 +1,6 @@
   414.4  <?xml version="1.0" encoding="UTF-8" ?>
   414.5  
   414.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   414.7 +<Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   414.8    <Properties>
   414.9      <Property name="defaultCloseOperation" type="int" value="2"/>
  414.10      <Property name="title" type="java.lang.String" value="Export Project(s) as Zip"/>
  414.11 @@ -10,7 +10,12 @@
  414.12      <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
  414.13    </SyntheticProperties>
  414.14    <AuxValues>
  414.15 +    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
  414.16 +    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  414.17 +    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
  414.18      <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  414.19 +    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
  414.20 +    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
  414.21      <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
  414.22      <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
  414.23      <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  414.24 @@ -47,7 +52,7 @@
  414.25                                <Component id="targetDirectoryField" min="-2" pref="289" max="-2" attributes="0"/>
  414.26                            </Group>
  414.27                        </Group>
  414.28 -                      <EmptySpace pref="19" max="32767" attributes="0"/>
  414.29 +                      <EmptySpace pref="41" max="32767" attributes="0"/>
  414.30                        <Component id="chooseButton" min="-2" max="-2" attributes="0"/>
  414.31                    </Group>
  414.32                </Group>
  414.33 @@ -100,9 +105,6 @@
  414.34        </Properties>
  414.35      </Component>
  414.36      <Component class="javax.swing.JTextField" name="targetDirectoryField">
  414.37 -      <Properties>
  414.38 -        <Property name="text" type="java.lang.String" value=" "/>
  414.39 -      </Properties>
  414.40      </Component>
  414.41      <Component class="javax.swing.JButton" name="chooseButton">
  414.42        <Properties>
   415.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportZipDialog.java	Thu Jul 10 19:13:29 2008 +0800
   415.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportZipDialog.java	Thu Jul 10 19:50:39 2008 +0800
   415.3 @@ -57,6 +57,7 @@
   415.4      public ExportZipDialog() {
   415.5          listData = ExportZipUITools.getListData();
   415.6          initComponents();
   415.7 +        targetDirectoryField.setText(System.getProperty("java.io.tmpdir")); // NOI18N
   415.8          // XXX forgot I18N on forms!
   415.9          projectList.setListData(listData);
  415.10          setLocationRelativeTo(null);
  415.11 @@ -86,8 +87,9 @@
  415.12       * WARNING: Do NOT modify this code. The content of this method is
  415.13       * always regenerated by the Form Editor.
  415.14       */
  415.15 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  415.16 +    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  415.17      private void initComponents() {
  415.18 +
  415.19          jLabel1 = new javax.swing.JLabel();
  415.20          targetDirectory = new javax.swing.JLabel();
  415.21          targetDirectoryField = new javax.swing.JTextField();
  415.22 @@ -104,12 +106,11 @@
  415.23          setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
  415.24          setTitle("Export Project(s) as Zip");
  415.25          setResizable(false);
  415.26 +
  415.27          jLabel1.setText("Project(s) to Zip:");
  415.28  
  415.29          targetDirectory.setText("Target Directory:");
  415.30  
  415.31 -        targetDirectoryField.setText(" ");
  415.32 -
  415.33          chooseButton.setText("...");
  415.34          chooseButton.addActionListener(new java.awt.event.ActionListener() {
  415.35              public void actionPerformed(java.awt.event.ActionEvent evt) {
  415.36 @@ -157,7 +158,7 @@
  415.37          getContentPane().setLayout(layout);
  415.38          layout.setHorizontalGroup(
  415.39              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  415.40 -            .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
  415.41 +            .add(layout.createSequentialGroup()
  415.42                  .addContainerGap()
  415.43                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  415.44                      .add(mailCheckBox)
  415.45 @@ -167,26 +168,26 @@
  415.46                          .add(okButton, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 68, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
  415.47                          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  415.48                          .add(cancelButton))
  415.49 -                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
  415.50 +                    .add(layout.createSequentialGroup()
  415.51                          .add(jLabel1)
  415.52                          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 34, Short.MAX_VALUE)
  415.53                          .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 256, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
  415.54                      .add(targetDirectory)
  415.55 -                    .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
  415.56 +                    .add(layout.createSequentialGroup()
  415.57                          .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
  415.58 -                            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
  415.59 +                            .add(layout.createSequentialGroup()
  415.60                                  .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
  415.61                                  .add(mailAddress, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 290, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
  415.62                              .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
  415.63                                  .add(18, 18, 18)
  415.64                                  .add(targetDirectoryField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 289, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
  415.65 -                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 19, Short.MAX_VALUE)
  415.66 +                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 41, Short.MAX_VALUE)
  415.67                          .add(chooseButton)))
  415.68                  .addContainerGap())
  415.69          );
  415.70          layout.setVerticalGroup(
  415.71              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  415.72 -            .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
  415.73 +            .add(layout.createSequentialGroup()
  415.74                  .addContainerGap()
  415.75                  .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
  415.76                      .add(jLabel1)
  415.77 @@ -211,37 +212,37 @@
  415.78                      .add(okButton))
  415.79                  .addContainerGap())
  415.80          );
  415.81 +
  415.82          pack();
  415.83 -    }
  415.84 -    // </editor-fold>//GEN-END:initComponents
  415.85 +    }// </editor-fold>//GEN-END:initComponents
  415.86  
  415.87      private void mailCheckBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mailCheckBoxActionPerformed
  415.88          processMailCheckbox();
  415.89 +    }                                            
  415.90 +
  415.91 +    private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {                                         
  415.92 +        ExportZipUITools.processOkButton();//GEN-HEADEREND:event_mailCheckBoxActionPerformed
  415.93      }//GEN-LAST:event_mailCheckBoxActionPerformed
  415.94 -
  415.95 -    private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
  415.96 -        ExportZipUITools.processOkButton();
  415.97 +//GEN-FIRST:event_okButtonActionPerformed
  415.98 +    private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {                                             
  415.99 +        ExportZipUITools.processCancelButton();//GEN-HEADEREND:event_okButtonActionPerformed
 415.100      }//GEN-LAST:event_okButtonActionPerformed
 415.101  
 415.102 -    private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
 415.103 -        ExportZipUITools.processCancelButton();
 415.104 -    }//GEN-LAST:event_cancelButtonActionPerformed
 415.105 +    private void emailSettingsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-HEADEREND:event_cancelButtonActionPerformed
 415.106 +        ExportZipUITools.showEmailSettings();//GEN-LAST:event_cancelButtonActionPerformed
 415.107 +    }//GEN-FIRST:event_emailSettingsActionPerformed
 415.108  
 415.109 -    private void emailSettingsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_emailSettingsActionPerformed
 415.110 -        ExportZipUITools.showEmailSettings();
 415.111 -    }//GEN-LAST:event_emailSettingsActionPerformed
 415.112 -
 415.113 -    private void chooseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chooseButtonActionPerformed
 415.114 -        ExportZipUITools.showFileChooser();
 415.115 -    }//GEN-LAST:event_chooseButtonActionPerformed
 415.116 +    private void chooseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-HEADEREND:event_emailSettingsActionPerformed
 415.117 +        ExportZipUITools.showFileChooser();//GEN-LAST:event_emailSettingsActionPerformed
 415.118 +    }//GEN-FIRST:event_chooseButtonActionPerformed
 415.119             
 415.120  
 415.121      /**
 415.122       * Set target directory
 415.123       * @param targetDir target directory
 415.124       */
 415.125 -    public void setTargetDir(String targetDir) {
 415.126 -        targetDirectoryField.setText(targetDir);
 415.127 +    public void setTargetDir(String targetDir) {//GEN-HEADEREND:event_chooseButtonActionPerformed
 415.128 +        targetDirectoryField.setText(targetDir);//GEN-LAST:event_chooseButtonActionPerformed
 415.129      }
 415.130      
 415.131      /**
   416.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportZipUITools.java	Thu Jul 10 19:13:29 2008 +0800
   416.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/exporter/ExportZipUITools.java	Thu Jul 10 19:50:39 2008 +0800
   416.3 @@ -104,35 +104,41 @@
   416.4          ExportPackageInfo.setSendMail(zpd.isMailSelected());
   416.5          ExportPackageInfo.setEmail(zpd.getMail());
   416.6          ExportPackageInfo.setDeleteZip(zpd.isDeleteSelected());
   416.7 -        ProjectPackagerSettings pps = ProjectPackagerSettings.getDefault();
   416.8 -        String smtpServer = pps.getSmtpServer();
   416.9 +        String smtpServer = ProjectPackagerSettings.getSmtpServer();
  416.10          if (smtpServer!=null && !smtpServer.equals("")) {
  416.11              ExportPackageInfo.setSmtpServer(smtpServer);
  416.12          } else {
  416.13              smtpServer = System.getProperty("smtp_server");
  416.14              if (smtpServer!=null && !smtpServer.equals("")) ExportPackageInfo.setSmtpServer(smtpServer);
  416.15          }
  416.16 -        String smtpUsername = pps.getSmtpUsername();
  416.17 +        String smtpUsername = ProjectPackagerSettings.getSmtpUsername();
  416.18          if (smtpUsername!=null && !smtpUsername.equals("")) {
  416.19              ExportPackageInfo.setSmtpUsername(smtpUsername);
  416.20          } else {
  416.21              smtpUsername = System.getProperty("smtp_username");
  416.22              if (smtpUsername!=null && !smtpUsername.equals("")) ExportPackageInfo.setSmtpUsername(smtpUsername);
  416.23          }
  416.24 -        String smtpPassword = pps.getSmtpPassword();
  416.25 +        String smtpPassword = ProjectPackagerSettings.getSmtpPassword();
  416.26          if (smtpPassword!=null && !smtpPassword.equals("")) {
  416.27              ExportPackageInfo.setSmtpPassword(smtpPassword);
  416.28          } else {
  416.29              smtpPassword = System.getProperty("smtp_password");
  416.30              if (smtpPassword!=null && !smtpPassword.equals("")) ExportPackageInfo.setSmtpPassword(smtpPassword);
  416.31          }
  416.32 -        Boolean smtpUseSSL = pps.getSmtpUseSSL();
  416.33 -        if (smtpUseSSL!=null) {
  416.34 -            ExportPackageInfo.setSmtpUseSSL(smtpUseSSL.booleanValue());
  416.35 -        } else {
  416.36 -            smtpUseSSL = Boolean.valueOf(System.getProperty("smtp_use_ssl"));
  416.37 -            if (smtpUseSSL!=null && !smtpUseSSL.equals("")) ExportPackageInfo.setSmtpUseSSL(smtpUseSSL.booleanValue());
  416.38 -        }        
  416.39 +        boolean smtpUseSSL = ProjectPackagerSettings.getSmtpUseSSL();
  416.40 +        ExportPackageInfo.setSmtpUseSSL(smtpUseSSL);
  416.41 +        String mailFrom = ProjectPackagerSettings.getMailFrom();
  416.42 +        if (mailFrom != null && mailFrom.length() > 0) {
  416.43 +            ExportPackageInfo.mailFrom = mailFrom;
  416.44 +        }
  416.45 +        String mailSubject = ProjectPackagerSettings.getMailSubject();
  416.46 +        if (mailSubject != null && mailSubject.length() > 0) {
  416.47 +            ExportPackageInfo.mailSubject = mailSubject;
  416.48 +        }
  416.49 +        String mailBody = ProjectPackagerSettings.getMailBody();
  416.50 +        if (mailBody != null && mailBody.length() > 0) {
  416.51 +            ExportPackageInfo.mailBody = mailBody;
  416.52 +        }
  416.53          if (!ExportPackageValidator.validate()) {
  416.54              zpd.requestFocus();
  416.55              return;
   417.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/resources/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   417.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/resources/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   417.3 @@ -9,24 +9,6 @@
   417.4  Menu/File/Export=&Export Project
   417.5  
   417.6  Zip_Files=ZIP Files
   417.7 -Project_Packager_Settings=Project Packager Settings
   417.8 -Unknown_options_for_Project_Packager_-_version\:_=Unknown options for Project Packager - version\: 
   417.9 -Unknown_options_for_Project_Packager.=Unknown options for Project Packager.
  417.10 -version=version
  417.11 -SMTP_Password=SMTP Password
  417.12 -SMTP_Username=SMTP Username
  417.13 -SMTP_Server=SMTP Server
  417.14 -SMTP_Use_SSL=Use SSL for SMTP
  417.15 -SMTP_Mail_From=E-mail From
  417.16 -SMTP_Mail_Subject=E-mail Subject
  417.17 -SMTP_Mail_Body=E-mail Body
  417.18 -HINT_SMTP_Server=Sets the hostname of SMTP server for mail transport.
  417.19 -HINT_SMTP_Username=Sets the username for SMTP server. Leave empty if not required.
  417.20 -HINT_SMTP_Password=Sets the password for SMTP server. Leave empty if not required.
  417.21 -HINT_SMTP_Use_SSL=Set to true if SMTP server requires SSL transport.
  417.22 -HINT_Mail_From=From address of e-mail.
  417.23 -HINT_Mail_Subject=Subject of the sent e-mail.
  417.24 -HINT_Mail_Body=Body of the sent e-mail.
  417.25  Mail_From_Default=projectpackager@netbeans.org
  417.26  Mail_Subject_Default=Zipped NetBeans projects
  417.27  Mail_Body_Default=Your projects are attached. Thank you for using NetBeans.
  417.28 @@ -55,7 +37,6 @@
  417.29  Please_specify_a_directory_where_to_store_zip_files.=Please specify a directory where to store ZIP files.
  417.30  Error\:_no_project_selected=Error\: no project selected
  417.31  No_projects_were_chosen._Please_choose_at_least_one_project_in_the_dialog.=No projects were chosen. Please choose at least one project in the dialog.
  417.32 -Services/ProjectPackager/export_script.xml=Services/ProjectPackager/export_script.xml
  417.33  Zip(s)_created,_sent_and_deleted_successfully.=ZIP(s) created, sent and deleted successfully.
  417.34  Zip(s)_created_and_sent_successfully.=ZIP(s) created and sent successfully.
  417.35  Zip_exporter_finished=ZIP exporter finished
   418.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/resources/ProjectPackagerSettings.xml	Thu Jul 10 19:13:29 2008 +0800
   418.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   418.3 @@ -1,52 +0,0 @@
   418.4 -<?xml version="1.0"?>
   418.5 -<!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd">
   418.6 -<!--
   418.7 -
   418.8 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   418.9 -
  418.10 -Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
  418.11 -
  418.12 -
  418.13 -The contents of this file are subject to the terms of either the GNU
  418.14 -General Public License Version 2 only ("GPL") or the Common
  418.15 -Development and Distribution License("CDDL") (collectively, the
  418.16 -"License"). You may not use this file except in compliance with the
  418.17 -License. You can obtain a copy of the License at
  418.18 -http://www.netbeans.org/cddl-gplv2.html
  418.19 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  418.20 -specific language governing permissions and limitations under the
  418.21 -License.  When distributing the software, include this License Header
  418.22 -Notice in each file and include the License file at
  418.23 -nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  418.24 -particular file as subject to the "Classpath" exception as provided
  418.25 -by Sun in the GPL Version 2 section of the License file that
  418.26 -accompanied this code. If applicable, add the following below the
  418.27 -License Header, with the fields enclosed by brackets [] replaced by
  418.28 -your own identifying information:
  418.29 -"Portions Copyrighted [year] [name of copyright owner]"
  418.30 -
  418.31 -Contributor(s):
  418.32 -
  418.33 - The Original Software is NetBeans. The Initial Developer of the Original
  418.34 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  418.35 - Microsystems, Inc. All Rights Reserved.
  418.36 -
  418.37 -If you wish your version of this file to be governed by only the CDDL
  418.38 -or only the GPL Version 2, indicate your decision by adding
  418.39 -"[Contributor] elects to include this software in this distribution
  418.40 -under the [CDDL or GPL Version 2] license." If you do not indicate a
  418.41 -single choice of license, a recipient has the option to distribute
  418.42 -your version of this file under either the CDDL, the GPL Version 2 or
  418.43 -to extend the choice of license to its licensees as provided above.
  418.44 -However, if you add GPL Version 2 code and therefore, elected the GPL
  418.45 -Version 2 license, then the option applies only if the new code is
  418.46 -made subject to such option by the copyright holder.
  418.47 -
  418.48 --->
  418.49 -<settings version="1.0">
  418.50 -    <module name="org.netbeans.modules.projectpackager"/>
  418.51 -    <instanceof class="org.openide.util.SharedClassObject"/>
  418.52 -    <instanceof class="org.openide.options.SystemOption"/>
  418.53 -    <instanceof class="org.netbeans.modules.projectpackager.tools.ProjectPackagerSettings"/>
  418.54 -    <instance class="org.netbeans.modules.projectpackager.tools.ProjectPackagerSettings"/>
  418.55 -</settings>
   419.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/resources/export_script.xml	Thu Jul 10 19:13:29 2008 +0800
   419.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/resources/export_script.xml	Thu Jul 10 19:50:39 2008 +0800
   419.3 @@ -51,6 +51,7 @@
   419.4      </target>
   419.5  
   419.6      <target name="mail-zips">
   419.7 +        <echo>Sending mail from ${mail_from} to ${to_addr}...</echo>
   419.8          <mail from="${mail_from}"
   419.9              subject="${mail_subject}"
  419.10              message="${mail_body}"
   420.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/resources/layer.xml	Thu Jul 10 19:13:29 2008 +0800
   420.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/resources/layer.xml	Thu Jul 10 19:50:39 2008 +0800
   420.3 @@ -59,30 +59,27 @@
   420.4                  <file name="org-netbeans-modules-projectpackager-exporter-ExportZip.instance"/>
   420.5              </folder>
   420.6              <file name="ImporterSeparator1.instance">
   420.7 -                <attr name="instanceClass" stringvalue="javax.swing.JSeparator" />
   420.8 +                <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
   420.9                  <attr name="position" intvalue="1430"/>
  420.10              </file>
  420.11          </folder>
  420.12      </folder>
  420.13 -
  420.14      <folder name="Services">
  420.15 -    	<file name="org-netbeans-modules-projectpackager-resources-ProjectPackagerSettings.settings" url="ProjectPackagerSettings.xml" />
  420.16          <folder name="ProjectPackager">
  420.17              <file name="export_script.xml" url="export_script.xml"/>
  420.18              <file name="import_script.xml" url="import_script.xml"/>
  420.19          </folder>
  420.20 +        <folder name="Hidden">
  420.21 +            <file name="org-netbeans-modules-projectpackager-mail-jar-registration.instance">
  420.22 +                <attr name="instanceCreate" methodvalue="org.apache.tools.ant.module.spi.AutomaticExtraClasspath.url"/>
  420.23 +                <attr name="url" urlvalue="nbinst://org.netbeans.modules.projectpackager/modules/ext/mail-1.3.2.jar"/>
  420.24 +                <attr name="instanceOf" stringvalue="org.apache.tools.ant.module.spi.AutomaticExtraClasspathProvider"/>
  420.25 +            </file>
  420.26 +            <file name="org-netbeans-modules-projectpackager-activation-jar-registration.instance">
  420.27 +                <attr name="instanceCreate" methodvalue="org.apache.tools.ant.module.spi.AutomaticExtraClasspath.url"/>
  420.28 +                <attr name="url" urlvalue="nbinst://org.netbeans.modules.projectpackager/modules/ext/activation-1.0.2.jar"/>
  420.29 +                <attr name="instanceOf" stringvalue="org.apache.tools.ant.module.spi.AutomaticExtraClasspathProvider"/>
  420.30 +            </file>
  420.31 +        </folder>
  420.32      </folder>
  420.33 -
  420.34 -    <folder name="UI">
  420.35 -        <folder name="Services">
  420.36 -          <folder name="IDEConfiguration">
  420.37 -            <folder name="ServerAndExternalToolSettings">
  420.38 -              <file name="org-netbeans-modules-projectpackager-resources-ProjectPackagerSettings.shadow">
  420.39 -                <attr name="originalFile" stringvalue="Services/org-netbeans-modules-projectpackager-resources-ProjectPackagerSettings.settings"/>
  420.40 -              </file>
  420.41 -            </folder>
  420.42 -          </folder>
  420.43 -        </folder>
  420.44 -      </folder>
  420.45 -
  420.46  </filesystem>
   421.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/tools/Constants.java	Thu Jul 10 19:13:29 2008 +0800
   421.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/tools/Constants.java	Thu Jul 10 19:50:39 2008 +0800
   421.3 @@ -1,11 +1,42 @@
   421.4  /*
   421.5 - * Constants.java
   421.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   421.7   *
   421.8 - * Created on August 4, 2005, 8:47 PM
   421.9 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
  421.10   *
  421.11 - * To change this template, choose Tools | Options and locate the template under
  421.12 - * the Source Creation and Management node. Right-click the template and choose
  421.13 - * Open. You can then make changes to the template in the Source Editor.
  421.14 + * The contents of this file are subject to the terms of either the GNU
  421.15 + * General Public License Version 2 only ("GPL") or the Common
  421.16 + * Development and Distribution License("CDDL") (collectively, the
  421.17 + * "License"). You may not use this file except in compliance with the
  421.18 + * License. You can obtain a copy of the License at
  421.19 + * http://www.netbeans.org/cddl-gplv2.html
  421.20 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  421.21 + * specific language governing permissions and limitations under the
  421.22 + * License.  When distributing the software, include this License Header
  421.23 + * Notice in each file and include the License file at
  421.24 + * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  421.25 + * particular file as subject to the "Classpath" exception as provided
  421.26 + * by Sun in the GPL Version 2 section of the License file that
  421.27 + * accompanied this code. If applicable, add the following below the
  421.28 + * License Header, with the fields enclosed by brackets [] replaced by
  421.29 + * your own identifying information:
  421.30 + * "Portions Copyrighted [year] [name of copyright owner]"
  421.31 + *
  421.32 + * Contributor(s):
  421.33 + *
  421.34 + * The Original Software is NetBeans. The Initial Developer of the Original
  421.35 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  421.36 + * Microsystems, Inc. All Rights Reserved.
  421.37 + *
  421.38 + * If you wish your version of this file to be governed by only the CDDL
  421.39 + * or only the GPL Version 2, indicate your decision by adding
  421.40 + * "[Contributor] elects to include this software in this distribution
  421.41 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
  421.42 + * single choice of license, a recipient has the option to distribute
  421.43 + * your version of this file under either the CDDL, the GPL Version 2 or
  421.44 + * to extend the choice of license to its licensees as provided above.
  421.45 + * However, if you add GPL Version 2 code and therefore, elected the GPL
  421.46 + * Version 2 license, then the option applies only if the new code is
  421.47 + * made subject to such option by the copyright holder.
  421.48   */
  421.49  
  421.50  package org.netbeans.modules.projectpackager.tools;
   422.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/tools/MimeMailClasspathProvider.java	Thu Jul 10 19:13:29 2008 +0800
   422.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   422.3 @@ -1,75 +0,0 @@
   422.4 -/*
   422.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   422.6 - *
   422.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   422.8 - *
   422.9 - * The contents of this file are subject to the terms of either the GNU
  422.10 - * General Public License Version 2 only ("GPL") or the Common
  422.11 - * Development and Distribution License("CDDL") (collectively, the
  422.12 - * "License"). You may not use this file except in compliance with the
  422.13 - * License. You can obtain a copy of the License at
  422.14 - * http://www.netbeans.org/cddl-gplv2.html
  422.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  422.16 - * specific language governing permissions and limitations under the
  422.17 - * License.  When distributing the software, include this License Header
  422.18 - * Notice in each file and include the License file at
  422.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  422.20 - * particular file as subject to the "Classpath" exception as provided
  422.21 - * by Sun in the GPL Version 2 section of the License file that
  422.22 - * accompanied this code. If applicable, add the following below the
  422.23 - * License Header, with the fields enclosed by brackets [] replaced by
  422.24 - * your own identifying information:
  422.25 - * "Portions Copyrighted [year] [name of copyright owner]"
  422.26 - *
  422.27 - * Contributor(s):
  422.28 - *
  422.29 - * The Original Software is NetBeans. The Initial Developer of the Original
  422.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  422.31 - * Microsystems, Inc. All Rights Reserved.
  422.32 - *
  422.33 - * If you wish your version of this file to be governed by only the CDDL
  422.34 - * or only the GPL Version 2, indicate your decision by adding
  422.35 - * "[Contributor] elects to include this software in this distribution
  422.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
  422.37 - * single choice of license, a recipient has the option to distribute
  422.38 - * your version of this file under either the CDDL, the GPL Version 2 or
  422.39 - * to extend the choice of license to its licensees as provided above.
  422.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
  422.41 - * Version 2 license, then the option applies only if the new code is
  422.42 - * made subject to such option by the copyright holder.
  422.43 - */
  422.44 -
  422.45 -package org.netbeans.modules.projectpackager.tools;
  422.46 -
  422.47 -import java.io.File;
  422.48 -import org.apache.tools.ant.module.spi.AutomaticExtraClasspathProvider;
  422.49 -import org.openide.modules.InstalledFileLocator;
  422.50 -import org.openide.util.NbBundle;
  422.51 -
  422.52 -
  422.53 -/**
  422.54 - * Provider which registers through ANT SPI two necessary jars into ant's classpath
  422.55 - * @author Roman "Roumen" Strobl
  422.56 - */
  422.57 -public class MimeMailClasspathProvider implements AutomaticExtraClasspathProvider {
  422.58 -
  422.59 -    /**
  422.60 -     * Default constructor for lookup
  422.61 -     */
  422.62 -    public MimeMailClasspathProvider() {}
  422.63 -
  422.64 -    /**
  422.65 -    * Return jars to be added to classpath
  422.66 -     * @return jars to classpath
  422.67 -     */
  422.68 -    public File[] getClasspathItems() {
  422.69 -        File mailJar = InstalledFileLocator.getDefault().locate(
  422.70 -            "modules/ext/mail-1.3.2.jar", "org.netbeans.modules.projectpackager", false); // NOI18N
  422.71 -        assert mailJar != null : NbBundle.getBundle(Constants.BUNDLE).getString("Missing_mail.jar");
  422.72 -        File activationJar = InstalledFileLocator.getDefault().locate(
  422.73 -            "modules/ext/activation-1.0.2.jar", "org.netbeans.modules.projectpackager", false); // NOI18N
  422.74 -        assert activationJar != null : NbBundle.getBundle(Constants.BUNDLE).getString("Missing_activation.jar");
  422.75 -        return new File[] {mailJar, activationJar};
  422.76 -    }
  422.77 -    
  422.78 -}
   423.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/tools/ProjectPackagerSettings.java	Thu Jul 10 19:13:29 2008 +0800
   423.2 +++ b/projectpackager/src/org/netbeans/modules/projectpackager/tools/ProjectPackagerSettings.java	Thu Jul 10 19:50:39 2008 +0800
   423.3 @@ -41,289 +41,67 @@
   423.4  
   423.5  package org.netbeans.modules.projectpackager.tools;
   423.6  
   423.7 -import java.io.IOException;
   423.8 -import java.io.ObjectInput;
   423.9 -import java.io.ObjectOutput;
  423.10 -import org.openide.options.SystemOption;
  423.11 -import org.openide.util.HelpCtx;
  423.12 +import java.util.prefs.Preferences;
  423.13  import org.openide.util.NbBundle;
  423.14 -
  423.15 +import org.openide.util.NbPreferences;
  423.16  
  423.17  /**
  423.18   * Settings of Project Packager
  423.19   * @author Roman "Roumen" Strobl
  423.20   */
  423.21 -public class ProjectPackagerSettings extends SystemOption {
  423.22 +public class ProjectPackagerSettings {
  423.23  
  423.24 -    // static final long serialVersionUID = ...;
  423.25 -    static final long serialVersionUID = 324234872987395873L;
  423.26 -
  423.27 -    /**
  423.28 -     * SMTP server property
  423.29 -     */
  423.30 -    public static final String PROP_SMTP_SERVER = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Server");
  423.31 -    /**
  423.32 -     * SMTP username property
  423.33 -     */
  423.34 -    public static final String PROP_SMTP_USERNAME = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Username");
  423.35 -    /**
  423.36 -     * SMTP password property
  423.37 -     */
  423.38 -    public static final String PROP_SMTP_PASSWORD = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Password");
  423.39 -    /**
  423.40 -     * Use SSL for SMTP property
  423.41 -     */    
  423.42 -    public static final String PROP_SMTP_USE_SSL = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Use_SSL");
  423.43 -    /**
  423.44 -     * Mail From
  423.45 -     */
  423.46 -    public static final String PROP_MAIL_FROM = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Mail_From");
  423.47 -    /**
  423.48 -     * Mail Subject
  423.49 -     */
  423.50 -    public static final String PROP_MAIL_SUBJECT = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Mail_Subject");
  423.51 -    /**
  423.52 -     * Mail Body
  423.53 -     */
  423.54 -    public static final String PROP_MAIL_BODY = NbBundle.getBundle(Constants.BUNDLE).getString("SMTP_Mail_Body");
  423.55 -            
  423.56 -    
  423.57 -    /**
  423.58 -     * Version property
  423.59 -     */
  423.60 -    public static final String PROP_VERSION = NbBundle.getBundle(Constants.BUNDLE).getString("version");    
  423.61 -    
  423.62 -    /**
  423.63 -     * Current version - 4.1, may need update
  423.64 -     */
  423.65 -    public static final Integer CURRENT_VERSION = new Integer(41);
  423.66 -    
  423.67 -    // No constructor please!
  423.68 -
  423.69 -    /**
  423.70 -     * Initialize settings
  423.71 -     */
  423.72 -    protected void initialize () {        
  423.73 -        super.initialize();
  423.74 -        
  423.75 -        putProperty(PROP_VERSION, CURRENT_VERSION, true);
  423.76 -        String smtpServer = System.getProperty("smtp_server");
  423.77 -        if (smtpServer!=null && !smtpServer.equals("")) {
  423.78 -            putProperty(PROP_SMTP_SERVER, smtpServer, true);
  423.79 -        } else {
  423.80 -            putProperty(PROP_SMTP_SERVER, "", true);
  423.81 -        }
  423.82 -        String smtpUsername = System.getProperty("smtp_username");
  423.83 -        if (smtpUsername!=null && !smtpUsername.equals("")) {
  423.84 -            putProperty(PROP_SMTP_USERNAME, smtpUsername, true);
  423.85 -        } else {
  423.86 -            putProperty(PROP_SMTP_USERNAME, "", true);
  423.87 -        }
  423.88 -        String smtpPassword = System.getProperty("smtp_password");
  423.89 -        if (smtpPassword!=null && !smtpPassword.equals("")) {
  423.90 -            putProperty(PROP_SMTP_PASSWORD, smtpPassword, true);
  423.91 -        } else {
  423.92 -            putProperty(PROP_SMTP_PASSWORD, "", true);
  423.93 -        }
  423.94 -        Boolean smtpUseSSL = Boolean.valueOf(System.getProperty("smtp_use_ssl"));        
  423.95 -        if (smtpUseSSL!=null) {
  423.96 -            putProperty(PROP_SMTP_USE_SSL, smtpUseSSL, true);
  423.97 -        } else {
  423.98 -            putProperty(PROP_SMTP_USE_SSL, Boolean.FALSE, true);
  423.99 -        }
 423.100 -        putProperty(PROP_MAIL_FROM, NbBundle.getBundle(Constants.BUNDLE).getString("Mail_From_Default"), true);
 423.101 -        putProperty(PROP_MAIL_SUBJECT, NbBundle.getBundle(Constants.BUNDLE).getString("Mail_Subject_Default"), true);
 423.102 -        putProperty(PROP_MAIL_BODY, NbBundle.getBundle(Constants.BUNDLE).getString("Mail_Body_Default"), true);
 423.103 +    private static Preferences prefs() {
 423.104 +        return NbPreferences.forModule(ProjectPackagerSettings.class);
 423.105      }
 423.106  
 423.107 -    /**
 423.108 -     * Serialize settings
 423.109 -     * @param out output
 423.110 -     * @throws java.io.IOException when there is an error with serialization
 423.111 -     */
 423.112 -    public void writeExternal (ObjectOutput out) throws IOException {
 423.113 -        out.writeObject(getProperty(PROP_VERSION));
 423.114 -        out.writeObject(getProperty(PROP_SMTP_SERVER));
 423.115 -        out.writeObject(getProperty(PROP_SMTP_USERNAME));
 423.116 -        out.writeObject(getProperty(PROP_SMTP_PASSWORD));
 423.117 -        out.writeObject(getProperty(PROP_SMTP_USE_SSL));
 423.118 -        out.writeObject(getProperty(PROP_MAIL_FROM));
 423.119 -        out.writeObject(getProperty(PROP_MAIL_SUBJECT));
 423.120 -        out.writeObject(getProperty(PROP_MAIL_BODY));
 423.121 +    public static void setSmtpServer(String newVal) {
 423.122 +        prefs().put("smtpServer", newVal);
 423.123      }
 423.124 -    
 423.125 -    /**
 423.126 -     * Deserialize settings
 423.127 -     * @param in input
 423.128 -     * @throws java.io.IOException when there is problem with deserialization
 423.129 -     * @throws java.lang.ClassNotFoundException when settings class not found
 423.130 -     */
 423.131 -    public void readExternal (ObjectInput in) throws IOException, ClassNotFoundException {
 423.132 -        Object firstProperty = in.readObject();
 423.133 -        if (firstProperty instanceof Integer) {
 423.134 -            int version = ((Integer)firstProperty).intValue();
 423.135 -            readVersionedOptions(in, version);
 423.136 -        } else {
 423.137 -            // something went wrong
 423.138 -            System.err.println(NbBundle.getBundle(Constants.BUNDLE).getString("Unknown_options_for_Project_Packager."));
 423.139 -        }
 423.140 -    }    
 423.141 -    
 423.142 -    private void readVersionedOptions(ObjectInput in, int version) throws IOException, ClassNotFoundException {
 423.143 -        switch (version) {
 423.144 -            case 41:
 423.145 -                readVersion41Options(in);
 423.146 -                break;
 423.147 -            default:
 423.148 -                // weird stuff
 423.149 -                System.err.println(NbBundle.getBundle(Constants.BUNDLE).getString("Unknown_options_for_Project_Packager_-_version:_")+version);
 423.150 -        }
 423.151 -    }
 423.152 -    
 423.153 -    private void readVersion41Options(ObjectInput in) throws IOException, ClassNotFoundException {
 423.154 -        putProperty(PROP_SMTP_SERVER, in.readObject(), true);
 423.155 -        putProperty(PROP_SMTP_USERNAME, in.readObject(), true);
 423.156 -        putProperty(PROP_SMTP_PASSWORD, in.readObject(), true);
 423.157 -        putProperty(PROP_SMTP_USE_SSL, in.readObject(), true);
 423.158 -        putProperty(PROP_MAIL_FROM, in.readObject(), true);
 423.159 -        putProperty(PROP_MAIL_SUBJECT, in.readObject(), true);
 423.160 -        putProperty(PROP_MAIL_BODY, in.readObject(), true);
 423.161 -    }
 423.162 -    
 423.163 -    /**
 423.164 -     * Return settings name
 423.165 -     * @return settings name
 423.166 -     */
 423.167 -    public String displayName () {
 423.168 -        return NbBundle.getBundle(Constants.BUNDLE).getString("Project_Packager_Settings");
 423.169 +    public static String getSmtpServer() {
 423.170 +        return prefs().get("smtpServer", System.getProperty("smtp_server", ""));
 423.171      }
 423.172  
 423.173 -    /**
 423.174 -     * Return help context
 423.175 -     * @return help context
 423.176 -     */
 423.177 -    public HelpCtx getHelpCtx () {
 423.178 -        return new HelpCtx(ProjectPackagerSettings.class); 
 423.179 +    public static void setSmtpUsername(String newVal) {
 423.180 +        prefs().put("smtpUsername", newVal);
 423.181      }
 423.182 -    
 423.183 -    /**
 423.184 -     * Default instance of this system option, for the convenience of associated classes.
 423.185 -     * @return instance of this class
 423.186 -     */
 423.187 -    public static ProjectPackagerSettings getDefault () {
 423.188 -        return (ProjectPackagerSettings) findObject (ProjectPackagerSettings.class, true);
 423.189 -    }
 423.190 -    
 423.191 -
 423.192 -    /**
 423.193 -     * Set SMTP server
 423.194 -     * @param newVal SMTP server
 423.195 -     */
 423.196 -    public void setSmtpServer(String newVal) {
 423.197 -        putProperty(PROP_SMTP_SERVER, newVal, true);
 423.198 -    }
 423.199 -    
 423.200 -    /**
 423.201 -     * Return SMTP server
 423.202 -     * @return SMTP server
 423.203 -     */
 423.204 -    public String getSmtpServer() {
 423.205 -        return (String) getProperty(PROP_SMTP_SERVER);
 423.206 +    public static String getSmtpUsername() {
 423.207 +        return prefs().get("smtpUsername", System.getProperty("smtp_username", ""));
 423.208      }
 423.209  
 423.210 -    /**
 423.211 -     * Set SMTP username
 423.212 -     * @param newVal SMTP username
 423.213 -     */
 423.214 -    public void setSmtpUsername(String newVal) {
 423.215 -        putProperty(PROP_SMTP_USERNAME, newVal, true);
 423.216 +    public static void setSmtpPassword(String newVal) {
 423.217 +        prefs().put("smtpPassword", newVal);
 423.218      }
 423.219 -    
 423.220 -    /**
 423.221 -     * Return SMTP username
 423.222 -     * @return SMTP username
 423.223 -     */
 423.224 -    public String getSmtpUsername() {
 423.225 -        return (String) getProperty(PROP_SMTP_USERNAME);
 423.226 +    public static String getSmtpPassword() {
 423.227 +        return prefs().get("smtpPassword", System.getProperty("smtp_password", ""));
 423.228      }
 423.229 -    
 423.230 -    /**
 423.231 -     * Set SMTP password
 423.232 -     * @param newVal SMTP password
 423.233 -     */
 423.234 -    public void setSmtpPassword(String newVal) {
 423.235 -        putProperty(PROP_SMTP_PASSWORD, newVal, true);
 423.236 +
 423.237 +    public static void setSmtpUseSSL(boolean newVal) {
 423.238 +        prefs().putBoolean("smtpUseSSL", newVal);
 423.239      }
 423.240 -    
 423.241 -    /**
 423.242 -     * Return SMTP password
 423.243 -     * @return SMTP password
 423.244 -     */
 423.245 -    public String getSmtpPassword() {
 423.246 -        return (String) getProperty(PROP_SMTP_PASSWORD);
 423.247 -    }    
 423.248 -    
 423.249 -    /**
 423.250 -     * Set Use SSL
 423.251 -     * @param newVal Use SSL
 423.252 -     */
 423.253 -    public void setSmtpUseSSL(Boolean newVal) {
 423.254 -        putProperty(PROP_SMTP_USE_SSL, newVal, true);
 423.255 +    public static boolean getSmtpUseSSL() {
 423.256 +        return prefs().getBoolean("smtpUseSSL", Boolean.getBoolean("smtp_use_ssl"));
 423.257      }
 423.258 -    
 423.259 -    /**
 423.260 -     * Return Uses SSL?
 423.261 -     * @return Uses SSL?
 423.262 -     */
 423.263 -    public Boolean getSmtpUseSSL() {
 423.264 -        return (Boolean) getProperty(PROP_SMTP_USE_SSL);
 423.265 -    }        
 423.266 -    
 423.267 -    /**
 423.268 -     * Set Mail From
 423.269 -     * @param newVal Mail From
 423.270 -     */
 423.271 -    public void setMailFrom(String newVal) {
 423.272 -        putProperty(PROP_MAIL_FROM, newVal, true);
 423.273 +
 423.274 +    public static void setMailFrom(String newVal) {
 423.275 +        prefs().put("mailFrom", newVal);
 423.276      }
 423.277 -    
 423.278 -    /**
 423.279 -     * Return Mail From
 423.280 -     * @return Mail From
 423.281 -     */
 423.282 -    public String getMailFrom() {
 423.283 -        return (String) getProperty(PROP_MAIL_FROM);
 423.284 -    }         
 423.285 -    
 423.286 -    /**
 423.287 -     * Set Mail Subject
 423.288 -     * @param newVal Mail Subject
 423.289 -     */
 423.290 -    public void setMailSubject(String newVal) {
 423.291 -        putProperty(PROP_MAIL_SUBJECT, newVal, true);
 423.292 +    public static String getMailFrom() {
 423.293 +        return prefs().get("mailFrom", NbBundle.getBundle(Constants.BUNDLE).getString("Mail_From_Default"));
 423.294      }
 423.295 -    
 423.296 -    /**
 423.297 -     * Return Mail Subject
 423.298 -     * @return Mail Subject
 423.299 -     */
 423.300 -    public String getMailSubject() {
 423.301 -        return (String) getProperty(PROP_MAIL_SUBJECT);
 423.302 -    }         
 423.303 -    
 423.304 -    /**
 423.305 -     * Set Mail Body
 423.306 -     * @param newVal Mail Body
 423.307 -     */
 423.308 -    public void setMailBody(String newVal) {
 423.309 -        putProperty(PROP_MAIL_BODY, newVal, true);
 423.310 +
 423.311 +    public static void setMailSubject(String newVal) {
 423.312 +        prefs().put("mailSubject", newVal);
 423.313      }
 423.314 -    
 423.315 -    /**
 423.316 -     * Return Mail Body
 423.317 -     * @return Mail Body
 423.318 -     */
 423.319 -    public String getMailBody() {
 423.320 -        return (String) getProperty(PROP_MAIL_BODY);
 423.321 -    }         
 423.322 +    public static String getMailSubject() {
 423.323 +        return prefs().get("mailSubject", NbBundle.getBundle(Constants.BUNDLE).getString("Mail_Subject_Default"));
 423.324 +    }
 423.325 +
 423.326 +    public static void setMailBody(String newVal) {
 423.327 +        prefs().put("mailBody", newVal);
 423.328 +    }
 423.329 +    public static String getMailBody() {
 423.330 +        return prefs().get("mailBody", NbBundle.getBundle(Constants.BUNDLE).getString("Mail_Body_Default"));
 423.331 +    }
 423.332 +
 423.333  }
   424.1 --- a/projectpackager/src/org/netbeans/modules/projectpackager/tools/ProjectPackagerSettingsBeanInfo.java	Thu Jul 10 19:13:29 2008 +0800
   424.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   424.3 @@ -1,109 +0,0 @@
   424.4 -/*
   424.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   424.6 - *
   424.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   424.8 - *
   424.9 - * The contents of this file are subject to the terms of either the GNU
  424.10 - * General Public License Version 2 only ("GPL") or the Common
  424.11 - * Development and Distribution License("CDDL") (collectively, the
  424.12 - * "License"). You may not use this file except in compliance with the
  424.13 - * License. You can obtain a copy of the License at
  424.14 - * http://www.netbeans.org/cddl-gplv2.html
  424.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  424.16 - * specific language governing permissions and limitations under the
  424.17 - * License.  When distributing the software, include this License Header
  424.18 - * Notice in each file and include the License file at
  424.19 - * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
  424.20 - * particular file as subject to the "Classpath" exception as provided
  424.21 - * by Sun in the GPL Version 2 section of the License file that
  424.22 - * accompanied this code. If applicable, add the following below the
  424.23 - * License Header, with the fields enclosed by brackets [] replaced by
  424.24 - * your own identifying information:
  424.25 - * "Portions Copyrighted [year] [name of copyright owner]"
  424.26 - *
  424.27 - * Contributor(s):
  424.28 - *
  424.29 - * The Original Software is NetBeans. The Initial Developer of the Original
  424.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
  424.31 - * Microsystems, Inc. All Rights Reserved.
  424.32 - *
  424.33 - * If you wish your version of this file to be governed by only the CDDL
  424.34 - * or only the GPL Version 2, indicate your decision by adding
  424.35 - * "[Contributor] elects to include this software in this distribution
  424.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
  424.37 - * single choice of license, a recipient has the option to distribute
  424.38 - * your version of this file under either the CDDL, the GPL Version 2 or
  424.39 - * to extend the choice of license to its licensees as provided above.
  424.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
  424.41 - * Version 2 license, then the option applies only if the new code is
  424.42 - * made subject to such option by the copyright holder.
  424.43 - */
  424.44 -
  424.45 -package org.netbeans.modules.projectpackager.tools;
  424.46 -
  424.47 -import java.awt.Image;
  424.48 -import java.beans.BeanInfo;
  424.49 -import java.beans.IntrospectionException;
  424.50 -import java.beans.PropertyDescriptor;
  424.51 -import java.beans.SimpleBeanInfo;
  424.52 -import java.util.ResourceBundle;
  424.53 -import org.openide.util.NbBundle;
  424.54 -import org.openide.util.Utilities;
  424.55 -
  424.56 -/**
  424.57 - * @author Roman "Roumen" Strobl
  424.58 - */
  424.59 -public class ProjectPackagerSettingsBeanInfo extends SimpleBeanInfo {
  424.60 -
  424.61 -    public PropertyDescriptor[] getPropertyDescriptors() {
  424.62 -        ResourceBundle bundle = NbBundle.getBundle(Constants.BUNDLE);
  424.63 -        try {
  424.64 -            PropertyDescriptor smtpServer =
  424.65 -                    new PropertyDescriptor("smtpServer", ProjectPackagerSettings.class);
  424.66 -            smtpServer.setDisplayName(bundle.getString("SMTP_Server"));
  424.67 -            smtpServer.setShortDescription(bundle.getString("HINT_SMTP_Server"));
  424.68 -            PropertyDescriptor smtpUsername =
  424.69 -                    new PropertyDescriptor("smtpUsername", ProjectPackagerSettings.class);
  424.70 -            smtpUsername.setDisplayName(bundle.getString("SMTP_Username"));
  424.71 -            smtpUsername.setShortDescription(bundle.getString("HINT_SMTP_Username"));
  424.72 -            PropertyDescriptor smtpPassword =
  424.73 -                    new PropertyDescriptor("smtpPassword", ProjectPackagerSettings.class);
  424.74 -            smtpPassword.setDisplayName(bundle.getString("SMTP_Password"));
  424.75 -            smtpPassword.setShortDescription(bundle.getString("HINT_SMTP_Password"));
  424.76 -            smtpPassword.setHidden(true);
  424.77 -            PropertyDescriptor smtpUseSSL =
  424.78 -                    new PropertyDescriptor("smtpUseSSL", ProjectPackagerSettings.class);
  424.79 -            smtpUseSSL.setDisplayName(bundle.getString("SMTP_Use_SSL"));
  424.80 -            smtpUseSSL.setShortDescription(bundle.getString("HINT_SMTP_Use_SSL"));
  424.81 -            PropertyDescriptor smtpMailFrom =
  424.82 -                    new PropertyDescriptor("mailFrom", ProjectPackagerSettings.class);
  424.83 -            smtpMailFrom.setDisplayName(bundle.getString("SMTP_Mail_From"));
  424.84 -            smtpMailFrom.setShortDescription(bundle.getString("HINT_Mail_From"));
  424.85 -            PropertyDescriptor smtpMailSubject =
  424.86 -                    new PropertyDescriptor("mailSubject", ProjectPackagerSettings.class);
  424.87 -            smtpMailSubject.setDisplayName(bundle.getString("SMTP_Mail_Subject"));
  424.88 -            smtpMailSubject.setShortDescription(bundle.getString("HINT_Mail_Subject"));
  424.89 -            PropertyDescriptor smtpMailBody =
  424.90 -                    new PropertyDescriptor("mailBody", ProjectPackagerSettings.class);
  424.91 -            smtpMailBody.setDisplayName(bundle.getString("SMTP_Mail_Body"));
  424.92 -            smtpMailBody.setShortDescription(bundle.getString("HINT_Mail_Body"));
  424.93 -            return new PropertyDescriptor[] {smtpServer, smtpUsername, smtpPassword, 
  424.94 -                    smtpUseSSL, smtpMailFrom, smtpMailBody, smtpMailSubject};
  424.95 -        } catch (IntrospectionException ie) {
  424.96 -            System.err.println("Introspection exception thrown: "+ie);
  424.97 -            return null;
  424.98 -        }
  424.99 -    }
 424.100 -    
 424.101 -    public Image getIcon(int type) {
 424.102 -        System.out.println(type);
 424.103 -        if (type == BeanInfo.ICON_COLOR_16x16 || type == BeanInfo.ICON_MONO_16x16) {
 424.104 -            System.out.println("here");
 424.105 -            return Utilities.loadImage(
 424.106 -                    "/org/netbeans/modules/projectpackager/resources/ProjectPackagerIcon16.gif");
 424.107 -        } else {
 424.108 -            return null;
 424.109 -        }
 424.110 -    }
 424.111 -    
 424.112 -}
   425.1 --- a/ssinstaller/components/products/nb-base/data/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   425.2 +++ b/ssinstaller/components/products/nb-base/data/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   425.3 @@ -34,5 +34,5 @@
   425.4  # holder.
   425.5  # 
   425.6  
   425.7 -product.display.name=IDE
   425.8 +product.display.name=Base IDE
   425.9  product.description=Core components of an integrated development environment.
   426.1 --- a/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/ConfigurationLogic.java	Thu Jul 10 19:13:29 2008 +0800
   426.2 +++ b/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/ConfigurationLogic.java	Thu Jul 10 19:50:39 2008 +0800
   426.3 @@ -41,34 +41,37 @@
   426.4  import java.util.List;
   426.5  import java.util.logging.Level;
   426.6  import java.util.logging.Logger;
   426.7 +import org.netbeans.installer.product.components.Product;
   426.8  import org.netbeans.installer.product.components.ProductConfigurationLogic;
   426.9 -import org.netbeans.installer.product.components.Product;
  426.10  import org.netbeans.installer.utils.FileProxy;
  426.11  import org.netbeans.installer.utils.FileUtils;
  426.12  import org.netbeans.installer.utils.LogManager;
  426.13 -import org.netbeans.installer.utils.SystemUtils;
  426.14  import org.netbeans.installer.utils.applications.JavaUtils;
  426.15  import org.netbeans.installer.utils.applications.JavaUtils.JavaInfo;
  426.16  import org.netbeans.installer.utils.applications.NetBeansUtils;
  426.17  import org.netbeans.installer.utils.exceptions.InitializationException;
  426.18  import org.netbeans.installer.utils.exceptions.InstallationException;
  426.19 -import org.netbeans.installer.utils.exceptions.NativeException;
  426.20  import org.netbeans.installer.utils.exceptions.UninstallationException;
  426.21  import org.netbeans.installer.utils.helper.FilesList;
  426.22 +import org.netbeans.installer.utils.helper.RemovalMode;
  426.23  import org.netbeans.installer.utils.helper.Text;
  426.24  import org.netbeans.installer.utils.progress.Progress;
  426.25 -import org.netbeans.installer.utils.system.shortcut.FileShortcut;
  426.26 -import org.netbeans.installer.utils.system.shortcut.LocationType;
  426.27 -import org.netbeans.installer.utils.system.shortcut.Shortcut;
  426.28  import org.netbeans.installer.wizard.Wizard;
  426.29  import org.netbeans.installer.wizard.components.WizardComponent;
  426.30  
  426.31  /**
  426.32   *
  426.33 - * @author Kirill Sorokin
  426.34 + * @author Dmitry Lipin
  426.35   */
  426.36  public class ConfigurationLogic extends ProductConfigurationLogic {
  426.37      /////////////////////////////////////////////////////////////////////////////////
  426.38 +    // Constants
  426.39 +    public static final String WIZARD_COMPONENTS_URI =
  426.40 +            FileProxy.RESOURCE_SCHEME_PREFIX +
  426.41 +            "org/netbeans/installer/products/nb/base/wizard.xml"; // NOI18N
  426.42 +    
  426.43 +   
  426.44 +    /////////////////////////////////////////////////////////////////////////////////
  426.45      // Instance
  426.46      private List<WizardComponent> wizardComponents;
  426.47      
  426.48 @@ -78,18 +81,10 @@
  426.49                  getClass().getClassLoader());
  426.50      }
  426.51      
  426.52 -    public void install(final Progress progress) throws InstallationException {
  426.53 +   public void install(final Progress progress) throws InstallationException {
  426.54          final Product product = getProduct();
  426.55          final File installLocation = product.getInstallationLocation();
  426.56 -        final FilesList filesList = product.getInstalledFiles();
  426.57 -        final File binSubdir = new File(installLocation, BIN_SUBDIR);
  426.58 -        final File etcSubdir = new File(installLocation, ETC_SUBDIR);
  426.59 -        final File platformCluster = new File(installLocation, PLATFORM_CLUSTER);
  426.60 -        final File nbCluster = new File(installLocation, NB_CLUSTER);
  426.61 -        final File ideCluster = new File(installLocation, IDE_CLUSTER);
  426.62 -
  426.63 -        
  426.64 -        /////////////////////////////////////////////////////////////////////////////
  426.65 +        final FilesList filesList = product.getInstalledFiles();     
  426.66          
  426.67          final File jreHome = new File (System.getProperty("java.home"));
  426.68          try {
  426.69 @@ -105,236 +100,27 @@
  426.70              throw new InstallationException(
  426.71                      getString("CL.install.error.jdk.home"), // NOI18N
  426.72                      e);
  426.73 -        }
  426.74 -        
  426.75 -        /////////////////////////////////////////////////////////////////////////////
  426.76 +        }             
  426.77 +               
  426.78          try {
  426.79 -            progress.setDetail(getString("CL.install.netbeans.clusters")); // NOI18N
  426.80 -            
  426.81 -            NetBeansUtils.addCluster(installLocation, PLATFORM_CLUSTER);
  426.82 -            NetBeansUtils.addCluster(installLocation, NB_CLUSTER);
  426.83 -            NetBeansUtils.addCluster(installLocation, IDE_CLUSTER);
  426.84 -            NetBeansUtils.addCluster(installLocation, ATD_CLUSTER);
  426.85 -        } catch (IOException e) {
  426.86 -            throw new InstallationException(
  426.87 -                    getString("CL.install.error.netbeans.clusters"), // NOI18N
  426.88 -                    e);
  426.89 -        }
  426.90 -        
  426.91 -        /////////////////////////////////////////////////////////////////////////////
  426.92 -        try {
  426.93 -            progress.setDetail(getString("CL.install.product.id")); // NOI18N
  426.94 -            
  426.95 +            progress.setDetail(getString("CL.install.product.id")); // NOI18N            
  426.96              filesList.add(NetBeansUtils.createProductId(installLocation));
  426.97          } catch (IOException e) {
  426.98              throw new InstallationException(
  426.99                      getString("CL.install.error.product.id"), // NOI18N
 426.100                      e);
 426.101 -        }
 426.102 -        
 426.103 -        /////////////////////////////////////////////////////////////////////////////
 426.104 -        try {
 426.105 -            progress.setDetail(getString("CL.install.license.accepted")); // NOI18N
 426.106 -            
 426.107 -            filesList.add(
 426.108 -                    NetBeansUtils.createLicenseAcceptedMarker(installLocation));
 426.109 -        } catch (IOException e) {
 426.110 -            throw new InstallationException(
 426.111 -                    getString("CL.install.error.license.accepted"), // NOI18N
 426.112 -                    e);
 426.113 -        }
 426.114 -        
 426.115 -        /////////////////////////////////////////////////////////////////////////////
 426.116 -        //try {
 426.117 -        //    progress.setDetail(getString("CL.install.irrelevant.files")); // NOI18N
 426.118 -        //
 426.119 -        //    SystemUtils.removeIrrelevantFiles(binSubdir);
 426.120 -        //    SystemUtils.removeIrrelevantFiles(etcSubdir);
 426.121 -        //    SystemUtils.removeIrrelevantFiles(platformCluster);
 426.122 -        //    SystemUtils.removeIrrelevantFiles(nbCluster);
 426.123 -        //    SystemUtils.removeIrrelevantFiles(ideCluster);
 426.124 -        //} catch (IOException e) {
 426.125 -        //    throw new InstallationException(
 426.126 -        //            getString("CL.install.error.irrelevant.files"), // NOI18N
 426.127 -        //            e);
 426.128 -        //}
 426.129 -        
 426.130 -        /////////////////////////////////////////////////////////////////////////////
 426.131 -        //try {
 426.132 -        //    progress.setDetail(getString("CL.install.files.permissions")); // NOI18N
 426.133 -        //
 426.134 -        //    SystemUtils.correctFilesPermissions(binSubdir);
 426.135 -        //    SystemUtils.correctFilesPermissions(etcSubdir);
 426.136 -        //    SystemUtils.correctFilesPermissions(platformCluster);
 426.137 -        //    SystemUtils.correctFilesPermissions(nbCluster);
 426.138 -        //    SystemUtils.correctFilesPermissions(ideCluster);
 426.139 -        //} catch (IOException e) {
 426.140 -        //    throw new InstallationException(
 426.141 -        //            getString("CL.install.error.files.permissions"), // NOI18N
 426.142 -        //            e);
 426.143 -        //}
 426.144 -        
 426.145 -        /////////////////////////////////////////////////////////////////////////////
 426.146 -        LogManager.logIndent(
 426.147 -                "creating the desktop shortcut for NetBeans IDE"); // NOI18N
 426.148 -        if (!SystemUtils.isMacOS()) {
 426.149 -            try {
 426.150 -                progress.setDetail(getString("CL.install.desktop")); // NOI18N
 426.151 -                
 426.152 -                if (SystemUtils.isCurrentUserAdmin()) {
 426.153 -                    LogManager.log(
 426.154 -                            "... current user is an administrator " + // NOI18N
 426.155 -                            "-- creating the shortcut for all users"); // NOI18N
 426.156 -                    
 426.157 -                    SystemUtils.createShortcut(
 426.158 -                            getDesktopShortcut(installLocation),
 426.159 -                            LocationType.ALL_USERS_DESKTOP);
 426.160 -                    
 426.161 -                    getProduct().setProperty(
 426.162 -                            DESKTOP_SHORTCUT_LOCATION_PROPERTY,
 426.163 -                            ALL_USERS_PROPERTY_VALUE);
 426.164 -                } else {
 426.165 -                    LogManager.log(
 426.166 -                            "... current user is an ordinary user " + // NOI18N
 426.167 -                            "-- creating the shortcut for the current " + // NOI18N
 426.168 -                            "user only"); // NOI18N
 426.169 -                    
 426.170 -                    SystemUtils.createShortcut(
 426.171 -                            getDesktopShortcut(installLocation),
 426.172 -                            LocationType.CURRENT_USER_DESKTOP);
 426.173 -                    
 426.174 -                    getProduct().setProperty(
 426.175 -                            DESKTOP_SHORTCUT_LOCATION_PROPERTY,
 426.176 -                            CURRENT_USER_PROPERTY_VALUE);
 426.177 -                }
 426.178 -            } catch (NativeException e) {
 426.179 -                LogManager.unindent();
 426.180 -                
 426.181 -                LogManager.log(
 426.182 -                        getString("CL.install.error.desktop"), // NOI18N
 426.183 -                        e);
 426.184 -            }
 426.185 -        } else {
 426.186 -            LogManager.log(
 426.187 -                    "... skipping this step as we're on Mac OS"); // NOI18N
 426.188 -        }
 426.189 -        LogManager.logUnindent(
 426.190 -                "... done"); // NOI18N
 426.191 -        
 426.192 -        /////////////////////////////////////////////////////////////////////////////
 426.193 -        LogManager.logIndent(
 426.194 -                "creating the start menu shortcut for NetBeans IDE"); // NOI18N
 426.195 -        try {
 426.196 -            progress.setDetail(getString("CL.install.start.menu")); // NOI18N
 426.197 -            
 426.198 -            if (SystemUtils.isCurrentUserAdmin()) {
 426.199 -                LogManager.log(
 426.200 -                        "... current user is an administrator " + // NOI18N
 426.201 -                        "-- creating the shortcut for all users"); // NOI18N
 426.202 -                
 426.203 -                SystemUtils.createShortcut(
 426.204 -                        getStartMenuShortcut(installLocation),
 426.205 -                        LocationType.ALL_USERS_START_MENU);
 426.206 -                
 426.207 -                getProduct().setProperty(
 426.208 -                        START_MENU_SHORTCUT_LOCATION_PROPERTY,
 426.209 -                        ALL_USERS_PROPERTY_VALUE);
 426.210 -            } else {
 426.211 -                LogManager.log(
 426.212 -                        "... current user is an ordinary user " + // NOI18N
 426.213 -                        "-- creating the shortcut for the current " + // NOI18N
 426.214 -                        "user only"); // NOI18N
 426.215 -                
 426.216 -                SystemUtils.createShortcut(
 426.217 -                        getStartMenuShortcut(installLocation),
 426.218 -                        LocationType.CURRENT_USER_START_MENU);
 426.219 -                
 426.220 -                getProduct().setProperty(
 426.221 -                        START_MENU_SHORTCUT_LOCATION_PROPERTY,
 426.222 -                        CURRENT_USER_PROPERTY_VALUE);
 426.223 -            }
 426.224 -        } catch (NativeException e) {
 426.225 -            LogManager.log(
 426.226 -                    getString("CL.install.error.start.menu"), // NOI18N
 426.227 -                    e);
 426.228 -        }
 426.229 -        LogManager.logUnindent(
 426.230 -                "... done"); // NOI18N
 426.231 -        
 426.232 -        /////////////////////////////////////////////////////////////////////////////
 426.233 -        try {
 426.234 -            progress.setDetail(getString("CL.install.netbeans.conf")); // NOI18N            
 426.235 -            NetBeansUtils.updateNetBeansHome(installLocation);   
 426.236 -        } catch (IOException e) {
 426.237 -            throw new InstallationException(
 426.238 -                    getString("CL.install.error.netbeans.conf"), // NOI18N
 426.239 -                    e);
 426.240 -        }            
 426.241 +        }     
 426.242          progress.setPercentage(Progress.COMPLETE);
 426.243      }
 426.244      
 426.245      public void uninstall(final Progress progress) throws UninstallationException {
 426.246 -        final Product product = getProduct();
 426.247 -        final File installLocation = product.getInstallationLocation();
 426.248 -        LogManager.log("uninstalling NB from " + installLocation.getAbsolutePath());
 426.249 -        NetBeansUtils.warnNetbeansRunning(installLocation);
 426.250 -        /////////////////////////////////////////////////////////////////////////////
 426.251 -        try {
 426.252 -            progress.setDetail(getString("CL.uninstall.start.menu")); // NOI18N
 426.253 -            
 426.254 -            final String shortcutLocation =
 426.255 -                    getProduct().getProperty(START_MENU_SHORTCUT_LOCATION_PROPERTY);
 426.256 -            
 426.257 -            if ((shortcutLocation == null) ||
 426.258 -                    shortcutLocation.equals(CURRENT_USER_PROPERTY_VALUE)) {
 426.259 -                SystemUtils.removeShortcut(
 426.260 -                        getStartMenuShortcut(installLocation),
 426.261 -                        LocationType.CURRENT_USER_START_MENU,
 426.262 -                        true);
 426.263 -            } else {
 426.264 -                SystemUtils.removeShortcut(
 426.265 -                        getStartMenuShortcut(installLocation),
 426.266 -                        LocationType.ALL_USERS_START_MENU,
 426.267 -                        true);
 426.268 -            }
 426.269 -        } catch (NativeException e) {
 426.270 -            LogManager.log(
 426.271 -                    getString("CL.uninstall.error.start.menu"), // NOI18N
 426.272 -                    e);
 426.273 -        }
 426.274 -        
 426.275 -        /////////////////////////////////////////////////////////////////////////////
 426.276 -        
 426.277 -        try {
 426.278 -            progress.setDetail(getString("CL.uninstall.desktop")); // NOI18N
 426.279 -
 426.280 -            final String shortcutLocation = getProduct().getProperty(
 426.281 -                    DESKTOP_SHORTCUT_LOCATION_PROPERTY);
 426.282 -
 426.283 -            if ((shortcutLocation == null) ||
 426.284 -                    shortcutLocation.equals(CURRENT_USER_PROPERTY_VALUE)) {
 426.285 -                SystemUtils.removeShortcut(
 426.286 -                        getDesktopShortcut(installLocation),
 426.287 -                        LocationType.CURRENT_USER_DESKTOP,
 426.288 -                        false);
 426.289 -            } else {
 426.290 -                SystemUtils.removeShortcut(
 426.291 -                        getDesktopShortcut(installLocation),
 426.292 -                        LocationType.ALL_USERS_DESKTOP,
 426.293 -                        false);
 426.294 -            }
 426.295 -        } catch (NativeException e) {
 426.296 -            LogManager.log(
 426.297 -                    getString("CL.uninstall.error.desktop"), // NOI18N
 426.298 -                    e);
 426.299 -        }
 426.300 -        try {
 426.301 -            FileUtils.deleteFile(installLocation, true);
 426.302 -        } catch (IOException ex) {
 426.303 -            Logger.getLogger(ConfigurationLogic.class.getName()).log(Level.SEVERE, null, ex);
 426.304 -        }
 426.305 -        /////////////////////////////////////////////////////////////////////////////
 426.306 -        progress.setPercentage(Progress.COMPLETE);
 426.307 +      
 426.308 +    }
 426.309 +   
 426.310 +         
 426.311 +    @Override
 426.312 +    public Text getLicense() {
 426.313 +        return null;
 426.314      }
 426.315      
 426.316      public List<WizardComponent> getWizardComponents() {
 426.317 @@ -342,156 +128,12 @@
 426.318      }
 426.319      
 426.320      @Override
 426.321 -    public String getSystemDisplayName() {
 426.322 -        return getString("CL.system.display.name");
 426.323 -    }
 426.324 -    
 426.325 -    @Override
 426.326 -    public boolean allowModifyMode() {
 426.327 +    public boolean registerInSystem() {
 426.328          return false;
 426.329      }
 426.330      
 426.331      @Override
 426.332 -    public boolean wrapForMacOs() {
 426.333 -        return true;
 426.334 +    public RemovalMode getRemovalMode() {
 426.335 +        return RemovalMode.LIST;
 426.336      }
 426.337 -    
 426.338 -    @Override
 426.339 -    public String getExecutable() {
 426.340 -        return EXECUTABLE_UNIX;        
 426.341 -    }
 426.342 -    
 426.343 -    @Override
 426.344 -    public String getIcon() {
 426.345 -        return ICON_UNIX;        
 426.346 -    }
 426.347 -
 426.348 -    @Override
 426.349 -    public Text getLicense() {
 426.350 -        return null;
 426.351 -    }    
 426.352 -    // private //////////////////////////////////////////////////////////////////////
 426.353 -    private Shortcut getDesktopShortcut(final File directory) {
 426.354 -        return getShortcut(
 426.355 -                getString("CL.desktop.shortcut.name"), // NOI18N
 426.356 -                getString("CL.desktop.shortcut.description"), // NOI18N
 426.357 -                getString("CL.desktop.shortcut.path"), // NOI18N
 426.358 -                directory);
 426.359 -    }
 426.360 -    
 426.361 -    private Shortcut getStartMenuShortcut(final File directory) {
 426.362 -        if (SystemUtils.isMacOS()) {
 426.363 -            return getShortcut(
 426.364 -                    getString("CL.start.menu.shortcut.name.macosx"), // NOI18N
 426.365 -                    getString("CL.start.menu.shortcut.description"), // NOI18N
 426.366 -                    getString("CL.start.menu.shortcut.path"), // NOI18N
 426.367 -                    directory);
 426.368 -        } else {
 426.369 -            return getShortcut(
 426.370 -                    getString("CL.start.menu.shortcut.name"), // NOI18N
 426.371 -                    getString("CL.start.menu.shortcut.description"), // NOI18N
 426.372 -                    getString("CL.start.menu.shortcut.path"), // NOI18N
 426.373 -                    directory);
 426.374 -        }
 426.375 -    }
 426.376 -    
 426.377 -    private Shortcut getShortcut(
 426.378 -            final String name,
 426.379 -            final String description,
 426.380 -            final String relativePath,
 426.381 -            final File location) {
 426.382 -        final File icon;
 426.383 -        final File executable;
 426.384 -               
 426.385 -        icon = new File(location, ICON_UNIX);
 426.386 -        executable = new File(location, EXECUTABLE_UNIX);        
 426.387 -        
 426.388 -        final FileShortcut shortcut = new FileShortcut(name, executable);
 426.389 -        
 426.390 -        shortcut.setDescription(description);
 426.391 -        shortcut.setCategories(SHORTCUT_CATEGORIES);
 426.392 -        shortcut.setFileName(SHORTCUT_FILENAME);
 426.393 -        shortcut.setIcon(icon);
 426.394 -        shortcut.setRelativePath(relativePath);
 426.395 -        shortcut.setWorkingDirectory(location);
 426.396 -        shortcut.setModifyPath(true);
 426.397 -        
 426.398 -        return shortcut;
 426.399 -    }
 426.400 -
 426.401 -    @Override
 426.402 -    public boolean registerInSystem() {
 426.403 -        return super.registerInSystem();
 426.404 -    }
 426.405 -    
 426.406 -    
 426.407 -    
 426.408 -    
 426.409 -    /////////////////////////////////////////////////////////////////////////////////
 426.410 -    // Constants
 426.411 -    public static final String WIZARD_COMPONENTS_URI =
 426.412 -            FileProxy.RESOURCE_SCHEME_PREFIX + // NOI18N
 426.413 -            "org/netbeans/installer/products/nb/base/wizard.xml"; // NOI18N
 426.414 -    
 426.415 -    public static final String BIN_SUBDIR =
 426.416 -            "bin"; // NOI18N
 426.417 -    public static final String ETC_SUBDIR =
 426.418 -            "etc"; // NOI18N
 426.419 -    
 426.420 -    public static final String PLATFORM_CLUSTER =
 426.421 -            "{platform-cluster}"; // NOI18N
 426.422 -    public static final String NB_CLUSTER  =
 426.423 -            "{nb-cluster}"; // NOI18N
 426.424 -    public static final String IDE_CLUSTER =
 426.425 -            "{ide-cluster}"; // NOI18N    
 426.426 -    
 426.427 -     public static final String ATD_CLUSTER =
 426.428 -            "{atd-cluster}"; // NOI18N    
 426.429 -    
 426.430 -    public static final String PLATFORM_UID =
 426.431 -            "nb-platform"; // NOI18N
 426.432 -    
 426.433 -    public static final String EXECUTABLE_WINDOWS =
 426.434 -            BIN_SUBDIR + "/netbeans.exe"; // NOI18N
 426.435 -    public static final String EXECUTABLE_UNIX =
 426.436 -            BIN_SUBDIR + "/netbeans"; // NOI18N
 426.437 -    
 426.438 -    public static final String ICON_WINDOWS =
 426.439 -            EXECUTABLE_WINDOWS;
 426.440 -    public static final String ICON_UNIX =
 426.441 -            NB_CLUSTER + "/netbeans.png"; // NOI18N
 426.442 -    public static final String ICON_MACOSX =
 426.443 -            NB_CLUSTER + "/netbeans.icns"; // NOI18N
 426.444 -    
 426.445 -    public static final String SHORTCUT_FILENAME =
 426.446 -            "netbeans-{display-version}.desktop"; // NOI18N
 426.447 -    public static final String[] SHORTCUT_CATEGORIES = new String[] {
 426.448 -        "Development", // NOI18N
 426.449 -        "Java",// NOI18N
 426.450 -        "IDE"// NOI18N
 426.451 -    };
 426.452 -    
 426.453 -    public static final String GLASSFISH_JVM_OPTION_NAME =
 426.454 -            "-Dcom.sun.aas.installRoot"; // NOI18N
 426.455 -    
 426.456 -    public static final String TOMCAT_JVM_OPTION_NAME_TOKEN =
 426.457 -            "-Dorg.netbeans.modules.tomcat.autoregister.token"; // NOI18N
 426.458 -    
 426.459 -    public static final String TOMCAT_JVM_OPTION_NAME_HOME =
 426.460 -            "-Dorg.netbeans.modules.tomcat.autoregister.catalinaHome"; // NOI18N
 426.461 -    
 426.462 -    public static final long REQUIRED_XMX_VALUE =
 426.463 -            192 * NetBeansUtils.M;
 426.464 -    
 426.465 -    private static final String DESKTOP_SHORTCUT_LOCATION_PROPERTY =
 426.466 -            "desktop.shortcut.location"; // NOI18N
 426.467 -    
 426.468 -    private static final String START_MENU_SHORTCUT_LOCATION_PROPERTY =
 426.469 -            "start.menu.shortcut.location"; // NOI18N
 426.470 -    
 426.471 -    private static final String ALL_USERS_PROPERTY_VALUE =
 426.472 -            "all.users"; // NOI18N
 426.473 -    
 426.474 -    private static final String CURRENT_USER_PROPERTY_VALUE =
 426.475 -            "current.user"; // NOI18N
 426.476  }
   427.1 --- a/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/license.txt	Thu Jul 10 19:13:29 2008 +0800
   427.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   427.3 @@ -1,419 +0,0 @@
   427.4 -NETBEANS 6 BETA 1 - Base IDE 
   427.5 -
   427.6 -Please review the complete list of open-source licenses governing software  included in this software. They can be found in the NetBeans 6.0_README.txt file.
   427.7 -Please review the list of libraries and licenses provided for use. This license file contains two distinct licenses.
   427.8 -
   427.9 -LICENSE #1: Unless specified below, the Common Development and Distribution License (CDDL) governs your use of NetBeans 6 Beta 1.
  427.10 -
  427.11 -LICENSE #2: The GNU General Public License (GPL) Version 2 with Classpath Exception governs your use of any software from OpenJDK, including but not limited to: JSR 223, Swing Application Framework, and Beans Binding.
  427.12 -
  427.13 -
  427.14 -***********************************************************************************
  427.15 -LICENSE #1: 
  427.16 -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
  427.17 -
  427.18 -1. Definitions.
  427.19 -1.1. "Contributor" means each individual or entity that
  427.20 -creates or contributes to the creation of Modifications.
  427.21 -1.2. "Contributor Version" means the combination of the
  427.22 -Original Software, prior Modifications used by a
  427.23 -Contributor (if any), and the Modifications made by that
  427.24 -particular Contributor.
  427.25 -1.3. "Covered Software" means (a) the Original Software, or
  427.26 -(b) Modifications, or (c) the combination of files
  427.27 -containing Original Software with files containing
  427.28 -Modifications, in each case including portions thereof.
  427.29 -1.4. "Executable" means the Covered Software in any form
  427.30 -other than Source Code. 
  427.31 -1.5. "Initial Developer" means the individual or entity
  427.32 -that first makes Original Software available under this
  427.33 -License. 
  427.34 -1.6. "Larger Work" means a work which combines Covered
  427.35 -Software or portions thereof with code not governed by the
  427.36 -terms of this License.
  427.37 -1.7. "License" means this document.
  427.38 -1.8. "Licensable" means having the right to grant, to the
  427.39 -maximum extent possible, whether at the time of the initial
  427.40 -grant or subsequently acquired, any and all of the rights
  427.41 -conveyed herein.
  427.42 -1.9. "Modifications" means the Source Code and Executable
  427.43 -form of any of the following: 
  427.44 -A. Any file that results from an addition to,
  427.45 -deletion from or modification of the contents of a
  427.46 -file containing Original Software or previous
  427.47 -Modifications; 
  427.48 -B. Any new file that contains any part of the
  427.49 -Original Software or previous Modification; or 
  427.50 -C. Any new file that is contributed or otherwise made
  427.51 -available under the terms of this License.
  427.52 -1.10. "Original Software" means the Source Code and
  427.53 -Executable form of computer software code that is
  427.54 -originally released under this License. 
  427.55 -1.11. "Patent Claims" means any patent claim(s), now owned
  427.56 -or hereafter acquired, including without limitation,
  427.57 -method, process, and apparatus claims, in any patent
  427.58 -Licensable by grantor. 
  427.59 -1.12. "Source Code" means (a) the common form of computer
  427.60 -software code in which modifications are made and (b)
  427.61 -associated documentation included in or with such code.
  427.62 -1.13. "You" (or "Your") means an individual or a legal
  427.63 -entity exercising rights under, and complying with all of
  427.64 -the terms of, this License. For legal entities, "You"
  427.65 -includes any entity which controls, is controlled by, or is
  427.66 -under common control with You. For purposes of this
  427.67 -definition, "control" means (a) the power, direct or
  427.68 -indirect, to cause the direction or management of such
  427.69 -entity, whether by contract or otherwise, or (b) ownership
  427.70 -of more than fifty percent (50%) of the outstanding shares
  427.71 -or beneficial ownership of such entity.
  427.72 -2. License Grants. 
  427.73 -2.1. The Initial Developer Grant.
  427.74 -Conditioned upon Your compliance with Section 3.1 below and
  427.75 -subject to third party intellectual property claims, the
  427.76 -Initial Developer hereby grants You a world-wide,
  427.77 -royalty-free, non-exclusive license: 
  427.78 -(a) under intellectual property rights (other than
  427.79 -patent or trademark) Licensable by Initial Developer,
  427.80 -to use, reproduce, modify, display, perform,
  427.81 -sublicense and distribute the Original Software (or
  427.82 -portions thereof), with or without Modifications,
  427.83 -and/or as part of a Larger Work; and 
  427.84 -(b) under Patent Claims infringed by the making,
  427.85 -using or selling of Original Software, to make, have
  427.86 -made, use, practice, sell, and offer for sale, and/or
  427.87 -otherwise dispose of the Original Software (or
  427.88 -portions thereof). 
  427.89 -(c) The licenses granted in Sections 2.1(a) and (b)
  427.90 -are effective on the date Initial Developer first
  427.91 -distributes or otherwise makes the Original Software
  427.92 -available to a third party under the terms of this
  427.93 -License. 
  427.94 -(d) Notwithstanding Section 2.1(b) above, no patent
  427.95 -license is granted: (1) for code that You delete from
  427.96 -the Original Software, or (2) for infringements
  427.97 -caused by: (i) the modification of the Original
  427.98 -Software, or (ii) the combination of the Original
  427.99 -Software with other software or devices. 
 427.100 -2.2. Contributor Grant.
 427.101 -Conditioned upon Your compliance with Section 3.1 below and
 427.102 -subject to third party intellectual property claims, each
 427.103 -Contributor hereby grants You a world-wide, royalty-free,
 427.104 -non-exclusive license:
 427.105 -(a) under intellectual property rights (other than
 427.106 -patent or trademark) Licensable by Contributor to
 427.107 -use, reproduce, modify, display, perform, sublicense
 427.108 -and distribute the Modifications created by such
 427.109 -Contributor (or portions thereof), either on an
 427.110 -unmodified basis, with other Modifications, as
 427.111 -Covered Software and/or as part of a Larger Work; and
 427.112 -(b) under Patent Claims infringed by the making,
 427.113 -using, or selling of Modifications made by that
 427.114 -Contributor either alone and/or in combination with
 427.115 -its Contributor Version (or portions of such
 427.116 -combination), to make, use, sell, offer for sale,
 427.117 -have made, and/or otherwise dispose of: (1)
 427.118 -Modifications made by that Contributor (or portions
 427.119 -thereof); and (2) the combination of Modifications
 427.120 -made by that Contributor with its Contributor Version
 427.121 -(or portions of such combination). 
 427.122 -(c) The licenses granted in Sections 2.2(a) and
 427.123 -2.2(b) are effective on the date Contributor first
 427.124 -distributes or otherwise makes the Modifications
 427.125 -available to a third party. 
 427.126 -(d) Notwithstanding Section 2.2(b) above, no patent
 427.127 -license is granted: (1) for any code that Contributor
 427.128 -has deleted from the Contributor Version; (2) for
 427.129 -infringements caused by: (i) third party
 427.130 -modifications of Contributor Version, or (ii) the
 427.131 -combination of Modifications made by that Contributor
 427.132 -with other software (except as part of the
 427.133 -Contributor Version) or other devices; or (3) under
 427.134 -Patent Claims infringed by Covered Software in the
 427.135 -absence of Modifications made by that Contributor. 
 427.136 -3. Distribution Obligations.
 427.137 -3.1. Availability of Source Code.
 427.138 -Any Covered Software that You distribute or otherwise make
 427.139 -available in Executable form must also be made available in
 427.140 -Source Code form and that Source Code form must be
 427.141 -distributed only under the terms of this License. You must
 427.142 -include a copy of this License with every copy of the
 427.143 -Source Code form of the Covered Software You distribute or
 427.144 -otherwise make available. You must inform recipients of any
 427.145 -such Covered Software in Executable form as to how they can
 427.146 -obtain such Covered Software in Source Code form in a
 427.147 -reasonable manner on or through a medium customarily used
 427.148 -for software exchange.
 427.149 -3.2. Modifications.
 427.150 -The Modifications that You create or to which You
 427.151 -contribute are governed by the terms of this License. You
 427.152 -represent that You believe Your Modifications are Your
 427.153 -original creation(s) and/or You have sufficient rights to
 427.154 -grant the rights conveyed by this License.
 427.155 -3.3. Required Notices.
 427.156 -You must include a notice in each of Your Modifications
 427.157 -that identifies You as the Contributor of the Modification.
 427.158 -You may not remove or alter any copyright, patent or
 427.159 -trademark notices contained within the Covered Software, or
 427.160 -any notices of licensing or any descriptive text giving
 427.161 -attribution to any Contributor or the Initial Developer.
 427.162 -3.4. Application of Additional Terms.
 427.163 -You may not offer or impose any terms on any Covered
 427.164 -Software in Source Code form that alters or restricts the
 427.165 -applicable version of this License or the recipients'
 427.166 -rights hereunder. You may choose to offer, and to charge a
 427.167 -fee for, warranty, support, indemnity or liability
 427.168 -obligations to one or more recipients of Covered Software.
 427.169 -However, you may do so only on Your own behalf, and not on
 427.170 -behalf of the Initial Developer or any Contributor. You
 427.171 -must make it absolutely clear that any such warranty,
 427.172 -support, indemnity or liability obligation is offered by
 427.173 -You alone, and You hereby agree to indemnify the Initial
 427.174 -Developer and every Contributor for any liability incurred
 427.175 -by the Initial Developer or such Contributor as a result of
 427.176 -warranty, support, indemnity or liability terms You offer.
 427.177 -3.5. Distribution of Executable Versions.
 427.178 -You may distribute the Executable form of the Covered
 427.179 -Software under the terms of this License or under the terms
 427.180 -of a license of Your choice, which may contain terms
 427.181 -different from this License, provided that You are in
 427.182 -compliance with the terms of this License and that the
 427.183 -license for the Executable form does not attempt to limit
 427.184 -or alter the recipient's rights in the Source Code form
 427.185 -from the rights set forth in this License. If You
 427.186 -distribute the Covered Software in Executable form under a
 427.187 -different license, You must make it absolutely clear that
 427.188 -any terms which differ from this License are offered by You
 427.189 -alone, not by the Initial Developer or Contributor. You
 427.190 -hereby agree to indemnify the Initial Developer and every
 427.191 -Contributor for any liability incurred by the Initial
 427.192 -Developer or such Contributor as a result of any such terms
 427.193 -You offer.
 427.194 -3.6. Larger Works.
 427.195 -You may create a Larger Work by combining Covered Software
 427.196 -with other code not governed by the terms of this License
 427.197 -and distribute the Larger Work as a single product. In such
 427.198 -a case, You must make sure the requirements of this License
 427.199 -are fulfilled for the Covered Software. 
 427.200 -4. Versions of the License. 
 427.201 -4.1. New Versions.
 427.202 -Sun Microsystems, Inc. is the initial license steward and
 427.203 -may publish revised and/or new versions of this License
 427.204 -from time to time. Each version will be given a
 427.205 -distinguishing version number. Except as provided in
 427.206 -Section 4.3, no one other than the license steward has the
 427.207 -right to modify this License. 
 427.208 -4.2. Effect of New Versions.
 427.209 -You may always continue to use, distribute or otherwise
 427.210 -make the Covered Software available under the terms of the
 427.211 -version of the License under which You originally received
 427.212 -the Covered Software. If the Initial Developer includes a
 427.213 -notice in the Original Software prohibiting it from being
 427.214 -distributed or otherwise made available under any
 427.215 -subsequent version of the License, You must distribute and
 427.216 -make the Covered Software available under the terms of the
 427.217 -version of the License under which You originally received
 427.218 -the Covered Software. Otherwise, You may also choose to
 427.219 -use, distribute or otherwise make the Covered Software
 427.220 -available under the terms of any subsequent version of the
 427.221 -License published by the license steward. 
 427.222 -4.3. Modified Versions.
 427.223 -When You are an Initial Developer and You want to create a
 427.224 -new license for Your Original Software, You may create and
 427.225 -use a modified version of this License if You: (a) rename
 427.226 -the license and remove any references to the name of the
 427.227 -license steward (except to note that the license differs
 427.228 -from this License); and (b) otherwise make it clear that
 427.229 -the license contains terms which differ from this License.
 427.230 -5. DISCLAIMER OF WARRANTY.
 427.231 -COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
 427.232 -BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
 427.233 -INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
 427.234 -SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
 427.235 -PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
 427.236 -PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
 427.237 -COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
 427.238 -INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
 427.239 -ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
 427.240 -WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
 427.241 -ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
 427.242 -DISCLAIMER. 
 427.243 -6. TERMINATION. 
 427.244 -6.1. This License and the rights granted hereunder will
 427.245 -terminate automatically if You fail to comply with terms
 427.246 -herein and fail to cure such breach within 30 days of
 427.247 -becoming aware of the breach. Provisions which, by their
 427.248 -nature, must remain in effect beyond the termination of
 427.249 -this License shall survive.
 427.250 -6.2. If You assert a patent infringement claim (excluding
 427.251 -declaratory judgment actions) against Initial Developer or
 427.252 -a Contributor (the Initial Developer or Contributor against
 427.253 -whom You assert such claim is referred to as "Participant")
 427.254 -alleging that the Participant Software (meaning the
 427.255 -Contributor Version where the Participant is a Contributor
 427.256 -or the Original Software where the Participant is the
 427.257 -Initial Developer) directly or indirectly infringes any
 427.258 -patent, then any and all rights granted directly or
 427.259 -indirectly to You by such Participant, the Initial
 427.260 -Developer (if the Initial Developer is not the Participant)
 427.261 -and all Contributors under Sections 2.1 and/or 2.2 of this
 427.262 -License shall, upon 60 days notice from Participant
 427.263 -terminate prospectively and automatically at the expiration
 427.264 -of such 60 day notice period, unless if within such 60 day
 427.265 -period You withdraw Your claim with respect to the
 427.266 -Participant Software against such Participant either
 427.267 -unilaterally or pursuant to a written agreement with
 427.268 -Participant.
 427.269 -6.3. In the event of termination under Sections 6.1 or 6.2
 427.270 -above, all end user licenses that have been validly granted
 427.271 -by You or any distributor hereunder prior to termination
 427.272 -(excluding licenses granted to You by any distributor)
 427.273 -shall survive termination.
 427.274 -7. LIMITATION OF LIABILITY.
 427.275 -UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
 427.276 -(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
 427.277 -INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
 427.278 -COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
 427.279 -LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
 427.280 -CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
 427.281 -LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
 427.282 -STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
 427.283 -COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
 427.284 -INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
 427.285 -LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
 427.286 -INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
 427.287 -APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
 427.288 -NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
 427.289 -CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
 427.290 -APPLY TO YOU.
 427.291 -8. U.S. GOVERNMENT END USERS.
 427.292 -The Covered Software is a "commercial item," as that term is
 427.293 -defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
 427.294 -computer software" (as that term is defined at 48 C.F.R. ¤
 427.295 -252.227-7014(a)(1)) and "commercial computer software
 427.296 -documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
 427.297 -1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
 427.298 -through 227.7202-4 (June 1995), all U.S. Government End Users
 427.299 -acquire Covered Software with only those rights set forth herein.
 427.300 -This U.S. Government Rights clause is in lieu of, and supersedes,
 427.301 -any other FAR, DFAR, or other clause or provision that addresses
 427.302 -Government rights in computer software under this License.
 427.303 -9. MISCELLANEOUS.
 427.304 -This License represents the complete agreement concerning subject
 427.305 -matter hereof. If any provision of this License is held to be
 427.306 -unenforceable, such provision shall be reformed only to the
 427.307 -extent necessary to make it enforceable. This License shall be
 427.308 -governed by the law of the jurisdiction specified in a notice
 427.309 -contained within the Original Software (except to the extent
 427.310 -applicable law, if any, provides otherwise), excluding such
 427.311 -jurisdiction's conflict-of-law provisions. Any litigation
 427.312 -relating to this License shall be subject to the jurisdiction of
 427.313 -the courts located in the jurisdiction and venue specified in a
 427.314 -notice contained within the Original Software, with the losing
 427.315 -party responsible for costs, including, without limitation, court
 427.316 -costs and reasonable attorneys' fees and expenses. The
 427.317 -application of the United Nations Convention on Contracts for the
 427.318 -International Sale of Goods is expressly excluded. Any law or
 427.319 -regulation which provides that the language of a contract shall
 427.320 -be construed against the drafter shall not apply to this License.
 427.321 -You agree that You alone are responsible for compliance with the
 427.322 -United States export administration regulations (and the export
 427.323 -control laws and regulation of any other countries) when You use,
 427.324 -distribute or otherwise make available any Covered Software.
 427.325 -10. RESPONSIBILITY FOR CLAIMS.
 427.326 -As between Initial Developer and the Contributors, each party is
 427.327 -responsible for claims and damages arising, directly or
 427.328 -indirectly, out of its utilization of rights under this License
 427.329 -and You agree to work with Initial Developer and Contributors to
 427.330 -distribute such responsibility on an equitable basis. Nothing
 427.331 -herein is intended or shall be deemed to constitute any admission
 427.332 -of liability.
 427.333 -
 427.334 -
 427.335 -***********************************************************************************
 427.336 -
 427.337 -LICENSE #2: 
 427.338 -The GNU General Public License (GPL) Version 2, June 1991 
 427.339 -Copyright (C) 1989, 1991 Free Software Foundation, Inc.
 427.340 -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 427.341 -Everyone is permitted to copy and distribute verbatim copies
 427.342 -of this license document, but changing it is not allowed.
 427.343 -Preamble
 427.344 -The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
 427.345 -When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
 427.346 -To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
 427.347 -For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
 427.348 -We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
 427.349 -Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
 427.350 -Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
 427.351 -The precise terms and conditions for copying, distribution and modification follow.
 427.352 -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 427.353 -0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
 427.354 -Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
 427.355 -1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
 427.356 -You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
 427.357 -2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
 427.358 -a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
 427.359 -b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
 427.360 -c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
 427.361 -These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
 427.362 -Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
 427.363 -In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
 427.364 -3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
 427.365 -a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 427.366 -b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 427.367 -c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
 427.368 -The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
 427.369 -If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
 427.370 -4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
 427.371 -5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
 427.372 -6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
 427.373 -7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
 427.374 -If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
 427.375 -It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
 427.376 -This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
 427.377 -8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
 427.378 -9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
 427.379 -Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
 427.380 -10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
 427.381 -NO WARRANTY
 427.382 -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 427.383 -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 427.384 -END OF TERMS AND CONDITIONS
 427.385 -How to Apply These Terms to Your New Programs
 427.386 -If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
 427.387 -To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
 427.388 -One line to give the program's name and a brief idea of what it does.
 427.389 -Copyright (C) <year> <name of author>
 427.390 -This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 427.391 -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 427.392 -You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 427.393 -Also add information on how to contact you by electronic and paper mail.
 427.394 -If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
 427.395 -Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
 427.396 -The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
 427.397 -You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
 427.398 -Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
 427.399 -signature of Ty Coon, 1 April 1989
 427.400 -Ty Coon, President of Vice
 427.401 -This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
 427.402 -
 427.403 -"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
 427.404 -
 427.405 -Certain source files distributed by Sun Microsystems, Inc.  are subject to 
 427.406 -the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words 
 427.407 -"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." 
 427.408 -
 427.409 -   Linking this library statically or dynamically with other modules is making a combined work based on this library.  Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination. 
 427.410 -
 427.411 -   As a special exception, the copyright holders of this library give you 
 427.412 -permission to link this library with independent modules to produce an 
 427.413 -executable, regardless of the license terms of these independent modules, 
 427.414 -and to copy and distribute the resulting executable under terms of your 
 427.415 -choice, provided that you also meet, for each linked independent module, 
 427.416 -the terms and conditions of the license of that module.  An independent 
 427.417 -module is a module which is not derived from or based on this library.  If 
 427.418 -you modify this library, you may extend this exception to your version of 
 427.419 -the library, but you are not obligated to do so.  If you do not wish to do 
 427.420 -so, delete this exception statement from your version.
 427.421 -
 427.422 -
   428.1 --- a/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard.xml	Thu Jul 10 19:13:29 2008 +0800
   428.2 +++ b/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard.xml	Thu Jul 10 19:50:39 2008 +0800
   428.3 @@ -36,7 +36,9 @@
   428.4  -->
   428.5  
   428.6  <wizard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="wizard-components.xsd">
   428.7 -    <!--<component class="org.netbeans.installer.wizard.components.actions.SearchForJavaAction"/>-->
   428.8 -    
   428.9 -    <component class="org.netbeans.installer.products.nb.base.wizard.panels.NbBasePanel"/>
  428.10 +    <component class="org.netbeans.installer.wizard.components.actions.SetInstallationLocationAction">
  428.11 +        <properties>
  428.12 +            <property name="source.component">nb-extra</property>
  428.13 +        </properties>
  428.14 +    </component>
  428.15  </wizard>
   429.1 --- a/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   429.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   429.3 @@ -1,49 +0,0 @@
   429.4 -# 
   429.5 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   429.6 -# 
   429.7 -# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   429.8 -# 
   429.9 -# The contents of this file are subject to the terms of either the GNU General Public
  429.10 -# License Version 2 only ("GPL") or the Common Development and Distribution
  429.11 -# License("CDDL") (collectively, the "License"). You may not use this file except in
  429.12 -# compliance with the License. You can obtain a copy of the License at
  429.13 -# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  429.14 -# License for the specific language governing permissions and limitations under the
  429.15 -# License.  When distributing the software, include this License Header Notice in
  429.16 -# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  429.17 -# designates this particular file as subject to the "Classpath" exception as provided
  429.18 -# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  429.19 -# If applicable, add the following below the License Header, with the fields enclosed
  429.20 -# by brackets [] replaced by your own identifying information:
  429.21 -# "Portions Copyrighted [year] [name of copyright owner]"
  429.22 -# 
  429.23 -# Contributor(s):
  429.24 -# 
  429.25 -# The Original Software is NetBeans. The Initial Developer of the Original Software
  429.26 -# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  429.27 -# Rights Reserved.
  429.28 -# 
  429.29 -# If you wish your version of this file to be governed by only the CDDL or only the
  429.30 -# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  429.31 -# this software in this distribution under the [CDDL or GPL Version 2] license." If
  429.32 -# you do not indicate a single choice of license, a recipient has the option to
  429.33 -# distribute your version of this file under either the CDDL, the GPL Version 2 or
  429.34 -# to extend the choice of license to its licensees as provided above. However, if you
  429.35 -# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  429.36 -# option applies only if the new code is made subject to such option by the copyright
  429.37 -# holder.
  429.38 -# 
  429.39 -
  429.40 -#####################################################################################
  429.41 -# NbBasePanel.java
  429.42 -NBP.title=NetBeans IDE {display-version} Installation
  429.43 -NBP.description=Choose the installation folder and JDK\u2122 for the NetBeans IDE.
  429.44 -
  429.45 -NBP.destination.label.text=&Install the NetBeans IDE to:
  429.46 -NBP.destination.button.text=B&rowse...
  429.47 -
  429.48 -NBP.jdk.location.label.text=&JDK\u2122 for the NetBeans IDE:
  429.49 -NBP.browse.button.text=Br&owse...
  429.50 -
  429.51 -NBP.minimum.jdk.version=1.5.0.6
  429.52 -NBP.maximum.jdk.version=10.0.0
   430.1 --- a/ssinstaller/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/NbBasePanel.java	Thu Jul 10 19:13:29 2008 +0800
   430.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   430.3 @@ -1,78 +0,0 @@
   430.4 -/*
   430.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   430.6 - * 
   430.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   430.8 - * 
   430.9 - * The contents of this file are subject to the terms of either the GNU General
  430.10 - * Public License Version 2 only ("GPL") or the Common Development and Distribution
  430.11 - * License("CDDL") (collectively, the "License"). You may not use this file except in
  430.12 - * compliance with the License. You can obtain a copy of the License at
  430.13 - * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  430.14 - * License for the specific language governing permissions and limitations under the
  430.15 - * License.  When distributing the software, include this License Header Notice in
  430.16 - * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  430.17 - * designates this particular file as subject to the "Classpath" exception as
  430.18 - * provided by Sun in the GPL Version 2 section of the License file that
  430.19 - * accompanied this code. If applicable, add the following below the License Header,
  430.20 - * with the fields enclosed by brackets [] replaced by your own identifying
  430.21 - * information: "Portions Copyrighted [year] [name of copyright owner]"
  430.22 - * 
  430.23 - * Contributor(s):
  430.24 - * 
  430.25 - * The Original Software is NetBeans. The Initial Developer of the Original Software
  430.26 - * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  430.27 - * Rights Reserved.
  430.28 - * 
  430.29 - * If you wish your version of this file to be governed by only the CDDL or only the
  430.30 - * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  430.31 - * this software in this distribution under the [CDDL or GPL Version 2] license." If
  430.32 - * you do not indicate a single choice of license, a recipient has the option to
  430.33 - * distribute your version of this file under either the CDDL, the GPL Version 2 or
  430.34 - * to extend the choice of license to its licensees as provided above. However, if
  430.35 - * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  430.36 - * the option applies only if the new code is made subject to such option by the
  430.37 - * copyright holder.
  430.38 - */
  430.39 -
  430.40 -package org.netbeans.installer.products.nb.base.wizard.panels;
  430.41 -
  430.42 -import java.awt.GridBagConstraints;
  430.43 -import java.awt.Insets;
  430.44 -import java.awt.event.ActionEvent;
  430.45 -import java.awt.event.ActionListener;
  430.46 -import java.awt.event.ItemEvent;
  430.47 -import java.awt.event.ItemListener;
  430.48 -import java.io.File;
  430.49 -import java.util.List;
  430.50 -import javax.swing.ComboBoxModel;
  430.51 -import javax.swing.JFileChooser;
  430.52 -import javax.swing.event.DocumentEvent;
  430.53 -import javax.swing.event.DocumentListener;
  430.54 -import org.netbeans.installer.utils.helper.swing.NbiButton;
  430.55 -import org.netbeans.installer.utils.helper.swing.NbiLabel;
  430.56 -import org.netbeans.installer.utils.ResourceUtils;
  430.57 -import org.netbeans.installer.utils.StringUtils;
  430.58 -import org.netbeans.installer.utils.helper.Version;
  430.59 -import org.netbeans.installer.utils.helper.swing.NbiComboBox;
  430.60 -import org.netbeans.installer.utils.helper.swing.NbiDirectoryChooser;
  430.61 -import org.netbeans.installer.utils.helper.swing.NbiTextField;
  430.62 -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationValidator;
  430.63 -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxEditor;
  430.64 -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxModel;
  430.65 -import org.netbeans.installer.wizard.components.panels.DestinationPanel;
  430.66 -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi;
  430.67 -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel;
  430.68 -import org.netbeans.installer.wizard.ui.SwingUi;
  430.69 -import org.netbeans.installer.wizard.ui.WizardUi;
  430.70 -import org.netbeans.installer.wizard.containers.SwingContainer;
  430.71 -
  430.72 -/**
  430.73 - *
  430.74 - * @author Kirill Sorokin
  430.75 - */
  430.76 -public class NbBasePanel extends DestinationPanel {
  430.77 -        
  430.78 -    public NbBasePanel() {
  430.79 -    }
  430.80 -    
  430.81 -}
   431.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   431.2 +++ b/ssinstaller/components/products/nb-extra/build.xml	Thu Jul 10 19:50:39 2008 +0800
   431.3 @@ -0,0 +1,40 @@
   431.4 +<?xml version="1.0" encoding="UTF-8"?>
   431.5 +<!--
   431.6 +  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   431.7 +  
   431.8 +  Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   431.9 +  
  431.10 +  The contents of this file are subject to the terms of either the GNU General Public
  431.11 +  License Version 2 only ("GPL") or the Common Development and Distribution
  431.12 +  License("CDDL") (collectively, the "License"). You may not use this file except in
  431.13 +  compliance with the License. You can obtain a copy of the License at
  431.14 +  http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  431.15 +  License for the specific language governing permissions and limitations under the
  431.16 +  License.  When distributing the software, include this License Header Notice in
  431.17 +  each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  431.18 +  designates this particular file as subject to the "Classpath" exception as provided
  431.19 +  by Sun in the GPL Version 2 section of the License file that accompanied this code.
  431.20 +  If applicable, add the following below the License Header, with the fields enclosed
  431.21 +  by brackets [] replaced by your own identifying information:
  431.22 +  "Portions Copyrighted [year] [name of copyright owner]"
  431.23 +  
  431.24 +  Contributor(s):
  431.25 +  
  431.26 +  The Original Software is NetBeans. The Initial Developer of the Original Software
  431.27 +  is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  431.28 +  Rights Reserved.
  431.29 +  
  431.30 +  If you wish your version of this file to be governed by only the CDDL or only the
  431.31 +  GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  431.32 +  this software in this distribution under the [CDDL or GPL Version 2] license." If
  431.33 +  you do not indicate a single choice of license, a recipient has the option to
  431.34 +  distribute your version of this file under either the CDDL, the GPL Version 2 or
  431.35 +  to extend the choice of license to its licensees as provided above. However, if you
  431.36 +  add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  431.37 +  option applies only if the new code is made subject to such option by the copyright
  431.38 +  holder.
  431.39 +-->
  431.40 +
  431.41 +<project name="NBI_Product:_NetBeans_Base_IDE" default="default" basedir=".">
  431.42 +    <import file="nbproject/build-impl.xml"/>
  431.43 +</project>
   432.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   432.2 +++ b/ssinstaller/components/products/nb-extra/data/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   432.3 @@ -0,0 +1,38 @@
   432.4 +# 
   432.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   432.6 +# 
   432.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   432.8 +# 
   432.9 +# The contents of this file are subject to the terms of either the GNU General Public
  432.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  432.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  432.12 +# compliance with the License. You can obtain a copy of the License at
  432.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  432.14 +# License for the specific language governing permissions and limitations under the
  432.15 +# License.  When distributing the software, include this License Header Notice in
  432.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  432.17 +# designates this particular file as subject to the "Classpath" exception as provided
  432.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  432.19 +# If applicable, add the following below the License Header, with the fields enclosed
  432.20 +# by brackets [] replaced by your own identifying information:
  432.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  432.22 +# 
  432.23 +# Contributor(s):
  432.24 +# 
  432.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  432.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  432.27 +# Rights Reserved.
  432.28 +# 
  432.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  432.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  432.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  432.32 +# you do not indicate a single choice of license, a recipient has the option to
  432.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  432.34 +# to extend the choice of license to its licensees as provided above. However, if you
  432.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  432.36 +# option applies only if the new code is made subject to such option by the copyright
  432.37 +# holder.
  432.38 +# 
  432.39 +
  432.40 +product.display.name=IDE extra
  432.41 +product.description=Core components of an integrated development environment.
   433.1 Binary file ssinstaller/components/products/nb-extra/data/icon.png has changed
   434.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   434.2 +++ b/ssinstaller/components/products/nb-extra/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   434.3 @@ -0,0 +1,1 @@
   434.4 +Configuration-Logic-Class: org.netbeans.installer.products.nb.extra.ConfigurationLogic
   435.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   435.2 +++ b/ssinstaller/components/products/nb-extra/nbproject/build-impl.xml	Thu Jul 10 19:50:39 2008 +0800
   435.3 @@ -0,0 +1,666 @@
   435.4 +<?xml version="1.0" encoding="UTF-8"?>
   435.5 +<!--
   435.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
   435.7 +***         EDIT ../build.xml INSTEAD         ***
   435.8 +
   435.9 +For the purpose of easier reading the script
  435.10 +is divided into following sections:
  435.11 +
  435.12 +  - initialization
  435.13 +  - compilation
  435.14 +  - jar
  435.15 +  - execution
  435.16 +  - debugging
  435.17 +  - javadoc
  435.18 +  - junit compilation
  435.19 +  - junit execution
  435.20 +  - junit debugging
  435.21 +  - applet
  435.22 +  - cleanup
  435.23 +
  435.24 +        -->
  435.25 +<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="SS_NetBeans_Extra_(Main)-impl">
  435.26 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
  435.27 +    <!-- 
  435.28 +                ======================
  435.29 +                INITIALIZATION SECTION 
  435.30 +                ======================
  435.31 +            -->
  435.32 +    <target name="-pre-init">
  435.33 +        <!-- Empty placeholder for easier customization. -->
  435.34 +        <!-- You can override this target in the ../build.xml file. -->
  435.35 +    </target>
  435.36 +    <target depends="-pre-init" name="-init-private">
  435.37 +        <property file="nbproject/private/config.properties"/>
  435.38 +        <property file="nbproject/private/configs/${config}.properties"/>
  435.39 +        <property file="nbproject/private/private.properties"/>
  435.40 +    </target>
  435.41 +    <target depends="-pre-init,-init-private" name="-init-user">
  435.42 +        <property file="${user.properties.file}"/>
  435.43 +        <!-- The two properties below are usually overridden -->
  435.44 +        <!-- by the active platform. Just a fallback. -->
  435.45 +        <property name="default.javac.source" value="1.4"/>
  435.46 +        <property name="default.javac.target" value="1.4"/>
  435.47 +    </target>
  435.48 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
  435.49 +        <property file="nbproject/configs/${config}.properties"/>
  435.50 +        <property file="nbproject/project.properties"/>
  435.51 +    </target>
  435.52 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
  435.53 +        <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
  435.54 +        <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
  435.55 +        <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
  435.56 +        <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
  435.57 +        <condition property="platform.javac" value="${platform.home}/bin/javac">
  435.58 +            <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>
  435.59 +        </condition>
  435.60 +        <property name="platform.javac" value="${platform.javac.tmp}"/>
  435.61 +        <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
  435.62 +        <condition property="platform.java" value="${platform.home}/bin/java">
  435.63 +            <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>
  435.64 +        </condition>
  435.65 +        <property name="platform.java" value="${platform.java.tmp}"/>
  435.66 +        <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
  435.67 +        <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">
  435.68 +            <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>
  435.69 +        </condition>
  435.70 +        <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
  435.71 +        <condition property="platform.invalid" value="true">
  435.72 +            <or>
  435.73 +                <contains string="${platform.javac}" substring="$${platforms."/>
  435.74 +                <contains string="${platform.java}" substring="$${platforms."/>
  435.75 +                <contains string="${platform.javadoc}" substring="$${platforms."/>
  435.76 +            </or>
  435.77 +        </condition>
  435.78 +        <fail unless="platform.home">Must set platform.home</fail>
  435.79 +        <fail unless="platform.bootcp">Must set platform.bootcp</fail>
  435.80 +        <fail unless="platform.java">Must set platform.java</fail>
  435.81 +        <fail unless="platform.javac">Must set platform.javac</fail>
  435.82 +        <fail if="platform.invalid">
  435.83 + The J2SE Platform is not correctly set up.
  435.84 + Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. 
  435.85 + Either open the project in the IDE and setup the Platform with the same name or add it manually.
  435.86 + For example like this:
  435.87 +     ant -Duser.properties.file=&lt;path_to_property_file&gt; jar (where you put the property "platforms.${platform.active}.home" in a .properties file)
  435.88 +  or ant -Dplatforms.${platform.active}.home=&lt;path_to_JDK_home&gt; jar (where no properties file is used) 
  435.89 +  </fail>
  435.90 +        <available file="${manifest.file}" property="manifest.available"/>
  435.91 +        <condition property="manifest.available+main.class">
  435.92 +            <and>
  435.93 +                <isset property="manifest.available"/>
  435.94 +                <isset property="main.class"/>
  435.95 +                <not>
  435.96 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
  435.97 +                </not>
  435.98 +            </and>
  435.99 +        </condition>
 435.100 +        <condition property="manifest.available+main.class+mkdist.available">
 435.101 +            <and>
 435.102 +                <istrue value="${manifest.available+main.class}"/>
 435.103 +                <isset property="libs.CopyLibs.classpath"/>
 435.104 +            </and>
 435.105 +        </condition>
 435.106 +        <condition property="have.tests">
 435.107 +            <or/>
 435.108 +        </condition>
 435.109 +        <condition property="have.sources">
 435.110 +            <or>
 435.111 +                <available file="${src.dir}"/>
 435.112 +            </or>
 435.113 +        </condition>
 435.114 +        <condition property="netbeans.home+have.tests">
 435.115 +            <and>
 435.116 +                <isset property="netbeans.home"/>
 435.117 +                <isset property="have.tests"/>
 435.118 +            </and>
 435.119 +        </condition>
 435.120 +        <condition property="no.javadoc.preview">
 435.121 +            <and>
 435.122 +                <isset property="javadoc.preview"/>
 435.123 +                <isfalse value="${javadoc.preview}"/>
 435.124 +            </and>
 435.125 +        </condition>
 435.126 +        <property name="run.jvmargs" value=""/>
 435.127 +        <property name="javac.compilerargs" value=""/>
 435.128 +        <property name="work.dir" value="${basedir}"/>
 435.129 +        <condition property="no.deps">
 435.130 +            <and>
 435.131 +                <istrue value="${no.dependencies}"/>
 435.132 +            </and>
 435.133 +        </condition>
 435.134 +        <property name="javac.debug" value="true"/>
 435.135 +        <property name="javadoc.preview" value="true"/>
 435.136 +        <property name="application.args" value=""/>
 435.137 +        <property name="source.encoding" value="${file.encoding}"/>
 435.138 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
 435.139 +            <and>
 435.140 +                <isset property="javadoc.encoding"/>
 435.141 +                <not>
 435.142 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
 435.143 +                </not>
 435.144 +            </and>
 435.145 +        </condition>
 435.146 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
 435.147 +        <property name="includes" value="**"/>
 435.148 +        <property name="excludes" value=""/>
 435.149 +        <property name="do.depend" value="false"/>
 435.150 +        <condition property="do.depend.true">
 435.151 +            <istrue value="${do.depend}"/>
 435.152 +        </condition>
 435.153 +        <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
 435.154 +            <and>
 435.155 +                <isset property="jaxws.endorsed.dir"/>
 435.156 +                <available file="nbproject/jaxws-build.xml"/>
 435.157 +            </and>
 435.158 +        </condition>
 435.159 +    </target>
 435.160 +    <target name="-post-init">
 435.161 +        <!-- Empty placeholder for easier customization. -->
 435.162 +        <!-- You can override this target in the ../build.xml file. -->
 435.163 +    </target>
 435.164 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
 435.165 +        <fail unless="src.dir">Must set src.dir</fail>
 435.166 +        <fail unless="build.dir">Must set build.dir</fail>
 435.167 +        <fail unless="dist.dir">Must set dist.dir</fail>
 435.168 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
 435.169 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
 435.170 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
 435.171 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
 435.172 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
 435.173 +        <fail unless="dist.jar">Must set dist.jar</fail>
 435.174 +    </target>
 435.175 +    <target name="-init-macrodef-property">
 435.176 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
 435.177 +            <attribute name="name"/>
 435.178 +            <attribute name="value"/>
 435.179 +            <sequential>
 435.180 +                <property name="@{name}" value="${@{value}}"/>
 435.181 +            </sequential>
 435.182 +        </macrodef>
 435.183 +    </target>
 435.184 +    <target name="-init-macrodef-javac">
 435.185 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
 435.186 +            <attribute default="${src.dir}" name="srcdir"/>
 435.187 +            <attribute default="${build.classes.dir}" name="destdir"/>
 435.188 +            <attribute default="${javac.classpath}" name="classpath"/>
 435.189 +            <attribute default="${includes}" name="includes"/>
 435.190 +            <attribute default="${excludes}" name="excludes"/>
 435.191 +            <attribute default="${javac.debug}" name="debug"/>
 435.192 +            <attribute default="" name="sourcepath"/>
 435.193 +            <element name="customize" optional="true"/>
 435.194 +            <sequential>
 435.195 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
 435.196 +                    <classpath>
 435.197 +                        <path path="@{classpath}"/>
 435.198 +                    </classpath>
 435.199 +                    <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
 435.200 +                    <customize/>
 435.201 +                </javac>
 435.202 +            </sequential>
 435.203 +        </macrodef>
 435.204 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
 435.205 +            <attribute default="${src.dir}" name="srcdir"/>
 435.206 +            <attribute default="${build.classes.dir}" name="destdir"/>
 435.207 +            <attribute default="${javac.classpath}" name="classpath"/>
 435.208 +            <sequential>
 435.209 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
 435.210 +                    <classpath>
 435.211 +                        <path path="@{classpath}"/>
 435.212 +                    </classpath>
 435.213 +                </depend>
 435.214 +            </sequential>
 435.215 +        </macrodef>
 435.216 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
 435.217 +            <attribute default="${build.classes.dir}" name="destdir"/>
 435.218 +            <sequential>
 435.219 +                <fail unless="javac.includes">Must set javac.includes</fail>
 435.220 +                <pathconvert pathsep="," property="javac.includes.binary">
 435.221 +                    <path>
 435.222 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
 435.223 +                    </path>
 435.224 +                    <globmapper from="*.java" to="*.class"/>
 435.225 +                </pathconvert>
 435.226 +                <delete>
 435.227 +                    <files includes="${javac.includes.binary}"/>
 435.228 +                </delete>
 435.229 +            </sequential>
 435.230 +        </macrodef>
 435.231 +    </target>
 435.232 +    <target name="-init-macrodef-junit">
 435.233 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
 435.234 +            <attribute default="${includes}" name="includes"/>
 435.235 +            <attribute default="${excludes}" name="excludes"/>
 435.236 +            <attribute default="**" name="testincludes"/>
 435.237 +            <sequential>
 435.238 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${platform.java}" showoutput="true">
 435.239 +                    <batchtest todir="${build.test.results.dir}"/>
 435.240 +                    <classpath>
 435.241 +                        <path path="${run.test.classpath}"/>
 435.242 +                    </classpath>
 435.243 +                    <syspropertyset>
 435.244 +                        <propertyref prefix="test-sys-prop."/>
 435.245 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
 435.246 +                    </syspropertyset>
 435.247 +                    <formatter type="brief" usefile="false"/>
 435.248 +                    <formatter type="xml"/>
 435.249 +                    <jvmarg line="${run.jvmargs}"/>
 435.250 +                </junit>
 435.251 +            </sequential>
 435.252 +        </macrodef>
 435.253 +    </target>
 435.254 +    <target name="-init-macrodef-nbjpda">
 435.255 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
 435.256 +            <attribute default="${main.class}" name="name"/>
 435.257 +            <attribute default="${debug.classpath}" name="classpath"/>
 435.258 +            <attribute default="" name="stopclassname"/>
 435.259 +            <sequential>
 435.260 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
 435.261 +                    <classpath>
 435.262 +                        <path path="@{classpath}"/>
 435.263 +                    </classpath>
 435.264 +                    <bootclasspath>
 435.265 +                        <path path="${platform.bootcp}"/>
 435.266 +                    </bootclasspath>
 435.267 +                </nbjpdastart>
 435.268 +            </sequential>
 435.269 +        </macrodef>
 435.270 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
 435.271 +            <attribute default="${build.classes.dir}" name="dir"/>
 435.272 +            <sequential>
 435.273 +                <nbjpdareload>
 435.274 +                    <fileset dir="@{dir}" includes="${fix.classes}">
 435.275 +                        <include name="${fix.includes}*.class"/>
 435.276 +                    </fileset>
 435.277 +                </nbjpdareload>
 435.278 +            </sequential>
 435.279 +        </macrodef>
 435.280 +    </target>
 435.281 +    <target name="-init-debug-args">
 435.282 +        <exec executable="${platform.java}" outputproperty="version-output">
 435.283 +            <arg value="-version"/>
 435.284 +        </exec>
 435.285 +        <condition property="have-jdk-older-than-1.4">
 435.286 +            <or>
 435.287 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
 435.288 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
 435.289 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
 435.290 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
 435.291 +            </or>
 435.292 +        </condition>
 435.293 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
 435.294 +            <istrue value="${have-jdk-older-than-1.4}"/>
 435.295 +        </condition>
 435.296 +    </target>
 435.297 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
 435.298 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
 435.299 +            <attribute default="${main.class}" name="classname"/>
 435.300 +            <attribute default="${debug.classpath}" name="classpath"/>
 435.301 +            <element name="customize" optional="true"/>
 435.302 +            <sequential>
 435.303 +                <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">
 435.304 +                    <jvmarg line="${debug-args-line}"/>
 435.305 +                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
 435.306 +                    <jvmarg line="${run.jvmargs}"/>
 435.307 +                    <classpath>
 435.308 +                        <path path="@{classpath}"/>
 435.309 +                    </classpath>
 435.310 +                    <syspropertyset>
 435.311 +                        <propertyref prefix="run-sys-prop."/>
 435.312 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
 435.313 +                    </syspropertyset>
 435.314 +                    <customize/>
 435.315 +                </java>
 435.316 +            </sequential>
 435.317 +        </macrodef>
 435.318 +    </target>
 435.319 +    <target name="-init-macrodef-java">
 435.320 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
 435.321 +            <attribute default="${main.class}" name="classname"/>
 435.322 +            <element name="customize" optional="true"/>
 435.323 +            <sequential>
 435.324 +                <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">
 435.325 +                    <jvmarg line="${run.jvmargs}"/>
 435.326 +                    <classpath>
 435.327 +                        <path path="${run.classpath}"/>
 435.328 +                    </classpath>
 435.329 +                    <syspropertyset>
 435.330 +                        <propertyref prefix="run-sys-prop."/>
 435.331 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
 435.332 +                    </syspropertyset>
 435.333 +                    <customize/>
 435.334 +                </java>
 435.335 +            </sequential>
 435.336 +        </macrodef>
 435.337 +    </target>
 435.338 +    <target name="-init-presetdef-jar">
 435.339 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
 435.340 +            <jar compress="${jar.compress}" jarfile="${dist.jar}">
 435.341 +                <j2seproject1:fileset dir="${build.classes.dir}"/>
 435.342 +            </jar>
 435.343 +        </presetdef>
 435.344 +    </target>
 435.345 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
 435.346 +    <!--
 435.347 +                ===================
 435.348 +                COMPILATION SECTION
 435.349 +                ===================
 435.350 +            -->
 435.351 +    <target depends="init" name="deps-jar" unless="no.deps">
 435.352 +        <ant antfile="${project.NBI_Engine}/build.xml" inheritall="false" target="jar"/>
 435.353 +        <ant antfile="${project.NetBeans_Installer_Engine}/build.xml" inheritall="false" target="jar"/>
 435.354 +    </target>
 435.355 +    <target depends="init,deps-jar" name="-pre-pre-compile">
 435.356 +        <mkdir dir="${build.classes.dir}"/>
 435.357 +    </target>
 435.358 +    <target name="-pre-compile">
 435.359 +        <!-- Empty placeholder for easier customization. -->
 435.360 +        <!-- You can override this target in the ../build.xml file. -->
 435.361 +    </target>
 435.362 +    <target if="do.depend.true" name="-compile-depend">
 435.363 +        <j2seproject3:depend/>
 435.364 +    </target>
 435.365 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
 435.366 +        <j2seproject3:javac/>
 435.367 +        <copy todir="${build.classes.dir}">
 435.368 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
 435.369 +        </copy>
 435.370 +    </target>
 435.371 +    <target name="-post-compile">
 435.372 +        <!-- Empty placeholder for easier customization. -->
 435.373 +        <!-- You can override this target in the ../build.xml file. -->
 435.374 +    </target>
 435.375 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
 435.376 +    <target name="-pre-compile-single">
 435.377 +        <!-- Empty placeholder for easier customization. -->
 435.378 +        <!-- You can override this target in the ../build.xml file. -->
 435.379 +    </target>
 435.380 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
 435.381 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 435.382 +        <j2seproject3:force-recompile/>
 435.383 +        <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
 435.384 +    </target>
 435.385 +    <target name="-post-compile-single">
 435.386 +        <!-- Empty placeholder for easier customization. -->
 435.387 +        <!-- You can override this target in the ../build.xml file. -->
 435.388 +    </target>
 435.389 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
 435.390 +    <!--
 435.391 +                ====================
 435.392 +                JAR BUILDING SECTION
 435.393 +                ====================
 435.394 +            -->
 435.395 +    <target depends="init" name="-pre-pre-jar">
 435.396 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
 435.397 +        <mkdir dir="${dist.jar.dir}"/>
 435.398 +    </target>
 435.399 +    <target name="-pre-jar">
 435.400 +        <!-- Empty placeholder for easier customization. -->
 435.401 +        <!-- You can override this target in the ../build.xml file. -->
 435.402 +    </target>
 435.403 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
 435.404 +        <j2seproject1:jar/>
 435.405 +    </target>
 435.406 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
 435.407 +        <j2seproject1:jar manifest="${manifest.file}"/>
 435.408 +    </target>
 435.409 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
 435.410 +        <j2seproject1:jar manifest="${manifest.file}">
 435.411 +            <j2seproject1:manifest>
 435.412 +                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
 435.413 +            </j2seproject1:manifest>
 435.414 +        </j2seproject1:jar>
 435.415 +        <echo>To run this application from the command line without Ant, try:</echo>
 435.416 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
 435.417 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
 435.418 +        <pathconvert property="run.classpath.with.dist.jar">
 435.419 +            <path path="${run.classpath}"/>
 435.420 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
 435.421 +        </pathconvert>
 435.422 +        <echo>${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
 435.423 +    </target>
 435.424 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
 435.425 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
 435.426 +        <pathconvert property="run.classpath.without.build.classes.dir">
 435.427 +            <path path="${run.classpath}"/>
 435.428 +            <map from="${build.classes.dir.resolved}" to=""/>
 435.429 +        </pathconvert>
 435.430 +        <pathconvert pathsep=" " property="jar.classpath">
 435.431 +            <path path="${run.classpath.without.build.classes.dir}"/>
 435.432 +            <chainedmapper>
 435.433 +                <flattenmapper/>
 435.434 +                <globmapper from="*" to="lib/*"/>
 435.435 +            </chainedmapper>
 435.436 +        </pathconvert>
 435.437 +        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
 435.438 +        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
 435.439 +            <fileset dir="${build.classes.dir}"/>
 435.440 +            <manifest>
 435.441 +                <attribute name="Main-Class" value="${main.class}"/>
 435.442 +                <attribute name="Class-Path" value="${jar.classpath}"/>
 435.443 +            </manifest>
 435.444 +        </copylibs>
 435.445 +        <echo>To run this application from the command line without Ant, try:</echo>
 435.446 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
 435.447 +        <echo>${platform.java} -jar "${dist.jar.resolved}"</echo>
 435.448 +    </target>
 435.449 +    <target name="-post-jar">
 435.450 +        <!-- Empty placeholder for easier customization. -->
 435.451 +        <!-- You can override this target in the ../build.xml file. -->
 435.452 +    </target>
 435.453 +    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
 435.454 +    <!--
 435.455 +                =================
 435.456 +                EXECUTION SECTION
 435.457 +                =================
 435.458 +            -->
 435.459 +    <target depends="init,compile" description="Run a main class." name="run">
 435.460 +        <j2seproject1:java>
 435.461 +            <customize>
 435.462 +                <arg line="${application.args}"/>
 435.463 +            </customize>
 435.464 +        </j2seproject1:java>
 435.465 +    </target>
 435.466 +    <target name="-do-not-recompile">
 435.467 +        <property name="javac.includes.binary" value=""/>
 435.468 +    </target>
 435.469 +    <target depends="init,-do-not-recompile,compile-single" name="run-single">
 435.470 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 435.471 +        <j2seproject1:java classname="${run.class}"/>
 435.472 +    </target>
 435.473 +    <!--
 435.474 +                =================
 435.475 +                DEBUGGING SECTION
 435.476 +                =================
 435.477 +            -->
 435.478 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
 435.479 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
 435.480 +    </target>
 435.481 +    <target depends="init,compile" name="-debug-start-debuggee">
 435.482 +        <j2seproject3:debug>
 435.483 +            <customize>
 435.484 +                <arg line="${application.args}"/>
 435.485 +            </customize>
 435.486 +        </j2seproject3:debug>
 435.487 +    </target>
 435.488 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
 435.489 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
 435.490 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
 435.491 +    </target>
 435.492 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
 435.493 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
 435.494 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
 435.495 +        <j2seproject3:debug classname="${debug.class}"/>
 435.496 +    </target>
 435.497 +    <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
 435.498 +    <target depends="init" name="-pre-debug-fix">
 435.499 +        <fail unless="fix.includes">Must set fix.includes</fail>
 435.500 +        <property name="javac.includes" value="${fix.includes}.java"/>
 435.501 +    </target>
 435.502 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
 435.503 +        <j2seproject1:nbjpdareload/>
 435.504 +    </target>
 435.505 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
 435.506 +    <!--
 435.507 +                ===============
 435.508 +                JAVADOC SECTION
 435.509 +                ===============
 435.510 +            -->
 435.511 +    <target depends="init" name="-javadoc-build">
 435.512 +        <mkdir dir="${dist.javadoc.dir}"/>
 435.513 +        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
 435.514 +            <classpath>
 435.515 +                <path path="${javac.classpath}"/>
 435.516 +            </classpath>
 435.517 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
 435.518 +                <filename name="**/*.java"/>
 435.519 +            </fileset>
 435.520 +        </javadoc>
 435.521 +    </target>
 435.522 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
 435.523 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
 435.524 +    </target>
 435.525 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
 435.526 +    <!--
 435.527 +                =========================
 435.528 +                JUNIT COMPILATION SECTION
 435.529 +                =========================
 435.530 +            -->
 435.531 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
 435.532 +        <mkdir dir="${build.test.classes.dir}"/>
 435.533 +    </target>
 435.534 +    <target name="-pre-compile-test">
 435.535 +        <!-- Empty placeholder for easier customization. -->
 435.536 +        <!-- You can override this target in the ../build.xml file. -->
 435.537 +    </target>
 435.538 +    <target if="do.depend.true" name="-compile-test-depend">
 435.539 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir=""/>
 435.540 +    </target>
 435.541 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
 435.542 +        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir=""/>
 435.543 +        <copy todir="${build.test.classes.dir}"/>
 435.544 +    </target>
 435.545 +    <target name="-post-compile-test">
 435.546 +        <!-- Empty placeholder for easier customization. -->
 435.547 +        <!-- You can override this target in the ../build.xml file. -->
 435.548 +    </target>
 435.549 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
 435.550 +    <target name="-pre-compile-test-single">
 435.551 +        <!-- Empty placeholder for easier customization. -->
 435.552 +        <!-- You can override this target in the ../build.xml file. -->
 435.553 +    </target>
 435.554 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
 435.555 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 435.556 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
 435.557 +        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="" srcdir=""/>
 435.558 +        <copy todir="${build.test.classes.dir}"/>
 435.559 +    </target>
 435.560 +    <target name="-post-compile-test-single">
 435.561 +        <!-- Empty placeholder for easier customization. -->
 435.562 +        <!-- You can override this target in the ../build.xml file. -->
 435.563 +    </target>
 435.564 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
 435.565 +    <!--
 435.566 +                =======================
 435.567 +                JUNIT EXECUTION SECTION
 435.568 +                =======================
 435.569 +            -->
 435.570 +    <target depends="init" if="have.tests" name="-pre-test-run">
 435.571 +        <mkdir dir="${build.test.results.dir}"/>
 435.572 +    </target>
 435.573 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
 435.574 +        <j2seproject3:junit testincludes="**/*Test.java"/>
 435.575 +    </target>
 435.576 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
 435.577 +        <fail if="tests.failed">Some tests failed; see details above.</fail>
 435.578 +    </target>
 435.579 +    <target depends="init" if="have.tests" name="test-report"/>
 435.580 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
 435.581 +    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
 435.582 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
 435.583 +        <mkdir dir="${build.test.results.dir}"/>
 435.584 +    </target>
 435.585 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
 435.586 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 435.587 +        <j2seproject3:junit excludes="" includes="${test.includes}"/>
 435.588 +    </target>
 435.589 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
 435.590 +        <fail if="tests.failed">Some tests failed; see details above.</fail>
 435.591 +    </target>
 435.592 +    <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
 435.593 +    <!--
 435.594 +                =======================
 435.595 +                JUNIT DEBUGGING SECTION
 435.596 +                =======================
 435.597 +            -->
 435.598 +    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
 435.599 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 435.600 +        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
 435.601 +        <delete file="${test.report.file}"/>
 435.602 +        <mkdir dir="${build.test.results.dir}"/>
 435.603 +        <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
 435.604 +            <customize>
 435.605 +                <syspropertyset>
 435.606 +                    <propertyref prefix="test-sys-prop."/>
 435.607 +                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
 435.608 +                </syspropertyset>
 435.609 +                <arg value="${test.class}"/>
 435.610 +                <arg value="showoutput=true"/>
 435.611 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
 435.612 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
 435.613 +            </customize>
 435.614 +        </j2seproject3:debug>
 435.615 +    </target>
 435.616 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
 435.617 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
 435.618 +    </target>
 435.619 +    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
 435.620 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
 435.621 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
 435.622 +    </target>
 435.623 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
 435.624 +    <!--
 435.625 +                =========================
 435.626 +                APPLET EXECUTION SECTION
 435.627 +                =========================
 435.628 +            -->
 435.629 +    <target depends="init,compile-single" name="run-applet">
 435.630 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 435.631 +        <j2seproject1:java classname="sun.applet.AppletViewer">
 435.632 +            <customize>
 435.633 +                <arg value="${applet.url}"/>
 435.634 +            </customize>
 435.635 +        </j2seproject1:java>
 435.636 +    </target>
 435.637 +    <!--
 435.638 +                =========================
 435.639 +                APPLET DEBUGGING  SECTION
 435.640 +                =========================
 435.641 +            -->
 435.642 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
 435.643 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 435.644 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
 435.645 +            <customize>
 435.646 +                <arg value="${applet.url}"/>
 435.647 +            </customize>
 435.648 +        </j2seproject3:debug>
 435.649 +    </target>
 435.650 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
 435.651 +    <!--
 435.652 +                ===============
 435.653 +                CLEANUP SECTION
 435.654 +                ===============
 435.655 +            -->
 435.656 +    <target depends="init" name="deps-clean" unless="no.deps">
 435.657 +        <ant antfile="${project.NBI_Engine}/build.xml" inheritall="false" target="clean"/>
 435.658 +        <ant antfile="${project.NetBeans_Installer_Engine}/build.xml" inheritall="false" target="clean"/>
 435.659 +    </target>
 435.660 +    <target depends="init" name="-do-clean">
 435.661 +        <delete dir="${build.dir}"/>
 435.662 +        <delete dir="${dist.dir}"/>
 435.663 +    </target>
 435.664 +    <target name="-post-clean">
 435.665 +        <!-- Empty placeholder for easier customization. -->
 435.666 +        <!-- You can override this target in the ../build.xml file. -->
 435.667 +    </target>
 435.668 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
 435.669 +</project>
   436.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   436.2 +++ b/ssinstaller/components/products/nb-extra/nbproject/genfiles.properties	Thu Jul 10 19:50:39 2008 +0800
   436.3 @@ -0,0 +1,8 @@
   436.4 +build.xml.data.CRC32=3973246e
   436.5 +build.xml.script.CRC32=df6e4305
   436.6 +build.xml.stylesheet.CRC32=a12b3d02
   436.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
   436.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
   436.9 +nbproject/build-impl.xml.data.CRC32=1ad11675
  436.10 +nbproject/build-impl.xml.script.CRC32=b378fa2f
  436.11 +nbproject/build-impl.xml.stylesheet.CRC32=487672f9
   437.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   437.2 +++ b/ssinstaller/components/products/nb-extra/nbproject/project.properties	Thu Jul 10 19:50:39 2008 +0800
   437.3 @@ -0,0 +1,98 @@
   437.4 +# 
   437.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   437.6 +# 
   437.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   437.8 +# 
   437.9 +# The contents of this file are subject to the terms of either the GNU General Public
  437.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  437.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  437.12 +# compliance with the License. You can obtain a copy of the License at
  437.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  437.14 +# License for the specific language governing permissions and limitations under the
  437.15 +# License.  When distributing the software, include this License Header Notice in
  437.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  437.17 +# designates this particular file as subject to the "Classpath" exception as provided
  437.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  437.19 +# If applicable, add the following below the License Header, with the fields enclosed
  437.20 +# by brackets [] replaced by your own identifying information:
  437.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  437.22 +# 
  437.23 +# Contributor(s):
  437.24 +# 
  437.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  437.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  437.27 +# Rights Reserved.
  437.28 +# 
  437.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  437.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  437.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  437.32 +# you do not indicate a single choice of license, a recipient has the option to
  437.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  437.34 +# to extend the choice of license to its licensees as provided above. However, if you
  437.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  437.36 +# option applies only if the new code is made subject to such option by the copyright
  437.37 +# holder.
  437.38 +# 
  437.39 +
  437.40 +build.classes.dir=${build.dir}/classes
  437.41 +build.classes.excludes=**/*.java,**/*.form
  437.42 +# This directory is removed when the project is cleaned:
  437.43 +build.dir=build
  437.44 +build.generated.dir=${build.dir}/generated
  437.45 +# Only compile against the classpath explicitly listed here:
  437.46 +build.sysclasspath=ignore
  437.47 +build.test.classes.dir=${build.dir}/test/classes
  437.48 +build.test.results.dir=${build.dir}/test/results
  437.49 +debug.classpath=\
  437.50 +    ${run.classpath}
  437.51 +debug.test.classpath=\
  437.52 +    ${run.test.classpath}
  437.53 +# This directory is removed when the project is cleaned:
  437.54 +dist.dir=dist
  437.55 +dist.jar=${dist.dir}/logic.jar
  437.56 +dist.javadoc.dir=${dist.dir}/javadoc
  437.57 +excludes=
  437.58 +includes=**
  437.59 +jar.compress=false
  437.60 +javac.classpath=\
  437.61 +    ${reference.NetBeans_Installer_Engine.jar}:\
  437.62 +    ${reference.NBI_Engine.jar}
  437.63 +# Space-separated list of extra javac options
  437.64 +javac.compilerargs=
  437.65 +javac.deprecation=false
  437.66 +javac.source=1.5
  437.67 +javac.target=1.5
  437.68 +javac.test.classpath=\
  437.69 +    ${javac.classpath}:\
  437.70 +    ${build.classes.dir}:\
  437.71 +    ${libs.junit.classpath}
  437.72 +javadoc.additionalparam=
  437.73 +javadoc.author=false
  437.74 +javadoc.encoding=
  437.75 +javadoc.noindex=false
  437.76 +javadoc.nonavbar=false
  437.77 +javadoc.notree=false
  437.78 +javadoc.private=false
  437.79 +javadoc.splitindex=true
  437.80 +javadoc.use=true
  437.81 +javadoc.version=false
  437.82 +javadoc.windowtitle=
  437.83 +main.class=
  437.84 +manifest.file=manifest.mf
  437.85 +meta.inf.dir=${src.dir}/META-INF
  437.86 +platform.active=JDK_1.5
  437.87 +project.NBI_Engine=../../../../nbi/engine
  437.88 +project.NetBeans_Installer_Engine=../../../engine
  437.89 +reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar
  437.90 +reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar
  437.91 +run.classpath=\
  437.92 +    ${javac.classpath}:\
  437.93 +    ${build.classes.dir}
  437.94 +# Space-separated list of JVM arguments used when running the project
  437.95 +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
  437.96 +# or test-sys-prop.name=value to set system properties for unit tests):
  437.97 +run.jvmargs=
  437.98 +run.test.classpath=\
  437.99 +    ${javac.test.classpath}:\
 437.100 +    ${build.test.classes.dir}
 437.101 +src.dir=src
   438.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   438.2 +++ b/ssinstaller/components/products/nb-extra/nbproject/project.xml	Thu Jul 10 19:50:39 2008 +0800
   438.3 @@ -0,0 +1,68 @@
   438.4 +<?xml version="1.0" encoding="UTF-8"?>
   438.5 +<!--
   438.6 +  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   438.7 +  
   438.8 +  Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   438.9 +  
  438.10 +  The contents of this file are subject to the terms of either the GNU General Public
  438.11 +  License Version 2 only ("GPL") or the Common Development and Distribution
  438.12 +  License("CDDL") (collectively, the "License"). You may not use this file except in
  438.13 +  compliance with the License. You can obtain a copy of the License at
  438.14 +  http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  438.15 +  License for the specific language governing permissions and limitations under the
  438.16 +  License.  When distributing the software, include this License Header Notice in
  438.17 +  each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  438.18 +  designates this particular file as subject to the "Classpath" exception as provided
  438.19 +  by Sun in the GPL Version 2 section of the License file that accompanied this code.
  438.20 +  If applicable, add the following below the License Header, with the fields enclosed
  438.21 +  by brackets [] replaced by your own identifying information:
  438.22 +  "Portions Copyrighted [year] [name of copyright owner]"
  438.23 +  
  438.24 +  Contributor(s):
  438.25 +  
  438.26 +  The Original Software is NetBeans. The Initial Developer of the Original Software
  438.27 +  is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  438.28 +  Rights Reserved.
  438.29 +  
  438.30 +  If you wish your version of this file to be governed by only the CDDL or only the
  438.31 +  GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  438.32 +  this software in this distribution under the [CDDL or GPL Version 2] license." If
  438.33 +  you do not indicate a single choice of license, a recipient has the option to
  438.34 +  distribute your version of this file under either the CDDL, the GPL Version 2 or
  438.35 +  to extend the choice of license to its licensees as provided above. However, if you
  438.36 +  add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  438.37 +  option applies only if the new code is made subject to such option by the copyright
  438.38 +  holder.
  438.39 +-->
  438.40 +<project xmlns="http://www.netbeans.org/ns/project/1">
  438.41 +    <type>org.netbeans.modules.java.j2seproject</type>
  438.42 +    <configuration>
  438.43 +        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
  438.44 +            <name>SS NetBeans Extra (Main)</name>
  438.45 +            <minimum-ant-version>1.6.5</minimum-ant-version>
  438.46 +            <explicit-platform explicit-source-supported="true"/>
  438.47 +            <source-roots>
  438.48 +                <root id="src.dir"/>
  438.49 +            </source-roots>
  438.50 +            <test-roots/>
  438.51 +        </data>
  438.52 +        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
  438.53 +            <reference>
  438.54 +                <foreign-project>NBI_Engine</foreign-project>
  438.55 +                <artifact-type>jar</artifact-type>
  438.56 +                <script>build.xml</script>
  438.57 +                <target>jar</target>
  438.58 +                <clean-target>clean</clean-target>
  438.59 +                <id>jar</id>
  438.60 +            </reference>
  438.61 +            <reference>
  438.62 +                <foreign-project>NetBeans_Installer_Engine</foreign-project>
  438.63 +                <artifact-type>jar</artifact-type>
  438.64 +                <script>build.xml</script>
  438.65 +                <target>jar</target>
  438.66 +                <clean-target>clean</clean-target>
  438.67 +                <id>jar</id>
  438.68 +            </reference>
  438.69 +        </references>
  438.70 +    </configuration>
  438.71 +</project>
   439.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   439.2 +++ b/ssinstaller/components/products/nb-extra/src/org/netbeans/installer/products/nb/extra/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   439.3 @@ -0,0 +1,40 @@
   439.4 +# 
   439.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   439.6 +# 
   439.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   439.8 +# 
   439.9 +# The contents of this file are subject to the terms of either the GNU General Public
  439.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  439.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  439.12 +# compliance with the License. You can obtain a copy of the License at
  439.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  439.14 +# License for the specific language governing permissions and limitations under the
  439.15 +# License.  When distributing the software, include this License Header Notice in
  439.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  439.17 +# designates this particular file as subject to the "Classpath" exception as provided
  439.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  439.19 +# If applicable, add the following below the License Header, with the fields enclosed
  439.20 +# by brackets [] replaced by your own identifying information:
  439.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  439.22 +# 
  439.23 +# Contributor(s):
  439.24 +# 
  439.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  439.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  439.27 +# Rights Reserved.
  439.28 +# 
  439.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  439.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  439.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  439.32 +# you do not indicate a single choice of license, a recipient has the option to
  439.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  439.34 +# to extend the choice of license to its licensees as provided above. However, if you
  439.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  439.36 +# option applies only if the new code is made subject to such option by the copyright
  439.37 +# holder.
  439.38 +# 
  439.39 +
  439.40 +################################################################################
  439.41 +# ConfigurationLogic.java
  439.42 +
  439.43 +CL.system.display.name=Sun Studio XXXX ) IDE {display-version}
   440.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   440.2 +++ b/ssinstaller/components/products/nb-extra/src/org/netbeans/installer/products/nb/extra/ConfigurationLogic.java	Thu Jul 10 19:50:39 2008 +0800
   440.3 @@ -0,0 +1,109 @@
   440.4 +/*
   440.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   440.6 + * 
   440.7 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   440.8 + * 
   440.9 + * The contents of this file are subject to the terms of either the GNU General
  440.10 + * Public License Version 2 only ("GPL") or the Common Development and Distribution
  440.11 + * License("CDDL") (collectively, the "License"). You may not use this file except in
  440.12 + * compliance with the License. You can obtain a copy of the License at
  440.13 + * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  440.14 + * License for the specific language governing permissions and limitations under the
  440.15 + * License.  When distributing the software, include this License Header Notice in
  440.16 + * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  440.17 + * designates this particular file as subject to the "Classpath" exception as
  440.18 + * provided by Sun in the GPL Version 2 section of the License file that
  440.19 + * accompanied this code. If applicable, add the following below the License Header,
  440.20 + * with the fields enclosed by brackets [] replaced by your own identifying
  440.21 + * information: "Portions Copyrighted [year] [name of copyright owner]"
  440.22 + * 
  440.23 + * Contributor(s):
  440.24 + * 
  440.25 + * The Original Software is NetBeans. The Initial Developer of the Original Software
  440.26 + * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  440.27 + * Rights Reserved.
  440.28 + * 
  440.29 + * If you wish your version of this file to be governed by only the CDDL or only the
  440.30 + * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  440.31 + * this software in this distribution under the [CDDL or GPL Version 2] license." If
  440.32 + * you do not indicate a single choice of license, a recipient has the option to
  440.33 + * distribute your version of this file under either the CDDL, the GPL Version 2 or
  440.34 + * to extend the choice of license to its licensees as provided above. However, if
  440.35 + * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  440.36 + * the option applies only if the new code is made subject to such option by the
  440.37 + * copyright holder.
  440.38 + */
  440.39 +
  440.40 +package org.netbeans.installer.products.nb.extra;
  440.41 +
  440.42 +import java.util.List;
  440.43 +import org.netbeans.installer.product.Registry;
  440.44 +import org.netbeans.installer.product.components.ProductConfigurationLogic;
  440.45 +import org.netbeans.installer.utils.FileProxy;
  440.46 +import org.netbeans.installer.utils.exceptions.InitializationException;
  440.47 +import org.netbeans.installer.utils.exceptions.InstallationException;
  440.48 +import org.netbeans.installer.utils.exceptions.UninstallationException;
  440.49 +import org.netbeans.installer.utils.helper.RemovalMode;
  440.50 +import org.netbeans.installer.utils.progress.Progress;
  440.51 +import org.netbeans.installer.wizard.Wizard;
  440.52 +import org.netbeans.installer.wizard.components.WizardComponent;
  440.53 +
  440.54 +/**
  440.55 + *
  440.56 + * @author Kirill Sorokin
  440.57 + */
  440.58 +public class ConfigurationLogic extends ProductConfigurationLogic {
  440.59 +    /////////////////////////////////////////////////////////////////////////////////
  440.60 +    // Instance
  440.61 +    private List<WizardComponent> wizardComponents;
  440.62 +    
  440.63 +    public ConfigurationLogic() throws InitializationException {
  440.64 +        wizardComponents = Wizard.loadWizardComponents(
  440.65 +                WIZARD_COMPONENTS_URI,
  440.66 +                getClass().getClassLoader());
  440.67 +    }
  440.68 +    
  440.69 +    
  440.70 +    public List<WizardComponent> getWizardComponents() {
  440.71 +        return wizardComponents;
  440.72 +    }
  440.73 +    
  440.74 +    @Override
  440.75 +    public String getSystemDisplayName() {
  440.76 +        return getString("CL.system.display.name");
  440.77 +    }
  440.78 +    
  440.79 +    @Override
  440.80 +    public boolean allowModifyMode() {
  440.81 +        return false;
  440.82 +    }
  440.83 +
  440.84 +    @Override
  440.85 +    public boolean registerInSystem() {
  440.86 +        return false;
  440.87 +    }
  440.88 +
  440.89 +    @Override
  440.90 +    public RemovalMode getRemovalMode() {
  440.91 +        return RemovalMode.LIST;
  440.92 +    }
  440.93 +    
  440.94 +    
  440.95 +  
  440.96 +    /////////////////////////////////////////////////////////////////////////////////
  440.97 +    // Constants
  440.98 +    public static final String WIZARD_COMPONENTS_URI =
  440.99 +            FileProxy.RESOURCE_SCHEME_PREFIX + // NOI18N
 440.100 +            "org/netbeans/installer/products/nb/extra/wizard.xml"; // NOI18N
 440.101 +     
 440.102 +
 440.103 +    @Override
 440.104 +    public void install(Progress progress) throws InstallationException {
 440.105 +        this.getProduct().setParent(Registry.getInstance().getProducts("ss-base").get(0));        
 440.106 +    }
 440.107 +
 440.108 +    @Override
 440.109 +    public void uninstall(Progress progress) throws UninstallationException {
 440.110 +        
 440.111 +    }
 440.112 +}
   441.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   441.2 +++ b/ssinstaller/components/products/nb-extra/src/org/netbeans/installer/products/nb/extra/license.txt	Thu Jul 10 19:50:39 2008 +0800
   441.3 @@ -0,0 +1,419 @@
   441.4 +NETBEANS 6 BETA 1 - Base IDE 
   441.5 +
   441.6 +Please review the complete list of open-source licenses governing software  included in this software. They can be found in the NetBeans 6.0_README.txt file.
   441.7 +Please review the list of libraries and licenses provided for use. This license file contains two distinct licenses.
   441.8 +
   441.9 +LICENSE #1: Unless specified below, the Common Development and Distribution License (CDDL) governs your use of NetBeans 6 Beta 1.
  441.10 +
  441.11 +LICENSE #2: The GNU General Public License (GPL) Version 2 with Classpath Exception governs your use of any software from OpenJDK, including but not limited to: JSR 223, Swing Application Framework, and Beans Binding.
  441.12 +
  441.13 +
  441.14 +***********************************************************************************
  441.15 +LICENSE #1: 
  441.16 +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
  441.17 +
  441.18 +1. Definitions.
  441.19 +1.1. "Contributor" means each individual or entity that
  441.20 +creates or contributes to the creation of Modifications.
  441.21 +1.2. "Contributor Version" means the combination of the
  441.22 +Original Software, prior Modifications used by a
  441.23 +Contributor (if any), and the Modifications made by that
  441.24 +particular Contributor.
  441.25 +1.3. "Covered Software" means (a) the Original Software, or
  441.26 +(b) Modifications, or (c) the combination of files
  441.27 +containing Original Software with files containing
  441.28 +Modifications, in each case including portions thereof.
  441.29 +1.4. "Executable" means the Covered Software in any form
  441.30 +other than Source Code. 
  441.31 +1.5. "Initial Developer" means the individual or entity
  441.32 +that first makes Original Software available under this
  441.33 +License. 
  441.34 +1.6. "Larger Work" means a work which combines Covered
  441.35 +Software or portions thereof with code not governed by the
  441.36 +terms of this License.
  441.37 +1.7. "License" means this document.
  441.38 +1.8. "Licensable" means having the right to grant, to the
  441.39 +maximum extent possible, whether at the time of the initial
  441.40 +grant or subsequently acquired, any and all of the rights
  441.41 +conveyed herein.
  441.42 +1.9. "Modifications" means the Source Code and Executable
  441.43 +form of any of the following: 
  441.44 +A. Any file that results from an addition to,
  441.45 +deletion from or modification of the contents of a
  441.46 +file containing Original Software or previous
  441.47 +Modifications; 
  441.48 +B. Any new file that contains any part of the
  441.49 +Original Software or previous Modification; or 
  441.50 +C. Any new file that is contributed or otherwise made
  441.51 +available under the terms of this License.
  441.52 +1.10. "Original Software" means the Source Code and
  441.53 +Executable form of computer software code that is
  441.54 +originally released under this License. 
  441.55 +1.11. "Patent Claims" means any patent claim(s), now owned
  441.56 +or hereafter acquired, including without limitation,
  441.57 +method, process, and apparatus claims, in any patent
  441.58 +Licensable by grantor. 
  441.59 +1.12. "Source Code" means (a) the common form of computer
  441.60 +software code in which modifications are made and (b)
  441.61 +associated documentation included in or with such code.
  441.62 +1.13. "You" (or "Your") means an individual or a legal
  441.63 +entity exercising rights under, and complying with all of
  441.64 +the terms of, this License. For legal entities, "You"
  441.65 +includes any entity which controls, is controlled by, or is
  441.66 +under common control with You. For purposes of this
  441.67 +definition, "control" means (a) the power, direct or
  441.68 +indirect, to cause the direction or management of such
  441.69 +entity, whether by contract or otherwise, or (b) ownership
  441.70 +of more than fifty percent (50%) of the outstanding shares
  441.71 +or beneficial ownership of such entity.
  441.72 +2. License Grants. 
  441.73 +2.1. The Initial Developer Grant.
  441.74 +Conditioned upon Your compliance with Section 3.1 below and
  441.75 +subject to third party intellectual property claims, the
  441.76 +Initial Developer hereby grants You a world-wide,
  441.77 +royalty-free, non-exclusive license: 
  441.78 +(a) under intellectual property rights (other than
  441.79 +patent or trademark) Licensable by Initial Developer,
  441.80 +to use, reproduce, modify, display, perform,
  441.81 +sublicense and distribute the Original Software (or
  441.82 +portions thereof), with or without Modifications,
  441.83 +and/or as part of a Larger Work; and 
  441.84 +(b) under Patent Claims infringed by the making,
  441.85 +using or selling of Original Software, to make, have
  441.86 +made, use, practice, sell, and offer for sale, and/or
  441.87 +otherwise dispose of the Original Software (or
  441.88 +portions thereof). 
  441.89 +(c) The licenses granted in Sections 2.1(a) and (b)
  441.90 +are effective on the date Initial Developer first
  441.91 +distributes or otherwise makes the Original Software
  441.92 +available to a third party under the terms of this
  441.93 +License. 
  441.94 +(d) Notwithstanding Section 2.1(b) above, no patent
  441.95 +license is granted: (1) for code that You delete from
  441.96 +the Original Software, or (2) for infringements
  441.97 +caused by: (i) the modification of the Original
  441.98 +Software, or (ii) the combination of the Original
  441.99 +Software with other software or devices. 
 441.100 +2.2. Contributor Grant.
 441.101 +Conditioned upon Your compliance with Section 3.1 below and
 441.102 +subject to third party intellectual property claims, each
 441.103 +Contributor hereby grants You a world-wide, royalty-free,
 441.104 +non-exclusive license:
 441.105 +(a) under intellectual property rights (other than
 441.106 +patent or trademark) Licensable by Contributor to
 441.107 +use, reproduce, modify, display, perform, sublicense
 441.108 +and distribute the Modifications created by such
 441.109 +Contributor (or portions thereof), either on an
 441.110 +unmodified basis, with other Modifications, as
 441.111 +Covered Software and/or as part of a Larger Work; and
 441.112 +(b) under Patent Claims infringed by the making,
 441.113 +using, or selling of Modifications made by that
 441.114 +Contributor either alone and/or in combination with
 441.115 +its Contributor Version (or portions of such
 441.116 +combination), to make, use, sell, offer for sale,
 441.117 +have made, and/or otherwise dispose of: (1)
 441.118 +Modifications made by that Contributor (or portions
 441.119 +thereof); and (2) the combination of Modifications
 441.120 +made by that Contributor with its Contributor Version
 441.121 +(or portions of such combination). 
 441.122 +(c) The licenses granted in Sections 2.2(a) and
 441.123 +2.2(b) are effective on the date Contributor first
 441.124 +distributes or otherwise makes the Modifications
 441.125 +available to a third party. 
 441.126 +(d) Notwithstanding Section 2.2(b) above, no patent
 441.127 +license is granted: (1) for any code that Contributor
 441.128 +has deleted from the Contributor Version; (2) for
 441.129 +infringements caused by: (i) third party
 441.130 +modifications of Contributor Version, or (ii) the
 441.131 +combination of Modifications made by that Contributor
 441.132 +with other software (except as part of the
 441.133 +Contributor Version) or other devices; or (3) under
 441.134 +Patent Claims infringed by Covered Software in the
 441.135 +absence of Modifications made by that Contributor. 
 441.136 +3. Distribution Obligations.
 441.137 +3.1. Availability of Source Code.
 441.138 +Any Covered Software that You distribute or otherwise make
 441.139 +available in Executable form must also be made available in
 441.140 +Source Code form and that Source Code form must be
 441.141 +distributed only under the terms of this License. You must
 441.142 +include a copy of this License with every copy of the
 441.143 +Source Code form of the Covered Software You distribute or
 441.144 +otherwise make available. You must inform recipients of any
 441.145 +such Covered Software in Executable form as to how they can
 441.146 +obtain such Covered Software in Source Code form in a
 441.147 +reasonable manner on or through a medium customarily used
 441.148 +for software exchange.
 441.149 +3.2. Modifications.
 441.150 +The Modifications that You create or to which You
 441.151 +contribute are governed by the terms of this License. You
 441.152 +represent that You believe Your Modifications are Your
 441.153 +original creation(s) and/or You have sufficient rights to
 441.154 +grant the rights conveyed by this License.
 441.155 +3.3. Required Notices.
 441.156 +You must include a notice in each of Your Modifications
 441.157 +that identifies You as the Contributor of the Modification.
 441.158 +You may not remove or alter any copyright, patent or
 441.159 +trademark notices contained within the Covered Software, or
 441.160 +any notices of licensing or any descriptive text giving
 441.161 +attribution to any Contributor or the Initial Developer.
 441.162 +3.4. Application of Additional Terms.
 441.163 +You may not offer or impose any terms on any Covered
 441.164 +Software in Source Code form that alters or restricts the
 441.165 +applicable version of this License or the recipients'
 441.166 +rights hereunder. You may choose to offer, and to charge a
 441.167 +fee for, warranty, support, indemnity or liability
 441.168 +obligations to one or more recipients of Covered Software.
 441.169 +However, you may do so only on Your own behalf, and not on
 441.170 +behalf of the Initial Developer or any Contributor. You
 441.171 +must make it absolutely clear that any such warranty,
 441.172 +support, indemnity or liability obligation is offered by
 441.173 +You alone, and You hereby agree to indemnify the Initial
 441.174 +Developer and every Contributor for any liability incurred
 441.175 +by the Initial Developer or such Contributor as a result of
 441.176 +warranty, support, indemnity or liability terms You offer.
 441.177 +3.5. Distribution of Executable Versions.
 441.178 +You may distribute the Executable form of the Covered
 441.179 +Software under the terms of this License or under the terms
 441.180 +of a license of Your choice, which may contain terms
 441.181 +different from this License, provided that You are in
 441.182 +compliance with the terms of this License and that the
 441.183 +license for the Executable form does not attempt to limit
 441.184 +or alter the recipient's rights in the Source Code form
 441.185 +from the rights set forth in this License. If You
 441.186 +distribute the Covered Software in Executable form under a
 441.187 +different license, You must make it absolutely clear that
 441.188 +any terms which differ from this License are offered by You
 441.189 +alone, not by the Initial Developer or Contributor. You
 441.190 +hereby agree to indemnify the Initial Developer and every
 441.191 +Contributor for any liability incurred by the Initial
 441.192 +Developer or such Contributor as a result of any such terms
 441.193 +You offer.
 441.194 +3.6. Larger Works.
 441.195 +You may create a Larger Work by combining Covered Software
 441.196 +with other code not governed by the terms of this License
 441.197 +and distribute the Larger Work as a single product. In such
 441.198 +a case, You must make sure the requirements of this License
 441.199 +are fulfilled for the Covered Software. 
 441.200 +4. Versions of the License. 
 441.201 +4.1. New Versions.
 441.202 +Sun Microsystems, Inc. is the initial license steward and
 441.203 +may publish revised and/or new versions of this License
 441.204 +from time to time. Each version will be given a
 441.205 +distinguishing version number. Except as provided in
 441.206 +Section 4.3, no one other than the license steward has the
 441.207 +right to modify this License. 
 441.208 +4.2. Effect of New Versions.
 441.209 +You may always continue to use, distribute or otherwise
 441.210 +make the Covered Software available under the terms of the
 441.211 +version of the License under which You originally received
 441.212 +the Covered Software. If the Initial Developer includes a
 441.213 +notice in the Original Software prohibiting it from being
 441.214 +distributed or otherwise made available under any
 441.215 +subsequent version of the License, You must distribute and
 441.216 +make the Covered Software available under the terms of the
 441.217 +version of the License under which You originally received
 441.218 +the Covered Software. Otherwise, You may also choose to
 441.219 +use, distribute or otherwise make the Covered Software
 441.220 +available under the terms of any subsequent version of the
 441.221 +License published by the license steward. 
 441.222 +4.3. Modified Versions.
 441.223 +When You are an Initial Developer and You want to create a
 441.224 +new license for Your Original Software, You may create and
 441.225 +use a modified version of this License if You: (a) rename
 441.226 +the license and remove any references to the name of the
 441.227 +license steward (except to note that the license differs
 441.228 +from this License); and (b) otherwise make it clear that
 441.229 +the license contains terms which differ from this License.
 441.230 +5. DISCLAIMER OF WARRANTY.
 441.231 +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
 441.232 +BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
 441.233 +INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
 441.234 +SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
 441.235 +PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
 441.236 +PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
 441.237 +COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
 441.238 +INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
 441.239 +ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
 441.240 +WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
 441.241 +ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
 441.242 +DISCLAIMER. 
 441.243 +6. TERMINATION. 
 441.244 +6.1. This License and the rights granted hereunder will
 441.245 +terminate automatically if You fail to comply with terms
 441.246 +herein and fail to cure such breach within 30 days of
 441.247 +becoming aware of the breach. Provisions which, by their
 441.248 +nature, must remain in effect beyond the termination of
 441.249 +this License shall survive.
 441.250 +6.2. If You assert a patent infringement claim (excluding
 441.251 +declaratory judgment actions) against Initial Developer or
 441.252 +a Contributor (the Initial Developer or Contributor against
 441.253 +whom You assert such claim is referred to as "Participant")
 441.254 +alleging that the Participant Software (meaning the
 441.255 +Contributor Version where the Participant is a Contributor
 441.256 +or the Original Software where the Participant is the
 441.257 +Initial Developer) directly or indirectly infringes any
 441.258 +patent, then any and all rights granted directly or
 441.259 +indirectly to You by such Participant, the Initial
 441.260 +Developer (if the Initial Developer is not the Participant)
 441.261 +and all Contributors under Sections 2.1 and/or 2.2 of this
 441.262 +License shall, upon 60 days notice from Participant
 441.263 +terminate prospectively and automatically at the expiration
 441.264 +of such 60 day notice period, unless if within such 60 day
 441.265 +period You withdraw Your claim with respect to the
 441.266 +Participant Software against such Participant either
 441.267 +unilaterally or pursuant to a written agreement with
 441.268 +Participant.
 441.269 +6.3. In the event of termination under Sections 6.1 or 6.2
 441.270 +above, all end user licenses that have been validly granted
 441.271 +by You or any distributor hereunder prior to termination
 441.272 +(excluding licenses granted to You by any distributor)
 441.273 +shall survive termination.
 441.274 +7. LIMITATION OF LIABILITY.
 441.275 +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
 441.276 +(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
 441.277 +INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
 441.278 +COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
 441.279 +LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
 441.280 +CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
 441.281 +LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
 441.282 +STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
 441.283 +COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
 441.284 +INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
 441.285 +LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
 441.286 +INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
 441.287 +APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
 441.288 +NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
 441.289 +CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
 441.290 +APPLY TO YOU.
 441.291 +8. U.S. GOVERNMENT END USERS.
 441.292 +The Covered Software is a "commercial item," as that term is
 441.293 +defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
 441.294 +computer software" (as that term is defined at 48 C.F.R. ¤
 441.295 +252.227-7014(a)(1)) and "commercial computer software
 441.296 +documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
 441.297 +1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
 441.298 +through 227.7202-4 (June 1995), all U.S. Government End Users
 441.299 +acquire Covered Software with only those rights set forth herein.
 441.300 +This U.S. Government Rights clause is in lieu of, and supersedes,
 441.301 +any other FAR, DFAR, or other clause or provision that addresses
 441.302 +Government rights in computer software under this License.
 441.303 +9. MISCELLANEOUS.
 441.304 +This License represents the complete agreement concerning subject
 441.305 +matter hereof. If any provision of this License is held to be
 441.306 +unenforceable, such provision shall be reformed only to the
 441.307 +extent necessary to make it enforceable. This License shall be
 441.308 +governed by the law of the jurisdiction specified in a notice
 441.309 +contained within the Original Software (except to the extent
 441.310 +applicable law, if any, provides otherwise), excluding such
 441.311 +jurisdiction's conflict-of-law provisions. Any litigation
 441.312 +relating to this License shall be subject to the jurisdiction of
 441.313 +the courts located in the jurisdiction and venue specified in a
 441.314 +notice contained within the Original Software, with the losing
 441.315 +party responsible for costs, including, without limitation, court
 441.316 +costs and reasonable attorneys' fees and expenses. The
 441.317 +application of the United Nations Convention on Contracts for the
 441.318 +International Sale of Goods is expressly excluded. Any law or
 441.319 +regulation which provides that the language of a contract shall
 441.320 +be construed against the drafter shall not apply to this License.
 441.321 +You agree that You alone are responsible for compliance with the
 441.322 +United States export administration regulations (and the export
 441.323 +control laws and regulation of any other countries) when You use,
 441.324 +distribute or otherwise make available any Covered Software.
 441.325 +10. RESPONSIBILITY FOR CLAIMS.
 441.326 +As between Initial Developer and the Contributors, each party is
 441.327 +responsible for claims and damages arising, directly or
 441.328 +indirectly, out of its utilization of rights under this License
 441.329 +and You agree to work with Initial Developer and Contributors to
 441.330 +distribute such responsibility on an equitable basis. Nothing
 441.331 +herein is intended or shall be deemed to constitute any admission
 441.332 +of liability.
 441.333 +
 441.334 +
 441.335 +***********************************************************************************
 441.336 +
 441.337 +LICENSE #2: 
 441.338 +The GNU General Public License (GPL) Version 2, June 1991 
 441.339 +Copyright (C) 1989, 1991 Free Software Foundation, Inc.
 441.340 +59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 441.341 +Everyone is permitted to copy and distribute verbatim copies
 441.342 +of this license document, but changing it is not allowed.
 441.343 +Preamble
 441.344 +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
 441.345 +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
 441.346 +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
 441.347 +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
 441.348 +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
 441.349 +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
 441.350 +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
 441.351 +The precise terms and conditions for copying, distribution and modification follow.
 441.352 +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 441.353 +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
 441.354 +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
 441.355 +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
 441.356 +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
 441.357 +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
 441.358 +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
 441.359 +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
 441.360 +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
 441.361 +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
 441.362 +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
 441.363 +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
 441.364 +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
 441.365 +a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 441.366 +b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 441.367 +c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
 441.368 +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
 441.369 +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
 441.370 +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
 441.371 +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
 441.372 +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
 441.373 +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
 441.374 +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
 441.375 +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
 441.376 +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
 441.377 +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
 441.378 +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
 441.379 +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
 441.380 +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
 441.381 +NO WARRANTY
 441.382 +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 441.383 +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 441.384 +END OF TERMS AND CONDITIONS
 441.385 +How to Apply These Terms to Your New Programs
 441.386 +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
 441.387 +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
 441.388 +One line to give the program's name and a brief idea of what it does.
 441.389 +Copyright (C) <year> <name of author>
 441.390 +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 441.391 +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 441.392 +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 441.393 +Also add information on how to contact you by electronic and paper mail.
 441.394 +If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
 441.395 +Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
 441.396 +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
 441.397 +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
 441.398 +Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
 441.399 +signature of Ty Coon, 1 April 1989
 441.400 +Ty Coon, President of Vice
 441.401 +This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
 441.402 +
 441.403 +"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
 441.404 +
 441.405 +Certain source files distributed by Sun Microsystems, Inc.  are subject to 
 441.406 +the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words 
 441.407 +"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." 
 441.408 +
 441.409 +   Linking this library statically or dynamically with other modules is making a combined work based on this library.  Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination. 
 441.410 +
 441.411 +   As a special exception, the copyright holders of this library give you 
 441.412 +permission to link this library with independent modules to produce an 
 441.413 +executable, regardless of the license terms of these independent modules, 
 441.414 +and to copy and distribute the resulting executable under terms of your 
 441.415 +choice, provided that you also meet, for each linked independent module, 
 441.416 +the terms and conditions of the license of that module.  An independent 
 441.417 +module is a module which is not derived from or based on this library.  If 
 441.418 +you modify this library, you may extend this exception to your version of 
 441.419 +the library, but you are not obligated to do so.  If you do not wish to do 
 441.420 +so, delete this exception statement from your version.
 441.421 +
 441.422 +
   442.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   442.2 +++ b/ssinstaller/components/products/nb-extra/src/org/netbeans/installer/products/nb/extra/wizard.xml	Thu Jul 10 19:50:39 2008 +0800
   442.3 @@ -0,0 +1,40 @@
   442.4 +<?xml version="1.0" encoding="UTF-8"?>
   442.5 +<!--
   442.6 +  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   442.7 +  
   442.8 +  Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   442.9 +  
  442.10 +  The contents of this file are subject to the terms of either the GNU General Public
  442.11 +  License Version 2 only ("GPL") or the Common Development and Distribution
  442.12 +  License("CDDL") (collectively, the "License"). You may not use this file except in
  442.13 +  compliance with the License. You can obtain a copy of the License at
  442.14 +  http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  442.15 +  License for the specific language governing permissions and limitations under the
  442.16 +  License.  When distributing the software, include this License Header Notice in
  442.17 +  each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  442.18 +  designates this particular file as subject to the "Classpath" exception as provided
  442.19 +  by Sun in the GPL Version 2 section of the License file that accompanied this code.
  442.20 +  If applicable, add the following below the License Header, with the fields enclosed
  442.21 +  by brackets [] replaced by your own identifying information:
  442.22 +  "Portions Copyrighted [year] [name of copyright owner]"
  442.23 +  
  442.24 +  Contributor(s):
  442.25 +  
  442.26 +  The Original Software is NetBeans. The Initial Developer of the Original Software
  442.27 +  is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  442.28 +  Rights Reserved.
  442.29 +  
  442.30 +  If you wish your version of this file to be governed by only the CDDL or only the
  442.31 +  GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  442.32 +  this software in this distribution under the [CDDL or GPL Version 2] license." If
  442.33 +  you do not indicate a single choice of license, a recipient has the option to
  442.34 +  distribute your version of this file under either the CDDL, the GPL Version 2 or
  442.35 +  to extend the choice of license to its licensees as provided above. However, if you
  442.36 +  add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  442.37 +  option applies only if the new code is made subject to such option by the copyright
  442.38 +  holder.
  442.39 +-->
  442.40 +
  442.41 +<wizard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="wizard-components.xsd">    
  442.42 +    <component class="org.netbeans.installer.products.nb.extra.wizard.panels.NbLocationPanel"/>    
  442.43 +</wizard>
   443.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   443.2 +++ b/ssinstaller/components/products/nb-extra/src/org/netbeans/installer/products/nb/extra/wizard/panels/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   443.3 @@ -0,0 +1,55 @@
   443.4 +# 
   443.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   443.6 +# 
   443.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   443.8 +# 
   443.9 +# The contents of this file are subject to the terms of either the GNU General Public
  443.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  443.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  443.12 +# compliance with the License. You can obtain a copy of the License at
  443.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  443.14 +# License for the specific language governing permissions and limitations under the
  443.15 +# License.  When distributing the software, include this License Header Notice in
  443.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  443.17 +# designates this particular file as subject to the "Classpath" exception as provided
  443.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  443.19 +# If applicable, add the following below the License Header, with the fields enclosed
  443.20 +# by brackets [] replaced by your own identifying information:
  443.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  443.22 +# 
  443.23 +# Contributor(s):
  443.24 +# 
  443.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  443.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  443.27 +# Rights Reserved.
  443.28 +# 
  443.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  443.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  443.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  443.32 +# you do not indicate a single choice of license, a recipient has the option to
  443.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  443.34 +# to extend the choice of license to its licensees as provided above. However, if you
  443.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  443.36 +# option applies only if the new code is made subject to such option by the copyright
  443.37 +# holder.
  443.38 +# 
  443.39 +
  443.40 +#####################################################################################
  443.41 +# NbLocationPanel.java
  443.42 +
  443.43 +NBP.location.label.text=&Location:
  443.44 +
  443.45 +NBP.title=Sun Studio {display-version} Installation
  443.46 +NBP.description=Choose or install NetBeans for Sun Studio IDE.
  443.47 +
  443.48 +NBP.destination.label.text=&Install or use the NetBeans IDE in:
  443.49 +
  443.50 +NBP.nb.location.label.text=NetBeans for Sun Studio IDE:
  443.51 +NBP.browse.button.text=Br&owse...
  443.52 +
  443.53 +
  443.54 +
  443.55 +NBP.list.label.text=The &following NetBeans locations were found in your system:
  443.56 +
  443.57 +NBP.minimum.nb.version=nb61
  443.58 +NBP.maximum.cnd.version=cnd2
   444.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   444.2 +++ b/ssinstaller/components/products/nb-extra/src/org/netbeans/installer/products/nb/extra/wizard/panels/NbLocationPanel.java	Thu Jul 10 19:50:39 2008 +0800
   444.3 @@ -0,0 +1,256 @@
   444.4 +/*
   444.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   444.6 + * 
   444.7 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   444.8 + * 
   444.9 + * The contents of this file are subject to the terms of either the GNU General
  444.10 + * Public License Version 2 only ("GPL") or the Common Development and Distribution
  444.11 + * License("CDDL") (collectively, the "License"). You may not use this file except in
  444.12 + * compliance with the License. You can obtain a copy of the License at
  444.13 + * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  444.14 + * License for the specific language governing permissions and limitations under the
  444.15 + * License.  When distributing the software, include this License Header Notice in
  444.16 + * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  444.17 + * designates this particular file as subject to the "Classpath" exception as
  444.18 + * provided by Sun in the GPL Version 2 section of the License file that
  444.19 + * accompanied this code. If applicable, add the following below the License Header,
  444.20 + * with the fields enclosed by brackets [] replaced by your own identifying
  444.21 + * information: "Portions Copyrighted [year] [name of copyright owner]"
  444.22 + * 
  444.23 + * Contributor(s):
  444.24 + * 
  444.25 + * The Original Software is NetBeans. The Initial Developer of the Original Software
  444.26 + * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  444.27 + * Rights Reserved.
  444.28 + * 
  444.29 + * If you wish your version of this file to be governed by only the CDDL or only the
  444.30 + * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  444.31 + * this software in this distribution under the [CDDL or GPL Version 2] license." If
  444.32 + * you do not indicate a single choice of license, a recipient has the option to
  444.33 + * distribute your version of this file under either the CDDL, the GPL Version 2 or
  444.34 + * to extend the choice of license to its licensees as provided above. However, if
  444.35 + * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  444.36 + * the option applies only if the new code is made subject to such option by the
  444.37 + * copyright holder.
  444.38 + */
  444.39 +
  444.40 +package org.netbeans.installer.products.nb.extra.wizard.panels;
  444.41 +
  444.42 +import java.io.File;
  444.43 +import java.io.FilenameFilter;
  444.44 +import java.util.ArrayList;
  444.45 +import java.util.List;
  444.46 +import org.netbeans.installer.product.Registry;
  444.47 +import org.netbeans.installer.product.components.Product;
  444.48 +import org.netbeans.installer.utils.ResourceUtils;
  444.49 +import org.netbeans.installer.utils.SystemUtils;
  444.50 +import org.netbeans.installer.utils.helper.Status;
  444.51 +import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel;
  444.52 +import org.netbeans.installer.wizard.components.panels.sunstudio.PreInstallSummaryPanel;
  444.53 +
  444.54 +/**
  444.55 + *
  444.56 + * @author Leonid Mesnik
  444.57 + */
  444.58 +
  444.59 +public class NbLocationPanel extends ApplicationLocationPanel {
  444.60 +   
  444.61 +    private File selectedLocation;
  444.62 +    private List<File> locations;
  444.63 +    private List<String> labels;
  444.64 +
  444.65 +    public NbLocationPanel() {            
  444.66 +        setProperty(LOCATION_LABEL_TEXT_PROPERTY, 
  444.67 +                LOCATION_LABEL_TEXT);        
  444.68 +        setProperty(LIST_LABEL_TEXT_PROPERTY, 
  444.69 +                LIST_LABEL_TEXT);                
  444.70 +       // setProperty(ERROR_FAILED_VERIFY_INPUT_PROPERTY,
  444.71 +      ///          ERROR_FAILED_VERIFY_INPUT_TEXT);
  444.72 +               
  444.73 +        setProperty(TITLE_PROPERTY,
  444.74 +                DEFAULT_TITLE);
  444.75 +        setProperty(DESCRIPTION_PROPERTY,
  444.76 +                DEFAULT_DESCRIPTION);
  444.77 +        
  444.78 +      
  444.79 +        locations = new ArrayList();
  444.80 +        labels = new ArrayList<String>();
  444.81 +        fetchLocationsFromRegistry(locations);
  444.82 +        fetchLocationsFromFileSystem(locations);
  444.83 +        
  444.84 +        for(File location : locations) {
  444.85 +            labels.add(readNBDescription(location));
  444.86 +        }              
  444.87 +    }
  444.88 +
  444.89 +    @Override
  444.90 +    public void initialize() {
  444.91 +        super.initialize();
  444.92 +        final Product product = (Product) getWizard().
  444.93 +                getContext().
  444.94 +                get(Product.class);
  444.95 +        selectedLocation = resolvePath(product.getProperty(Product.INSTALLATION_LOCATION_PROPERTY));
  444.96 +    }
  444.97 +    
  444.98 +    
  444.99 +    
 444.100 +    @Override
 444.101 +    public List<File> getLocations() {
 444.102 +        return locations;
 444.103 +    }
 444.104 +
 444.105 +    @Override
 444.106 +    public List<String> getLabels() {
 444.107 +        return labels;
 444.108 +    }
 444.109 +
 444.110 +    @Override
 444.111 +    public File getSelectedLocation() {        
 444.112 +        return selectedLocation;
 444.113 +    }
 444.114 +    
 444.115 +        
 444.116 +    public static final String DEFAULT_TITLE =
 444.117 +            ResourceUtils.getString(PreInstallSummaryPanel.class,
 444.118 +            "NPrISP.title"); // NOI18N
 444.119 +    public static final String DEFAULT_DESCRIPTION =
 444.120 +            ResourceUtils.getString(PreInstallSummaryPanel.class,
 444.121 +            "NPrISP.description"); // NOI18N
 444.122 +    
 444.123 +    private String validateNetBeansLocation(File nbRoot) {
 444.124 +        if (nbRoot.getName().equals("netbeans")) {
 444.125 +            return "Don install here, I'm working";
 444.126 +        }
 444.127 +        if (!nbRoot.isDirectory()) {
 444.128 +            return "NetBeans location is not directory";
 444.129 +        }
 444.130 +        
 444.131 +        if (nbRoot.listFiles(new FilenameFilter() {
 444.132 +            public boolean accept(File dir, String name) {
 444.133 +                return name.equals(NB_DIR);
 444.134 +            }
 444.135 +        }).length == 0) {
 444.136 +            return "NB directroy does not contain nb61";
 444.137 +        }
 444.138 +               
 444.139 +        if (nbRoot.listFiles(new FilenameFilter() {
 444.140 +            public boolean accept(File dir, String name) {
 444.141 +                return name.equals(NB_CND_DIR);
 444.142 +            }
 444.143 +        }).length == 0) {
 444.144 +            return "NB directroy does not contain cnd2";
 444.145 +        }
 444.146 +        
 444.147 +        Product nbProduct = Registry.getInstance().getProducts(NB_PRODUCT_UID).get(0);
 444.148 +        Product nbExtra = Registry.getInstance().getProducts(NB_EXTRA_UID).get(0);
 444.149 +        nbExtra.setInstallationLocation(nbRoot);
 444.150 +        nbProduct.setStatus(Status.NOT_INSTALLED);
 444.151 +        nbProduct.setInstallationLocation(nbRoot);        
 444.152 +        nbProduct.setParent(Registry.getInstance().getProducts("ss-base").get(0));
 444.153 +        nbExtra.setParent(Registry.getInstance().getProducts("ss-base").get(0));
 444.154 +        // install CND pack if needed
 444.155 +        /*
 444.156 +        if (nbRoot.listFiles(new FilenameFilter() {
 444.157 +            public boolean accept(File dir, String name) {
 444.158 +                return name.equals(NB_CND_DIR);
 444.159 +            }
 444.160 +        }).length == 0) {
 444.161 +            Registry.getInstance().getProducts(NB_CND_UID).get(0)
 444.162 +                    .setStatus(Status.TO_BE_INSTALLED);
 444.163 +        } else {
 444.164 +            Registry.getInstance().getProducts(NB_CND_UID).get(0)
 444.165 +                    .setStatus(Status.NOT_INSTALLED);
 444.166 +        }*/
 444.167 +        return null;
 444.168 +    }
 444.169 +
 444.170 +    @Override
 444.171 +    public String validateLocation(String value) {
 444.172 +        File file = new File(value);        
 444.173 +        if (locations.contains(file)) {
 444.174 +            return validateNetBeansLocation(file);
 444.175 +        }       
 444.176 +                 
 444.177 +        Product nbProduct = Registry.getInstance().getProducts(NB_PRODUCT_UID).get(0);
 444.178 +        Product nbExtra = Registry.getInstance().getProducts(NB_EXTRA_UID).get(0);
 444.179 +        nbProduct.setStatus(Status.TO_BE_INSTALLED);
 444.180 +        nbProduct.setInstallationLocation(file);
 444.181 +        nbExtra.setInstallationLocation(file);
 444.182 +        nbProduct.setParent(Registry.getInstance().getProducts("ss-base").get(0));
 444.183 +        nbExtra.setParent(Registry.getInstance().getProducts("ss-base").get(0));
 444.184 +          
 444.185 +        // TODO : create correct checks       
 444.186 +        return null;
 444.187 +    }
 444.188 +    
 444.189 +
 444.190 +    @Override
 444.191 +    public void setLocation(File location) {
 444.192 +        selectedLocation = location;
 444.193 +    }
 444.194 +
 444.195 +   
 444.196 +    private String readNBDescription(File nbLocation) {
 444.197 +        StringBuffer description = new StringBuffer("NetBeans (");
 444.198 +        description.append(nbLocation).append(")");
 444.199 +        return description.toString(); 
 444.200 +    }
 444.201 +     
 444.202 +     
 444.203 +    private void fetchLocationsFromFileSystem(final List<File> locations) {
 444.204 +        for (String parentPath : NB_FILESYSTEM_LOCATIONS) {
 444.205 +            File parentDir = new File(parentPath);
 444.206 +            if (!parentDir.exists() || !parentDir.isDirectory()) {
 444.207 +                continue;
 444.208 +            }            
 444.209 +            File[] candidates = parentDir.listFiles(new FilenameFilter() {
 444.210 +                public boolean accept(File dir, String name) {                   
 444.211 +                    return name.startsWith(NB_DIRECTORY_NAME);
 444.212 +                }
 444.213 +            });        
 444.214 +            for (File location : candidates) {
 444.215 +                if (!locations.contains(location)
 444.216 +                        && location.canWrite()) {
 444.217 +                    locations.add(location);
 444.218 +                }
 444.219 +            }
 444.220 +        }
 444.221 +    }
 444.222 +    
 444.223 +    private void fetchLocationsFromRegistry(final List<File> locations) {
 444.224 +        for (Product nbBase: Registry.getInstance().getProducts(NB_PRODUCT_UID)) {
 444.225 +            if (nbBase.getStatus() == Status.INSTALLED) {
 444.226 +                if (!locations.contains(nbBase.getInstallationLocation())) {
 444.227 +                    locations.add(nbBase.getInstallationLocation());
 444.228 +                }
 444.229 +            }
 444.230 +        }
 444.231 +    }
 444.232 +    
 444.233 +    static final String NB_PRODUCT_UID = "nb-base";
 444.234 +    static final String NB_CND_UID = "nb-cnd";
 444.235 +    static final String NB_EXTRA_UID = "nb-extra";
 444.236 +     
 444.237 +    public static final String[] NB_FILESYSTEM_LOCATIONS = new String[] {
 444.238 +        "/usr", // NOI18N        
 444.239 +        "/usr/local", // NOI18N
 444.240 +        "/usr/share", // NOI18N        
 444.241 +        "/opt", // NOI18N
 444.242 +    };
 444.243 +    final static String NB_DIRECTORY_NAME = "netbeans";
 444.244 +    final static String NB_CND_DIR = "cnd2";
 444.245 +    final static String NB_DIR = "nb6.1";
 444.246 +    
 444.247 +    public static final String LOCATION_LABEL_TEXT = 
 444.248 +            ResourceUtils.getString(NbLocationPanel.class, 
 444.249 +            "NBP.location.label.text"); // NOI18N
 444.250 +    public static final String LIST_LABEL_TEXT = 
 444.251 +            ResourceUtils.getString(NbLocationPanel.class, 
 444.252 +            "NBP.list.label.text"); // NOI18N
 444.253 +  
 444.254 +
 444.255 +      // public static final String ERROR_FAILED_VERIFY_INPUT_TEXT =
 444.256 +        //    ResourceUtils.getString(NbLocationPanel.class,
 444.257 +          //  "NBP.error.failed.input.verify");//NOI18N
 444.258 +}
 444.259 +
   445.1 --- a/ssinstaller/components/products/ss-base/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   445.2 +++ b/ssinstaller/components/products/ss-base/manifest.mf	Thu Jul 10 19:50:39 2008 +0800
   445.3 @@ -1,5 +1,5 @@
   445.4  Manifest-Version: 1.0
   445.5  Ant-Version: Apache Ant 1.7.0
   445.6  Created-By: 1.5.0_14-b03 (Sun Microsystems Inc.)
   445.7 -Configuration-Logic-Class: org.netbeans.installer.products.sample.ConfigurationLogic
   445.8 +Configuration-Logic-Class: org.netbeans.installer.products.sunstudio.ConfigurationLogic
   445.9  
   446.1 --- a/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   446.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   446.3 @@ -1,85 +0,0 @@
   446.4 -# 
   446.5 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   446.6 -# 
   446.7 -# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   446.8 -# 
   446.9 -# The contents of this file are subject to the terms of either the GNU General Public
  446.10 -# License Version 2 only ("GPL") or the Common Development and Distribution
  446.11 -# License("CDDL") (collectively, the "License"). You may not use this file except in
  446.12 -# compliance with the License. You can obtain a copy of the License at
  446.13 -# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  446.14 -# License for the specific language governing permissions and limitations under the
  446.15 -# License.  When distributing the software, include this License Header Notice in
  446.16 -# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  446.17 -# designates this particular file as subject to the "Classpath" exception as provided
  446.18 -# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  446.19 -# If applicable, add the following below the License Header, with the fields enclosed
  446.20 -# by brackets [] replaced by your own identifying information:
  446.21 -# "Portions Copyrighted [year] [name of copyright owner]"
  446.22 -# 
  446.23 -# Contributor(s):
  446.24 -# 
  446.25 -# The Original Software is NetBeans. The Initial Developer of the Original Software
  446.26 -# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  446.27 -# Rights Reserved.
  446.28 -# 
  446.29 -# If you wish your version of this file to be governed by only the CDDL or only the
  446.30 -# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  446.31 -# this software in this distribution under the [CDDL or GPL Version 2] license." If
  446.32 -# you do not indicate a single choice of license, a recipient has the option to
  446.33 -# distribute your version of this file under either the CDDL, the GPL Version 2 or
  446.34 -# to extend the choice of license to its licensees as provided above. However, if you
  446.35 -# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  446.36 -# option applies only if the new code is made subject to such option by the copyright
  446.37 -# holder.
  446.38 -# 
  446.39 -
  446.40 -################################################################################
  446.41 -# ConfigurationLogic.java
  446.42 -CL.install.jdk.home=Setting the appropriate JDK home
  446.43 -CL.install.netbeans.clusters=Adding IDE clusters to the active clusters list
  446.44 -CL.install.product.id=Creating the productid file
  446.45 -CL.install.license.accepted=Creating the license_accepted marker file
  446.46 -CL.install.irrelevant.files=Removing files irrelevant to the current platform
  446.47 -CL.install.files.permissions=Correcting files permissions
  446.48 -CL.install.desktop=Creating desktop shortcut
  446.49 -CL.install.start.menu=Creating Start Menu entries
  446.50 -CL.install.netbeans.conf=Updating the netbeans.conf file
  446.51 -CL.install.glassfish.integration=Integrating the IDE with existing GlassFish installations
  446.52 -CL.install.tomcat.integration=Integrating the IDE with existing Apache Tomcat installations
  446.53 -
  446.54 -CL.uninstall.license.accepted=Removing the license_accepted marker file
  446.55 -CL.uninstall.product.id=Removing the productid file
  446.56 -CL.uninstall.start.menu=Removing desktop shortcut
  446.57 -CL.uninstall.desktop=Removing Start Menu entries
  446.58 -
  446.59 -CL.install.error.jdk.home=Cannot set the selected JDK home
  446.60 -CL.install.error.netbeans.clusters=Cannot add NetBeans IDE clusters to the active clusters list
  446.61 -CL.install.error.product.id=Cannot create the productid file
  446.62 -CL.install.error.license.accepted=Cannot create the license_accepted marker file
  446.63 -CL.install.error.irrelevant.files=Cannot completely remove irrelevant files
  446.64 -CL.install.error.files.permissions=Cannot completely correct files permissions
  446.65 -CL.install.error.desktop=Cannot create desktop shortcut
  446.66 -CL.install.error.start.menu=Cannot create Start Menu entries
  446.67 -CL.install.error.netbeans.conf=Cannot update the netbeans.conf file
  446.68 -CL.install.error.glassfish.integration=Failed to integrate the IDE with existing GlassFish installations
  446.69 -CL.install.error.tomcat.integration=Failed to integrate the IDE with existing Apache Tomcat installations
  446.70 -
  446.71 -CL.uninstall.error.license.accepted=Cannot remove the license_accepted marker file
  446.72 -CL.uninstall.error.product.id=Cannot remove the productid file
  446.73 -CL.uninstall.error.start.menu=Cannot remove desktop shortcut
  446.74 -CL.uninstall.error.desktop=Cannot remove Start Menu entries
  446.75 -CL.uninstall.warning.running=It appears that an instance of the IDE is still running:\na lock file exists at \n{0}\nPlease close all instances of the IDE prior to continuing with uninstallation.
  446.76 -CL.uninstall.warning.check.running.failed=Can`t determine netbeans userdir so can`t check whether NetBeans IDE is running or not
  446.77 -
  446.78 -# OS Integration ###############################################################
  446.79 -CL.desktop.shortcut.name=NetBeans IDE {display-version}
  446.80 -CL.desktop.shortcut.description=The only IDE you need
  446.81 -CL.desktop.shortcut.path=NetBeans {display-version}
  446.82 -
  446.83 -CL.start.menu.shortcut.name=NetBeans IDE {display-version}
  446.84 -CL.start.menu.shortcut.name.macosx=NetBeans IDE {display-version}
  446.85 -CL.start.menu.shortcut.description=The only IDE you need
  446.86 -CL.start.menu.shortcut.path=NetBeans
  446.87 -
  446.88 -CL.system.display.name=NetBeans IDE {display-version}
   447.1 --- a/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/ConfigurationLogic.java	Thu Jul 10 19:13:29 2008 +0800
   447.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   447.3 @@ -1,132 +0,0 @@
   447.4 -/*
   447.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   447.6 - * 
   447.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   447.8 - * 
   447.9 - * The contents of this file are subject to the terms of either the GNU General
  447.10 - * Public License Version 2 only ("GPL") or the Common Development and Distribution
  447.11 - * License("CDDL") (collectively, the "License"). You may not use this file except in
  447.12 - * compliance with the License. You can obtain a copy of the License at
  447.13 - * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  447.14 - * License for the specific language governing permissions and limitations under the
  447.15 - * License.  When distributing the software, include this License Header Notice in
  447.16 - * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  447.17 - * designates this particular file as subject to the "Classpath" exception as
  447.18 - * provided by Sun in the GPL Version 2 section of the License file that
  447.19 - * accompanied this code. If applicable, add the following below the License Header,
  447.20 - * with the fields enclosed by brackets [] replaced by your own identifying
  447.21 - * information: "Portions Copyrighted [year] [name of copyright owner]"
  447.22 - * 
  447.23 - * Contributor(s):
  447.24 - * 
  447.25 - * The Original Software is NetBeans. The Initial Developer of the Original Software
  447.26 - * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  447.27 - * Rights Reserved.
  447.28 - * 
  447.29 - * If you wish your version of this file to be governed by only the CDDL or only the
  447.30 - * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  447.31 - * this software in this distribution under the [CDDL or GPL Version 2] license." If
  447.32 - * you do not indicate a single choice of license, a recipient has the option to
  447.33 - * distribute your version of this file under either the CDDL, the GPL Version 2 or
  447.34 - * to extend the choice of license to its licensees as provided above. However, if
  447.35 - * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  447.36 - * the option applies only if the new code is made subject to such option by the
  447.37 - * copyright holder.
  447.38 - */
  447.39 -
  447.40 -package org.netbeans.installer.products.sample;
  447.41 -
  447.42 -import java.io.File;
  447.43 -import java.io.IOException;
  447.44 -import java.util.Arrays;
  447.45 -import java.util.HashMap;
  447.46 -import java.util.List;
  447.47 -import java.util.Map;
  447.48 -import org.netbeans.installer.product.Registry;
  447.49 -import org.netbeans.installer.product.components.Product;
  447.50 -import org.netbeans.installer.product.components.ProductConfigurationLogic;
  447.51 -import org.netbeans.installer.products.sample.panels.SSBasePanel;
  447.52 -import org.netbeans.installer.utils.FileUtils;
  447.53 -import org.netbeans.installer.utils.LogManager;
  447.54 -import org.netbeans.installer.utils.exceptions.InitializationException;
  447.55 -import org.netbeans.installer.utils.exceptions.InstallationException;
  447.56 -import org.netbeans.installer.utils.exceptions.UninstallationException;
  447.57 -import org.netbeans.installer.utils.helper.RemovalMode;
  447.58 -import org.netbeans.installer.utils.helper.Text;
  447.59 -import org.netbeans.installer.utils.progress.Progress;
  447.60 -import org.netbeans.installer.wizard.components.WizardComponent;
  447.61 -import org.netbeans.installer.utils.progress.CompositeProgress;
  447.62 -import org.netbeans.installer.wizard.Utils;
  447.63 -
  447.64 -public class ConfigurationLogic extends ProductConfigurationLogic {
  447.65 -    
  447.66 -    @Override
  447.67 -    public void install(Progress progress) throws InstallationException {
  447.68 -        progress.setPercentage(Progress.COMPLETE);
  447.69 -    }
  447.70 -
  447.71 -    @Override
  447.72 -    public void uninstall(Progress progress) throws UninstallationException {
  447.73 -        getProduct().getParent().removeChild(getProduct());
  447.74 -        List<Product> products = Registry.getInstance().getProducts();
  447.75 -     
  447.76 -        /*
  447.77 -         * Here the percentage of each product is approximated
  447.78 -         * as a number of its subcomponents
  447.79 -         */
  447.80 -        
  447.81 -        final Map<Product, Integer> percents = new HashMap<Product, Integer>();
  447.82 -        int allProductsSize = 0;
  447.83 -        for (Product product : products) {
  447.84 -            allProductsSize += product.getDataUris().size();
  447.85 -        }
  447.86 -        for (Product product : products) {
  447.87 -            percents.put(product, (Progress.COMPLETE - Progress.START) 
  447.88 -                    * product.getDataUris().size() / allProductsSize);            
  447.89 -        }
  447.90 -
  447.91 -                
  447.92 -        CompositeProgress compositeProgress = new CompositeProgress(); 
  447.93 -        progress.synchronizeFrom(compositeProgress);
  447.94 -        
  447.95 -        for (Product product : products) {
  447.96 -            try {
  447.97 -                Progress innerProgress = new Progress();
  447.98 -                compositeProgress.addChild(innerProgress, percents.get(product));                
  447.99 -                product.getLogic().uninstall(innerProgress);
 447.100 -                product.getParent().removeChild(product);
 447.101 -            } catch (InitializationException ex) {
 447.102 -                LogManager.log("Unexpected exception during removal of " 
 447.103 -                        + product.getDisplayName(), ex);
 447.104 -            }
 447.105 -        }       
 447.106 -        File mainDirectory = new File(getProduct().getInstallationLocation(), Utils.getMainDirectory());
 447.107 -        try {
 447.108 -            FileUtils.deleteFile(mainDirectory, true);
 447.109 -        } catch (IOException ex) {
 447.110 -            LogManager.log("Unexpected exception during removal of " 
 447.111 -                    + mainDirectory.getAbsolutePath(), ex);
 447.112 -        }
 447.113 -        progress.setPercentage(Progress.COMPLETE);
 447.114 -    }
 447.115 -
 447.116 -    @Override
 447.117 -    public int getLogicPercentage() {
 447.118 -        return 100;        
 447.119 -    }
 447.120 -    
 447.121 -    @Override
 447.122 -    public List<WizardComponent> getWizardComponents() {        
 447.123 -        return Arrays.asList((WizardComponent) new SSBasePanel());
 447.124 -    }
 447.125 -
 447.126 -    @Override
 447.127 -    public RemovalMode getRemovalMode() {
 447.128 -        return RemovalMode.LIST;
 447.129 -    }
 447.130 -
 447.131 -    @Override
 447.132 -    public Text getLicense() {
 447.133 -        return null;
 447.134 -    }
 447.135 -}
   448.1 --- a/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/license.txt	Thu Jul 10 19:13:29 2008 +0800
   448.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   448.3 @@ -1,419 +0,0 @@
   448.4 -NETBEANS 6 BETA 1 - Base IDE 
   448.5 -
   448.6 -Please review the complete list of open-source licenses governing software  included in this software. They can be found in the NetBeans 6.0_README.txt file.
   448.7 -Please review the list of libraries and licenses provided for use. This license file contains two distinct licenses.
   448.8 -
   448.9 -LICENSE #1: Unless specified below, the Common Development and Distribution License (CDDL) governs your use of NetBeans 6 Beta 1.
  448.10 -
  448.11 -LICENSE #2: The GNU General Public License (GPL) Version 2 with Classpath Exception governs your use of any software from OpenJDK, including but not limited to: JSR 223, Swing Application Framework, and Beans Binding.
  448.12 -
  448.13 -
  448.14 -***********************************************************************************
  448.15 -LICENSE #1: 
  448.16 -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
  448.17 -
  448.18 -1. Definitions.
  448.19 -1.1. "Contributor" means each individual or entity that
  448.20 -creates or contributes to the creation of Modifications.
  448.21 -1.2. "Contributor Version" means the combination of the
  448.22 -Original Software, prior Modifications used by a
  448.23 -Contributor (if any), and the Modifications made by that
  448.24 -particular Contributor.
  448.25 -1.3. "Covered Software" means (a) the Original Software, or
  448.26 -(b) Modifications, or (c) the combination of files
  448.27 -containing Original Software with files containing
  448.28 -Modifications, in each case including portions thereof.
  448.29 -1.4. "Executable" means the Covered Software in any form
  448.30 -other than Source Code. 
  448.31 -1.5. "Initial Developer" means the individual or entity
  448.32 -that first makes Original Software available under this
  448.33 -License. 
  448.34 -1.6. "Larger Work" means a work which combines Covered
  448.35 -Software or portions thereof with code not governed by the
  448.36 -terms of this License.
  448.37 -1.7. "License" means this document.
  448.38 -1.8. "Licensable" means having the right to grant, to the
  448.39 -maximum extent possible, whether at the time of the initial
  448.40 -grant or subsequently acquired, any and all of the rights
  448.41 -conveyed herein.
  448.42 -1.9. "Modifications" means the Source Code and Executable
  448.43 -form of any of the following: 
  448.44 -A. Any file that results from an addition to,
  448.45 -deletion from or modification of the contents of a
  448.46 -file containing Original Software or previous
  448.47 -Modifications; 
  448.48 -B. Any new file that contains any part of the
  448.49 -Original Software or previous Modification; or 
  448.50 -C. Any new file that is contributed or otherwise made
  448.51 -available under the terms of this License.
  448.52 -1.10. "Original Software" means the Source Code and
  448.53 -Executable form of computer software code that is
  448.54 -originally released under this License. 
  448.55 -1.11. "Patent Claims" means any patent claim(s), now owned
  448.56 -or hereafter acquired, including without limitation,
  448.57 -method, process, and apparatus claims, in any patent
  448.58 -Licensable by grantor. 
  448.59 -1.12. "Source Code" means (a) the common form of computer
  448.60 -software code in which modifications are made and (b)
  448.61 -associated documentation included in or with such code.
  448.62 -1.13. "You" (or "Your") means an individual or a legal
  448.63 -entity exercising rights under, and complying with all of
  448.64 -the terms of, this License. For legal entities, "You"
  448.65 -includes any entity which controls, is controlled by, or is
  448.66 -under common control with You. For purposes of this
  448.67 -definition, "control" means (a) the power, direct or
  448.68 -indirect, to cause the direction or management of such
  448.69 -entity, whether by contract or otherwise, or (b) ownership
  448.70 -of more than fifty percent (50%) of the outstanding shares
  448.71 -or beneficial ownership of such entity.
  448.72 -2. License Grants. 
  448.73 -2.1. The Initial Developer Grant.
  448.74 -Conditioned upon Your compliance with Section 3.1 below and
  448.75 -subject to third party intellectual property claims, the
  448.76 -Initial Developer hereby grants You a world-wide,
  448.77 -royalty-free, non-exclusive license: 
  448.78 -(a) under intellectual property rights (other than
  448.79 -patent or trademark) Licensable by Initial Developer,
  448.80 -to use, reproduce, modify, display, perform,
  448.81 -sublicense and distribute the Original Software (or
  448.82 -portions thereof), with or without Modifications,
  448.83 -and/or as part of a Larger Work; and 
  448.84 -(b) under Patent Claims infringed by the making,
  448.85 -using or selling of Original Software, to make, have
  448.86 -made, use, practice, sell, and offer for sale, and/or
  448.87 -otherwise dispose of the Original Software (or
  448.88 -portions thereof). 
  448.89 -(c) The licenses granted in Sections 2.1(a) and (b)
  448.90 -are effective on the date Initial Developer first
  448.91 -distributes or otherwise makes the Original Software
  448.92 -available to a third party under the terms of this
  448.93 -License. 
  448.94 -(d) Notwithstanding Section 2.1(b) above, no patent
  448.95 -license is granted: (1) for code that You delete from
  448.96 -the Original Software, or (2) for infringements
  448.97 -caused by: (i) the modification of the Original
  448.98 -Software, or (ii) the combination of the Original
  448.99 -Software with other software or devices. 
 448.100 -2.2. Contributor Grant.
 448.101 -Conditioned upon Your compliance with Section 3.1 below and
 448.102 -subject to third party intellectual property claims, each
 448.103 -Contributor hereby grants You a world-wide, royalty-free,
 448.104 -non-exclusive license:
 448.105 -(a) under intellectual property rights (other than
 448.106 -patent or trademark) Licensable by Contributor to
 448.107 -use, reproduce, modify, display, perform, sublicense
 448.108 -and distribute the Modifications created by such
 448.109 -Contributor (or portions thereof), either on an
 448.110 -unmodified basis, with other Modifications, as
 448.111 -Covered Software and/or as part of a Larger Work; and
 448.112 -(b) under Patent Claims infringed by the making,
 448.113 -using, or selling of Modifications made by that
 448.114 -Contributor either alone and/or in combination with
 448.115 -its Contributor Version (or portions of such
 448.116 -combination), to make, use, sell, offer for sale,
 448.117 -have made, and/or otherwise dispose of: (1)
 448.118 -Modifications made by that Contributor (or portions
 448.119 -thereof); and (2) the combination of Modifications
 448.120 -made by that Contributor with its Contributor Version
 448.121 -(or portions of such combination). 
 448.122 -(c) The licenses granted in Sections 2.2(a) and
 448.123 -2.2(b) are effective on the date Contributor first
 448.124 -distributes or otherwise makes the Modifications
 448.125 -available to a third party. 
 448.126 -(d) Notwithstanding Section 2.2(b) above, no patent
 448.127 -license is granted: (1) for any code that Contributor
 448.128 -has deleted from the Contributor Version; (2) for
 448.129 -infringements caused by: (i) third party
 448.130 -modifications of Contributor Version, or (ii) the
 448.131 -combination of Modifications made by that Contributor
 448.132 -with other software (except as part of the
 448.133 -Contributor Version) or other devices; or (3) under
 448.134 -Patent Claims infringed by Covered Software in the
 448.135 -absence of Modifications made by that Contributor. 
 448.136 -3. Distribution Obligations.
 448.137 -3.1. Availability of Source Code.
 448.138 -Any Covered Software that You distribute or otherwise make
 448.139 -available in Executable form must also be made available in
 448.140 -Source Code form and that Source Code form must be
 448.141 -distributed only under the terms of this License. You must
 448.142 -include a copy of this License with every copy of the
 448.143 -Source Code form of the Covered Software You distribute or
 448.144 -otherwise make available. You must inform recipients of any
 448.145 -such Covered Software in Executable form as to how they can
 448.146 -obtain such Covered Software in Source Code form in a
 448.147 -reasonable manner on or through a medium customarily used
 448.148 -for software exchange.
 448.149 -3.2. Modifications.
 448.150 -The Modifications that You create or to which You
 448.151 -contribute are governed by the terms of this License. You
 448.152 -represent that You believe Your Modifications are Your
 448.153 -original creation(s) and/or You have sufficient rights to
 448.154 -grant the rights conveyed by this License.
 448.155 -3.3. Required Notices.
 448.156 -You must include a notice in each of Your Modifications
 448.157 -that identifies You as the Contributor of the Modification.
 448.158 -You may not remove or alter any copyright, patent or
 448.159 -trademark notices contained within the Covered Software, or
 448.160 -any notices of licensing or any descriptive text giving
 448.161 -attribution to any Contributor or the Initial Developer.
 448.162 -3.4. Application of Additional Terms.
 448.163 -You may not offer or impose any terms on any Covered
 448.164 -Software in Source Code form that alters or restricts the
 448.165 -applicable version of this License or the recipients'
 448.166 -rights hereunder. You may choose to offer, and to charge a
 448.167 -fee for, warranty, support, indemnity or liability
 448.168 -obligations to one or more recipients of Covered Software.
 448.169 -However, you may do so only on Your own behalf, and not on
 448.170 -behalf of the Initial Developer or any Contributor. You
 448.171 -must make it absolutely clear that any such warranty,
 448.172 -support, indemnity or liability obligation is offered by
 448.173 -You alone, and You hereby agree to indemnify the Initial
 448.174 -Developer and every Contributor for any liability incurred
 448.175 -by the Initial Developer or such Contributor as a result of
 448.176 -warranty, support, indemnity or liability terms You offer.
 448.177 -3.5. Distribution of Executable Versions.
 448.178 -You may distribute the Executable form of the Covered
 448.179 -Software under the terms of this License or under the terms
 448.180 -of a license of Your choice, which may contain terms
 448.181 -different from this License, provided that You are in
 448.182 -compliance with the terms of this License and that the
 448.183 -license for the Executable form does not attempt to limit
 448.184 -or alter the recipient's rights in the Source Code form
 448.185 -from the rights set forth in this License. If You
 448.186 -distribute the Covered Software in Executable form under a
 448.187 -different license, You must make it absolutely clear that
 448.188 -any terms which differ from this License are offered by You
 448.189 -alone, not by the Initial Developer or Contributor. You
 448.190 -hereby agree to indemnify the Initial Developer and every
 448.191 -Contributor for any liability incurred by the Initial
 448.192 -Developer or such Contributor as a result of any such terms
 448.193 -You offer.
 448.194 -3.6. Larger Works.
 448.195 -You may create a Larger Work by combining Covered Software
 448.196 -with other code not governed by the terms of this License
 448.197 -and distribute the Larger Work as a single product. In such
 448.198 -a case, You must make sure the requirements of this License
 448.199 -are fulfilled for the Covered Software. 
 448.200 -4. Versions of the License. 
 448.201 -4.1. New Versions.
 448.202 -Sun Microsystems, Inc. is the initial license steward and
 448.203 -may publish revised and/or new versions of this License
 448.204 -from time to time. Each version will be given a
 448.205 -distinguishing version number. Except as provided in
 448.206 -Section 4.3, no one other than the license steward has the
 448.207 -right to modify this License. 
 448.208 -4.2. Effect of New Versions.
 448.209 -You may always continue to use, distribute or otherwise
 448.210 -make the Covered Software available under the terms of the
 448.211 -version of the License under which You originally received
 448.212 -the Covered Software. If the Initial Developer includes a
 448.213 -notice in the Original Software prohibiting it from being
 448.214 -distributed or otherwise made available under any
 448.215 -subsequent version of the License, You must distribute and
 448.216 -make the Covered Software available under the terms of the
 448.217 -version of the License under which You originally received
 448.218 -the Covered Software. Otherwise, You may also choose to
 448.219 -use, distribute or otherwise make the Covered Software
 448.220 -available under the terms of any subsequent version of the
 448.221 -License published by the license steward. 
 448.222 -4.3. Modified Versions.
 448.223 -When You are an Initial Developer and You want to create a
 448.224 -new license for Your Original Software, You may create and
 448.225 -use a modified version of this License if You: (a) rename
 448.226 -the license and remove any references to the name of the
 448.227 -license steward (except to note that the license differs
 448.228 -from this License); and (b) otherwise make it clear that
 448.229 -the license contains terms which differ from this License.
 448.230 -5. DISCLAIMER OF WARRANTY.
 448.231 -COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
 448.232 -BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
 448.233 -INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
 448.234 -SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
 448.235 -PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
 448.236 -PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
 448.237 -COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
 448.238 -INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
 448.239 -ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
 448.240 -WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
 448.241 -ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
 448.242 -DISCLAIMER. 
 448.243 -6. TERMINATION. 
 448.244 -6.1. This License and the rights granted hereunder will
 448.245 -terminate automatically if You fail to comply with terms
 448.246 -herein and fail to cure such breach within 30 days of
 448.247 -becoming aware of the breach. Provisions which, by their
 448.248 -nature, must remain in effect beyond the termination of
 448.249 -this License shall survive.
 448.250 -6.2. If You assert a patent infringement claim (excluding
 448.251 -declaratory judgment actions) against Initial Developer or
 448.252 -a Contributor (the Initial Developer or Contributor against
 448.253 -whom You assert such claim is referred to as "Participant")
 448.254 -alleging that the Participant Software (meaning the
 448.255 -Contributor Version where the Participant is a Contributor
 448.256 -or the Original Software where the Participant is the
 448.257 -Initial Developer) directly or indirectly infringes any
 448.258 -patent, then any and all rights granted directly or
 448.259 -indirectly to You by such Participant, the Initial
 448.260 -Developer (if the Initial Developer is not the Participant)
 448.261 -and all Contributors under Sections 2.1 and/or 2.2 of this
 448.262 -License shall, upon 60 days notice from Participant
 448.263 -terminate prospectively and automatically at the expiration
 448.264 -of such 60 day notice period, unless if within such 60 day
 448.265 -period You withdraw Your claim with respect to the
 448.266 -Participant Software against such Participant either
 448.267 -unilaterally or pursuant to a written agreement with
 448.268 -Participant.
 448.269 -6.3. In the event of termination under Sections 6.1 or 6.2
 448.270 -above, all end user licenses that have been validly granted
 448.271 -by You or any distributor hereunder prior to termination
 448.272 -(excluding licenses granted to You by any distributor)
 448.273 -shall survive termination.
 448.274 -7. LIMITATION OF LIABILITY.
 448.275 -UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
 448.276 -(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
 448.277 -INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
 448.278 -COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
 448.279 -LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
 448.280 -CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
 448.281 -LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
 448.282 -STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
 448.283 -COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
 448.284 -INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
 448.285 -LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
 448.286 -INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
 448.287 -APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
 448.288 -NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
 448.289 -CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
 448.290 -APPLY TO YOU.
 448.291 -8. U.S. GOVERNMENT END USERS.
 448.292 -The Covered Software is a "commercial item," as that term is
 448.293 -defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
 448.294 -computer software" (as that term is defined at 48 C.F.R. ¤
 448.295 -252.227-7014(a)(1)) and "commercial computer software
 448.296 -documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
 448.297 -1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
 448.298 -through 227.7202-4 (June 1995), all U.S. Government End Users
 448.299 -acquire Covered Software with only those rights set forth herein.
 448.300 -This U.S. Government Rights clause is in lieu of, and supersedes,
 448.301 -any other FAR, DFAR, or other clause or provision that addresses
 448.302 -Government rights in computer software under this License.
 448.303 -9. MISCELLANEOUS.
 448.304 -This License represents the complete agreement concerning subject
 448.305 -matter hereof. If any provision of this License is held to be
 448.306 -unenforceable, such provision shall be reformed only to the
 448.307 -extent necessary to make it enforceable. This License shall be
 448.308 -governed by the law of the jurisdiction specified in a notice
 448.309 -contained within the Original Software (except to the extent
 448.310 -applicable law, if any, provides otherwise), excluding such
 448.311 -jurisdiction's conflict-of-law provisions. Any litigation
 448.312 -relating to this License shall be subject to the jurisdiction of
 448.313 -the courts located in the jurisdiction and venue specified in a
 448.314 -notice contained within the Original Software, with the losing
 448.315 -party responsible for costs, including, without limitation, court
 448.316 -costs and reasonable attorneys' fees and expenses. The
 448.317 -application of the United Nations Convention on Contracts for the
 448.318 -International Sale of Goods is expressly excluded. Any law or
 448.319 -regulation which provides that the language of a contract shall
 448.320 -be construed against the drafter shall not apply to this License.
 448.321 -You agree that You alone are responsible for compliance with the
 448.322 -United States export administration regulations (and the export
 448.323 -control laws and regulation of any other countries) when You use,
 448.324 -distribute or otherwise make available any Covered Software.
 448.325 -10. RESPONSIBILITY FOR CLAIMS.
 448.326 -As between Initial Developer and the Contributors, each party is
 448.327 -responsible for claims and damages arising, directly or
 448.328 -indirectly, out of its utilization of rights under this License
 448.329 -and You agree to work with Initial Developer and Contributors to
 448.330 -distribute such responsibility on an equitable basis. Nothing
 448.331 -herein is intended or shall be deemed to constitute any admission
 448.332 -of liability.
 448.333 -
 448.334 -
 448.335 -***********************************************************************************
 448.336 -
 448.337 -LICENSE #2: 
 448.338 -The GNU General Public License (GPL) Version 2, June 1991 
 448.339 -Copyright (C) 1989, 1991 Free Software Foundation, Inc.
 448.340 -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 448.341 -Everyone is permitted to copy and distribute verbatim copies
 448.342 -of this license document, but changing it is not allowed.
 448.343 -Preamble
 448.344 -The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
 448.345 -When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
 448.346 -To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
 448.347 -For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
 448.348 -We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
 448.349 -Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
 448.350 -Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
 448.351 -The precise terms and conditions for copying, distribution and modification follow.
 448.352 -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 448.353 -0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
 448.354 -Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
 448.355 -1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
 448.356 -You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
 448.357 -2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
 448.358 -a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
 448.359 -b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
 448.360 -c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
 448.361 -These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
 448.362 -Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
 448.363 -In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
 448.364 -3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
 448.365 -a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 448.366 -b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 448.367 -c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
 448.368 -The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
 448.369 -If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
 448.370 -4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
 448.371 -5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
 448.372 -6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
 448.373 -7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
 448.374 -If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
 448.375 -It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
 448.376 -This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
 448.377 -8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
 448.378 -9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
 448.379 -Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
 448.380 -10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
 448.381 -NO WARRANTY
 448.382 -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 448.383 -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 448.384 -END OF TERMS AND CONDITIONS
 448.385 -How to Apply These Terms to Your New Programs
 448.386 -If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
 448.387 -To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
 448.388 -One line to give the program's name and a brief idea of what it does.
 448.389 -Copyright (C) <year> <name of author>
 448.390 -This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 448.391 -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 448.392 -You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 448.393 -Also add information on how to contact you by electronic and paper mail.
 448.394 -If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
 448.395 -Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
 448.396 -The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
 448.397 -You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
 448.398 -Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
 448.399 -signature of Ty Coon, 1 April 1989
 448.400 -Ty Coon, President of Vice
 448.401 -This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
 448.402 -
 448.403 -"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
 448.404 -
 448.405 -Certain source files distributed by Sun Microsystems, Inc.  are subject to 
 448.406 -the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words 
 448.407 -"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." 
 448.408 -
 448.409 -   Linking this library statically or dynamically with other modules is making a combined work based on this library.  Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination. 
 448.410 -
 448.411 -   As a special exception, the copyright holders of this library give you 
 448.412 -permission to link this library with independent modules to produce an 
 448.413 -executable, regardless of the license terms of these independent modules, 
 448.414 -and to copy and distribute the resulting executable under terms of your 
 448.415 -choice, provided that you also meet, for each linked independent module, 
 448.416 -the terms and conditions of the license of that module.  An independent 
 448.417 -module is a module which is not derived from or based on this library.  If 
 448.418 -you modify this library, you may extend this exception to your version of 
 448.419 -the library, but you are not obligated to do so.  If you do not wish to do 
 448.420 -so, delete this exception statement from your version.
 448.421 -
 448.422 -
   449.1 --- a/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/panels/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   449.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   449.3 @@ -1,49 +0,0 @@
   449.4 -# 
   449.5 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   449.6 -# 
   449.7 -# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   449.8 -# 
   449.9 -# The contents of this file are subject to the terms of either the GNU General Public
  449.10 -# License Version 2 only ("GPL") or the Common Development and Distribution
  449.11 -# License("CDDL") (collectively, the "License"). You may not use this file except in
  449.12 -# compliance with the License. You can obtain a copy of the License at
  449.13 -# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  449.14 -# License for the specific language governing permissions and limitations under the
  449.15 -# License.  When distributing the software, include this License Header Notice in
  449.16 -# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  449.17 -# designates this particular file as subject to the "Classpath" exception as provided
  449.18 -# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  449.19 -# If applicable, add the following below the License Header, with the fields enclosed
  449.20 -# by brackets [] replaced by your own identifying information:
  449.21 -# "Portions Copyrighted [year] [name of copyright owner]"
  449.22 -# 
  449.23 -# Contributor(s):
  449.24 -# 
  449.25 -# The Original Software is NetBeans. The Initial Developer of the Original Software
  449.26 -# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  449.27 -# Rights Reserved.
  449.28 -# 
  449.29 -# If you wish your version of this file to be governed by only the CDDL or only the
  449.30 -# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  449.31 -# this software in this distribution under the [CDDL or GPL Version 2] license." If
  449.32 -# you do not indicate a single choice of license, a recipient has the option to
  449.33 -# distribute your version of this file under either the CDDL, the GPL Version 2 or
  449.34 -# to extend the choice of license to its licensees as provided above. However, if you
  449.35 -# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  449.36 -# option applies only if the new code is made subject to such option by the copyright
  449.37 -# holder.
  449.38 -# 
  449.39 -
  449.40 -#####################################################################################
  449.41 -# NbBasePanel.java
  449.42 -NBP.title=Sun Studio Installation
  449.43 -NBP.description=Choose the installation folder and additional options.
  449.44 -
  449.45 -NBP.destination.label.text=&Install the Sun Studio to:
  449.46 -NBP.destination.button.text=B&rowse...
  449.47 -
  449.48 -NBP.jdk.location.label.text=&JDK\u2122 for the NetBeans IDE:
  449.49 -NBP.browse.button.text=Br&owse...
  449.50 -
  449.51 -NBP.minimum.jdk.version=1.5.0.6
  449.52 -NBP.maximum.jdk.version=10.0.0
   450.1 --- a/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sample/panels/SSBasePanel.java	Thu Jul 10 19:13:29 2008 +0800
   450.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   450.3 @@ -1,266 +0,0 @@
   450.4 -/*
   450.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   450.6 - * 
   450.7 - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   450.8 - * 
   450.9 - * The contents of this file are subject to the terms of either the GNU General
  450.10 - * Public License Version 2 only ("GPL") or the Common Development and Distribution
  450.11 - * License("CDDL") (collectively, the "License"). You may not use this file except in
  450.12 - * compliance with the License. You can obtain a copy of the License at
  450.13 - * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  450.14 - * License for the specific language governing permissions and limitations under the
  450.15 - * License.  When distributing the software, include this License Header Notice in
  450.16 - * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  450.17 - * designates this particular file as subject to the "Classpath" exception as
  450.18 - * provided by Sun in the GPL Version 2 section of the License file that
  450.19 - * accompanied this code. If applicable, add the following below the License Header,
  450.20 - * with the fields enclosed by brackets [] replaced by your own identifying
  450.21 - * information: "Portions Copyrighted [year] [name of copyright owner]"
  450.22 - * 
  450.23 - * Contributor(s):
  450.24 - * 
  450.25 - * The Original Software is NetBeans. The Initial Developer of the Original Software
  450.26 - * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  450.27 - * Rights Reserved.
  450.28 - * 
  450.29 - * If you wish your version of this file to be governed by only the CDDL or only the
  450.30 - * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  450.31 - * this software in this distribution under the [CDDL or GPL Version 2] license." If
  450.32 - * you do not indicate a single choice of license, a recipient has the option to
  450.33 - * distribute your version of this file under either the CDDL, the GPL Version 2 or
  450.34 - * to extend the choice of license to its licensees as provided above. However, if
  450.35 - * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  450.36 - * the option applies only if the new code is made subject to such option by the
  450.37 - * copyright holder.
  450.38 - */
  450.39 -
  450.40 -package org.netbeans.installer.products.sample.panels;
  450.41 -
  450.42 -import org.netbeans.installer.utils.helper.swing.NbiLabel;
  450.43 -import org.netbeans.installer.utils.ResourceUtils;
  450.44 -import org.netbeans.installer.utils.helper.swing.NbiButton;
  450.45 -import org.netbeans.installer.utils.helper.swing.NbiCheckBox;
  450.46 -import org.netbeans.installer.utils.helper.swing.NbiTextField;
  450.47 -import org.netbeans.installer.wizard.components.panels.DestinationPanel;
  450.48 -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi;
  450.49 -import org.netbeans.installer.wizard.ui.SwingUi;
  450.50 -import org.netbeans.installer.wizard.ui.WizardUi;
  450.51 -import org.netbeans.installer.wizard.containers.SwingContainer;
  450.52 -
  450.53 -public class SSBasePanel extends DestinationPanel {
  450.54 -    
  450.55 -    public SSBasePanel() {
  450.56 -        
  450.57 -        setProperty(TITLE_PROPERTY,
  450.58 -                DEFAULT_TITLE);
  450.59 -        setProperty(DESCRIPTION_PROPERTY,
  450.60 -                DEFAULT_DESCRIPTION);
  450.61 -        
  450.62 -        setProperty(DESTINATION_LABEL_TEXT_PROPERTY,
  450.63 -                DEFAULT_DESTINATION_LABEL_TEXT);
  450.64 -        setProperty(DESTINATION_BUTTON_TEXT_PROPERTY,
  450.65 -                DEFAULT_DESTINATION_BUTTON_TEXT);
  450.66 -        
  450.67 -        setProperty(BROWSE_BUTTON_TEXT_PROPERTY,
  450.68 -                DEFAULT_BROWSE_BUTTON_TEXT);        
  450.69 -    }
  450.70 -    
  450.71 -    @Override
  450.72 -    public WizardUi getWizardUi() {
  450.73 -        if (wizardUi == null) {
  450.74 -            wizardUi = new SSBaseDestinationPanelUi(this);
  450.75 -        }
  450.76 -        
  450.77 -        return wizardUi;
  450.78 -    }
  450.79 -    
  450.80 -    @Override
  450.81 -    public void initialize() {
  450.82 -        super.initialize();                
  450.83 -    }
  450.84 -        
  450.85 -    /////////////////////////////////////////////////////////////////////////////////
  450.86 -    // Inner Classes
  450.87 -    private static class SSBaseDestinationPanelUi extends DestinationPanelUi {
  450.88 -        protected SSBasePanel panel;
  450.89 -        
  450.90 -        public SSBaseDestinationPanelUi(SSBasePanel panel) {
  450.91 -            super(panel);
  450.92 -            this.panel = panel;
  450.93 -        }
  450.94 -        
  450.95 -        @Override
  450.96 -        public SwingUi getSwingUi(SwingContainer container) {
  450.97 -            if (swingUi == null) {
  450.98 -                swingUi = new SSBaseDestinationPanelSwingUi(panel, container);
  450.99 -            }            
 450.100 -            return super.getSwingUi(container);
 450.101 -        }
 450.102 -    }
 450.103 -    
 450.104 -    private static class SSBaseDestinationPanelSwingUi extends DestinationPanelSwingUi {
 450.105 -       // protected SSBasePanel panel;
 450.106 -        
 450.107 -        /*
 450.108 -        private NbiTextField alternateRoot;
 450.109 -        private NbiButton alternateRootButton;
 450.110 -        private NbiCheckBox copySystemPrequesties;
 450.111 -        private NbiCheckBox createSymLinks;
 450.112 -        private NbiCheckBox installPatches;
 450.113 -        private NbiCheckBox currentZoneOnly;
 450.114 -        
 450.115 -        private NbiLabel alternateRootLabel;
 450.116 -          */      
 450.117 -        public SSBaseDestinationPanelSwingUi(
 450.118 -                final SSBasePanel panel,
 450.119 -                final SwingContainer container) {
 450.120 -            super(panel, container);            
 450.121 -            this.panel = panel;            
 450.122 -          //  initComponents();
 450.123 -        }
 450.124 -        
 450.125 -        // protected ////////////////////////////////////////////////////////////////
 450.126 -        @Override
 450.127 -        protected void initialize() {
 450.128 -            super.initialize();
 450.129 -        }
 450.130 -        
 450.131 -        @Override
 450.132 -        protected void saveInput() {
 450.133 -            super.saveInput();                        
 450.134 -        }
 450.135 -        
 450.136 -        @Override
 450.137 -        protected String validateInput() {
 450.138 -            String errorMessage = super.validateInput();
 450.139 -            // This hack allows us to install in /opt while "SUNWspro" is a part of 
 450.140 -            // package path
 450.141 -            if (errorMessage != null 
 450.142 -                    && errorMessage.startsWith(component.
 450.143 -                    getProperty(DestinationPanel.ERROR_NOT_EMPTY_PROPERTY))) {
 450.144 -                errorMessage = null;
 450.145 -            }
 450.146 -            return errorMessage;
 450.147 -        }
 450.148 -        
 450.149 -        /*
 450.150 -        private void initComponents() {
 450.151 -            alternateRoot = new NbiTextField();
 450.152 -            alternateRootButton = new NbiButton();
 450.153 -            alternateRootButton.setText("Browse...");
 450.154 -            copySystemPrequesties = new NbiCheckBox();            
 450.155 -            copySystemPrequesties.setSelected(true);
 450.156 -            createSymLinks = new NbiCheckBox();
 450.157 -            createSymLinks.setSelected(true);
 450.158 -            installPatches = new NbiCheckBox();            
 450.159 -            installPatches.setSelected(true);
 450.160 -            currentZoneOnly = new NbiCheckBox();
 450.161 -            
 450.162 -            alternateRootLabel = new NbiLabel();
 450.163 -            alternateRootLabel.setText("Use alternate root");            
 450.164 -            copySystemPrequesties.setText("Copy system prequesties");                        
 450.165 -            createSymLinks.setText("Create symlinks in /usr/bin");            
 450.166 -            installPatches.setText("Install product patches");            
 450.167 -            currentZoneOnly.setText("Install product in current zone only"); 
 450.168 -            
 450.169 -            
 450.170 -            add(alternateRootLabel, new GridBagConstraints(
 450.171 -                    0, 2,                             // x, y
 450.172 -                    2, 1,                             // width, height
 450.173 -                    1.0, 0.0,                         // weight-x, weight-y
 450.174 -                    GridBagConstraints.LAST_LINE_START,    // anchor
 450.175 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.176 -                    new Insets(11, 11, 0, 11),        // padding
 450.177 -                    0, 0));                           // padx, pady - ???
 450.178 -            add(alternateRoot, new GridBagConstraints(
 450.179 -                    0, 3,                             // x, y
 450.180 -                    1, 1,                             // width, height
 450.181 -                    0.0, 0.0,                         // weight-x, weight-y
 450.182 -                    GridBagConstraints.LINE_START,    // anchor
 450.183 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.184 -                    new Insets(4, 11, 0, 0),        // padding
 450.185 -                    0, 0));
 450.186 -            add(alternateRootButton, new GridBagConstraints(
 450.187 -                    1, 3,                             // x, y
 450.188 -                    1, 1,                             // width, height
 450.189 -                    0.0, 0.0,                         // weight-x, weight-y
 450.190 -                    GridBagConstraints.LINE_START,    // anchor
 450.191 -                    GridBagConstraints.NONE,    // fill
 450.192 -                    new Insets(4, 4, 0, 11),        // padding
 450.193 -                    0, 0));                  
 450.194 -            JPanel pane = new JPanel(new GridBagLayout());
 450.195 -            add(pane , new GridBagConstraints(
 450.196 -                    0, 5,                             // x, y
 450.197 -                    1, 10,                             // width, height
 450.198 -                    1.0, 0.0,                         // weight-x, weight-y
 450.199 -                    GridBagConstraints.LINE_START,    // anchor
 450.200 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.201 -                    new Insets(11, 11, 0, 11),        // padding
 450.202 -                    0, 0));                           // padx, pady - ??? );
 450.203 -            
 450.204 -            pane.add(copySystemPrequesties, new GridBagConstraints(
 450.205 -                    0, 0,                             // x, y
 450.206 -                    1, 1,                             // width, height
 450.207 -                    10.0, 0.0,                         // weight-x, weight-y
 450.208 -                    GridBagConstraints.LINE_START,    // anchor
 450.209 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.210 -                    new Insets(0, 0, 0, 0),        // padding
 450.211 -                    0, 0));                           // padx, pady - ???
 450.212 -                
 450.213 -            pane.add(createSymLinks, new GridBagConstraints(
 450.214 -                    0, 3,                             // x, y
 450.215 -                    1, 1,                             // width, height
 450.216 -                    0.0, 0.0,                         // weight-x, weight-y
 450.217 -                    GridBagConstraints.LINE_START,    // anchor
 450.218 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.219 -                    new Insets(0, 0, 0, 0),        // padding
 450.220 -                    0, 0));                           // padx, pady - ???
 450.221 -           
 450.222 -            pane.add(installPatches, new GridBagConstraints(
 450.223 -                    0, 4,                             // x, y
 450.224 -                    1, 1,                             // width, height
 450.225 -                    0.0, 0.0,                         // weight-x, weight-y
 450.226 -                    GridBagConstraints.LINE_START,    // anchor
 450.227 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.228 -                    new Insets(0, 0, 0, 0),        // padding
 450.229 -                    0, 0));                           // padx, pady - ???
 450.230 -              // padx, pady - ???
 450.231 -
 450.232 -            pane.add(currentZoneOnly, new GridBagConstraints(
 450.233 -                    0, 5,                             // x, y
 450.234 -                    1, 1,                             // width, height
 450.235 -                    0.0, 0.0,                         // weight-x, weight-y
 450.236 -                    GridBagConstraints.LINE_START,    // anchor
 450.237 -                    GridBagConstraints.HORIZONTAL,    // fill
 450.238 -                    new Insets(0, 0, 0, 0),        // padding
 450.239 -                    0, 0));                           // padx, pady - ???
 450.240 -
 450.241 -       
 450.242 -        }
 450.243 -        */       
 450.244 -    }
 450.245 -    
 450.246 -    /////////////////////////////////////////////////////////////////////////////////
 450.247 -    // Constants
 450.248 -    public static final String BROWSE_BUTTON_TEXT_PROPERTY =
 450.249 -            "browse.button.text"; // NOI18N
 450.250 -    
 450.251 -    public static final String DEFAULT_TITLE =
 450.252 -            ResourceUtils.getString(SSBasePanel.class,
 450.253 -            "NBP.title"); // NOI18N
 450.254 -    public static final String DEFAULT_DESCRIPTION =
 450.255 -            ResourceUtils.getString(SSBasePanel.class,
 450.256 -            "NBP.description"); // NOI18N
 450.257 -    
 450.258 -    public static final String DEFAULT_DESTINATION_LABEL_TEXT =
 450.259 -            ResourceUtils.getString(SSBasePanel.class,
 450.260 -            "NBP.destination.label.text"); // NOI18N
 450.261 -    public static final String DEFAULT_DESTINATION_BUTTON_TEXT =
 450.262 -            ResourceUtils.getString(SSBasePanel.class,
 450.263 -            "NBP.destination.button.text"); // NOI18N
 450.264 -    
 450.265 -    public static final String DEFAULT_BROWSE_BUTTON_TEXT =
 450.266 -            ResourceUtils.getString(SSBasePanel.class,
 450.267 -            "NBP.browse.button.text"); // NOI18N
 450.268 -    
 450.269 -}
   451.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   451.2 +++ b/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sunstudio/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   451.3 @@ -0,0 +1,85 @@
   451.4 +# 
   451.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   451.6 +# 
   451.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   451.8 +# 
   451.9 +# The contents of this file are subject to the terms of either the GNU General Public
  451.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  451.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  451.12 +# compliance with the License. You can obtain a copy of the License at
  451.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  451.14 +# License for the specific language governing permissions and limitations under the
  451.15 +# License.  When distributing the software, include this License Header Notice in
  451.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  451.17 +# designates this particular file as subject to the "Classpath" exception as provided
  451.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  451.19 +# If applicable, add the following below the License Header, with the fields enclosed
  451.20 +# by brackets [] replaced by your own identifying information:
  451.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  451.22 +# 
  451.23 +# Contributor(s):
  451.24 +# 
  451.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  451.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  451.27 +# Rights Reserved.
  451.28 +# 
  451.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  451.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  451.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  451.32 +# you do not indicate a single choice of license, a recipient has the option to
  451.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  451.34 +# to extend the choice of license to its licensees as provided above. However, if you
  451.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  451.36 +# option applies only if the new code is made subject to such option by the copyright
  451.37 +# holder.
  451.38 +# 
  451.39 +
  451.40 +################################################################################
  451.41 +# ConfigurationLogic.java
  451.42 +CL.install.jdk.home=Setting the appropriate JDK home
  451.43 +CL.install.netbeans.clusters=Adding IDE clusters to the active clusters list
  451.44 +CL.install.product.id=Creating the productid file
  451.45 +CL.install.license.accepted=Creating the license_accepted marker file
  451.46 +CL.install.irrelevant.files=Removing files irrelevant to the current platform
  451.47 +CL.install.files.permissions=Correcting files permissions
  451.48 +CL.install.desktop=Creating desktop shortcut
  451.49 +CL.install.start.menu=Creating Start Menu entries
  451.50 +CL.install.netbeans.conf=Updating the netbeans.conf file
  451.51 +CL.install.glassfish.integration=Integrating the IDE with existing GlassFish installations
  451.52 +CL.install.tomcat.integration=Integrating the IDE with existing Apache Tomcat installations
  451.53 +
  451.54 +CL.uninstall.license.accepted=Removing the license_accepted marker file
  451.55 +CL.uninstall.product.id=Removing the productid file
  451.56 +CL.uninstall.start.menu=Removing desktop shortcut
  451.57 +CL.uninstall.desktop=Removing Start Menu entries
  451.58 +
  451.59 +CL.install.error.jdk.home=Cannot set the selected JDK home
  451.60 +CL.install.error.netbeans.clusters=Cannot add NetBeans IDE clusters to the active clusters list
  451.61 +CL.install.error.product.id=Cannot create the productid file
  451.62 +CL.install.error.license.accepted=Cannot create the license_accepted marker file
  451.63 +CL.install.error.irrelevant.files=Cannot completely remove irrelevant files
  451.64 +CL.install.error.files.permissions=Cannot completely correct files permissions
  451.65 +CL.install.error.desktop=Cannot create desktop shortcut
  451.66 +CL.install.error.start.menu=Cannot create Start Menu entries
  451.67 +CL.install.error.netbeans.conf=Cannot update the netbeans.conf file
  451.68 +CL.install.error.glassfish.integration=Failed to integrate the IDE with existing GlassFish installations
  451.69 +CL.install.error.tomcat.integration=Failed to integrate the IDE with existing Apache Tomcat installations
  451.70 +
  451.71 +CL.uninstall.error.license.accepted=Cannot remove the license_accepted marker file
  451.72 +CL.uninstall.error.product.id=Cannot remove the productid file
  451.73 +CL.uninstall.error.start.menu=Cannot remove desktop shortcut
  451.74 +CL.uninstall.error.desktop=Cannot remove Start Menu entries
  451.75 +CL.uninstall.warning.running=It appears that an instance of the IDE is still running:\na lock file exists at \n{0}\nPlease close all instances of the IDE prior to continuing with uninstallation.
  451.76 +CL.uninstall.warning.check.running.failed=Can`t determine netbeans userdir so can`t check whether NetBeans IDE is running or not
  451.77 +
  451.78 +# OS Integration ###############################################################
  451.79 +CL.desktop.shortcut.name=NetBeans IDE {display-version}
  451.80 +CL.desktop.shortcut.description=The only IDE you need
  451.81 +CL.desktop.shortcut.path=NetBeans {display-version}
  451.82 +
  451.83 +CL.start.menu.shortcut.name=NetBeans IDE {display-version}
  451.84 +CL.start.menu.shortcut.name.macosx=NetBeans IDE {display-version}
  451.85 +CL.start.menu.shortcut.description=The only IDE you need
  451.86 +CL.start.menu.shortcut.path=NetBeans
  451.87 +
  451.88 +CL.system.display.name=NetBeans IDE {display-version}
   452.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   452.2 +++ b/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sunstudio/ConfigurationLogic.java	Thu Jul 10 19:50:39 2008 +0800
   452.3 @@ -0,0 +1,132 @@
   452.4 +/*
   452.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   452.6 + * 
   452.7 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   452.8 + * 
   452.9 + * The contents of this file are subject to the terms of either the GNU General
  452.10 + * Public License Version 2 only ("GPL") or the Common Development and Distribution
  452.11 + * License("CDDL") (collectively, the "License"). You may not use this file except in
  452.12 + * compliance with the License. You can obtain a copy of the License at
  452.13 + * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  452.14 + * License for the specific language governing permissions and limitations under the
  452.15 + * License.  When distributing the software, include this License Header Notice in
  452.16 + * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  452.17 + * designates this particular file as subject to the "Classpath" exception as
  452.18 + * provided by Sun in the GPL Version 2 section of the License file that
  452.19 + * accompanied this code. If applicable, add the following below the License Header,
  452.20 + * with the fields enclosed by brackets [] replaced by your own identifying
  452.21 + * information: "Portions Copyrighted [year] [name of copyright owner]"
  452.22 + * 
  452.23 + * Contributor(s):
  452.24 + * 
  452.25 + * The Original Software is NetBeans. The Initial Developer of the Original Software
  452.26 + * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  452.27 + * Rights Reserved.
  452.28 + * 
  452.29 + * If you wish your version of this file to be governed by only the CDDL or only the
  452.30 + * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  452.31 + * this software in this distribution under the [CDDL or GPL Version 2] license." If
  452.32 + * you do not indicate a single choice of license, a recipient has the option to
  452.33 + * distribute your version of this file under either the CDDL, the GPL Version 2 or
  452.34 + * to extend the choice of license to its licensees as provided above. However, if
  452.35 + * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  452.36 + * the option applies only if the new code is made subject to such option by the
  452.37 + * copyright holder.
  452.38 + */
  452.39 +
  452.40 +package org.netbeans.installer.products.sunstudio;
  452.41 +
  452.42 +import java.io.File;
  452.43 +import java.io.IOException;
  452.44 +import java.util.Arrays;
  452.45 +import java.util.HashMap;
  452.46 +import java.util.List;
  452.47 +import java.util.Map;
  452.48 +import org.netbeans.installer.product.Registry;
  452.49 +import org.netbeans.installer.product.components.Product;
  452.50 +import org.netbeans.installer.product.components.ProductConfigurationLogic;
  452.51 +import org.netbeans.installer.products.sunstudio.panels.SSBasePanel;
  452.52 +import org.netbeans.installer.utils.FileUtils;
  452.53 +import org.netbeans.installer.utils.LogManager;
  452.54 +import org.netbeans.installer.utils.exceptions.InitializationException;
  452.55 +import org.netbeans.installer.utils.exceptions.InstallationException;
  452.56 +import org.netbeans.installer.utils.exceptions.UninstallationException;
  452.57 +import org.netbeans.installer.utils.helper.RemovalMode;
  452.58 +import org.netbeans.installer.utils.helper.Text;
  452.59 +import org.netbeans.installer.utils.progress.Progress;
  452.60 +import org.netbeans.installer.wizard.components.WizardComponent;
  452.61 +import org.netbeans.installer.utils.progress.CompositeProgress;
  452.62 +import org.netbeans.installer.wizard.Utils;
  452.63 +
  452.64 +public class ConfigurationLogic extends ProductConfigurationLogic {
  452.65 +    
  452.66 +    @Override
  452.67 +    public void install(Progress progress) throws InstallationException {
  452.68 +        progress.setPercentage(Progress.COMPLETE);
  452.69 +    }
  452.70 +
  452.71 +    @Override
  452.72 +    public void uninstall(Progress progress) throws UninstallationException {
  452.73 +        getProduct().getParent().removeChild(getProduct());
  452.74 +        List<Product> products = Registry.getInstance().getProducts();
  452.75 +     
  452.76 +        /*
  452.77 +         * Here the percentage of each product is approximated
  452.78 +         * as a number of its subcomponents
  452.79 +         */
  452.80 +        
  452.81 +        final Map<Product, Integer> percents = new HashMap<Product, Integer>();
  452.82 +        int allProductsSize = 0;
  452.83 +        for (Product product : products) {
  452.84 +            allProductsSize += product.getDataUris().size();
  452.85 +        }
  452.86 +        for (Product product : products) {
  452.87 +            percents.put(product, (Progress.COMPLETE - Progress.START) 
  452.88 +                    * product.getDataUris().size() / allProductsSize);            
  452.89 +        }
  452.90 +
  452.91 +                
  452.92 +        CompositeProgress compositeProgress = new CompositeProgress(); 
  452.93 +        progress.synchronizeFrom(compositeProgress);
  452.94 +        
  452.95 +        for (Product product : products) {
  452.96 +          //  try {
  452.97 +                Progress innerProgress = new Progress();
  452.98 +                compositeProgress.addChild(innerProgress, percents.get(product));                
  452.99 +                product.uninstall(innerProgress);
 452.100 +                product.getParent().removeChild(product);
 452.101 +         //   } catch (InitializationException ex) {
 452.102 +          //      LogManager.log("Unexpected exception during removal of " 
 452.103 +           //             + product.getDisplayName(), ex);
 452.104 +           // }
 452.105 +        }       
 452.106 +        File mainDirectory = new File(getProduct().getInstallationLocation(), Utils.getMainDirectory());
 452.107 +        try {
 452.108 +            FileUtils.deleteFile(mainDirectory, true);
 452.109 +        } catch (IOException ex) {
 452.110 +            LogManager.log("Unexpected exception during removal of " 
 452.111 +                    + mainDirectory.getAbsolutePath(), ex);
 452.112 +        }
 452.113 +        progress.setPercentage(Progress.COMPLETE);
 452.114 +    }
 452.115 +
 452.116 +    @Override
 452.117 +    public int getLogicPercentage() {
 452.118 +        return 100;        
 452.119 +    }
 452.120 +    
 452.121 +    @Override
 452.122 +    public List<WizardComponent> getWizardComponents() {        
 452.123 +        return Arrays.asList((WizardComponent) new SSBasePanel());
 452.124 +    }
 452.125 +
 452.126 +    @Override
 452.127 +    public RemovalMode getRemovalMode() {
 452.128 +        return RemovalMode.LIST;
 452.129 +    }
 452.130 +
 452.131 +    @Override
 452.132 +    public Text getLicense() {
 452.133 +        return null;
 452.134 +    }
 452.135 +}
   453.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   453.2 +++ b/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sunstudio/license.txt	Thu Jul 10 19:50:39 2008 +0800
   453.3 @@ -0,0 +1,419 @@
   453.4 +NETBEANS 6 BETA 1 - Base IDE 
   453.5 +
   453.6 +Please review the complete list of open-source licenses governing software  included in this software. They can be found in the NetBeans 6.0_README.txt file.
   453.7 +Please review the list of libraries and licenses provided for use. This license file contains two distinct licenses.
   453.8 +
   453.9 +LICENSE #1: Unless specified below, the Common Development and Distribution License (CDDL) governs your use of NetBeans 6 Beta 1.
  453.10 +
  453.11 +LICENSE #2: The GNU General Public License (GPL) Version 2 with Classpath Exception governs your use of any software from OpenJDK, including but not limited to: JSR 223, Swing Application Framework, and Beans Binding.
  453.12 +
  453.13 +
  453.14 +***********************************************************************************
  453.15 +LICENSE #1: 
  453.16 +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
  453.17 +
  453.18 +1. Definitions.
  453.19 +1.1. "Contributor" means each individual or entity that
  453.20 +creates or contributes to the creation of Modifications.
  453.21 +1.2. "Contributor Version" means the combination of the
  453.22 +Original Software, prior Modifications used by a
  453.23 +Contributor (if any), and the Modifications made by that
  453.24 +particular Contributor.
  453.25 +1.3. "Covered Software" means (a) the Original Software, or
  453.26 +(b) Modifications, or (c) the combination of files
  453.27 +containing Original Software with files containing
  453.28 +Modifications, in each case including portions thereof.
  453.29 +1.4. "Executable" means the Covered Software in any form
  453.30 +other than Source Code. 
  453.31 +1.5. "Initial Developer" means the individual or entity
  453.32 +that first makes Original Software available under this
  453.33 +License. 
  453.34 +1.6. "Larger Work" means a work which combines Covered
  453.35 +Software or portions thereof with code not governed by the
  453.36 +terms of this License.
  453.37 +1.7. "License" means this document.
  453.38 +1.8. "Licensable" means having the right to grant, to the
  453.39 +maximum extent possible, whether at the time of the initial
  453.40 +grant or subsequently acquired, any and all of the rights
  453.41 +conveyed herein.
  453.42 +1.9. "Modifications" means the Source Code and Executable
  453.43 +form of any of the following: 
  453.44 +A. Any file that results from an addition to,
  453.45 +deletion from or modification of the contents of a
  453.46 +file containing Original Software or previous
  453.47 +Modifications; 
  453.48 +B. Any new file that contains any part of the
  453.49 +Original Software or previous Modification; or 
  453.50 +C. Any new file that is contributed or otherwise made
  453.51 +available under the terms of this License.
  453.52 +1.10. "Original Software" means the Source Code and
  453.53 +Executable form of computer software code that is
  453.54 +originally released under this License. 
  453.55 +1.11. "Patent Claims" means any patent claim(s), now owned
  453.56 +or hereafter acquired, including without limitation,
  453.57 +method, process, and apparatus claims, in any patent
  453.58 +Licensable by grantor. 
  453.59 +1.12. "Source Code" means (a) the common form of computer
  453.60 +software code in which modifications are made and (b)
  453.61 +associated documentation included in or with such code.
  453.62 +1.13. "You" (or "Your") means an individual or a legal
  453.63 +entity exercising rights under, and complying with all of
  453.64 +the terms of, this License. For legal entities, "You"
  453.65 +includes any entity which controls, is controlled by, or is
  453.66 +under common control with You. For purposes of this
  453.67 +definition, "control" means (a) the power, direct or
  453.68 +indirect, to cause the direction or management of such
  453.69 +entity, whether by contract or otherwise, or (b) ownership
  453.70 +of more than fifty percent (50%) of the outstanding shares
  453.71 +or beneficial ownership of such entity.
  453.72 +2. License Grants. 
  453.73 +2.1. The Initial Developer Grant.
  453.74 +Conditioned upon Your compliance with Section 3.1 below and
  453.75 +subject to third party intellectual property claims, the
  453.76 +Initial Developer hereby grants You a world-wide,
  453.77 +royalty-free, non-exclusive license: 
  453.78 +(a) under intellectual property rights (other than
  453.79 +patent or trademark) Licensable by Initial Developer,
  453.80 +to use, reproduce, modify, display, perform,
  453.81 +sublicense and distribute the Original Software (or
  453.82 +portions thereof), with or without Modifications,
  453.83 +and/or as part of a Larger Work; and 
  453.84 +(b) under Patent Claims infringed by the making,
  453.85 +using or selling of Original Software, to make, have
  453.86 +made, use, practice, sell, and offer for sale, and/or
  453.87 +otherwise dispose of the Original Software (or
  453.88 +portions thereof). 
  453.89 +(c) The licenses granted in Sections 2.1(a) and (b)
  453.90 +are effective on the date Initial Developer first
  453.91 +distributes or otherwise makes the Original Software
  453.92 +available to a third party under the terms of this
  453.93 +License. 
  453.94 +(d) Notwithstanding Section 2.1(b) above, no patent
  453.95 +license is granted: (1) for code that You delete from
  453.96 +the Original Software, or (2) for infringements
  453.97 +caused by: (i) the modification of the Original
  453.98 +Software, or (ii) the combination of the Original
  453.99 +Software with other software or devices. 
 453.100 +2.2. Contributor Grant.
 453.101 +Conditioned upon Your compliance with Section 3.1 below and
 453.102 +subject to third party intellectual property claims, each
 453.103 +Contributor hereby grants You a world-wide, royalty-free,
 453.104 +non-exclusive license:
 453.105 +(a) under intellectual property rights (other than
 453.106 +patent or trademark) Licensable by Contributor to
 453.107 +use, reproduce, modify, display, perform, sublicense
 453.108 +and distribute the Modifications created by such
 453.109 +Contributor (or portions thereof), either on an
 453.110 +unmodified basis, with other Modifications, as
 453.111 +Covered Software and/or as part of a Larger Work; and
 453.112 +(b) under Patent Claims infringed by the making,
 453.113 +using, or selling of Modifications made by that
 453.114 +Contributor either alone and/or in combination with
 453.115 +its Contributor Version (or portions of such
 453.116 +combination), to make, use, sell, offer for sale,
 453.117 +have made, and/or otherwise dispose of: (1)
 453.118 +Modifications made by that Contributor (or portions
 453.119 +thereof); and (2) the combination of Modifications
 453.120 +made by that Contributor with its Contributor Version
 453.121 +(or portions of such combination). 
 453.122 +(c) The licenses granted in Sections 2.2(a) and
 453.123 +2.2(b) are effective on the date Contributor first
 453.124 +distributes or otherwise makes the Modifications
 453.125 +available to a third party. 
 453.126 +(d) Notwithstanding Section 2.2(b) above, no patent
 453.127 +license is granted: (1) for any code that Contributor
 453.128 +has deleted from the Contributor Version; (2) for
 453.129 +infringements caused by: (i) third party
 453.130 +modifications of Contributor Version, or (ii) the
 453.131 +combination of Modifications made by that Contributor
 453.132 +with other software (except as part of the
 453.133 +Contributor Version) or other devices; or (3) under
 453.134 +Patent Claims infringed by Covered Software in the
 453.135 +absence of Modifications made by that Contributor. 
 453.136 +3. Distribution Obligations.
 453.137 +3.1. Availability of Source Code.
 453.138 +Any Covered Software that You distribute or otherwise make
 453.139 +available in Executable form must also be made available in
 453.140 +Source Code form and that Source Code form must be
 453.141 +distributed only under the terms of this License. You must
 453.142 +include a copy of this License with every copy of the
 453.143 +Source Code form of the Covered Software You distribute or
 453.144 +otherwise make available. You must inform recipients of any
 453.145 +such Covered Software in Executable form as to how they can
 453.146 +obtain such Covered Software in Source Code form in a
 453.147 +reasonable manner on or through a medium customarily used
 453.148 +for software exchange.
 453.149 +3.2. Modifications.
 453.150 +The Modifications that You create or to which You
 453.151 +contribute are governed by the terms of this License. You
 453.152 +represent that You believe Your Modifications are Your
 453.153 +original creation(s) and/or You have sufficient rights to
 453.154 +grant the rights conveyed by this License.
 453.155 +3.3. Required Notices.
 453.156 +You must include a notice in each of Your Modifications
 453.157 +that identifies You as the Contributor of the Modification.
 453.158 +You may not remove or alter any copyright, patent or
 453.159 +trademark notices contained within the Covered Software, or
 453.160 +any notices of licensing or any descriptive text giving
 453.161 +attribution to any Contributor or the Initial Developer.
 453.162 +3.4. Application of Additional Terms.
 453.163 +You may not offer or impose any terms on any Covered
 453.164 +Software in Source Code form that alters or restricts the
 453.165 +applicable version of this License or the recipients'
 453.166 +rights hereunder. You may choose to offer, and to charge a
 453.167 +fee for, warranty, support, indemnity or liability
 453.168 +obligations to one or more recipients of Covered Software.
 453.169 +However, you may do so only on Your own behalf, and not on
 453.170 +behalf of the Initial Developer or any Contributor. You
 453.171 +must make it absolutely clear that any such warranty,
 453.172 +support, indemnity or liability obligation is offered by
 453.173 +You alone, and You hereby agree to indemnify the Initial
 453.174 +Developer and every Contributor for any liability incurred
 453.175 +by the Initial Developer or such Contributor as a result of
 453.176 +warranty, support, indemnity or liability terms You offer.
 453.177 +3.5. Distribution of Executable Versions.
 453.178 +You may distribute the Executable form of the Covered
 453.179 +Software under the terms of this License or under the terms
 453.180 +of a license of Your choice, which may contain terms
 453.181 +different from this License, provided that You are in
 453.182 +compliance with the terms of this License and that the
 453.183 +license for the Executable form does not attempt to limit
 453.184 +or alter the recipient's rights in the Source Code form
 453.185 +from the rights set forth in this License. If You
 453.186 +distribute the Covered Software in Executable form under a
 453.187 +different license, You must make it absolutely clear that
 453.188 +any terms which differ from this License are offered by You
 453.189 +alone, not by the Initial Developer or Contributor. You
 453.190 +hereby agree to indemnify the Initial Developer and every
 453.191 +Contributor for any liability incurred by the Initial
 453.192 +Developer or such Contributor as a result of any such terms
 453.193 +You offer.
 453.194 +3.6. Larger Works.
 453.195 +You may create a Larger Work by combining Covered Software
 453.196 +with other code not governed by the terms of this License
 453.197 +and distribute the Larger Work as a single product. In such
 453.198 +a case, You must make sure the requirements of this License
 453.199 +are fulfilled for the Covered Software. 
 453.200 +4. Versions of the License. 
 453.201 +4.1. New Versions.
 453.202 +Sun Microsystems, Inc. is the initial license steward and
 453.203 +may publish revised and/or new versions of this License
 453.204 +from time to time. Each version will be given a
 453.205 +distinguishing version number. Except as provided in
 453.206 +Section 4.3, no one other than the license steward has the
 453.207 +right to modify this License. 
 453.208 +4.2. Effect of New Versions.
 453.209 +You may always continue to use, distribute or otherwise
 453.210 +make the Covered Software available under the terms of the
 453.211 +version of the License under which You originally received
 453.212 +the Covered Software. If the Initial Developer includes a
 453.213 +notice in the Original Software prohibiting it from being
 453.214 +distributed or otherwise made available under any
 453.215 +subsequent version of the License, You must distribute and
 453.216 +make the Covered Software available under the terms of the
 453.217 +version of the License under which You originally received
 453.218 +the Covered Software. Otherwise, You may also choose to
 453.219 +use, distribute or otherwise make the Covered Software
 453.220 +available under the terms of any subsequent version of the
 453.221 +License published by the license steward. 
 453.222 +4.3. Modified Versions.
 453.223 +When You are an Initial Developer and You want to create a
 453.224 +new license for Your Original Software, You may create and
 453.225 +use a modified version of this License if You: (a) rename
 453.226 +the license and remove any references to the name of the
 453.227 +license steward (except to note that the license differs
 453.228 +from this License); and (b) otherwise make it clear that
 453.229 +the license contains terms which differ from this License.
 453.230 +5. DISCLAIMER OF WARRANTY.
 453.231 +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
 453.232 +BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
 453.233 +INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
 453.234 +SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
 453.235 +PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
 453.236 +PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
 453.237 +COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
 453.238 +INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
 453.239 +ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
 453.240 +WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
 453.241 +ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
 453.242 +DISCLAIMER. 
 453.243 +6. TERMINATION. 
 453.244 +6.1. This License and the rights granted hereunder will
 453.245 +terminate automatically if You fail to comply with terms
 453.246 +herein and fail to cure such breach within 30 days of
 453.247 +becoming aware of the breach. Provisions which, by their
 453.248 +nature, must remain in effect beyond the termination of
 453.249 +this License shall survive.
 453.250 +6.2. If You assert a patent infringement claim (excluding
 453.251 +declaratory judgment actions) against Initial Developer or
 453.252 +a Contributor (the Initial Developer or Contributor against
 453.253 +whom You assert such claim is referred to as "Participant")
 453.254 +alleging that the Participant Software (meaning the
 453.255 +Contributor Version where the Participant is a Contributor
 453.256 +or the Original Software where the Participant is the
 453.257 +Initial Developer) directly or indirectly infringes any
 453.258 +patent, then any and all rights granted directly or
 453.259 +indirectly to You by such Participant, the Initial
 453.260 +Developer (if the Initial Developer is not the Participant)
 453.261 +and all Contributors under Sections 2.1 and/or 2.2 of this
 453.262 +License shall, upon 60 days notice from Participant
 453.263 +terminate prospectively and automatically at the expiration
 453.264 +of such 60 day notice period, unless if within such 60 day
 453.265 +period You withdraw Your claim with respect to the
 453.266 +Participant Software against such Participant either
 453.267 +unilaterally or pursuant to a written agreement with
 453.268 +Participant.
 453.269 +6.3. In the event of termination under Sections 6.1 or 6.2
 453.270 +above, all end user licenses that have been validly granted
 453.271 +by You or any distributor hereunder prior to termination
 453.272 +(excluding licenses granted to You by any distributor)
 453.273 +shall survive termination.
 453.274 +7. LIMITATION OF LIABILITY.
 453.275 +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
 453.276 +(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
 453.277 +INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
 453.278 +COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
 453.279 +LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
 453.280 +CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
 453.281 +LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
 453.282 +STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
 453.283 +COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
 453.284 +INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
 453.285 +LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
 453.286 +INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
 453.287 +APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
 453.288 +NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
 453.289 +CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
 453.290 +APPLY TO YOU.
 453.291 +8. U.S. GOVERNMENT END USERS.
 453.292 +The Covered Software is a "commercial item," as that term is
 453.293 +defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
 453.294 +computer software" (as that term is defined at 48 C.F.R. ¤
 453.295 +252.227-7014(a)(1)) and "commercial computer software
 453.296 +documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
 453.297 +1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
 453.298 +through 227.7202-4 (June 1995), all U.S. Government End Users
 453.299 +acquire Covered Software with only those rights set forth herein.
 453.300 +This U.S. Government Rights clause is in lieu of, and supersedes,
 453.301 +any other FAR, DFAR, or other clause or provision that addresses
 453.302 +Government rights in computer software under this License.
 453.303 +9. MISCELLANEOUS.
 453.304 +This License represents the complete agreement concerning subject
 453.305 +matter hereof. If any provision of this License is held to be
 453.306 +unenforceable, such provision shall be reformed only to the
 453.307 +extent necessary to make it enforceable. This License shall be
 453.308 +governed by the law of the jurisdiction specified in a notice
 453.309 +contained within the Original Software (except to the extent
 453.310 +applicable law, if any, provides otherwise), excluding such
 453.311 +jurisdiction's conflict-of-law provisions. Any litigation
 453.312 +relating to this License shall be subject to the jurisdiction of
 453.313 +the courts located in the jurisdiction and venue specified in a
 453.314 +notice contained within the Original Software, with the losing
 453.315 +party responsible for costs, including, without limitation, court
 453.316 +costs and reasonable attorneys' fees and expenses. The
 453.317 +application of the United Nations Convention on Contracts for the
 453.318 +International Sale of Goods is expressly excluded. Any law or
 453.319 +regulation which provides that the language of a contract shall
 453.320 +be construed against the drafter shall not apply to this License.
 453.321 +You agree that You alone are responsible for compliance with the
 453.322 +United States export administration regulations (and the export
 453.323 +control laws and regulation of any other countries) when You use,
 453.324 +distribute or otherwise make available any Covered Software.
 453.325 +10. RESPONSIBILITY FOR CLAIMS.
 453.326 +As between Initial Developer and the Contributors, each party is
 453.327 +responsible for claims and damages arising, directly or
 453.328 +indirectly, out of its utilization of rights under this License
 453.329 +and You agree to work with Initial Developer and Contributors to
 453.330 +distribute such responsibility on an equitable basis. Nothing
 453.331 +herein is intended or shall be deemed to constitute any admission
 453.332 +of liability.
 453.333 +
 453.334 +
 453.335 +***********************************************************************************
 453.336 +
 453.337 +LICENSE #2: 
 453.338 +The GNU General Public License (GPL) Version 2, June 1991 
 453.339 +Copyright (C) 1989, 1991 Free Software Foundation, Inc.
 453.340 +59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 453.341 +Everyone is permitted to copy and distribute verbatim copies
 453.342 +of this license document, but changing it is not allowed.
 453.343 +Preamble
 453.344 +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
 453.345 +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
 453.346 +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
 453.347 +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
 453.348 +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
 453.349 +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
 453.350 +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
 453.351 +The precise terms and conditions for copying, distribution and modification follow.
 453.352 +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 453.353 +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
 453.354 +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
 453.355 +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
 453.356 +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
 453.357 +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
 453.358 +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
 453.359 +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
 453.360 +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
 453.361 +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
 453.362 +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
 453.363 +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
 453.364 +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
 453.365 +a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 453.366 +b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
 453.367 +c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
 453.368 +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
 453.369 +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
 453.370 +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
 453.371 +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
 453.372 +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
 453.373 +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
 453.374 +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
 453.375 +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
 453.376 +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
 453.377 +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
 453.378 +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
 453.379 +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
 453.380 +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
 453.381 +NO WARRANTY
 453.382 +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 453.383 +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 453.384 +END OF TERMS AND CONDITIONS
 453.385 +How to Apply These Terms to Your New Programs
 453.386 +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
 453.387 +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
 453.388 +One line to give the program's name and a brief idea of what it does.
 453.389 +Copyright (C) <year> <name of author>
 453.390 +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 453.391 +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 453.392 +You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 453.393 +Also add information on how to contact you by electronic and paper mail.
 453.394 +If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
 453.395 +Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
 453.396 +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
 453.397 +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
 453.398 +Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
 453.399 +signature of Ty Coon, 1 April 1989
 453.400 +Ty Coon, President of Vice
 453.401 +This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
 453.402 +
 453.403 +"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
 453.404 +
 453.405 +Certain source files distributed by Sun Microsystems, Inc.  are subject to 
 453.406 +the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words 
 453.407 +"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." 
 453.408 +
 453.409 +   Linking this library statically or dynamically with other modules is making a combined work based on this library.  Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination. 
 453.410 +
 453.411 +   As a special exception, the copyright holders of this library give you 
 453.412 +permission to link this library with independent modules to produce an 
 453.413 +executable, regardless of the license terms of these independent modules, 
 453.414 +and to copy and distribute the resulting executable under terms of your 
 453.415 +choice, provided that you also meet, for each linked independent module, 
 453.416 +the terms and conditions of the license of that module.  An independent 
 453.417 +module is a module which is not derived from or based on this library.  If 
 453.418 +you modify this library, you may extend this exception to your version of 
 453.419 +the library, but you are not obligated to do so.  If you do not wish to do 
 453.420 +so, delete this exception statement from your version.
 453.421 +
 453.422 +
   454.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   454.2 +++ b/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sunstudio/panels/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   454.3 @@ -0,0 +1,49 @@
   454.4 +# 
   454.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   454.6 +# 
   454.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   454.8 +# 
   454.9 +# The contents of this file are subject to the terms of either the GNU General Public
  454.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  454.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  454.12 +# compliance with the License. You can obtain a copy of the License at
  454.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  454.14 +# License for the specific language governing permissions and limitations under the
  454.15 +# License.  When distributing the software, include this License Header Notice in
  454.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  454.17 +# designates this particular file as subject to the "Classpath" exception as provided
  454.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  454.19 +# If applicable, add the following below the License Header, with the fields enclosed
  454.20 +# by brackets [] replaced by your own identifying information:
  454.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  454.22 +# 
  454.23 +# Contributor(s):
  454.24 +# 
  454.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  454.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  454.27 +# Rights Reserved.
  454.28 +# 
  454.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  454.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  454.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  454.32 +# you do not indicate a single choice of license, a recipient has the option to
  454.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  454.34 +# to extend the choice of license to its licensees as provided above. However, if you
  454.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  454.36 +# option applies only if the new code is made subject to such option by the copyright
  454.37 +# holder.
  454.38 +# 
  454.39 +
  454.40 +#####################################################################################
  454.41 +# NbBasePanel.java
  454.42 +NBP.title=Sun Studio Installation
  454.43 +NBP.description=Choose the installation folder and additional options.
  454.44 +
  454.45 +NBP.destination.label.text=&Install the Sun Studio to:
  454.46 +NBP.destination.button.text=B&rowse...
  454.47 +
  454.48 +NBP.jdk.location.label.text=&JDK\u2122 for the NetBeans IDE:
  454.49 +NBP.browse.button.text=Br&owse...
  454.50 +
  454.51 +NBP.minimum.jdk.version=1.5.0.6
  454.52 +NBP.maximum.jdk.version=10.0.0
   455.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   455.2 +++ b/ssinstaller/components/products/ss-base/src/org/netbeans/installer/products/sunstudio/panels/SSBasePanel.java	Thu Jul 10 19:50:39 2008 +0800
   455.3 @@ -0,0 +1,266 @@
   455.4 +/*
   455.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   455.6 + * 
   455.7 + * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   455.8 + * 
   455.9 + * The contents of this file are subject to the terms of either the GNU General
  455.10 + * Public License Version 2 only ("GPL") or the Common Development and Distribution
  455.11 + * License("CDDL") (collectively, the "License"). You may not use this file except in
  455.12 + * compliance with the License. You can obtain a copy of the License at
  455.13 + * http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  455.14 + * License for the specific language governing permissions and limitations under the
  455.15 + * License.  When distributing the software, include this License Header Notice in
  455.16 + * each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  455.17 + * designates this particular file as subject to the "Classpath" exception as
  455.18 + * provided by Sun in the GPL Version 2 section of the License file that
  455.19 + * accompanied this code. If applicable, add the following below the License Header,
  455.20 + * with the fields enclosed by brackets [] replaced by your own identifying
  455.21 + * information: "Portions Copyrighted [year] [name of copyright owner]"
  455.22 + * 
  455.23 + * Contributor(s):
  455.24 + * 
  455.25 + * The Original Software is NetBeans. The Initial Developer of the Original Software
  455.26 + * is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  455.27 + * Rights Reserved.
  455.28 + * 
  455.29 + * If you wish your version of this file to be governed by only the CDDL or only the
  455.30 + * GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  455.31 + * this software in this distribution under the [CDDL or GPL Version 2] license." If
  455.32 + * you do not indicate a single choice of license, a recipient has the option to
  455.33 + * distribute your version of this file under either the CDDL, the GPL Version 2 or
  455.34 + * to extend the choice of license to its licensees as provided above. However, if
  455.35 + * you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then
  455.36 + * the option applies only if the new code is made subject to such option by the
  455.37 + * copyright holder.
  455.38 + */
  455.39 +
  455.40 +package org.netbeans.installer.products.sunstudio.panels;
  455.41 +
  455.42 +import org.netbeans.installer.utils.helper.swing.NbiLabel;
  455.43 +import org.netbeans.installer.utils.ResourceUtils;
  455.44 +import org.netbeans.installer.utils.helper.swing.NbiButton;
  455.45 +import org.netbeans.installer.utils.helper.swing.NbiCheckBox;
  455.46 +import org.netbeans.installer.utils.helper.swing.NbiTextField;
  455.47 +import org.netbeans.installer.wizard.components.panels.DestinationPanel;
  455.48 +import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi;
  455.49 +import org.netbeans.installer.wizard.ui.SwingUi;
  455.50 +import org.netbeans.installer.wizard.ui.WizardUi;
  455.51 +import org.netbeans.installer.wizard.containers.SwingContainer;
  455.52 +
  455.53 +public class SSBasePanel extends DestinationPanel {
  455.54 +    
  455.55 +    public SSBasePanel() {
  455.56 +        
  455.57 +        setProperty(TITLE_PROPERTY,
  455.58 +                DEFAULT_TITLE);
  455.59 +        setProperty(DESCRIPTION_PROPERTY,
  455.60 +                DEFAULT_DESCRIPTION);
  455.61 +        
  455.62 +        setProperty(DESTINATION_LABEL_TEXT_PROPERTY,
  455.63 +                DEFAULT_DESTINATION_LABEL_TEXT);
  455.64 +        setProperty(DESTINATION_BUTTON_TEXT_PROPERTY,
  455.65 +                DEFAULT_DESTINATION_BUTTON_TEXT);
  455.66 +        
  455.67 +        setProperty(BROWSE_BUTTON_TEXT_PROPERTY,
  455.68 +                DEFAULT_BROWSE_BUTTON_TEXT);        
  455.69 +    }
  455.70 +    
  455.71 +    @Override
  455.72 +    public WizardUi getWizardUi() {
  455.73 +        if (wizardUi == null) {
  455.74 +            wizardUi = new SSBaseDestinationPanelUi(this);
  455.75 +        }
  455.76 +        
  455.77 +        return wizardUi;
  455.78 +    }
  455.79 +    
  455.80 +    @Override
  455.81 +    public void initialize() {
  455.82 +        super.initialize();                
  455.83 +    }
  455.84 +        
  455.85 +    /////////////////////////////////////////////////////////////////////////////////
  455.86 +    // Inner Classes
  455.87 +    private static class SSBaseDestinationPanelUi extends DestinationPanelUi {
  455.88 +        protected SSBasePanel panel;
  455.89 +        
  455.90 +        public SSBaseDestinationPanelUi(SSBasePanel panel) {
  455.91 +            super(panel);
  455.92 +            this.panel = panel;
  455.93 +        }
  455.94 +        
  455.95 +        @Override
  455.96 +        public SwingUi getSwingUi(SwingContainer container) {
  455.97 +            if (swingUi == null) {
  455.98 +                swingUi = new SSBaseDestinationPanelSwingUi(panel, container);
  455.99 +            }            
 455.100 +            return super.getSwingUi(container);
 455.101 +        }
 455.102 +    }
 455.103 +    
 455.104 +    private static class SSBaseDestinationPanelSwingUi extends DestinationPanelSwingUi {
 455.105 +       // protected SSBasePanel panel;
 455.106 +        
 455.107 +        /*
 455.108 +        private NbiTextField alternateRoot;
 455.109 +        private NbiButton alternateRootButton;
 455.110 +        private NbiCheckBox copySystemPrequesties;
 455.111 +        private NbiCheckBox createSymLinks;
 455.112 +        private NbiCheckBox installPatches;
 455.113 +        private NbiCheckBox currentZoneOnly;
 455.114 +        
 455.115 +        private NbiLabel alternateRootLabel;
 455.116 +          */      
 455.117 +        public SSBaseDestinationPanelSwingUi(
 455.118 +                final SSBasePanel panel,
 455.119 +                final SwingContainer container) {
 455.120 +            super(panel, container);            
 455.121 +            this.panel = panel;            
 455.122 +          //  initComponents();
 455.123 +        }
 455.124 +        
 455.125 +        // protected ////////////////////////////////////////////////////////////////
 455.126 +        @Override
 455.127 +        protected void initialize() {
 455.128 +            super.initialize();
 455.129 +        }
 455.130 +        
 455.131 +        @Override
 455.132 +        protected void saveInput() {
 455.133 +            super.saveInput();                        
 455.134 +        }
 455.135 +        
 455.136 +        @Override
 455.137 +        protected String validateInput() {
 455.138 +            String errorMessage = super.validateInput();
 455.139 +            // This hack allows us to install in /opt while "SUNWspro" is a part of 
 455.140 +            // package path
 455.141 +            if (errorMessage != null 
 455.142 +                    && errorMessage.startsWith(component.
 455.143 +                    getProperty(DestinationPanel.ERROR_NOT_EMPTY_PROPERTY))) {
 455.144 +                errorMessage = null;
 455.145 +            }
 455.146 +            return errorMessage;
 455.147 +        }
 455.148 +        
 455.149 +        /*
 455.150 +        private void initComponents() {
 455.151 +            alternateRoot = new NbiTextField();
 455.152 +            alternateRootButton = new NbiButton();
 455.153 +            alternateRootButton.setText("Browse...");
 455.154 +            copySystemPrequesties = new NbiCheckBox();            
 455.155 +            copySystemPrequesties.setSelected(true);
 455.156 +            createSymLinks = new NbiCheckBox();
 455.157 +            createSymLinks.setSelected(true);
 455.158 +            installPatches = new NbiCheckBox();            
 455.159 +            installPatches.setSelected(true);
 455.160 +            currentZoneOnly = new NbiCheckBox();
 455.161 +            
 455.162 +            alternateRootLabel = new NbiLabel();
 455.163 +            alternateRootLabel.setText("Use alternate root");            
 455.164 +            copySystemPrequesties.setText("Copy system prequesties");                        
 455.165 +            createSymLinks.setText("Create symlinks in /usr/bin");            
 455.166 +            installPatches.setText("Install product patches");            
 455.167 +            currentZoneOnly.setText("Install product in current zone only"); 
 455.168 +            
 455.169 +            
 455.170 +            add(alternateRootLabel, new GridBagConstraints(
 455.171 +                    0, 2,                             // x, y
 455.172 +                    2, 1,                             // width, height
 455.173 +                    1.0, 0.0,                         // weight-x, weight-y
 455.174 +                    GridBagConstraints.LAST_LINE_START,    // anchor
 455.175 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.176 +                    new Insets(11, 11, 0, 11),        // padding
 455.177 +                    0, 0));                           // padx, pady - ???
 455.178 +            add(alternateRoot, new GridBagConstraints(
 455.179 +                    0, 3,                             // x, y
 455.180 +                    1, 1,                             // width, height
 455.181 +                    0.0, 0.0,                         // weight-x, weight-y
 455.182 +                    GridBagConstraints.LINE_START,    // anchor
 455.183 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.184 +                    new Insets(4, 11, 0, 0),        // padding
 455.185 +                    0, 0));
 455.186 +            add(alternateRootButton, new GridBagConstraints(
 455.187 +                    1, 3,                             // x, y
 455.188 +                    1, 1,                             // width, height
 455.189 +                    0.0, 0.0,                         // weight-x, weight-y
 455.190 +                    GridBagConstraints.LINE_START,    // anchor
 455.191 +                    GridBagConstraints.NONE,    // fill
 455.192 +                    new Insets(4, 4, 0, 11),        // padding
 455.193 +                    0, 0));                  
 455.194 +            JPanel pane = new JPanel(new GridBagLayout());
 455.195 +            add(pane , new GridBagConstraints(
 455.196 +                    0, 5,                             // x, y
 455.197 +                    1, 10,                             // width, height
 455.198 +                    1.0, 0.0,                         // weight-x, weight-y
 455.199 +                    GridBagConstraints.LINE_START,    // anchor
 455.200 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.201 +                    new Insets(11, 11, 0, 11),        // padding
 455.202 +                    0, 0));                           // padx, pady - ??? );
 455.203 +            
 455.204 +            pane.add(copySystemPrequesties, new GridBagConstraints(
 455.205 +                    0, 0,                             // x, y
 455.206 +                    1, 1,                             // width, height
 455.207 +                    10.0, 0.0,                         // weight-x, weight-y
 455.208 +                    GridBagConstraints.LINE_START,    // anchor
 455.209 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.210 +                    new Insets(0, 0, 0, 0),        // padding
 455.211 +                    0, 0));                           // padx, pady - ???
 455.212 +                
 455.213 +            pane.add(createSymLinks, new GridBagConstraints(
 455.214 +                    0, 3,                             // x, y
 455.215 +                    1, 1,                             // width, height
 455.216 +                    0.0, 0.0,                         // weight-x, weight-y
 455.217 +                    GridBagConstraints.LINE_START,    // anchor
 455.218 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.219 +                    new Insets(0, 0, 0, 0),        // padding
 455.220 +                    0, 0));                           // padx, pady - ???
 455.221 +           
 455.222 +            pane.add(installPatches, new GridBagConstraints(
 455.223 +                    0, 4,                             // x, y
 455.224 +                    1, 1,                             // width, height
 455.225 +                    0.0, 0.0,                         // weight-x, weight-y
 455.226 +                    GridBagConstraints.LINE_START,    // anchor
 455.227 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.228 +                    new Insets(0, 0, 0, 0),        // padding
 455.229 +                    0, 0));                           // padx, pady - ???
 455.230 +              // padx, pady - ???
 455.231 +
 455.232 +            pane.add(currentZoneOnly, new GridBagConstraints(
 455.233 +                    0, 5,                             // x, y
 455.234 +                    1, 1,                             // width, height
 455.235 +                    0.0, 0.0,                         // weight-x, weight-y
 455.236 +                    GridBagConstraints.LINE_START,    // anchor
 455.237 +                    GridBagConstraints.HORIZONTAL,    // fill
 455.238 +                    new Insets(0, 0, 0, 0),        // padding
 455.239 +                    0, 0));                           // padx, pady - ???
 455.240 +
 455.241 +       
 455.242 +        }
 455.243 +        */       
 455.244 +    }
 455.245 +    
 455.246 +    /////////////////////////////////////////////////////////////////////////////////
 455.247 +    // Constants
 455.248 +    public static final String BROWSE_BUTTON_TEXT_PROPERTY =
 455.249 +            "browse.button.text"; // NOI18N
 455.250 +    
 455.251 +    public static final String DEFAULT_TITLE =
 455.252 +            ResourceUtils.getString(SSBasePanel.class,
 455.253 +            "NBP.title"); // NOI18N
 455.254 +    public static final String DEFAULT_DESCRIPTION =
 455.255 +            ResourceUtils.getString(SSBasePanel.class,
 455.256 +            "NBP.description"); // NOI18N
 455.257 +    
 455.258 +    public static final String DEFAULT_DESTINATION_LABEL_TEXT =
 455.259 +            ResourceUtils.getString(SSBasePanel.class,
 455.260 +            "NBP.destination.label.text"); // NOI18N
 455.261 +    public static final String DEFAULT_DESTINATION_BUTTON_TEXT =
 455.262 +            ResourceUtils.getString(SSBasePanel.class,
 455.263 +            "NBP.destination.button.text"); // NOI18N
 455.264 +    
 455.265 +    public static final String DEFAULT_BROWSE_BUTTON_TEXT =
 455.266 +            ResourceUtils.getString(SSBasePanel.class,
 455.267 +            "NBP.browse.button.text"); // NOI18N
 455.268 +    
 455.269 +}
   456.1 --- a/ssinstaller/engine/src/org/netbeans/installer/wizard/components/panels/sunstudio/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   456.2 +++ b/ssinstaller/engine/src/org/netbeans/installer/wizard/components/panels/sunstudio/Bundle.properties	Thu Jul 10 19:50:39 2008 +0800
   456.3 @@ -43,9 +43,9 @@
   456.4  NPrISP.installation.folder={0} Installation Folder:
   456.5  NPrISP.installation.folder.netbeans=NetBeans IDE Installation Folder:
   456.6  NPrISP.uninstall.list.label.text=The following components will be uninstalled:
   456.7 -NPrISP.installation.size=Total Installation Size:
   456.8 +NPrISP.installation.size={0} Installation Size:
   456.9  NPrISP.download.size=Total Download Size:
  456.10 -NPrISP.addons.gf.install.location.text={0} will be installed to the Sun Studio folder.
  456.11 +NPrISP.addons.ss.install.location.text={0} will be installed.
  456.12  NPrISP.addons.nb.install.location.text={0} will be installed to the NetBeans IDE folder.
  456.13  
  456.14  NPrISP.additional.runtimes.to.delete=<html><br>Runtimes to remove with {0}:
   457.1 --- a/ssinstaller/engine/src/org/netbeans/installer/wizard/components/panels/sunstudio/PreInstallSummaryPanel.java	Thu Jul 10 19:13:29 2008 +0800
   457.2 +++ b/ssinstaller/engine/src/org/netbeans/installer/wizard/components/panels/sunstudio/PreInstallSummaryPanel.java	Thu Jul 10 19:50:39 2008 +0800
   457.3 @@ -38,15 +38,12 @@
   457.4  
   457.5  import java.awt.GridBagConstraints;
   457.6  import java.awt.Insets;
   457.7 -import java.awt.event.ActionEvent;
   457.8 -import java.awt.event.ActionListener;
   457.9  import java.io.File;
  457.10  import java.io.IOException;
  457.11  import java.util.HashMap;
  457.12  import java.util.LinkedList;
  457.13  import java.util.List;
  457.14  import java.util.Map;
  457.15 -import javax.swing.border.EmptyBorder;
  457.16  import org.netbeans.installer.Installer;
  457.17  import org.netbeans.installer.product.Registry;
  457.18  import org.netbeans.installer.product.RegistryNode;
  457.19 @@ -58,12 +55,9 @@
  457.20  import org.netbeans.installer.utils.ResourceUtils;
  457.21  import org.netbeans.installer.utils.StringUtils;
  457.22  import org.netbeans.installer.utils.SystemUtils;
  457.23 -import org.netbeans.installer.utils.applications.NetBeansUtils;
  457.24  import org.netbeans.installer.utils.exceptions.InitializationException;
  457.25  import org.netbeans.installer.utils.exceptions.NativeException;
  457.26  import org.netbeans.installer.utils.helper.Dependency;
  457.27 -import org.netbeans.installer.utils.helper.Status;
  457.28 -import org.netbeans.installer.utils.helper.swing.NbiCheckBox;
  457.29  import org.netbeans.installer.utils.helper.swing.NbiLabel;
  457.30  import org.netbeans.installer.utils.helper.swing.NbiPanel;
  457.31  import org.netbeans.installer.utils.helper.swing.NbiTextPane;
  457.32 @@ -95,8 +89,8 @@
  457.33                  DEFAULT_DOWNLOAD_SIZE);
  457.34          setProperty(NB_ADDONS_LOCATION_TEXT_PROPERTY,
  457.35                  DEFAULT_NB_ADDONS_LOCATION_TEXT);
  457.36 -        setProperty(GF_ADDONS_LOCATION_TEXT_PROPERTY,
  457.37 -                DEFAULT_GF_ADDONS_LOCATION_TEXT);
  457.38 +        setProperty(SS_ADDONS_LOCATION_TEXT_PROPERTY,
  457.39 +                DEFAULT_SS_ADDONS_LOCATION_TEXT);
  457.40          
  457.41          setProperty(NEXT_BUTTON_TEXT_PROPERTY,
  457.42                  DEFAULT_NEXT_BUTTON_TEXT);
  457.43 @@ -167,20 +161,19 @@
  457.44          private NbiLabel uninstallListLabel;
  457.45          private NbiTextPane uninstallListPane;
  457.46          
  457.47 -        private NbiLabel installationSizeLabel;
  457.48 -        private NbiLabel installationSizeValue;
  457.49 +        private NbiLabel installationSSSummary;
  457.50 +        private NbiLabel installationSSSize;
  457.51 +                  
  457.52 +        private NbiLabel installationSSComponenets;
  457.53 +        
  457.54 +        private NbiLabel installationNBSummary;
  457.55 +        private NbiLabel installationNBSize;
  457.56          
  457.57          private NbiLabel downloadSizeLabel;
  457.58          private NbiLabel downloadSizeValue;
  457.59          
  457.60          private NbiPanel spacer;
  457.61 -        
  457.62 -      //  private NbiCheckBox gfCheckbox;
  457.63 -      //  private NbiCheckBox tomcatCheckbox;
  457.64 -      //  private Product glassfishProduct;
  457.65 -       // private Product tomcatProduct;
  457.66 -        
  457.67 -       // private NbiLabel runtimesToRemove;
  457.68 +           
  457.69          
  457.70          public SSPreInstallSummaryPanelSwingUi(
  457.71                  final PreInstallSummaryPanel component,
  457.72 @@ -194,8 +187,7 @@
  457.73          // protected ////////////////////////////////////////////////////////////////
  457.74          @Override
  457.75          protected void initializeContainer() {
  457.76 -            super.initializeContainer();
  457.77 -            
  457.78 +            super.initializeContainer();            
  457.79              container.getNextButton().setText(
  457.80                      panel.getProperty(NEXT_BUTTON_TEXT_PROPERTY));
  457.81          }
  457.82 @@ -205,119 +197,59 @@
  457.83              final Registry registry = Registry.getInstance();
  457.84              
  457.85              final StringBuilder text = new StringBuilder();
  457.86 -            long installationSize = 0;
  457.87 +            long installationSizeSS = 0;
  457.88 +            long installationSizeNb = 0;
  457.89              long downloadSize = 0;
  457.90              
  457.91              final List<Product> dependentOnNb = new LinkedList<Product>();
  457.92 -            final List<Product> dependentOnGf = new LinkedList<Product>();
  457.93 -            boolean nbBasePresent = false;
  457.94 +            final List<Product> dependentOnSS = new LinkedList<Product>();            
  457.95              
  457.96 -            for (Product product: registry.getProductsToInstall()) {
  457.97 -                installationSize += product.getRequiredDiskSpace();
  457.98 -                downloadSize += product.getDownloadSize();
  457.99 -                
 457.100 -                try {
 457.101 -                    if (product.getLogic().registerInSystem() || product.getUid().equals("jdk")) {
 457.102 -                        nbBasePresent = product.getUid().equals("nb-base") ? true : nbBasePresent;
 457.103 +            for (Product product: registry.getProductsToInstall()) {                
 457.104 +                downloadSize += product.getDownloadSize();                
 457.105 +                    // TODO change to real dependency checking ....
 457.106 +                    if (product.getUid().startsWith("nb-")) {
 457.107 +                        dependentOnNb.add(product);
 457.108 +                        installationSizeNb += product.getRequiredDiskSpace();
 457.109                      } else {
 457.110 -                        if (product.getUid().startsWith("nb-")) {
 457.111 -                            dependentOnNb.add(product);
 457.112 -                        } else {
 457.113 -                            dependentOnGf.add(product);
 457.114 -                        }
 457.115 -                    }
 457.116 -                } catch (InitializationException e) {
 457.117 -                    ErrorManager.notifyError(
 457.118 -                            panel.getProperty(ERROR_LOGIC_ACCESS_PROPERTY),e);
 457.119 -                }
 457.120 +                        dependentOnSS.add(product);
 457.121 +                        installationSizeSS += product.getRequiredDiskSpace();
 457.122 +                    }               
 457.123              }
 457.124              
 457.125 -            
 457.126 -            File nbLocation = null;
 457.127 -            Product base = null;
 457.128 -            // If there are several packs to be installed but Base is already installed
 457.129 -            // then search it and the corresponding record to text
 457.130 -            if (dependentOnNb.size() > 0 && !nbBasePresent) {
 457.131 -                for(Product product : dependentOnNb) {
 457.132 -                    List <Dependency> bases = product.getDependencyByUid("nb-base");
 457.133 -                    if(!bases.isEmpty()) {
 457.134 -                        // dependency is already resolved at this point
 457.135 -                        base = Registry.getInstance().getProducts(bases.get(0)).get(0);
 457.136 +            Product ssProduct = registry.getProducts("ss-base").get(0);
 457.137 +            dependentOnSS.remove(ssProduct);
 457.138 +          //  Product nbProduct = registry.getProducts("nb-extra").get(0);
 457.139  
 457.140 -                        if(base!=null) {
 457.141 -                            nbLocation = base.getInstallationLocation();
 457.142 -                            try {
 457.143 -                                if(base.getLogic().wrapForMacOs() && SystemUtils.isMacOS()) {
 457.144 -                                    final File app = nbLocation.getParentFile().getParentFile().getParentFile();
 457.145 -                                    nbLocation = app;
 457.146 -                                }
 457.147 -                            } catch (InitializationException e){
 457.148 -                                LogManager.log(".. cannot get logic for " + base.getDisplayName() + " (" + base.getVersion() + ")", e);
 457.149 -                            } catch (NullPointerException e){
 457.150 -                                LogManager.log(".. cannot get app directory for " + nbLocation);
 457.151 -                            }
 457.152 -                            if(nbLocation!=null) {
 457.153 -                                text.append(StringUtils.LF);
 457.154 -                                text.append(StringUtils.format(
 457.155 -                                        panel.getProperty(INSTALLATION_FOLDER_NETBEANS_PROPERTY),
 457.156 -                                        base.getDisplayName()));
 457.157 -                                text.append(StringUtils.LF);
 457.158 -                                text.append("    " + nbLocation);
 457.159 -                                text.append(StringUtils.LF);
 457.160 -                            }
 457.161 -                            break;
 457.162 -                        }
 457.163 -                    }
 457.164 -                }
 457.165 -            }
 457.166 -            
 457.167 -            // add top-level components like nb-base, glassfish, tomcat, jdk
 457.168 -            for (Product product: registry.getProductsToInstall()) {
 457.169 -                try {
 457.170 -                    if (product.getLogic().registerInSystem() || product.getUid().equals("jdk")) {
 457.171 -                        String property = panel.getProperty(
 457.172 -                                product.getUid().equals("nb-base") ?
 457.173 -                                    INSTALLATION_FOLDER_NETBEANS_PROPERTY :
 457.174 -                                    INSTALLATION_FOLDER_PROPERTY);
 457.175 -                        text.append(StringUtils.format(property,
 457.176 -                                product.getDisplayName()));
 457.177 -                        text.append(StringUtils.LF);
 457.178 -                        text.append("    " + product.getInstallationLocation());
 457.179 -                        text.append(StringUtils.LF);
 457.180 -                    }
 457.181 -                } catch (InitializationException e) {
 457.182 -                    ErrorManager.notifyError(
 457.183 -                            panel.getProperty(ERROR_LOGIC_ACCESS_PROPERTY),e);
 457.184 -                }
 457.185 -            }
 457.186 -            // if we could not find nb-base location (very rare case) just mention all the packs to be installed
 457.187 -            if(!nbBasePresent && nbLocation == null && dependentOnNb.size() > 0) {
 457.188 -                text.append(StringUtils.LF);
 457.189 -                text.append(StringUtils.format(
 457.190 -                        panel.getProperty(NB_ADDONS_LOCATION_TEXT_PROPERTY),
 457.191 -                        StringUtils.asString(dependentOnNb)));
 457.192 -                text.append(StringUtils.LF);
 457.193 -            }
 457.194 -            // at the end add glassfish components record
 457.195 -            if (dependentOnGf.size() > 0) {
 457.196 -                text.append(StringUtils.LF);
 457.197 -                text.append(StringUtils.format(
 457.198 -                        panel.getProperty(GF_ADDONS_LOCATION_TEXT_PROPERTY),
 457.199 -                        StringUtils.asString(dependentOnGf)));
 457.200 -                text.append(StringUtils.LF);
 457.201 -            }
 457.202 -            
 457.203 -            locationsPane.setText(text);
 457.204 -            
 457.205              uninstallListLabel.setText(
 457.206                      panel.getProperty(UNINSTALL_LIST_LABEL_TEXT_PROPERTY));
 457.207              uninstallListPane.setText(
 457.208                      StringUtils.asString(registry.getProductsToUninstall()));
 457.209              
 457.210 -            installationSizeLabel.setText(
 457.211 -                    panel.getProperty(INSTALLATION_SIZE_PROPERTY));
 457.212 -            installationSizeValue.setText(StringUtils.formatSize(
 457.213 -                    installationSize));
 457.214 +            installationSSSummary.setText(
 457.215 +               //     StringUtils.format(panel.getProperty(INSTALLATION_SIZE_PROPERTY), 
 457.216 +                 //   Registry.getInstance().getProducts("ss-base").get(0)));
 457.217 +                    "Sun Studio will be installed in folder: " 
 457.218 +                    + ssProduct.getInstallationLocation().getAbsolutePath());
 457.219 +            installationSSSize.setText("Required Size: "+  StringUtils.formatSize(
 457.220 +                    installationSizeSS));
 457.221 +            
 457.222 +            
 457.223 +            installationSSComponenets.setText(
 457.224 +                    //StringUtils.format(panel.getProperty(INSTALLATION_SIZE_PROPERTY), 
 457.225 +                    //Registry.getInstance().getProducts("nb-base").get(0)))
 457.226 +                    "Installed components: " + StringUtils.asString(dependentOnSS));
 457.227 +            if (dependentOnNb.size() > 0) {
 457.228 +                Product nbProduct = registry.getProducts("nb-base").get(0);
 457.229 +                String action = dependentOnNb.contains(nbProduct) ? "installed" : "updated";
 457.230 +                installationNBSummary.setText("NetBeans will be " + action + " in folder: "
 457.231 +                        + registry.getProducts("nb-extra").get(0).getInstallationLocation()
 457.232 +                        .getAbsolutePath());
 457.233 +                installationNBSize.setText("Required Size: "+  StringUtils.formatSize(
 457.234 +                    installationSizeNb));
 457.235 +            } else {
 457.236 +                installationNBSummary.setText("");
 457.237 +            }
 457.238 +            
 457.239              
 457.240              downloadSizeLabel.setText(
 457.241                      panel.getProperty(DOWNLOAD_SIZE_PROPERTY));
 457.242 @@ -326,14 +258,21 @@
 457.243              
 457.244              if (registry.getProductsToInstall().size() == 0) {
 457.245                  locationsPane.setVisible(false);
 457.246 -                installationSizeLabel.setVisible(false);
 457.247 -                installationSizeValue.setVisible(false);
 457.248 +                installationSSSummary.setVisible(false);
 457.249 +                installationSSSize.setVisible(false);   
 457.250 +                installationSSComponenets.setVisible(false);
 457.251 +                installationNBSummary.setVisible(false);
 457.252 +                installationNBSize.setVisible(false);   
 457.253              } else {
 457.254                  locationsPane.setVisible(true);
 457.255 -                installationSizeLabel.setVisible(true);
 457.256 -                installationSizeValue.setVisible(true);
 457.257 +                installationSSSummary.setVisible(true);
 457.258 +                installationSSSize.setVisible(true);
 457.259 +                installationSSComponenets.setVisible(true);
 457.260 +                installationNBSummary.setVisible(true);
 457.261 +                installationNBSize.setVisible(true);
 457.262              }
 457.263              
 457.264 +            
 457.265              if (registry.getProductsToUninstall().size() == 0) {
 457.266                  uninstallListLabel.setVisible(false);
 457.267                  uninstallListPane.setVisible(false);
 457.268 @@ -350,12 +289,7 @@
 457.269                      downloadSizeValue.setVisible(true);
 457.270                  }
 457.271              }
 457.272 -            //if(gfCheckbox!=null) {
 457.273 -            //    gfCheckbox.doClick();
 457.274 -            //}
 457.275 -            //if(tomcatCheckbox!=null) {
 457.276 -            //    tomcatCheckbox.doClick();
 457.277 -            //}
 457.278 +            
 457.279              super.initialize();
 457.280          }
 457.281          
 457.282 @@ -382,7 +316,9 @@
 457.283                      spaceMap.put(downloadDataDirRoot, new Long(downloadSize));
 457.284                      long lastDataSize = 0;
 457.285                      for (Product product: toInstall) {
 457.286 +                                                
 457.287                          final File installLocation = product.getInstallationLocation();
 457.288 +                      //  LogManager.log("   Prouct [" + product. + "] <- " + installLocation);
 457.289                          final File root = FileUtils.getRoot(installLocation, roots);
 457.290                          final long productSize = product.getRequiredDiskSpace();
 457.291                          
 457.292 @@ -460,14 +396,24 @@
 457.293              uninstallListLabel = new NbiLabel();
 457.294              uninstallListLabel.setLabelFor(uninstallListPane);
 457.295              
 457.296 -            // installationSizeValue ////////////////////////////////////////////////
 457.297 -            installationSizeValue = new NbiLabel();
 457.298 -            installationSizeValue.setFocusable(true);
 457.299 +            // installationSSSize ////////////////////////////////////////////////
 457.300 +            installationSSSize = new NbiLabel();
 457.301 +            installationSSSize.setFocusable(true);
 457.302              
 457.303 -            // installationSizeLabel ////////////////////////////////////////////////
 457.304 -            installationSizeLabel = new NbiLabel();
 457.305 -            installationSizeLabel.setLabelFor(installationSizeValue);
 457.306 +            // installationSSSummary ////////////////////////////////////////////////
 457.307 +            installationSSSummary = new NbiLabel();
 457.308 +            installationSSSummary.setLabelFor(installationSSSize);
 457.309 +                     
 457.310 +            // installationSSSize ////////////////////////////////////////////////
 457.311 +            installationNBSummary = new NbiLabel();
 457.312 +            installationNBSummary.setFocusable(true);
 457.313              
 457.314 +            installationNBSize = new NbiLabel();
 457.315 +            installationNBSize.setFocusable(true);
 457.316 +            
 457.317 +            // installationSSSummary ////////////////////////////////////////////////
 457.318 +            installationSSComponenets = new NbiLabel();
 457.319 +            installationSSComponenets.setLabelFor(installationNBSummary);
 457.320              // downloadSizeValue ////////////////////////////////////////////////////
 457.321              downloadSizeValue = new NbiLabel();
 457.322              downloadSizeValue.setFocusable(true);
 457.323 @@ -480,14 +426,6 @@
 457.324              spacer = new NbiPanel();
 457.325              
 457.326              // this /////////////////////////////////////////////////////////////////
 457.327 -            add(locationsPane, new GridBagConstraints(
 457.328 -                    0, 0,                             // x, y
 457.329 -                    1, 1,                             // width, height
 457.330 -                    1.0, 0.0,                         // weight-x, weight-y
 457.331 -                    GridBagConstraints.PAGE_START,    // anchor
 457.332 -                    GridBagConstraints.HORIZONTAL,    // fill
 457.333 -                    new Insets(11, 11, 0, 11),        // padding
 457.334 -                    0, 0));                           // padx, pady - ???
 457.335              add(uninstallListLabel, new GridBagConstraints(
 457.336                      0, 1,                             // x, y
 457.337                      1, 1,                             // width, height
 457.338 @@ -504,152 +442,46 @@
 457.339                      GridBagConstraints.HORIZONTAL,    // fill
 457.340                      new Insets(0, 11, 0, 11),         // padding
 457.341                      0, 0));                           // padx, pady - ???
 457.342 -            int index = 3;
 457.343 -           /* 
 457.344 -            final String runtimesToRemoveText = ADDITIONAL_RUNTIMES_TO_DELETE;
 457.345 -            //final String removeSpecificRuntime = "<html>{0}";
 457.346 -            //final String removeSpecificRuntimeIncluding = "<html>{0} (including {1})";
 457.347 -            
 457.348 -            for(Product product : Registry.getInstance().getProductsToUninstall()) {
 457.349 -                if(product.getUid().equals("nb-base")) {
 457.350 -                    try {
 457.351 -                        File installLocation = product.getInstallationLocation();
 457.352 -                        
 457.353 -                        String gfLocation = NetBeansUtils.getJvmOption(
 457.354 -                                installLocation, GLASSFISH_JVM_OPTION_NAME);
 457.355 -                        String tomcatLocation = NetBeansUtils.getJvmOption(
 457.356 -                                installLocation, TOMCAT_JVM_OPTION_NAME_HOME);
 457.357 -                        if(gfLocation!=null) {
 457.358 -                            for(final Product gfProduct : Registry.getInstance().getProducts("glassfish")) {
 457.359 -                                if(gfProduct.getStatus() == Status.INSTALLED &&
 457.360 -                                        new File(gfLocation).equals(gfProduct.getInstallationLocation()))    {
 457.361 -                                    glassfishProduct = gfProduct;
 457.362 -                                    gfCheckbox = new NbiCheckBox();
 457.363 -                                    //List <Product> alsoRemoving = Registry.getInstance().getInavoidableDependents(gfProduct);
 457.364 -                                    //for(Product toUninstall : Registry.getInstance().getProductsToUninstall()) {
 457.365 -                                    //    alsoRemoving.remove(toUninstall);
 457.366 -                                    //}
 457.367 -                                    //final String text = (alsoRemoving.isEmpty()) ?
 457.368 -                                    //    StringUtils.format(removeSpecificRuntime, gfProduct.getDisplayName()) :
 457.369 -                                    //    StringUtils.format(removeSpecificRuntimeIncluding, gfProduct.getDisplayName(),
 457.370 -                                    //       StringUtils.asString(alsoRemoving));
 457.371 -                                    //gfCheckbox.setText(text);
 457.372 -                                    gfCheckbox.setText(gfProduct.getDisplayName());
 457.373 -                                    gfCheckbox.setBorder(new EmptyBorder(0,0,0,0));
 457.374 -                                    runtimesToRemove = new NbiLabel();
 457.375 -                                    runtimesToRemove.setText(StringUtils.format(runtimesToRemoveText,
 457.376 -                                            product.getLogic().getSystemDisplayName()));
 457.377 -                                    gfCheckbox.addActionListener(new ActionListener() {
 457.378 -                                        public void actionPerformed(ActionEvent e) {
 457.379 -                                            if(gfCheckbox.isSelected()) {
 457.380 -                                                gfProduct.setStatus(Status.TO_BE_UNINSTALLED);
 457.381 -                                            } else {
 457.382 -                                                gfProduct.setStatus(Status.INSTALLED);
 457.383 -                                            }
 457.384 -                                        }
 457.385 -                                    });
 457.386 -                                    
 457.387 -                                    add(runtimesToRemove, new GridBagConstraints(
 457.388 -                                            0, index++,                        // x, y
 457.389 -                                            1, 1,                             // width, height
 457.390 -                                            1.0, 0.0,                         // weight-x, weight-y
 457.391 -                                            GridBagConstraints.PAGE_START,    // anchor
 457.392 -                                            GridBagConstraints.HORIZONTAL,    // fill
 457.393 -                                            new Insets(0, 11, 0, 11),         // padding
 457.394 -                                            0, 0));                           // padx, pady - ???
 457.395 -                                    add(gfCheckbox, new GridBagConstraints(
 457.396 -                                            0, index++,                        // x, y
 457.397 -                                            1, 1,                             // width, height
 457.398 -                                            1.0, 0.0,                         // weight-x, weight-y
 457.399 -                                            GridBagConstraints.PAGE_START,    // anchor
 457.400 -                                            GridBagConstraints.HORIZONTAL,    // fill
 457.401 -                                            new Insets(0, 20, 0, 11),         // padding
 457.402 -                                            0, 0));                           // padx, pady - ???
 457.403 -                                    break;
 457.404 -                                }
 457.405 -                            }
 457.406 -                        }
 457.407 -                        if(tomcatLocation!=null) {
 457.408 -                            for(final Product ttProduct : Registry.getInstance().getProducts("tomcat")) {
 457.409 -                                if(ttProduct.getStatus() == Status.INSTALLED &&
 457.410 -                                        new File(tomcatLocation).equals(ttProduct.getInstallationLocation()))    {
 457.411 -                                    tomcatProduct = ttProduct;
 457.412 -                                    tomcatCheckbox = new NbiCheckBox();
 457.413 -                                    
 457.414 -                                    //List <Product> alsoRemoving = Registry.getInstance().getInavoidableDependents(tomcatProduct);
 457.415 -                                    //for(Product toUninstall : Registry.getInstance().getProductsToUninstall()) {
 457.416 -                                    //alsoRemoving.remove(toUninstall);
 457.417 -                                    //}
 457.418 -                                    //final String text = (alsoRemoving.isEmpty()) ?
 457.419 -                                    //    StringUtils.format(removeSpecificRuntime, tomcatProduct.getDisplayName()) :
 457.420 -                                    //    StringUtils.format(removeSpecificRuntimeIncluding, tomcatProduct.getDisplayName(),
 457.421 -                                    //        StringUtils.asString(alsoRemoving));
 457.422 -                                    //tomcatCheckbox.setText(text);
 457.423 -                                    tomcatCheckbox.setText(tomcatProduct.getDisplayName());
 457.424 -                                    
 457.425 -                                    tomcatCheckbox.setBorder(new EmptyBorder(0,0,0,0));
 457.426 -                                    if(runtimesToRemove==null) {
 457.427 -                                        runtimesToRemove = new NbiLabel();
 457.428 -                                        runtimesToRemove.setText(StringUtils.format(runtimesToRemoveText,
 457.429 -                                                product.getLogic().getSystemDisplayName()));
 457.430 -                                        
 457.431 -                                        add(runtimesToRemove, new GridBagConstraints(
 457.432 -                                                0, index++,                        // x, y
 457.433 -                                                1, 1,                             // width, height
 457.434 -                                                1.0, 0.0,                         // weight-x, weight-y
 457.435 -                                                GridBagConstraints.PAGE_START,    // anchor
 457.436 -                                                GridBagConstraints.HORIZONTAL,    // fill
 457.437 -                                                new Insets(0, 11, 0, 11),         // padding
 457.438 -                                                0, 0));                           // padx, pady - ???
 457.439 -                                    }
 457.440 -                                    
 457.441 -                                    tomcatCheckbox.addActionListener(new ActionListener() {
 457.442 -                                        public void actionPerformed(ActionEvent e) {
 457.443 -                                            if(tomcatCheckbox.isSelected()) {
 457.444 -                                                tomcatProduct.setStatus(Status.TO_BE_UNINSTALLED);
 457.445 -                                            } else {
 457.446 -                                                tomcatProduct.setStatus(Status.INSTALLED);
 457.447 -                                            }
 457.448 -                                        }
 457.449 -                                    });
 457.450 -                                    
 457.451 -                                    add(tomcatCheckbox, new GridBagConstraints(
 457.452 -                                            0, index++,                        // x, y
 457.453 -                                            1, 1,                             // width, height
 457.454 -                                            1.0, 0.0,                         // weight-x, weight-y
 457.455 -                                            GridBagConstraints.PAGE_START,    // anchor
 457.456 -                                            GridBagConstraints.HORIZONTAL,    // fill
 457.457 -                                            new Insets(0, 20, 0, 11),         // padding
 457.458 -                                            0, 0));                           // padx, pady - ???
 457.459 -                                    break;
 457.460 -                                }
 457.461 -                            }
 457.462 -                        }
 457.463 -                        
 457.464 -                    } catch (IOException e) {
 457.465 -                        LogManager.log(e);
 457.466 -                    }  catch (InitializationException e) {
 457.467 -                        LogManager.log(e);
 457.468 -                    }
 457.469 -                }
 457.470 -            }*/
 457.471 -            
 457.472 -            add(installationSizeLabel, new GridBagConstraints(
 457.473 -                    0, 6,                             // x, y
 457.474 +             add(installationSSSummary, new GridBagConstraints(
 457.475 +                    0, 3,                             // x, y
 457.476                      1, 1,                             // width, height
 457.477                      1.0, 0.0,                         // weight-x, weight-y
 457.478                      GridBagConstraints.LINE_START,    // anchor
 457.479                      GridBagConstraints.HORIZONTAL,    // fill
 457.480                      new Insets(22, 11, 0, 11),        // padding
 457.481                      0, 0));                           // padx, pady - ???
 457.482 -            add(installationSizeValue, new GridBagConstraints(
 457.483 +            add(installationSSSize, new GridBagConstraints(
 457.484 +                    0, 4,                             // x, y
 457.485 +                    1, 1,                             // width, height
 457.486 +                    1.0, 0.0,                         // weight-x, weight-y
 457.487 +                    GridBagConstraints.LINE_START,    // anchor
 457.488 +                    GridBagConstraints.HORIZONTAL,    // fill
 457.489 +                    new Insets(4, 22, 0, 11),         // padding
 457.490 +                    0, 0));                           // padx, pady - ???            
 457.491 +            add(installationSSComponenets, new GridBagConstraints(
 457.492 +                    0, 5,                             // x, y
 457.493 +                    1, 1,                             // width, height
 457.494 +                    1.0, 0.0,                         // weight-x, weight-y
 457.495 +                    GridBagConstraints.LINE_START,    // anchor
 457.496 +                    GridBagConstraints.HORIZONTAL,    // fill
 457.497 +                    new Insets(4, 22, 0, 11),        // padding
 457.498 +                    0, 0));                           // padx, pady - ???
 457.499 +            add(installationNBSummary, new GridBagConstraints(
 457.500                      0, 7,                             // x, y
 457.501                      1, 1,                             // width, height
 457.502                      1.0, 0.0,                         // weight-x, weight-y
 457.503                      GridBagConstraints.LINE_START,    // anchor
 457.504                      GridBagConstraints.HORIZONTAL,    // fill
 457.505 +                    new Insets(22, 11, 0, 11),         // padding
 457.506 +                    0, 0));                           // padx, pady - ???
 457.507 +            add(installationNBSize, new GridBagConstraints(
 457.508 +                    0, 8,                             // x, y
 457.509 +                    1, 1,                             // width, height
 457.510 +                    1.0, 0.0,                         // weight-x, weight-y
 457.511 +                    GridBagConstraints.LINE_START,    // anchor
 457.512 +                    GridBagConstraints.HORIZONTAL,    // fill
 457.513                      new Insets(4, 22, 0, 11),         // padding
 457.514 -                    0, 0));                           // padx, pady - ???
 457.515 +                    0, 0));                           // padx, pady - ???            
 457.516              add(downloadSizeLabel, new GridBagConstraints(
 457.517                      0, 8,                             // x, y
 457.518                      1, 1,                             // width, height
 457.519 @@ -677,25 +509,7 @@
 457.520          }
 457.521          
 457.522          @Override
 457.523 -        public void evaluateNextButtonClick() {
 457.524 -            /*if(glassfishProduct!=null &&
 457.525 -                    glassfishProduct.getStatus()==Status.TO_BE_UNINSTALLED) {
 457.526 -                glassfishProduct.setStatus(Status.INSTALLED);
 457.527 -                List <Product> others = Registry.getInstance().getInavoidableDependents(glassfishProduct);
 457.528 -                for(Product pr : others) {
 457.529 -                    pr.setStatus(Status.TO_BE_UNINSTALLED);
 457.530 -                }
 457.531 -                glassfishProduct.setStatus(Status.TO_BE_UNINSTALLED);
 457.532 -            }
 457.533 -            if(tomcatProduct!=null &&
 457.534 -                    tomcatProduct.getStatus()==Status.TO_BE_UNINSTALLED) {
 457.535 -                tomcatProduct.setStatus(Status.INSTALLED);
 457.536 -                List <Product> others = Registry.getInstance().getInavoidableDependents(tomcatProduct);
 457.537 -                for(Product pr : others) {
 457.538 -                    pr.setStatus(Status.TO_BE_UNINSTALLED);
 457.539 -                }
 457.540 -                tomcatProduct.setStatus(Status.TO_BE_UNINSTALLED);
 457.541 -            }*/
 457.542 +        public void evaluateNextButtonClick() {           
 457.543              super.evaluateNextButtonClick();
 457.544          }
 457.545          
 457.546 @@ -715,8 +529,8 @@
 457.547              "download.size"; // NOI18N
 457.548      public static final String NB_ADDONS_LOCATION_TEXT_PROPERTY =
 457.549              "addons.nb.install.location.text"; // NOI18N
 457.550 -    public static final String GF_ADDONS_LOCATION_TEXT_PROPERTY =
 457.551 -            "addons.gf.install.location.text"; // NOI18N
 457.552 +    public static final String SS_ADDONS_LOCATION_TEXT_PROPERTY =
 457.553 +            "addons.ss.install.location.text"; // NOI18N
 457.554      
 457.555      public static final String ERROR_NOT_ENOUGH_SPACE_PROPERTY =
 457.556              "error.not.enough.space"; // NOI18N
 457.557 @@ -756,9 +570,9 @@
 457.558      public static final String DEFAULT_DOWNLOAD_SIZE =
 457.559              ResourceUtils.getString(PreInstallSummaryPanel.class,
 457.560              "NPrISP.download.size"); // NOI18N
 457.561 -    public static final String DEFAULT_GF_ADDONS_LOCATION_TEXT =
 457.562 +    public static final String DEFAULT_SS_ADDONS_LOCATION_TEXT =
 457.563              ResourceUtils.getString(PreInstallSummaryPanel.class,
 457.564 -            "NPrISP.addons.gf.install.location.text"); // NOI18N
 457.565 +            "NPrISP.addons.ss.install.location.text"); // NOI18N
 457.566      public static final String DEFAULT_NB_ADDONS_LOCATION_TEXT =
 457.567              ResourceUtils.getString(PreInstallSummaryPanel.class,
 457.568              "NPrISP.addons.nb.install.location.text"); // NOI18N
 457.569 @@ -793,8 +607,4 @@
 457.570      
 457.571      public static final long REQUIRED_SPACE_ADDITION =
 457.572              10L * 1024L * 1024L; // 10MB
 457.573 -    public static final String GLASSFISH_JVM_OPTION_NAME =
 457.574 -            "-Dcom.sun.aas.installRoot"; // NOI18N
 457.575 -    public static final String TOMCAT_JVM_OPTION_NAME_HOME =
 457.576 -            "-Dorg.netbeans.modules.tomcat.autoregister.catalinaHome"; // NOI18N
 457.577  }
   458.1 --- a/ssinstaller/engine/src/org/netbeans/installer/wizard/components/panels/sunstudio/WelcomePanel.java	Thu Jul 10 19:13:29 2008 +0800
   458.2 +++ b/ssinstaller/engine/src/org/netbeans/installer/wizard/components/panels/sunstudio/WelcomePanel.java	Thu Jul 10 19:50:39 2008 +0800
   458.3 @@ -236,8 +236,11 @@
   458.4                      }
   458.5                  }
   458.6              }
   458.7 -        }      
   458.8 +        }   
   458.9 +        // TODO make common solution
  458.10          defaultRegistry.getProducts("ss-base").get(0).setVisible(false);
  458.11 +        defaultRegistry.getProducts("nb-base").get(0).setVisible(false);
  458.12 +        defaultRegistry.getProducts("nb-base").get(0).setStatus(Status.NOT_INSTALLED);
  458.13          registriesFiltered = true;
  458.14      }
  458.15      
   459.1 --- a/ssinstaller/infra/build.xml	Thu Jul 10 19:13:29 2008 +0800
   459.2 +++ b/ssinstaller/infra/build.xml	Thu Jul 10 19:50:39 2008 +0800
   459.3 @@ -312,30 +312,7 @@
   459.4      	<antcall target="build-tools-group"/>
   459.5      	<antcall target="build-ide-group"/>
   459.6      	<antcall target="build-other-group"/>
   459.7 -        <ant dir="${nbi.netbeans.dir}/infra/products/nb-base" target="release-all">
   459.8 -            <property 
   459.9 -                name="basedir" 
  459.10 -                value="${nbi.netbeans.dir}/infra/products/nb-base"/>
  459.11 -            <property 
  459.12 -                name="environment.properties" 
  459.13 -                value="${environment.properties}"/>
  459.14 -            
  459.15 -            <property
  459.16 -                name="dist.dir"
  459.17 -                value="${output.dir}/components"/>
  459.18 -            
  459.19 -            <property
  459.20 -                name="release.parent.uid"
  459.21 -                value="ide-group"/>
  459.22 -            <property
  459.23 -                name="release.parent.version"
  459.24 -                value=""/>
  459.25 -            <property
  459.26 -                name="release.parent.platforms"
  459.27 -                value=""/>
  459.28 -        </ant>
  459.29   
  459.30 -
  459.31          
  459.32  	<build-product dir="C_Compiler"/>
  459.33          <build-product dir="C++_Compiler"/>
  459.34 @@ -460,8 +437,9 @@
  459.35                         target="${output.dir}/bundles/${ss.bundle.files.prefix}-bundled-intel-S2.sh">
  459.36              <component uid="ss-base" version="1.0.0.0.0"/>            
  459.37  	    <component uid="nb-base" version="${nb.full.version}"/>
  459.38 +	    <component uid="nb-extra" version="${nb.full.version}"/>
  459.39  	    <component uid="cc" version="1.0.0.0.0"/>            
  459.40 -	    <component uid="cpp" version="1.0.0.0.0"/>	   
  459.41 +	   <component uid="cpp" version="1.0.0.0.0"/>	   
  459.42      	    <component uid="fortran" version="1.0.0.0.0"/>
  459.43      	    <component uid="dbx" version="1.0.0.0.0"/>
  459.44      	    <component uid="dmake" version="1.0.0.0.0"/>
  459.45 @@ -565,8 +543,8 @@
  459.46      
  459.47      <target name="build-engine" depends="-init">
  459.48  	<property name="engine.dist.file.name" value="nbi-engine.jar"/>
  459.49 -        
  459.50          <echo message="BUILDING CORE ENGINE ======================================"/>
  459.51 +
  459.52          <ant dir="${nbi.core.dir}/infra/build/engine" target="build-all">
  459.53              <property 
  459.54                  name="basedir" 
  459.55 @@ -584,7 +562,7 @@
  459.56                  name="cvs.module" 
  459.57                  value="${core.module.name}"/>
  459.58          </ant>
  459.59 -        
  459.60 +       
  459.61          <echo message="BUILDING SUN STUDIO INSTALLER ENGINE =================================="/>
  459.62          <ant dir="${nbi.netbeans.dir}/infra/engine" target="release-all">
  459.63              <property 
  459.64 @@ -597,6 +575,7 @@
  459.65                  name="core.engine.dist.file" 
  459.66                  value="${nbi.core.dir}/infra/build/engine/dist/${engine.dist.file.name}"/>
  459.67          </ant>
  459.68 +
  459.69  	<ant dir="${nbi.netbeans.dir}/infra/products/ss-base" target="release-all">
  459.70              <property 
  459.71                  name="basedir" 
  459.72 @@ -619,6 +598,77 @@
  459.73                  name="release.parent.platforms"
  459.74                  value=""/>
  459.75          </ant>
  459.76 +        <ant dir="${nbi.netbeans.dir}/infra/products/nb-extra" target="release-all">
  459.77 +            <property 
  459.78 +                name="basedir" 
  459.79 +                value="${nbi.netbeans.dir}/infra/products/nb-extra"/>
  459.80 +            <property 
  459.81 +                name="environment.properties" 
  459.82 +                value="${environment.properties}"/>
  459.83 +            
  459.84 +            <property
  459.85 +                name="dist.dir"
  459.86 +                value="${output.dir}/components"/>
  459.87 +            
  459.88 +            <property
  459.89 +                name="release.parent.uid"
  459.90 +                value="ide-group"/>
  459.91 +            <property
  459.92 +                name="release.parent.version"
  459.93 +                value=""/>
  459.94 +            <property
  459.95 +                name="release.parent.platforms"
  459.96 +                value=""/>
  459.97 +        </ant>
  459.98 +
  459.99 +<!--
 459.100 +        <ant dir="${nbi.netbeans.dir}/infra/products/nb-cnd" target="release-all">
 459.101 +            <property 
 459.102 +                name="basedir" 
 459.103 +                value="${nbi.netbeans.dir}/infra/products/nb-cnd"/>
 459.104 +            <property 
 459.105 +                name="environment.properties" 
 459.106 +                value="${environment.properties}"/>
 459.107 +            
 459.108 +            <property
 459.109 +                name="dist.dir"
 459.110 +                value="${output.dir}/components"/>
 459.111 +            
 459.112 +            <property
 459.113 +                name="release.parent.uid"
 459.114 +                value="ide-group"/>
 459.115 +            <property
 459.116 +                name="release.parent.version"
 459.117 +                value=""/>
 459.118 +            <property
 459.119 +                name="release.parent.platforms"
 459.120 +                value=""/>
 459.121 +        </ant>
 459.122 +	
 459.123 +-->    
 459.124 +    
 459.125 +    <ant dir="${nbi.netbeans.dir}/infra/products/nb-base" target="release-all">
 459.126 +            <property 
 459.127 +                name="basedir" 
 459.128 +                value="${nbi.netbeans.dir}/infra/products/nb-base"/>
 459.129 +            <property 
 459.130 +                name="environment.properties" 
 459.131 +                value="${environment.properties}"/>
 459.132 +            
 459.133 +            <property
 459.134 +                name="dist.dir"
 459.135 +                value="${output.dir}/components"/>
 459.136 +            
 459.137 +            <property
 459.138 +                name="release.parent.uid"
 459.139 +                value="ide-group"/>
 459.140 +            <property
 459.141 +                name="release.parent.version"
 459.142 +                value=""/>
 459.143 +            <property
 459.144 +                name="release.parent.platforms"
 459.145 +                value=""/>
 459.146 +        </ant>
 459.147  
 459.148      </target>
 459.149  
   460.1 --- a/ssinstaller/infra/products/native/support_files/build.properties	Thu Jul 10 19:13:29 2008 +0800
   460.2 +++ b/ssinstaller/infra/products/native/support_files/build.properties	Thu Jul 10 19:50:39 2008 +0800
   460.3 @@ -1,233 +1,237 @@
   460.4  #
   460.5 -#Wed Apr 09 18:08:34 MSD 2008
   460.6 -product.data.22.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrcc
   460.7 -product.data.45.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4h
   460.8 +#Wed Jul 02 14:27:49 MSD 2008
   460.9 +product.data.22.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmr3m
  460.10 +product.data.45.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4a
  460.11  product.uid=support-files
  460.12  product.data.7.zip=false
  460.13 -product.data.22.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrftn-12.0-1.i386.rpm
  460.14 -product.data.26.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrdwf
  460.15 -product.data.49.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsunms
  460.16 +product.data.22.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrcpl-12.0-1.i386.rpm
  460.17 +product.data.26.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrdmk
  460.18 +product.data.49.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4y
  460.19  product.data.10.zip=false
  460.20  product.data.28.zip=false
  460.21  cvs.path=components/products/support_files
  460.22  product.data.61.zip=false
  460.23 -product.data.8.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROgcx
  460.24 -product.data.29.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmr3m
  460.25 +product.data.8.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROgc
  460.26 +product.data.29.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROm9xpx
  460.27  product.data.1.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROcmpl
  460.28 -product.data.60.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsunms
  460.29 +product.data.60.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4y
  460.30  product.data.17.zip=false
  460.31  product.data.2.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-lang-12.0-1.i386.rpm
  460.32  product.data.50.zip=false
  460.33 -product.data.18.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mr3m-12.0-1.i386.rpm
  460.34 -product.data.51.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROtdemo
  460.35 +product.data.18.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mride-12.0-1.i386.rpm
  460.36 +product.data.51.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsvc
  460.37  product.data.57.zip=false
  460.38 -product.data.32.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrstd
  460.39 -product.data.17.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90sx
  460.40 -product.data.10.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROipl
  460.41 -product.data.41.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrsbe
  460.42 -product.data.55.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsysprp
  460.43 +product.data.32.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrsbe
  460.44 +product.data.17.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90s
  460.45 +product.data.10.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROidext
  460.46 +product.data.41.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrpgn
  460.47 +product.data.55.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrmp
  460.48  product.data.46.zip=false
  460.49 -product.data.23.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrstd-12.0-1.i386.rpm
  460.50 +product.data.23.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrftn-12.0-1.i386.rpm
  460.51  product.data.2.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROctags
  460.52  product.data.35.zip=false
  460.53 -product.data.22.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrgc
  460.54 -product.data.53.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsmpx
  460.55 +product.data.22.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlgc
  460.56 +product.data.53.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsclx
  460.57  product.data.3.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-rtm-12.0-1.i386.rpm
  460.58  product.data.3.zip=false
  460.59  product.data.24.zip=false
  460.60 -product.data.19.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrcc-12.0-1.i386.rpm
  460.61 -product.data.34.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrcpl
  460.62 -product.data.13.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90sx
  460.63 -product.data.6.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROfd
  460.64 -product.data.36.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROprflb
  460.65 -product.data.65.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsslnk
  460.66 +product.data.19.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mr3m-12.0-1.i386.rpm
  460.67 +product.data.34.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrcom
  460.68 +product.data.13.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90s
  460.69 +product.data.6.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROdwrfx
  460.70 +product.data.36.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROprfan
  460.71 +product.data.65.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROudchk
  460.72  product.data.13.zip=false
  460.73 -product.data.17.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlgc
  460.74 +product.data.17.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlangx
  460.75  product.data.64.zip=false
  460.76 -product.data.24.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrpan-12.0-1.i386.rpm
  460.77 -product.data.6.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROfd
  460.78 -product.data.25.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrpgn-12.0-1.i386.rpm
  460.79 +product.data.24.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrstd-12.0-1.i386.rpm
  460.80 +product.data.6.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROdwrfx
  460.81 +product.data.25.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrpan-12.0-1.i386.rpm
  460.82  product.data.53.zip=false
  460.83 -product.data.15.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90
  460.84 -product.data.46.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROprfan
  460.85 -product.data.4.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-svc-12.0-1.x86_64.rpm
  460.86 +product.data.15.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl77sx
  460.87 +product.data.46.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROplck
  460.88 +product.data.4.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-atd-12.0-1.x86_64.rpm
  460.89  product.data.42.zip=false
  460.90 -product.data.5.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-utool-12.0-1.i386.rpm
  460.91 -product.data.30.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-sclx-12.0-1.x86_64.rpm
  460.92 -product.data.42.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsmpx
  460.93 -product.data.23.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrcom
  460.94 -product.data.46.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4o
  460.95 -product.data.27.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrftn
  460.96 +product.data.5.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-dlight-12.0-1.x86_64.rpm
  460.97 +product.data.30.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-scl-12.0-1.i386.rpm
  460.98 +product.data.42.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsclx
  460.99 +product.data.23.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrcc
 460.100 +product.data.46.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4h
 460.101 +product.data.27.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrdwf
 460.102  product.data.31.zip=false
 460.103 -product.data.27.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROm9xsx
 460.104 +product.data.27.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROm9xs
 460.105  product.data.49.zip=false
 460.106 -product.data.20.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlangx
 460.107 -product.data.58.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4x
 460.108 -product.data.51.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROscl
 460.109 +product.data.20.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlang
 460.110 +product.data.58.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4o
 460.111 +product.data.51.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsbldx
 460.112  product.data.20.zip=false
 460.113  product.data.38.zip=false
 460.114 -product.data.26.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-pnsn-12.0-1.i386.rpm
 460.115 +product.data.26.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrpgn-12.0-1.i386.rpm
 460.116  product.data.6.zip=false
 460.117 -product.data.39.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrpan
 460.118 -product.data.32.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrcc
 460.119 -product.data.63.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROutool
 460.120 +product.data.39.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmride
 460.121 +product.data.32.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrmp
 460.122 +product.data.63.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROtdemo
 460.123  product.data.27.zip=false
 460.124 -product.data.52.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROutool
 460.125 -product.data.10.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROudchk
 460.126 -product.data.33.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrtcv
 460.127 +product.data.52.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROtdemo
 460.128 +product.data.10.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROidext
 460.129 +product.data.33.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrstd
 460.130  product.data.60.zip=false
 460.131 -product.data.56.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsslnk
 460.132 -product.data.6.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrlnx-12.0-1.i386.rpm
 460.133 -product.data.31.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-tdemo-12.0-1.i386.rpm
 460.134 +product.data.56.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsysprp
 460.135 +product.data.6.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-svc-12.0-1.x86_64.rpm
 460.136 +product.data.31.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-sclx-12.0-1.x86_64.rpm
 460.137  product.data.16.zip=false
 460.138 -product.data.13.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl77s
 460.139 -product.data.44.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROpnsn
 460.140 +product.data.67.zip=false
 460.141 +product.data.13.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROiplx
 460.142 +product.data.44.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrtcv
 460.143  product.data.56.zip=false
 460.144  product.data.45.zip=false
 460.145 -product.data.4.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROdwrfb
 460.146 -product.data.25.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlklnt
 460.147 -product.data.27.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-prfan-12.0-1.x86_64.rpm
 460.148 -product.data.56.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4h
 460.149 -product.data.length.linux=38
 460.150 -product.data.14.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90x
 460.151 -product.data.37.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsbe
 460.152 -product.data.18.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlgcx
 460.153 +product.data.4.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROdlight
 460.154 +product.data.25.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlgcx
 460.155 +product.data.27.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-pnsn-12.0-1.i386.rpm
 460.156 +product.data.56.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4a
 460.157 +product.data.length.linux=39
 460.158 +product.data.14.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90sx
 460.159 +product.data.37.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROprflb
 460.160 +product.data.18.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlgc
 460.161  product.data.34.zip=false
 460.162 -product.data.32.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-udchk-12.0-1.i386.rpm
 460.163 -product.data.7.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-rtmx-12.0-1.x86_64.rpm
 460.164 +product.data.32.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-tdemo-12.0-1.i386.rpm
 460.165 +product.data.7.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-utool-12.0-1.i386.rpm
 460.166  product.data.2.zip=false
 460.167 -product.data.3.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROdbxui
 460.168 -product.data.30.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmripl
 460.169 +product.data.3.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROatd
 460.170 +product.data.30.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmr3m
 460.171  product.data.23.zip=false
 460.172 -product.data.7.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROgc
 460.173 -product.data.10.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90s-12.0-1.i386.rpm
 460.174 -product.data.37.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrftn
 460.175 -product.data.61.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsvc
 460.176 +product.data.7.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROfd
 460.177 +product.data.10.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90-12.0-1.i386.rpm
 460.178 +product.data.37.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrdwf
 460.179 +product.data.61.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsunms
 460.180  product.data.9.zip=false
 460.181  product.data.12.zip=false
 460.182  product.data.63.zip=false
 460.183 -product.data.20.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROm9xs
 460.184 -product.data.43.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsmsx
 460.185 -product.data.24.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrcpl
 460.186 -product.data.18.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90x
 460.187 -product.data.11.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROiplg
 460.188 -product.data.47.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4x
 460.189 -product.data.49.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsbld
 460.190 -product.data.42.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrstd
 460.191 -product.data.28.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-prflb-12.0-1.x86_64.rpm
 460.192 +product.data.20.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrgc
 460.193 +product.data.43.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsmpx
 460.194 +product.data.24.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrcom
 460.195 +product.data.18.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90sx
 460.196 +product.data.11.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROipl
 460.197 +product.data.47.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4o
 460.198 +product.data.49.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsbe
 460.199 +product.data.42.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrsbe
 460.200 +product.data.28.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-prfan-12.0-1.x86_64.rpm
 460.201  product.data.19.zip=false
 460.202  product.data.52.zip=false
 460.203 -product.data.8.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-dbxui-12.0-1.i386.rpm
 460.204 -product.data.33.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4a-12.0-1.i386.rpm
 460.205 +product.data.8.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrlnx-12.0-1.i386.rpm
 460.206 +product.data.33.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-udchk-12.0-1.i386.rpm
 460.207  product.data.41.zip=false
 460.208  product.data.59.zip=false
 460.209 -product.data.9.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROidext
 460.210 +product.data.9.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROgcx
 460.211  product.data.2.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROctags
 460.212 -product.data.23.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlcxs
 460.213 -product.data.54.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsmsx
 460.214 -product.data.11.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-idext-12.0-1.i386.rpm
 460.215 +product.data.23.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrgc
 460.216 +product.data.54.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsmpx
 460.217 +product.data.11.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90s-12.0-1.i386.rpm
 460.218  product.data.30.zip=false
 460.219 -product.data.30.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrpgn
 460.220 -product.data.53.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlklnt
 460.221 +product.data.30.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrpan
 460.222 +product.data.53.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROutool
 460.223  product.data.48.zip=false
 460.224 -product.data.35.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrdmk
 460.225 +product.data.35.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrcpl
 460.226  product.data.37.zip=false
 460.227 -product.data.28.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmride
 460.228 -product.data.66.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsysprp
 460.229 -product.data.29.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-scl-12.0-1.i386.rpm
 460.230 +product.data.28.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrftn
 460.231 +product.data.66.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsslnk
 460.232 +product.data.29.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-prflb-12.0-1.x86_64.rpm
 460.233  product.data.5.zip=false
 460.234  product.data.26.zip=false
 460.235 -product.data.9.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90-12.0-1.i386.rpm
 460.236 -product.data.34.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4h-12.0-1.i386.rpm
 460.237 -product.data.16.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90s
 460.238 -product.data.40.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrpgn
 460.239 -product.data.47.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROprflb
 460.240 -product.data.35.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4o-12.0-1.i386.rpm
 460.241 +product.data.9.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-rtmx-12.0-1.x86_64.rpm
 460.242 +product.data.34.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4a-12.0-1.i386.rpm
 460.243 +product.data.16.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90
 460.244 +product.data.40.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrpan
 460.245 +product.data.47.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROprfan
 460.246 +product.data.35.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4h-12.0-1.i386.rpm
 460.247  product.data.15.zip=false
 460.248 -product.data.12.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90sx-12.0-1.x86_64.rpm
 460.249 +product.data.12.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-idext-12.0-1.i386.rpm
 460.250  product.data.66.zip=false
 460.251 -product.data.11.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90
 460.252 -product.data.34.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROpnsn
 460.253 -product.data.15.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlang
 460.254 -product.data.38.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsbld
 460.255 +product.data.11.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROudchk
 460.256 +product.data.34.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrtcv
 460.257 +product.data.57.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsslnk
 460.258 +product.data.15.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90x
 460.259 +product.data.38.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsbe
 460.260  product.data.55.zip=false
 460.261 -product.data.7.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROgc
 460.262 -product.data.21.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlgc
 460.263 -product.data.28.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROm9xpx
 460.264 -product.data.52.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsclx
 460.265 -product.data.59.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4y
 460.266 -product.data.4.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROdwrfb
 460.267 -product.data.8.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROgcx
 460.268 +product.data.7.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROfd
 460.269 +product.data.21.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlangx
 460.270 +product.data.28.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROm9xsx
 460.271 +product.data.52.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROscl
 460.272 +product.data.59.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4x
 460.273 +product.data.4.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROdlight
 460.274 +product.data.8.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROgc
 460.275  product.data.44.zip=false
 460.276  product.data.33.zip=false
 460.277 -product.data.40.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROscl
 460.278 -product.data.33.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrcom
 460.279 -product.data.21.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmr3m
 460.280 -product.data.64.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROudchk
 460.281 -product.data.44.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4a
 460.282 -product.data.36.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4x-12.0-1.x86_64.rpm
 460.283 -product.data.13.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90x-12.0-1.x86_64.rpm
 460.284 +product.data.40.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsbldx
 460.285 +product.data.33.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrcc
 460.286 +product.data.21.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROm9xs
 460.287 +product.data.64.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROutool
 460.288 +product.data.44.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsmsx
 460.289 +product.data.36.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4o-12.0-1.i386.rpm
 460.290 +product.data.13.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90sx-12.0-1.x86_64.rpm
 460.291  product.data.1.zip=false
 460.292  product.data.22.zip=false
 460.293 -product.data.19.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrgc
 460.294 +product.data.19.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlgcx
 460.295  product.data.8.zip=false
 460.296 -product.data.14.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl77sx
 460.297 +product.data.14.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl77s
 460.298  product.data.11.zip=false
 460.299 -product.data.45.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROplck
 460.300 +product.data.45.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROpnsn
 460.301  product.data.29.zip=false
 460.302  product.data.62.zip=false
 460.303  product.data.18.zip=false
 460.304 -product.data.50.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsvc
 460.305 +product.data.50.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsunms
 460.306  product.data.51.zip=false
 460.307 -product.data.5.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROdwrfx
 460.308 -product.data.26.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROm9xs
 460.309 -product.data.57.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4o
 460.310 -product.data.25.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrdmk
 460.311 -product.data.48.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4y
 460.312 -product.data.37.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4y-12.0-1.x86_64.rpm
 460.313 -product.data.29.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrpan
 460.314 +product.data.5.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROdwrfb
 460.315 +product.data.26.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlklnt
 460.316 +product.data.57.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4h
 460.317 +product.data.25.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrcpl
 460.318 +product.data.48.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROstl4x
 460.319 +product.data.37.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4x-12.0-1.x86_64.rpm
 460.320 +product.data.29.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmride
 460.321  product.data.40.zip=false
 460.322 -product.data.14.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-langx-12.0-1.x86_64.rpm
 460.323 +product.data.14.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-l90x-12.0-1.x86_64.rpm
 460.324  product.data.58.zip=false
 460.325  product.data.47.zip=false
 460.326 -product.data.38.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmride
 460.327 -product.data.62.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROtdemo
 460.328 -product.data.20.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrcom-12.0-1.i386.rpm
 460.329 +product.data.38.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrftn
 460.330 +product.data.62.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsvc
 460.331 +product.data.20.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrcc-12.0-1.i386.rpm
 460.332  product.data.36.zip=false
 460.333 -product.data.31.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrsbe
 460.334 -product.data.54.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrmp
 460.335 -product.data.12.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90s
 460.336 -product.data.35.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROprfan
 460.337 +product.data.31.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROmrpgn
 460.338 +product.data.54.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlklnt
 460.339 +product.data.12.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROl90
 460.340 +product.data.35.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROpnsn
 460.341  product.data.4.zip=false
 460.342 -product.data.19.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlang
 460.343 +product.data.19.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROl90x
 460.344  product.data.25.zip=false
 460.345 -product.data.50.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsbldx
 460.346 -product.data.length.solaris-sparc=66
 460.347 -product.data.38.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-sysprp-12.0-1.i386.rpm
 460.348 +product.data.50.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsbld
 460.349 +product.data.length.solaris-sparc=67
 460.350 +product.data.38.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-stl4y-12.0-1.x86_64.rpm
 460.351  product.data.1.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROcmpl
 460.352 -product.data.5.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROdwrfx
 460.353 -product.data.15.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrdmk-12.0-1.i386.rpm
 460.354 +product.data.5.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROdwrfb
 460.355 +product.data.15.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-langx-12.0-1.x86_64.rpm
 460.356  product.data.14.zip=false
 460.357 -product.data.16.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrdwf-12.0-1.i386.rpm
 460.358 +product.data.16.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrdmk-12.0-1.i386.rpm
 460.359  product.data.65.zip=false
 460.360 -product.data.3.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROdbxui
 460.361 -product.data.31.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrmp
 460.362 -product.data.55.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROstl4a
 460.363 -product.data.41.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsclx
 460.364 +product.data.3.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROatd
 460.365 +product.data.31.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmripl
 460.366 +product.data.55.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsmsx
 460.367 +product.data.41.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROscl
 460.368  product.data.54.zip=false
 460.369 -product.data.21.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrcpl-12.0-1.i386.rpm
 460.370 -product.data.16.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlangx
 460.371 -product.data.39.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsbldx
 460.372 +product.data.21.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrcom-12.0-1.i386.rpm
 460.373 +product.data.16.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROlang
 460.374 +product.data.39.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROsbld
 460.375  product.data.43.zip=false
 460.376 -product.data.12.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROiplx
 460.377 -product.data.36.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrdwf
 460.378 -product.data.43.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrtcv
 460.379 +product.data.12.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROiplg
 460.380 +product.data.36.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrdmk
 460.381 +product.data.43.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROmrstd
 460.382 +product.data.67.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsysprp
 460.383  product.data.1.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-dwrfb-12.0-1.i386.rpm
 460.384  product.data.32.zip=false
 460.385 -product.data.length.solaris-x86=56
 460.386 -product.data.9.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROidext
 460.387 -product.data.17.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mride-12.0-1.i386.rpm
 460.388 +product.data.39.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-sysprp-12.0-1.i386.rpm
 460.389 +product.data.length.solaris-x86=57
 460.390 +product.data.9.uri.solaris-x86=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-S2/SPROgcx
 460.391 +product.data.17.uri.linux=file\:///net/endif/export/home1/vesta/test/bits/packages/intel-Linux/sun-mrdwf-12.0-1.i386.rpm
 460.392  product.data.21.zip=false
 460.393 -product.data.24.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlgcx
 460.394 +product.data.24.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROlcxs
 460.395  product.data.39.zip=false
 460.396 -product.data.48.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROsbe
 460.397 +product.data.48.uri.solaris-sparc=file\:///net/endif/export/home1/vesta/test/bits/packages/sparc-S2/SPROprflb
   461.1 --- a/ssinstaller/infra/products/nb-base/build.properties	Thu Jul 10 19:13:29 2008 +0800
   461.2 +++ b/ssinstaller/infra/products/nb-base/build.properties	Thu Jul 10 19:50:39 2008 +0800
   461.3 @@ -103,10 +103,10 @@
   461.4  #product.data.1.zip=true
   461.5  
   461.6  
   461.7 -product.data.length=2
   461.8 +product.data.length=1
   461.9  product.data.1.uri=${nb.builds.host}/netbeans-6.1.zip
  461.10  product.data.1.zip=true
  461.11 -product.data.2.uri=${nb.builds.host}/atd-cluster.zip
  461.12 +product.data.2.uri=${nb.builds.host}/extra.zip
  461.13  product.data.2.zip=true
  461.14  
  461.15  # modificator for the required disk space parameter; the core value will be the
  461.16 @@ -118,8 +118,8 @@
  461.17  # in order for this product to succesfully install and function)
  461.18  # * ${product.requirements.length} - total number of the requirements
  461.19  # * indices should start with 1
  461.20 -product.requirements.length=0
  461.21 -#product.requirements.1.uid=
  461.22 +product.requirements.length=1
  461.23 +product.requirements.1.uid=nb-extra
  461.24  #product.requirements.1.version-lower=
  461.25  #product.requirements.1.version-upper=
  461.26  
   462.1 --- a/ssinstaller/infra/products/nb-cnd/build.properties	Thu Jul 10 19:13:29 2008 +0800
   462.2 +++ b/ssinstaller/infra/products/nb-cnd/build.properties	Thu Jul 10 19:50:39 2008 +0800
   462.3 @@ -81,7 +81,7 @@
   462.4  product.status=not-installed
   462.5  product.offset=90000
   462.6  product.expand=false
   462.7 -product.visible=true
   462.8 +product.visible=false
   462.9  product.features=
  462.10  
  462.11  # list of configuration logic jar files; normally the first one would be the 
   463.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   463.2 +++ b/ssinstaller/infra/products/nb-extra/build.properties	Thu Jul 10 19:50:39 2008 +0800
   463.3 @@ -0,0 +1,154 @@
   463.4 +# 
   463.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   463.6 +# 
   463.7 +# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   463.8 +# 
   463.9 +# The contents of this file are subject to the terms of either the GNU General Public
  463.10 +# License Version 2 only ("GPL") or the Common Development and Distribution
  463.11 +# License("CDDL") (collectively, the "License"). You may not use this file except in
  463.12 +# compliance with the License. You can obtain a copy of the License at
  463.13 +# http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  463.14 +# License for the specific language governing permissions and limitations under the
  463.15 +# License.  When distributing the software, include this License Header Notice in
  463.16 +# each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  463.17 +# designates this particular file as subject to the "Classpath" exception as provided
  463.18 +# by Sun in the GPL Version 2 section of the License file that accompanied this code.
  463.19 +# If applicable, add the following below the License Header, with the fields enclosed
  463.20 +# by brackets [] replaced by your own identifying information:
  463.21 +# "Portions Copyrighted [year] [name of copyright owner]"
  463.22 +# 
  463.23 +# Contributor(s):
  463.24 +# 
  463.25 +# The Original Software is NetBeans. The Initial Developer of the Original Software
  463.26 +# is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  463.27 +# Rights Reserved.
  463.28 +# 
  463.29 +# If you wish your version of this file to be governed by only the CDDL or only the
  463.30 +# GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  463.31 +# this software in this distribution under the [CDDL or GPL Version 2] license." If
  463.32 +# you do not indicate a single choice of license, a recipient has the option to
  463.33 +# distribute your version of this file under either the CDDL, the GPL Version 2 or
  463.34 +# to extend the choice of license to its licensees as provided above. However, if you
  463.35 +# add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  463.36 +# option applies only if the new code is made subject to such option by the copyright
  463.37 +# holder.
  463.38 +# 
  463.39 +
  463.40 +# path to the directory where the base build scripts library and properties 
  463.41 +# reside
  463.42 +common.dir=../../../../../nbi/infra/build/.common
  463.43 +
  463.44 +# path to the local working directory; this directory which will be the target 
  463.45 +# for checking out the sources and will be used for the build process
  463.46 +# * this path can be either absolute or relative in any unix environment, 
  463.47 +#   however, only relative paths are supported on windows, as the cygwin scp 
  463.48 +#   command does not properly handle colon in local paths
  463.49 +work.dir=./build
  463.50 +
  463.51 +# path to the local distributive directory; this directory will contain the 
  463.52 +# distributive file, when (if) the build script finishes successfully
  463.53 +dist.dir=./dist
  463.54 +
  463.55 +# path to the products's sources within the cvs module; it should be a relative 
  463.56 +# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module 
  463.57 +# name, the path should be 'engine'
  463.58 +cvs.path=components/products/nb-extra
  463.59 +
  463.60 +# core product properties: 
  463.61 +# * ${product.uid} - product "family" (e.g. nb-ide)
  463.62 +# * ${product.version} - actual products' version; together with the uid it 
  463.63 +#   forms the unique identifier for the product)
  463.64 +# * ${product.platforms} - the list of platforms that are supported by this 
  463.65 +#   product (note that this property is not related to native libraries)
  463.66 +product.uid=nb-extra
  463.67 +product.version=${nb.full.version}
  463.68 +product.platforms=linux solaris-sparc solaris-x86
  463.69 +
  463.70 +# miscellaneous product properties:
  463.71 +# * ${product.status} - default status that the product will have in the 
  463.72 +#   registry. it is meant to be always "not-installed", unless you want 
  463.73 +#   something really exotic
  463.74 +# * ${product.offset} - order of the product's node among its parent's 
  463.75 +#   children, the bigger the offset value, the further the product's node will 
  463.76 +#   be
  463.77 +# * ${product.expand} - whether to automatically expand the product's node in 
  463.78 +#   the components tree or not; 'true'/'false'
  463.79 +# * ${product.visible} - whether the product's node is visible or not (note 
  463.80 +#   that this value will be modified at nbi runtime, 'true' may become 'false' 
  463.81 +#   if the product is filtered out); 'true'/'false'
  463.82 +# * ${product.features} - list of features that this porduct belongs to; the 
  463.83 +#   list should be space-separated
  463.84 +product.status=not-installed
  463.85 +product.offset=90000
  463.86 +product.expand=false
  463.87 +product.visible=true
  463.88 +product.features=
  463.89 +
  463.90 +# list of configuration logic jar files; normally the first one would be the 
  463.91 +# distributive file of the product's netbeans project
  463.92 +# * ${product.logic.length} - total number of the files
  463.93 +# * indices should start with 1
  463.94 +product.logic.length=1
  463.95 +product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name}
  463.96 +
  463.97 +# list of product installation data files
  463.98 +# * ${product.data.length} - total number of the files
  463.99 +# * ${product.data.N.uri} - uri at which the installation data file is located
 463.100 +# * ${product.data.N.zip} - whether the data file is a zip archive which needs to 
 463.101 +#   be extracted or it is a file that should be used directly; 'true'/'false'
 463.102 +# * indices should start with 1
 463.103 +product.data.length=1
 463.104 +product.data.1.uri=${nb.builds.host}/extra.zip
 463.105 +product.data.1.zip=true
 463.106 +
 463.107 +# modificator for the required disk space parameter; the core value will be the
 463.108 +# sum of unzipped unstallation data files
 463.109 +# * the measurement unit is one byte
 463.110 +product.disk.space.modificator=0
 463.111 +
 463.112 +# product's requirements (i.e. other products that should be installed
 463.113 +# in order for this product to succesfully install and function)
 463.114 +# * ${product.requirements.length} - total number of the requirements
 463.115 +# * indices should start with 1
 463.116 +product.requirements.length=0
 463.117 +product.requirements.1.uid=nb-extra
 463.118 +product.requirements.1.version-lower=${nb.full.version}
 463.119 +product.requirements.1.version-upper=${nb.full.version}
 463.120 +
 463.121 +# product's conflicts (i.e. other products that prevent this product from 
 463.122 +# functioning correctly, and thus cannot be installed together with it)
 463.123 +# * ${product.conflicts.length} - total number of the conflicts
 463.124 +# * indices should start with 1
 463.125 +product.conflicts.length=0
 463.126 +#product.conflicts.1.uid=
 463.127 +#product.conflicts.1.version-lower=
 463.128 +#product.conflicts.1.version-upper=
 463.129 +
 463.130 +# other products that should be installed prior to this product; these 
 463.131 +# dependencies do not imply that the dependent product will be installed at 
 463.132 +# all, but if both the current and the dependent product are selected for 
 463.133 +# installation, the latter will be installed first
 463.134 +# * ${product.install-afters.length} - total number of the install-afters
 463.135 +# * indices should start with 1
 463.136 +product.install-afters.length=0
 463.137 +#product.install-afters.1.uid=
 463.138 +
 463.139 +# additional product's properties; these will appear in the product's 
 463.140 +# descriptor and in the registry in the form of 
 463.141 +# <property name="[name]">value</property> tags.
 463.142 +# * ${product.properties.length} - total number of the properties
 463.143 +# * indices should start with 1
 463.144 +# * properties are not i18n compliant
 463.145 +product.properties.length=1
 463.146 +product.properties.1.name=installation.location
 463.147 +product.properties.1.value=$N{install}/netbeans-6.1ss
 463.148 +
 463.149 +
 463.150 +# sources parameters; a search-and-replace will be run over the sources after 
 463.151 +# check-out, replacing [token] => [value]; regular expressions are not allowed
 463.152 +# * ${sources.params.length} - total number of the parameters
 463.153 +# * indices should start with 1
 463.154 +# * parameters are not i18n compliant
 463.155 +sources.params.length=1
 463.156 +sources.params.1.token={cnd-cluster}
 463.157 +sources.params.1.value=atd1
   464.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   464.2 +++ b/ssinstaller/infra/products/nb-extra/build.xml	Thu Jul 10 19:50:39 2008 +0800
   464.3 @@ -0,0 +1,421 @@
   464.4 +<?xml version="1.0" encoding="UTF-8"?>
   464.5 +<!--
   464.6 +  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
   464.7 +  
   464.8 +  Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
   464.9 +  
  464.10 +  The contents of this file are subject to the terms of either the GNU General Public
  464.11 +  License Version 2 only ("GPL") or the Common Development and Distribution
  464.12 +  License("CDDL") (collectively, the "License"). You may not use this file except in
  464.13 +  compliance with the License. You can obtain a copy of the License at
  464.14 +  http://www.netbeans.org/cddl-gplv2.html or nbbuild/licenses/CDDL-GPL-2-CP. See the
  464.15 +  License for the specific language governing permissions and limitations under the
  464.16 +  License.  When distributing the software, include this License Header Notice in
  464.17 +  each file and include the License file at nbbuild/licenses/CDDL-GPL-2-CP.  Sun
  464.18 +  designates this particular file as subject to the "Classpath" exception as provided
  464.19 +  by Sun in the GPL Version 2 section of the License file that accompanied this code.
  464.20 +  If applicable, add the following below the License Header, with the fields enclosed
  464.21 +  by brackets [] replaced by your own identifying information:
  464.22 +  "Portions Copyrighted [year] [name of copyright owner]"
  464.23 +  
  464.24 +  Contributor(s):
  464.25 +  
  464.26 +  The Original Software is NetBeans. The Initial Developer of the Original Software
  464.27 +  is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun Microsystems, Inc. All
  464.28 +  Rights Reserved.
  464.29 +  
  464.30 +  If you wish your version of this file to be governed by only the CDDL or only the
  464.31 +  GPL Version 2, indicate your decision by adding "[Contributor] elects to include
  464.32 +  this software in this distribution under the [CDDL or GPL Version 2] license." If
  464.33 +  you do not indicate a single choice of license, a recipient has the option to
  464.34 +  distribute your version of this file under either the CDDL, the GPL Version 2 or
  464.35 +  to extend the choice of license to its licensees as provided above. However, if you
  464.36 +  add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the
  464.37 +  option applies only if the new code is made subject to such option by the copyright
  464.38 +  holder.
  464.39 +-->
  464.40 +
  464.41 +<!--
  464.42 +  This is the build script for the NetBeans CND Pack nbi product 
  464.43 +  package.
  464.44 +    
  464.45 +  It inherits most of the functionality from the base script for building nbi 
  464.46 +  product packages, while providing this instance-specific values for several
  464.47 +  core properties. For more details on the values of these properties see
  464.48 +  the build.properties file.
  464.49 +-->
  464.50 +<project name="nb-cnd" default="usage" basedir=".">
  464.51 +    <!-- import the properties that are specific to this environment -->
  464.52 +    <property file="${environment.properties}"/>
  464.53 +    
  464.54 +    <!-- import the properties that are specific to this product package -->
  464.55 +    <property file="build.properties"/>
  464.56 +    
  464.57 +    <!-- import the base script for building product packages -->
  464.58 +    <import file="${common.dir}/product.xml" optional="false"/>
  464.59 +    
  464.60 +    <!--
  464.61 +      Corrects the layout of the incoming installation data files. 
  464.62 +      
  464.63 +      Overrides the '-pre-package' target in product.xml.
  464.64 +    -->
  464.65 +    <target name="-pre-package">
  464.66 +        <if property="instrument.jars" value="true">
  464.67 +            <exec executable="${bash.executable}" failonerror="true" dir="${data.directory}">
  464.68 +                <arg value="${emma.sh.file}"/>
  464.69 +                <arg value="."/>
  464.70 +                <arg value="${emma.txt.file}"/>
  464.71 +                <arg value="${emma.jar.file}"/>
  464.72 +            </exec>
  464.73 +        </if>
  464.74 +    </target>
  464.75 +    
  464.76 +<target name="-build" depends="-build-engine,.build">
  464.77 +        <!-- init the required disk space -->
  464.78 +        <set property="product.disk.space" 
  464.79 +             value="${product.disk.space.modificator}"/>
  464.80 +        
  464.81 +        <!-- init several shorthands -->
  464.82 +        <set 
  464.83 +            property="product.logic.dir" 
  464.84 +            value="${package.dir}/${product.logic.path}"/>
  464.85 +        <set 
  464.86 +            property="product.data.dir" 
  464.87 +            value="${package.dir}/${product.data.path}"/>
  464.88 +        
  464.89 +        <!-- some necessary mkdirs -->
  464.90 +        <mkdir dir="${packaged.data.dir}"/>
  464.91 +        <mkdir dir="${downloads.cache.dir}"/>
  464.92 +        <mkdir dir="${product.logic.dir}"/>
  464.93 +        <mkdir dir="${product.data.dir}"/>
  464.94 +        
  464.95 +        <!-- fetch the configuration logic jars; the first jar is handled 
  464.96 +             separately, if the the ${build.nbproject} has been set to true - 
  464.97 +             we don't need to fetch it, as we ca just copy -->
  464.98 +        <if property="build.nbproject" value="true">
  464.99 +            <set 
 464.100 +                property="i" 
 464.101 +                value="1"/>
 464.102 +            <set 
 464.103 +                property="current.file" 
 464.104 +                value="${product.logic.dir}/${product.logic.file.name}"/>
 464.105 +            
 464.106 +            <copy 
 464.107 +                file="${nbproject.dist.dir}/${nbproject.dist.file.name}"
 464.108 +                tofile="${current.file}"/>
 464.109 +            
 464.110 +            <!-- sign the current jar file -->
 464.111 +	    <if property="jarsigner.enabled" value="true">
 464.112 +                <signjar jar="${current.file}" 
 464.113 +                         keystore="${jarsigner.keystore}"
 464.114 +                         storepass="${jarsigner.storepass}"
 464.115 +                         alias="${jarsigner.alias}"
 464.116 +                         maxmemory="${jarsigner.xmx}"/>
 464.117 +             </if>
 464.118 +            
 464.119 +            <!-- calculate the metadata for the file -->
 464.120 +            <sizeof file="${current.file}" property="product.logic.${i}.size"/>
 464.121 +            <md5 file="${current.file}" property="product.logic.${i}.md5"/>
 464.122 +            <set property="product.logic.${i}.correct.uri"
 464.123 +                 value="resource:${product.logic.path}/${product.logic.file.name}"/>
 464.124 +            
 464.125 +            <property 
 464.126 +                name="start.index" 
 464.127 +                value="2"/>
 464.128 +        </if>
 464.129 +        <property name="start.index" value="1"/>
 464.130 +        
 464.131 +        <for-each from="${start.index}" 
 464.132 +                  to="${product.logic.length}" 
 464.133 +                  property="i">
 464.134 +            <!-- set the properties relevant to the current file -->
 464.135 +            <set 
 464.136 +                property="current.uri" 
 464.137 +                source="product.logic.${i}.uri"/>
 464.138 +            <set 
 464.139 +                property="current.file" 
 464.140 +                value="${product.logic.dir}/${product.logic.file.name}"/>
 464.141 +            
 464.142 +            <get 
 464.143 +                src="${current.uri}" 
 464.144 +                dest="${current.file}" 
 464.145 +                usetimestamp="true"/>
 464.146 +            
 464.147 +            <!-- sign the current jar file -->
 464.148 +	    <if property="jarsigner.enabled" value="true">
 464.149 +                <signjar 
 464.150 +                    jar="${current.file}" 
 464.151 +                    keystore="${jarsigner.keystore}"
 464.152 +                    storepass="${jarsigner.storepass}"
 464.153 +                    alias="${jarsigner.alias}"
 464.154 +                    maxmemory="${jarsigner.xmx}"/>
 464.155 +            </if>
 464.156 +            
 464.157 +            <!-- calculate the metadata for the file -->
 464.158 +            <sizeof 
 464.159 +                file="${current.file}" 
 464.160 +                property="product.logic.${i}.size"/>
 464.161 +            <md5 
 464.162 +                file="${current.file}" 
 464.163 +                property="product.logic.${i}.md5"/>
 464.164 +            <set 
 464.165 +                property="product.logic.${i}.correct.uri"
 464.166 +                value="resource:${product.logic.path}/${product.logic.file.name}"/>
 464.167 +        </for-each>
 464.168 +        
 464.169 +        <!-- fetch and repackage installation data zips -->
 464.170 +	<echo message="The size: ${product.data.length} "/>
 464.171 +        <for-each from="1" to="${product.data.length}" property="i">
 464.172 +            <!-- define the path to the current working file and the temporary
 464.173 +                 directory which should be used for repackaging -->
 464.174 +            <echo message="The product: ${product.data.1.uri.solaris-x86} "/>
 464.175 +	    <if property="product.data.${i}.uri">
 464.176 +	    <set 
 464.177 +                property="current.uri" 
 464.178 +                source="product.data.${i}.uri"/>
 464.179 +	    </if>
 464.180 +	    <if property="product.data.${i}.uri.${product.platforms}">
 464.181 +	    <set 
 464.182 +                property="current.uri" 
 464.183 +                source="product.data.${i}.uri.${product.platforms}"/>
 464.184 +            </if>
 464.185 +            <uri-to-path 
 464.186 +                property="current.downloaded.path" 
 464.187 +                uri="${current.uri}"/>
 464.188 +            <set 
 464.189 +                property="current.zip" 
 464.190 +                source="product.data.${i}.zip"/>
 464.191 +            <set 
 464.192 +                property="current.file" 
 464.193 +                value="${product.data.dir}/${product.data.file.name}"/>
 464.194 +            <set 
 464.195 +                property="current.download" 
 464.196 +                value="${downloads.cache.dir}/${current.downloaded.path}"/>
 464.197 +            <set 
 464.198 +                property="current.temp.dir" 
 464.199 +                value="${work.dir}/temp"/>
 464.200 +            
 464.201 +            <set 
 464.202 +                property="current.packaged.data.file" 
 464.203 +                value="${product.packaged.data.file}"/>
 464.204 +            <set 
 464.205 +                property="current.packaged.data.properties.file" 
 464.206 +                value="${product.packaged.data.properties.file}"/>
 464.207 +            
 464.208 +            <condition property="do.package.data.${i}" value="true">
 464.209 +                <or>
 464.210 +                    <equals arg1="${package.data}" arg2="true"/>
 464.211 +                    <and>
 464.212 +                        <equals 
 464.213 +                            arg1="${package.data}" 
 464.214 +                            arg2="default"/>
 464.215 +                        <not>
 464.216 +                            <and>
 464.217 +                                <available 
 464.218 +                                    file="${current.packaged.data.file}"/>
 464.219 +                                <available 
 464.220 +                                    file="${current.packaged.data.properties.file}"/>
 464.221 +                            </and>
 464.222 +                        </not>
 464.223 +                    </and>
 464.224 +                </or>
 464.225 +            </condition>
 464.226 +            <condition property="do.package.data.${i}" value="false">
 464.227 +                <or>
 464.228 +                    <equals arg1="${package.data}" arg2="false"/>
 464.229 +                    <and>
 464.230 +                        <equals 
 464.231 +                            arg1="${package.data}" 
 464.232 +                            arg2="default"/>
 464.233 +                        <available 
 464.234 +                            file="${current.packaged.data.file}"/>
 464.235 +                        <available 
 464.236 +                            file="${current.packaged.data.properties.file}"/>
 464.237 +                    </and>
 464.238 +                </or>
 464.239 +            </condition>
 464.240 +            
 464.241 +            <!-- if the data needs to be packaged -->
 464.242 +            <if property="do.package.data.${i}" value="true">
 464.243 +                <dirname 
 464.244 +                    property="current.download.${i}.dir" 
 464.245 +                    file="${current.download}"/>
 464.246 +                <set 
 464.247 +                    property="current.download.dir"
 464.248 +                    source="current.download.${i}.dir"/>
 464.249 +                <mkdir 
 464.250 +                    dir="${current.download.dir}"/>
 464.251 +                
 464.252 +                <get 
 464.253 +                    src="${current.uri}" 
 464.254 +                    dest="${current.download}"
 464.255 +                    usetimestamp="true"/>
 464.256 +                
 464.257 +                <!-- extract the zip file to a temporary directory, if it's a 
 464.258 +                     zip file, or simply move it there if it is the data we 
 464.259 +                     need -->
 464.260 +                <mkdir 
 464.261 +                    dir="${current.temp.dir}"/>
 464.262 +                <if property="current.zip" value="true">
 464.263 +                    <n-unzip
 464.264 +                        src="${current.download}" 
 464.265 +                        dest="${current.temp.dir}"/>
 464.266 +                </if>
 464.267 +                <if property="current.zip" value="false">
 464.268 +                    <copy file="${current.download}"
 464.269 +                          todir="${current.temp.dir}"/>
 464.270 +                </if>
 464.271 +                
 464.272 +                <!-- call the pre-package hook, to allow derivative scripts to 
 464.273 +                     perform any required operations on the data if they 
 464.274 +                     like -->
 464.275 +                <antcall target="-pre-package">
 464.276 +                    <param name="i" value="${i}"/>
 464.277 +                    <param name="data.directory" value="${current.temp.dir}"/>
 464.278 +                </antcall>
 464.279 +                
 464.280 +                <!-- measure its size and add it to the required disk space -->
 464.281 +                <sizeof 
 464.282 +                    file="${current.temp.dir}" 
 464.283 +                    property="current.disk.space"/>
 464.284 +                <sum 
 464.285 +                    arg1="${product.disk.space}" 
 464.286 +                    arg2="${current.disk.space}" 
 464.287 +                    property="product.disk.space"/>
 464.288 +                
 464.289 +                <!-- repackage (pack200, jar) and build files list -->
 464.290 +                <package 
 464.291 +                    directory="${current.temp.dir}" 
 464.292 +                    file="${current.file}"/>
 464.293 +                
 464.294 +                <!-- if we need to release the packaged data - copy the file 
 464.295 +                     and the original size to the specified directory -->
 464.296 +                <if property="release.packaged.data" value="true">
 464.297 +                    <mkdir 
 464.298 +                        dir="${packaged.data.dir}"/>
 464.299 +                    
 464.300 +                    <copy file="${current.file}" 
 464.301 +                          tofile="${current.packaged.data.file}"/>
 464.302 +                    <echo 
 464.303 +                        message="product.data.${i}.size=${current.disk.space}" 
 464.304 +                        file="${current.packaged.data.properties.file}"/>
 464.305 +                </if>
 464.306 +                
 464.307 +                <!-- remove the temporary directory -->
 464.308 +                <delete dir="${current.temp.dir}"/>
 464.309 +            </if>
 464.310 +            
 464.311 +            <!-- if the data does not need to be packaged -->
 464.312 +            <if property="do.package.data.${i}" value="false">
 464.313 +                <copy 
 464.314 +                    file="${current.packaged.data.file}" 
 464.315 +                    tofile="${current.file}"/>                              
 464.316 +                
 464.317 +                <!-- fetch the real size data -->
 464.318 +                <property 
 464.319 +                    file="${current.packaged.data.properties.file}"/>
 464.320 +                
 464.321 +                <set 
 464.322 +                    property="current.disk.space" 
 464.323 +                    source="product.data.${i}.size"/>
 464.324 +                <sum 
 464.325 +                    arg1="${product.disk.space}" 
 464.326 +                    arg2="${current.disk.space}" 
 464.327 +                    property="product.disk.space"/>
 464.328 +            </if>
 464.329 +
 464.330 +            <!-- Added by Igor Nikiforov -->
 464.331 +            <copy file="${current.file}" 
 464.332 +            	tofile="${packaged.data.dir.release}/${product.uid},${product.version},${product.platforms},${i}.jar"/>
 464.333 +            <!-- End of addition -->                 
 464.334 +
 464.335 +            <!-- sign the resulting jar file -->
 464.336 +            <if property="jarsigner.enabled" value="true">
 464.337 +                <signjar 
 464.338 +                    jar="${current.file}" 
 464.339 +                    keystore="${jarsigner.keystore}"
 464.340 +                    storepass="${jarsigner.storepass}"
 464.341 +                    alias="${jarsigner.alias}"
 464.342 +                    maxmemory="${jarsigner.xmx}"/>
 464.343 +	    </if>
 464.344 +            
 464.345 +            <!-- calculate the metadata for the file -->
 464.346 +            <sizeof 
 464.347 +                file="${current.file}" 
 464.348 +                property="product.data.${i}.size"/>
 464.349 +            <md5 
 464.350 +                file="${current.file}" 
 464.351 +                property="product.data.${i}.md5"/>
 464.352 +            <set 
 464.353 +                property="product.data.${i}.correct.uri"
 464.354 +                value="resource:${product.data.path}/${product.data.file.name}"/>
 464.355 +        </for-each>
 464.356 +        
 464.357 +        <!-- fetch the icon -->
 464.358 +        <set 
 464.359 +            property="product.icon.file" 
 464.360 +            value="${package.dir}/${product.icon.path}"/>
 464.361 +        
 464.362 +        <copy 
 464.363 +            file="${product.icon}" 
 464.364 +            tofile="${product.icon.file}"/>
 464.365 +        <sizeof 
 464.366 +            file="${product.icon.file}" 
 464.367 +            property="product.icon.size"/>
 464.368 +        <md5 
 464.369 +            file="${product.icon.file}" 
 464.370 +            property="product.icon.md5"/>
 464.371 +        <set 
 464.372 +            property="product.icon.correct.uri" 
 464.373 +            value="${product.icon.uri}"/>
 464.374 +        
 464.375 +        <!-- load product's localizing bundle and generate descriptor -->
 464.376 +        <load-locales 
 464.377 +            basename="${product.bundle}" 
 464.378 +            list="product.locales.list"/>
 464.379 +        <product-descriptor 
 464.380 +            file="${package.dir}/${package.descriptor.path}"/>
 464.381 +        
 464.382 +        <!-- create the distributive jar file and sign it -->
 464.383 +        <set 
 464.384 +            property="product.dist.file" 
 464.385 +            value="${dist.dir}/${product.dist.file.name}"/>
 464.386 +        
 464.387 +        <jar basedir="${package.dir}"
 464.388 +             destfile="${product.dist.file}" 
 464.389 +             compress="true">
 464.390 +            <manifest>
 464.391 +                <attribute 
 464.392 +                    name="Product-Descriptor" 
 464.393 +                    value="${package.descriptor.path}"/>
 464.394 +            </manifest>
 464.395 +        </jar>
 464.396 +        <if property="jarsigner.enabled" value="true">
 464.397 +            <signjar 
 464.398 +                jar="${product.dist.file}" 
 464.399 +                keystore="${jarsigner.keystore}"
 464.400 +                storepass="${jarsigner.storepass}"
 464.401 +                alias="${jarsigner.alias}"
 464.402 +                maxmemory="${jarsigner.xmx}"/>
 464.403 +	</if>
 464.404 +    </target>
 464.405 +
 464.406 +    <!-- ============================================================================
 464.407 +      Default
 464.408 +    ============================================================================= -->
 464.409 +    
 464.410 +    <!--
 464.411 +      The default target. 
 464.412 +      
 464.413 +      Does nothing except printing the usage information.
 464.414 +    -->
 464.415 +    <target name="usage">
 464.416 +        <echo>
 464.417 +            In order to 'clean', 'checkout' and 'build' the group use the 
 464.418 +            'build-all' target. To 'clean', 'checkout', 'build' and 
 464.419 +            'release' - use 'release-all'.
 464.420 +            
 464.421 +            For more details, please see the source of this build script.
 464.422 +        </echo>
 464.423 +    </target>
 464.424 +</project>
   465.1 --- a/ssinstaller/registration/build.sh	Thu Jul 10 19:13:29 2008 +0800
   465.2 +++ b/ssinstaller/registration/build.sh	Thu Jul 10 19:50:39 2008 +0800
   465.3 @@ -10,30 +10,35 @@
   465.4  DISTRS="intel-S2 sparc-S2 intel-Linux"
   465.5  
   465.6  # The images of Sun Studio to create distribution
   465.7 +BUILD_NUMBER=`ls -lA /shared/dp/sstrunk/biweekly | sed s/.*' '//`
   465.8  IMAGES_DIR=/shared/dp/sstrunk/biweekly/inst
   465.9 -BUILD_NUMBER=`ls -lA /shared/dp/sstrunk/biweekly | sed s/.*' '//`
  465.10 +BUILD_DATE=`ls -lA /shared/dp/sstrunk/${BUILD_NUMBER} | sed s/.*' '//`
  465.11  
  465.12  rm -rf build
  465.13  mkdir -p $RESDIR
  465.14  mkdir -p $TARDIR
  465.15  for distr in $DISTRS
  465.16  do
  465.17 -    DISTR_NAME="$RESDIR/sunstudio-$BUILD_NUMBER-express-$distr.sh"   
  465.18 -    echo Generating $DISTR_NAME
  465.19      case $distr in
  465.20      intel-S2)
  465.21  	TARGET_OS=SunOS
  465.22 +	TARGET_PLATFORM=x86
  465.23  	IMAGE_SUB=opt
  465.24      ;;
  465.25      sparc-S2)
  465.26  	TARGET_OS=SunOS
  465.27 +	TARGET_PLATFORM=sparc
  465.28  	IMAGE_SUB=opt
  465.29      ;;
  465.30      intel-Linux)
  465.31  	TARGET_OS=Linux
  465.32 +	TARGET_PLATFORM=x86
  465.33  	IMAGE_SUB=opt/sun
  465.34      ;;
  465.35      esac
  465.36 +
  465.37 +    DISTR_NAME="$RESDIR/StudioExpress-${TARGET_OS}-${TARGET_PLATFORM}-${BUILD_DATE}-ii.sh"   
  465.38 +    echo Generating $DISTR_NAME
  465.39      
  465.40      DIRS=`ls $IMAGES_DIR/$distr.inst/$IMAGE_SUB`
  465.41      ARGS=""
   466.1 --- a/ssinstaller/registration/register.sh	Thu Jul 10 19:13:29 2008 +0800
   466.2 +++ b/ssinstaller/registration/register.sh	Thu Jul 10 19:50:39 2008 +0800
   466.3 @@ -39,7 +39,7 @@
   466.4  PRODUCT="Sun Studio"
   466.5  
   466.6  # PRODUCTID - id that is used for identifying registration page on SysNet.
   466.7 -PRODUCTID="nb"
   466.8 +PRODUCTID="ss"
   466.9  
  466.10  # REGISTRATION_DIR - a directory to store UIDs for
  466.11  #      already registered instances of product
  466.12 @@ -48,13 +48,16 @@
  466.13  
  466.14  NETBEANS_DIR="netbeans-6.1"
  466.15  
  466.16 -REGISTRATION_DIR="${SUNSTUDIO_DIR}/registration"
  466.17 +REGISTRATION_DIR="${SUNSTUDIO_DIR}/prod/lib/condev"
  466.18  
  466.19  # REGISTRATION_PAGE - location of a generated registration page
  466.20  REGISTRATION_PAGE=$CWD/"${REGISTRATION_DIR}/register-sunstudio.html"
  466.21  
  466.22 -HOME_SUNSTUDIO_DIR=$HOME/.sunstudio
  466.23 -HOME_REGISTRATION_PAGE="$HOME_SUNSTUDIO_DIR/registration/register-sunstudio.html"
  466.24 +HOME_SUNSTUDIO_DIR=$HOME/.sunstudio/condev
  466.25 +HOME_REGISTRATION_PAGE="$HOME_SUNSTUDIO_DIR/register-sunstudio.html"
  466.26 +
  466.27 +TMP_SUNSTUDIO_DIR=/tmp/.sunstudio/condev
  466.28 +TMP_REGISTRATION_PAGE="$TMP_SUNSTUDIO_DIR/register-sunstudio.html"
  466.29  
  466.30  
  466.31  
  466.32 @@ -69,7 +72,7 @@
  466.33  #      a list of browsers to try
  466.34  BROWSERS_LIST="firefox opera konqueror epiphany mozilla netscape"
  466.35  
  466.36 -REGISTER_URL="https://inv-ws-staging.central.sun.com/RegistrationWeb/register"
  466.37 +REGISTER_URL="https://inv-ws-staging2.central.sun.com/RegistrationWeb/register"
  466.38  
  466.39  # STDIR - directory that contains swordfish.data and templates for
  466.40  #      registration page generating (relative to sunstudio installation dir)
  466.41 @@ -223,8 +226,8 @@
  466.42     validate_locale ${LANG}
  466.43  
  466.44     STSUPPORTED=0
  466.45 -   if [ -f `which stclient` ]; then
  466.46 -      STSUPPORTED=1
  466.47 +   if [ -f "`which stclient 2>/dev/null`" ]; then
  466.48 +	STSUPPORTED=1
  466.49     fi
  466.50  }
  466.51  
  466.52 @@ -439,12 +442,17 @@
  466.53  createRegistrationDocument() {
  466.54     agentInfoFile="${TMPDIR}/environment.xml"
  466.55  
  466.56 -   if [ ${STSUPPORTED} -eq 1 ] && [ -f /usr/bin/curl ]; then
  466.57 +   if [ ${STSUPPORTED} -eq 1 ] && [ -f "/usr/bin/curl" ]; then
  466.58        initEnvironmentFromSystemRegistry
  466.59     else 
  466.60        initEnvironment
  466.61     fi
  466.62  
  466.63 +   # if by any reason we could not use Service Tags 
  466.64 +   if [ "${HOST}" = "" ]; then
  466.65 +      initEnvironment
  466.66 +   fi
  466.67 +
  466.68     cat << EOF > $REGISTRATION_DATAFILE
  466.69  <?xml version="1.0" encoding="UTF-8"?>
  466.70  <registration_data version="1.0">
  466.71 @@ -550,14 +558,14 @@
  466.72        echo "Please open following link with your browser to proceed with registration."
  466.73        echo "${URL}"
  466.74     else
  466.75 -      OUT=`${BROWSER} $URL 2>&1`
  466.76 -      if [ $? -ne 0 ]; then
  466.77 -         echo "\nThere were problems with launching ${BROWSER}:"
  466.78 -         echo "${OUT} \n"
  466.79 -         echo "Still, registration page has been generated."
  466.80 -         echo "Please open following link with your browser to proceed with registration."
  466.81 -         echo "${URL} \n"
  466.82 -      fi
  466.83 +      ${BROWSER} $URL 2>&1 &
  466.84 +      #if [ $? -ne 0 ]; then
  466.85 +      #     echo "There were problems with launching ${BROWSER}:"
  466.86 +      #     echo "${OUT}"
  466.87 +      #     echo "Still, registration page has been generated."
  466.88 +      #     echo "Please open following link with your browser to proceed with registration."
  466.89 +      #     echo "${URL}"
  466.90 +      #fi
  466.91     fi
  466.92  }
  466.93  
  466.94 @@ -597,12 +605,20 @@
  466.95  if [ $DOREGISTER -eq 1 -a "_${COMPONENTS}_" != "__" ]; then
  466.96     createRegistrationDocument 1>/dev/null 2>/dev/null
  466.97     generateRegistrationHTML 1>/dev/null 2>/dev/null
  466.98 -   mkdir -p $HOME_SUNSTUDIO_DIR
  466.99 -   if [ `whoami` = 'root' ]
 466.100 +   # 
 466.101 +   # The HTML page is loaded from users home to be correctly shown if firefox is already run.
 466.102 +   # The '/root' on Linux could not be read by other users page from Sun Studio is used.
 466.103 +   #
 466.104 +   if [ `uname` = "Linux" -a "$UID" -eq 0 ]
 466.105     then
 466.106 -	browse "file://$REGISTRATION_PAGE"
 466.107 +        mkdir -p $TMP_SUNSTUDIO_DIR
 466.108 +	cp -r $REGISTRATION_PAGE $TMP_SUNSTUDIO_DIR 
 466.109 +	rm -rf $REGISTRATION_DIR
 466.110 +	browse "file://$TMP_REGISTRATION_PAGE"
 466.111     else
 466.112 -	cp -r $REGISTRATION_DIR $HOME_SUNSTUDIO_DIR 
 466.113 +        mkdir -p $HOME_SUNSTUDIO_DIR
 466.114 +	cp -r $REGISTRATION_PAGE $HOME_SUNSTUDIO_DIR 
 466.115 +	rm -rf $REGISTRATION_DIR
 466.116  	browse "file://$HOME_REGISTRATION_PAGE"
 466.117     fi
 466.118  fi
   467.1 --- a/wsdlextensions.ims/build.xml	Thu Jul 10 19:13:29 2008 +0800
   467.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   467.3 @@ -1,28 +0,0 @@
   467.4 -<?xml version="1.0" encoding="UTF-8"?>
   467.5 -
   467.6 -<!--
   467.7 - The contents of this file are subject to the terms of the Common Development
   467.8 - and Distribution License (the License). You may not use this file except in
   467.9 - compliance with the License.
  467.10 - 
  467.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  467.12 - or http://www.netbeans.org/cddl.txt.
  467.13 - 
  467.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  467.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  467.16 - If applicable, add the following below the CDDL Header, with the fields
  467.17 - enclosed by brackets [] replaced by your own identifying information:
  467.18 - "Portions Copyrighted [year] [name of copyright owner]"
  467.19 - 
  467.20 - The Original Software is NetBeans. The Initial Developer of the Original
  467.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  467.22 - Microsystems, Inc. All Rights Reserved.
  467.23 --->
  467.24 -
  467.25 -<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
  467.26 -<!-- for some information on what you could do (e.g. targets to override). -->
  467.27 -<!-- If you delete this file and reopen the project it will be recreated. -->
  467.28 -<project name="org.netbeans.modules.wsdlextensions.ims" default="netbeans" basedir=".">
  467.29 -    <description>Builds, tests, and runs the project org.netbeans.modules.wsdlextensions.ims.</description>
  467.30 -    <import file="../../nbbuild/templates/projectized.xml"/>
  467.31 -</project>
   468.1 --- a/wsdlextensions.ims/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   468.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   468.3 @@ -1,6 +0,0 @@
   468.4 -Manifest-Version: 1.0
   468.5 -OpenIDE-Module: org.netbeans.modules.wsdlextensions.ims
   468.6 -OpenIDE-Module-Layer: org/netbeans/modules/wsdlextensions/ims/resources/layer.xml
   468.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/wsdlextensions/ims/resources/Bundle.properties
   468.8 -OpenIDE-Module-Specification-Version: 1.0
   468.9 -
   469.1 --- a/wsdlextensions.ims/nbproject/genfiles.properties	Thu Jul 10 19:13:29 2008 +0800
   469.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   469.3 @@ -1,8 +0,0 @@
   469.4 -build.xml.data.CRC32=05c35e32
   469.5 -build.xml.script.CRC32=0179e583
   469.6 -build.xml.stylesheet.CRC32=77ef55dd
   469.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
   469.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
   469.9 -nbproject/build-impl.xml.data.CRC32=74365de3
  469.10 -nbproject/build-impl.xml.script.CRC32=df435b4e
  469.11 -nbproject/build-impl.xml.stylesheet.CRC32=3f8b4615
   470.1 --- a/wsdlextensions.ims/nbproject/platform.properties	Thu Jul 10 19:13:29 2008 +0800
   470.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   470.3 @@ -1,20 +0,0 @@
   470.4 -#
   470.5 -# The contents of this file are subject to the terms of the Common Development
   470.6 -# and Distribution License (the License). You may not use this file except in
   470.7 -# compliance with the License.
   470.8 -# 
   470.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  470.10 -# or http://www.netbeans.org/cddl.txt.
  470.11 -# 
  470.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  470.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  470.14 -# If applicable, add the following below the CDDL Header, with the fields
  470.15 -# enclosed by brackets [] replaced by your own identifying information:
  470.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  470.17 -# 
  470.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  470.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  470.20 -# Microsystems, Inc. All Rights Reserved.
  470.21 -#
  470.22 -
  470.23 -nbplatform.active=default
   471.1 --- a/wsdlextensions.ims/nbproject/project.properties	Thu Jul 10 19:13:29 2008 +0800
   471.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   471.3 @@ -1,48 +0,0 @@
   471.4 -#
   471.5 -# The contents of this file are subject to the terms of the Common Development
   471.6 -# and Distribution License (the License). You may not use this file except in
   471.7 -# compliance with the License.
   471.8 -# 
   471.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  471.10 -# or http://www.netbeans.org/cddl.txt.
  471.11 -# 
  471.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  471.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  471.14 -# If applicable, add the following below the CDDL Header, with the fields
  471.15 -# enclosed by brackets [] replaced by your own identifying information:
  471.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  471.17 -# 
  471.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  471.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  471.20 -# Microsystems, Inc. All Rights Reserved.
  471.21 -#
  471.22 -
  471.23 -javac.compilerargs=-Xlint:unchecked
  471.24 -javac.source=1.5
  471.25 -test.unit.cp.extra=\
  471.26 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xdm.jar:\
  471.27 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xam.jar:\
  471.28 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-retriever.jar:\
  471.29 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-schema-model.jar:\
  471.30 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-wsdl-model.jar:\
  471.31 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor.jar:\
  471.32 -    ${netbeans.dest.dir}/platform6/lib/org-openide-modules.jar:\
  471.33 -    ${netbeans.dest.dir}/platform6/lib/org-openide-util.jar:\
  471.34 -    ${netbeans.dest.dir}/platform6/modules/org-openide-options.jar:\
  471.35 -    ${netbeans.dest.dir}/platform6/modules/org-openide-text.jar:\
  471.36 -    ${netbeans.dest.dir}/platform6/modules/org-openide-nodes.jar:\
  471.37 -    ${netbeans.dest.dir}/platform6/modules/org-openide-loaders.jar:\
  471.38 -    ${netbeans.dest.dir}/platform6/modules/org-openide-dialogs.jar:\
  471.39 -    ${netbeans.dest.dir}/platform6/modules/org-openide-windows.jar:\
  471.40 -    ${netbeans.dest.dir}/platform6/modules/org-openide-awt.jar:\
  471.41 -    ${netbeans.dest.dir}/platform6/modules/org-netbeans-modules-masterfs.jar:\
  471.42 -    ${netbeans.dest.dir}/platform6/core/org-openide-filesystems.jar:\
  471.43 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-projectapi.jar:\
  471.44 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-util.jar:\
  471.45 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-text.jar:\
  471.46 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-core.jar:\
  471.47 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-lib.jar:\
  471.48 -    ${netbeans.dest.dir}/ide7/modules/org-apache-xml-resolver.jar:\
  471.49 -    ${netbeans.dest.dir}/soa1/modules/org-netbeans-modules-wsdlextensions-ims.jar
  471.50 -
  471.51 -test.unit.run.cp=${test.unit.cp.extra}
   472.1 --- a/wsdlextensions.ims/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   472.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   472.3 @@ -1,75 +0,0 @@
   472.4 -<?xml version="1.0" encoding="UTF-8"?>
   472.5 -
   472.6 -<!--
   472.7 - The contents of this file are subject to the terms of the Common Development
   472.8 - and Distribution License (the License). You may not use this file except in
   472.9 - compliance with the License.
  472.10 - 
  472.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  472.12 - or http://www.netbeans.org/cddl.txt.
  472.13 - 
  472.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  472.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  472.16 - If applicable, add the following below the CDDL Header, with the fields
  472.17 - enclosed by brackets [] replaced by your own identifying information:
  472.18 - "Portions Copyrighted [year] [name of copyright owner]"
  472.19 - 
  472.20 - The Original Software is NetBeans. The Initial Developer of the Original
  472.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  472.22 - Microsystems, Inc. All Rights Reserved.
  472.23 --->
  472.24 -
  472.25 -<project xmlns="http://www.netbeans.org/ns/project/1">
  472.26 -    <type>org.netbeans.modules.apisupport.project</type>
  472.27 -    <configuration>
  472.28 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
  472.29 -            <code-name-base>org.netbeans.modules.wsdlextensions.ims</code-name-base>
  472.30 -            <module-dependencies>
  472.31 -                <dependency>
  472.32 -                    <code-name-base>org.netbeans.modules.xml.schema.model</code-name-base>
  472.33 -                    <build-prerequisite/>
  472.34 -                    <compile-dependency/>
  472.35 -                    <run-dependency>
  472.36 -                        <release-version>1</release-version>
  472.37 -                        <specification-version>1.1.21</specification-version>
  472.38 -                    </run-dependency>
  472.39 -                </dependency>
  472.40 -                <dependency>
  472.41 -                    <code-name-base>org.netbeans.modules.xml.wsdl.model</code-name-base>
  472.42 -                    <build-prerequisite/>
  472.43 -                    <compile-dependency/>
  472.44 -                    <run-dependency>
  472.45 -                        <release-version>1</release-version>
  472.46 -                        <specification-version>1.1.21</specification-version>
  472.47 -                    </run-dependency>
  472.48 -                </dependency>
  472.49 -                <dependency>
  472.50 -                    <code-name-base>org.netbeans.modules.xml.wsdl.bindingsupport.api</code-name-base>
  472.51 -                    <build-prerequisite/>
  472.52 -                    <compile-dependency/>
  472.53 -                    <run-dependency>
  472.54 -                        <specification-version>1.0</specification-version>
  472.55 -                    </run-dependency>
  472.56 -                </dependency>
  472.57 -                <dependency>
  472.58 -                    <code-name-base>org.netbeans.modules.xml.xam</code-name-base>
  472.59 -                    <build-prerequisite/>
  472.60 -                    <compile-dependency/>
  472.61 -                    <run-dependency>
  472.62 -                        <release-version>1</release-version>
  472.63 -                        <specification-version>1.1.21</specification-version>
  472.64 -                    </run-dependency>
  472.65 -                </dependency>
  472.66 -                <dependency>
  472.67 -                    <code-name-base>org.openide.util</code-name-base>
  472.68 -                    <build-prerequisite/>
  472.69 -                    <compile-dependency/>
  472.70 -                    <run-dependency>
  472.71 -                        <specification-version>6.8.22</specification-version>
  472.72 -                    </run-dependency>
  472.73 -                </dependency>
  472.74 -            </module-dependencies>
  472.75 -            <public-packages/>
  472.76 -        </data>
  472.77 -    </configuration>
  472.78 -</project>
   473.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider	Thu Jul 10 19:13:29 2008 +0800
   473.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   473.3 @@ -1,1 +0,0 @@
   473.4 -org.netbeans.modules.wsdlextensions.ims.template.IMSBCTemplateProvider
   473.5 \ No newline at end of file
   474.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory	Thu Jul 10 19:13:29 2008 +0800
   474.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   474.3 @@ -1,4 +0,0 @@
   474.4 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$AddressFactory
   474.5 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$BindingFactory
   474.6 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$OperationFactory
   474.7 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$MessageFactory
   475.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory	Thu Jul 10 19:13:29 2008 +0800
   475.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   475.3 @@ -1,1 +0,0 @@
   475.4 -org.netbeans.modules.wsdlextensions.ims.validator.IMSValidatorSchemaFactory
   475.5 \ No newline at end of file
   476.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator	Thu Jul 10 19:13:29 2008 +0800
   476.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   476.3 @@ -1,2 +0,0 @@
   476.4 -org.netbeans.modules.wsdlextensions.ims.validator.IMSComponentValidator
   476.5 -
   477.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSAddress.java	Thu Jul 10 19:13:29 2008 +0800
   477.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   477.3 @@ -1,42 +0,0 @@
   477.4 -/*
   477.5 - * The contents of this file are subject to the terms of the Common Development
   477.6 - * and Distribution License (the License). You may not use this file except in
   477.7 - * compliance with the License.
   477.8 - * 
   477.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  477.10 - * or http://www.netbeans.org/cddl.txt.
  477.11 - * 
  477.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  477.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  477.14 - * If applicable, add the following below the CDDL Header, with the fields
  477.15 - * enclosed by brackets [] replaced by your own identifying information:
  477.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  477.17 - * 
  477.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  477.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  477.20 - * Microsystems, Inc. All Rights Reserved.
  477.21 - */
  477.22 -
  477.23 -package org.netbeans.modules.wsdlextensions.ims.model;
  477.24 -
  477.25 -/**
  477.26 - *
  477.27 - * Represents the address element under the wsdl port for IMS binding
  477.28 - *
  477.29 - * @author Sun Microsystems
  477.30 -*/
  477.31 -public interface IMSAddress extends IMSComponent {
  477.32 -
  477.33 -    public static final String IMS_SERVER = "imsServer";
  477.34 -
  477.35 -	public static final String IMS_PORT = "imsPort";
  477.36 -    
  477.37 -    public String getImsServer();
  477.38 -
  477.39 -    public void setImsServer(String url);
  477.40 -
  477.41 -	public int getImsPort();
  477.42 -
  477.43 -	public void setImsPort(int port);
  477.44 -
  477.45 -}
   478.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSBinding.java	Thu Jul 10 19:13:29 2008 +0800
   478.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   478.3 @@ -1,27 +0,0 @@
   478.4 -/*
   478.5 - * The contents of this file are subject to the terms of the Common Development
   478.6 - * and Distribution License (the License). You may not use this file except in
   478.7 - * compliance with the License.
   478.8 - * 
   478.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  478.10 - * or http://www.netbeans.org/cddl.txt.
  478.11 - * 
  478.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  478.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  478.14 - * If applicable, add the following below the CDDL Header, with the fields
  478.15 - * enclosed by brackets [] replaced by your own identifying information:
  478.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  478.17 - * 
  478.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  478.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  478.20 - * Microsystems, Inc. All Rights Reserved.
  478.21 - */
  478.22 -
  478.23 - /**
  478.24 -  * @author Sun Microsystems
  478.25 -  */
  478.26 -
  478.27 -package org.netbeans.modules.wsdlextensions.ims.model;
  478.28 -
  478.29 -public interface IMSBinding extends IMSComponent {
  478.30 -}
   479.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSComponent.java	Thu Jul 10 19:13:29 2008 +0800
   479.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   479.3 @@ -1,40 +0,0 @@
   479.4 -/*
   479.5 - * The contents of this file are subject to the terms of the Common Development
   479.6 - * and Distribution License (the License). You may not use this file except in
   479.7 - * compliance with the License.
   479.8 - * 
   479.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  479.10 - * or http://www.netbeans.org/cddl.txt.
  479.11 - * 
  479.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  479.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  479.14 - * If applicable, add the following below the CDDL Header, with the fields
  479.15 - * enclosed by brackets [] replaced by your own identifying information:
  479.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  479.17 - * 
  479.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  479.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  479.20 - * Microsystems, Inc. All Rights Reserved.
  479.21 - */
  479.22 -package org.netbeans.modules.wsdlextensions.ims.model;
  479.23 -
  479.24 -import org.netbeans.modules.xml.wsdl.model.ExtensibilityElement;
  479.25 -
  479.26 -/**
  479.27 - * @author Sun Microsystems
  479.28 - */
  479.29 -public interface IMSComponent extends ExtensibilityElement {
  479.30 -
  479.31 -    public interface Visitor {
  479.32 -
  479.33 -        void visit(IMSAddress target);
  479.34 -        
  479.35 -		void visit(IMSBinding target);
  479.36 -        
  479.37 -		void visit(IMSOperation target);
  479.38 -        
  479.39 -		void visit(IMSMessage target);
  479.40 -    }
  479.41 -    
  479.42 -    void accept(Visitor visitor);
  479.43 -}
   480.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSMessage.java	Thu Jul 10 19:13:29 2008 +0800
   480.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   480.3 @@ -1,173 +0,0 @@
   480.4 -/*
   480.5 - * The contents of this file are subject to the terms of the Common Development
   480.6 - * and Distribution License (the License). You may not use this file except in
   480.7 - * compliance with the License.
   480.8 - * 
   480.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  480.10 - * or http://www.netbeans.org/cddl.txt.
  480.11 - * 
  480.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  480.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  480.14 - * If applicable, add the following below the CDDL Header, with the fields
  480.15 - * enclosed by brackets [] replaced by your own identifying information:
  480.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  480.17 - * 
  480.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  480.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  480.20 - * Microsystems, Inc. All Rights Reserved.
  480.21 - */
  480.22 -
  480.23 -package org.netbeans.modules.wsdlextensions.ims.model;
  480.24 -
  480.25 -/*
  480.26 - *
  480.27 - * @author Sun Microsystems
  480.28 - */
  480.29 -
  480.30 -public interface IMSMessage extends IMSComponent {
  480.31 -
  480.32 -	public static final String IRM_LEN = "irmLen";
  480.33 -	
  480.34 -	public static final String IRM_ID = "irmId";
  480.35 -	
  480.36 -	public static final String IRM_TIMER = "irmTimer";
  480.37 -	
  480.38 -	public static final String IRM_SOCKET = "irmSocket";
  480.39 -	
  480.40 -	public static final String IRM_CLIENT_ID = "irmClientId";
  480.41 -	
  480.42 -	public static final String IRM_MOD = "irmMod";
  480.43 -	
  480.44 -	public static final String IRM_COMMIT_MODE = "irmCommitMode";
  480.45 -	
  480.46 -	public static final String IRM_SYNC_LEVEL = "irmSyncLevel";
  480.47 -	
  480.48 -	public static final String IRM_ACK = "irmAck";
  480.49 -	
  480.50 -	public static final String IRM_FLOW = "irmFlow";
  480.51 -	
  480.52 -	public static final String IRM_TRAN_CODE = "irmTranCode";
  480.53 -	
  480.54 -	public static final String IRM_TRAN_CODE_SRC = "irmTranCodeSrc";
  480.55 -	
  480.56 -	public static final String IRM_DEST_ID = "irmDestId";
  480.57 -	
  480.58 -	public static final String IRM_LTERM = "irmLterm";
  480.59 -   
  480.60 -	public static final String IRM_RACF_GRP_NAME = "irmRacfGrpName";
  480.61 -	
  480.62 -	public static final String IRM_RACF_USER_ID = "irmRacfUserId";
  480.63 -	
  480.64 -	public static final String IRM_RACF_PASS = "irmRacfPwd";
  480.65 -	
  480.66 -	public static final String IRM_HEADER_ENCODING = "irmHeaderEncod";
  480.67 -	
  480.68 -	public static final String SEND_DATA_ENCODING = "sendDataEncod";
  480.69 -	
  480.70 -	public static final String REPLY_DATA_ENCODING = "replyDataEncod";
  480.71 -	
  480.72 -	public static final String IMS_USE = "use";
  480.73 -    
  480.74 -	public static final String IMS_ENCODING_STYLE = "encodingStyle";
  480.75 -    
  480.76 -	public static final String IMS_PART = "part";
  480.77 -    
  480.78 -    
  480.79 -    public String getIrmLen(); 
  480.80 -
  480.81 -    public void setIrmLen(String len);
  480.82 -
  480.83 -	public String getIrmId();
  480.84 -
  480.85 -    public void setIrmId(String id);
  480.86 -
  480.87 -	public String getIrmTimer(); 
  480.88 -
  480.89 -    public void setIrmTimer(String timer); 
  480.90 -
  480.91 -	public String getIrmSocket(); 
  480.92 -
  480.93 -    public void setIrmSocket(String soct); 
  480.94 -
  480.95 -	public String getIrmClientId(); 
  480.96 -
  480.97 -    public void setIrmClientId(String clientId); 
  480.98 -
  480.99 -	public String getIrmMod(); 
 480.100 -
 480.101 -    public void setIrmMod(String mod);
 480.102 -
 480.103 -	public String getIrmCommitMode();
 480.104 -
 480.105 -    public void setIrmCommitMode(String mode);
 480.106 -
 480.107 -	public String getIrmSyncLevel(); 
 480.108 -
 480.109 -    public void setIrmSyncLevel(String level); 
 480.110 -
 480.111 -	public String getIrmAck(); 
 480.112 -
 480.113 -    public void setIrmAck(String ack); 
 480.114 -
 480.115 -	public String getIrmFlow(); 
 480.116 -
 480.117 -    public void setIrmFlow(String flow);
 480.118 -
 480.119 -	public String getIrmTranCode(); 
 480.120 -
 480.121 -    public void setIrmTranCode(String tcode);
 480.122 -
 480.123 -	public String getIrmTranCodeSrc(); 
 480.124 -
 480.125 -    public void setIrmTranCodeSrc(String tcode); 
 480.126 -
 480.127 -	public String getIrmDestId(); 
 480.128 -
 480.129 -    public void setIrmDestId(String dest); 
 480.130 -
 480.131 -	public String getIrmLterm(); 
 480.132 -
 480.133 -    public void setIrmLterm(String lterm); 
 480.134 -
 480.135 -	public String getIrmRacfGrpName(); 
 480.136 -
 480.137 -    public void setIrmRacfGrpName(String grpname); 
 480.138 -
 480.139 -	public String getIrmRacfUserId(); 
 480.140 -
 480.141 -    public void setIrmRacfUserId(String userid); 
 480.142 -
 480.143 -	public String getIrmRacfPwd(); 
 480.144 -
 480.145 -    public void setIrmRacfPwd(String pwd); 
 480.146 -
 480.147 -	public String getIrmHeaderEncod(); 
 480.148 -
 480.149 -    public void setIrmHeaderEncod(String hdr); 
 480.150 -
 480.151 -	public String getSendDataEncod(); 
 480.152 -
 480.153 -    public void setSendDataEncod(String data); 
 480.154 -
 480.155 -	public String getReplyDataEncod(); 
 480.156 -
 480.157 -    public void setReplyDataEncod(String data); 
 480.158 -
 480.159 -	//<msmq:message ="use:literal"
 480.160 -    public String getUse();
 480.161 -    
 480.162 -	public void setUse(String use);
 480.163 -    
 480.164 -	//<msmq:message encodingStyle="encoded"
 480.165 -    public String getEncodingStyle();
 480.166 -    
 480.167 -	public void setEncodingStyle(String style);
 480.168 -    
 480.169 -	//<msmq:message part="part1"
 480.170 -    public String getMessagePart();
 480.171 -    
 480.172 -	public void setMessagePart(String part);
 480.173 -
 480.174 -
 480.175 -}
 480.176 -
   481.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSOperation.java	Thu Jul 10 19:13:29 2008 +0800
   481.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   481.3 @@ -1,28 +0,0 @@
   481.4 -/*
   481.5 - * The contents of this file are subject to the terms of the Common Development
   481.6 - * and Distribution License (the License). You may not use this file except in
   481.7 - * compliance with the License.
   481.8 - * 
   481.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  481.10 - * or http://www.netbeans.org/cddl.txt.
  481.11 - * 
  481.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  481.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  481.14 - * If applicable, add the following below the CDDL Header, with the fields
  481.15 - * enclosed by brackets [] replaced by your own identifying information:
  481.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  481.17 - * 
  481.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  481.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  481.20 - * Microsystems, Inc. All Rights Reserved.
  481.21 - */
  481.22 -
  481.23 -/*
  481.24 - *
  481.25 - * @author Sun Microsystems
  481.26 - */
  481.27 -
  481.28 -package org.netbeans.modules.wsdlextensions.ims.model;
  481.29 -
  481.30 -public interface IMSOperation extends IMSComponent {
  481.31 -}
   482.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSQName.java	Thu Jul 10 19:13:29 2008 +0800
   482.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   482.3 @@ -1,67 +0,0 @@
   482.4 -/*
   482.5 - * The contents of this file are subject to the terms of the Common Development
   482.6 - * and Distribution License (the License). You may not use this file except in
   482.7 - * compliance with the License.
   482.8 - * 
   482.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  482.10 - * or http://www.netbeans.org/cddl.txt.
  482.11 - * 
  482.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  482.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  482.14 - * If applicable, add the following below the CDDL Header, with the fields
  482.15 - * enclosed by brackets [] replaced by your own identifying information:
  482.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  482.17 - * 
  482.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  482.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  482.20 - * Microsystems, Inc. All Rights Reserved.
  482.21 - */
  482.22 -
  482.23 -package org.netbeans.modules.wsdlextensions.ims.model;
  482.24 -
  482.25 -import java.util.HashSet;
  482.26 -import java.util.Set;
  482.27 -import javax.xml.namespace.QName;
  482.28 -
  482.29 - /**
  482.30 -  * @author Sun Microsystems
  482.31 -  */
  482.32 -
  482.33 -public enum IMSQName {
  482.34 -    ADDRESS(createIMSQName("address")),
  482.35 -    BINDING(createIMSQName("binding")),
  482.36 -    FAULT(createIMSQName("fault")),
  482.37 -    OPERATION(createIMSQName("operation")),
  482.38 -    MESSAGE(createIMSQName("message"));
  482.39 -    
  482.40 -    private final QName qName;
  482.41 -	
  482.42 -	public static final String IMS_NS_URI = "http://schemas.sun.com/jbi/wsdl-extensions/ims/";
  482.43 -
  482.44 -	public static final String IMS_NS_PREFIX = "ims";
  482.45 -    
  482.46 -    public static QName createIMSQName(String localName){
  482.47 -        return new QName(IMS_NS_URI, localName, IMS_NS_PREFIX);
  482.48 -    }
  482.49 -    
  482.50 -    IMSQName(QName name) {
  482.51 -        qName = name;
  482.52 -    }
  482.53 -    
  482.54 -    public QName getQName(){
  482.55 -        return qName;
  482.56 -    }
  482.57 -    
  482.58 -    private static Set<QName> qnames = null;
  482.59 -    
  482.60 -	public static Set<QName> getQNames() {
  482.61 -        if (qnames == null) {
  482.62 -            qnames = new HashSet<QName>();
  482.63 -            for (IMSQName wq : values()) {
  482.64 -                qnames.add(wq.getQName());
  482.65 -            }
  482.66 -        }
  482.67 -        return qnames;
  482.68 -    }
  482.69 -
  482.70 -}
   483.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAddressImpl.java	Thu Jul 10 19:13:29 2008 +0800
   483.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   483.3 @@ -1,58 +0,0 @@
   483.4 -/*
   483.5 - * The contents of this file are subject to the terms of the Common Development
   483.6 - * and Distribution License (the License). You may not use this file except in
   483.7 - * compliance with the License.
   483.8 - * 
   483.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  483.10 - * or http://www.netbeans.org/cddl.txt.
  483.11 - * 
  483.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  483.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  483.14 - * If applicable, add the following below the CDDL Header, with the fields
  483.15 - * enclosed by brackets [] replaced by your own identifying information:
  483.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  483.17 - * 
  483.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  483.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  483.20 - * Microsystems, Inc. All Rights Reserved.
  483.21 - */
  483.22 -
  483.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  483.24 -
  483.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  483.26 -
  483.27 -import org.netbeans.modules.wsdlextensions.ims.model.IMSAddress;
  483.28 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
  483.29 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
  483.30 -
  483.31 -import org.w3c.dom.Element;
  483.32 -
  483.33 -public class IMSAddressImpl extends IMSComponentImpl implements IMSAddress {
  483.34 -    public IMSAddressImpl(WSDLModel model, Element e) {
  483.35 -        super(model, e);
  483.36 -    }
  483.37 -    
  483.38 -    public IMSAddressImpl(WSDLModel model){
  483.39 -        this(model, createPrefixedElement(IMSQName.ADDRESS.getQName(), model));
  483.40 -    }
  483.41 -    
  483.42 -    public void accept(IMSComponent.Visitor visitor) {
  483.43 -        visitor.visit(this);
  483.44 -    }
  483.45 -
  483.46 -    public void setImsServer(String server) {
  483.47 -        setAttribute(IMSAddress.IMS_SERVER, IMSAttribute.IMS_HOST, server);
  483.48 -    }
  483.49 -
  483.50 -    public String getImsServer() {
  483.51 -        return getAttribute(IMSAttribute.IMS_HOST);
  483.52 -    }
  483.53 -
  483.54 -	public void setImsPort(int port) {
  483.55 -        setAttribute(IMSAddress.IMS_PORT, IMSAttribute.IMS_PORT, String.valueOf(port));
  483.56 -    }
  483.57 -
  483.58 -    public int getImsPort() {
  483.59 -        return Integer.parseInt(getAttribute(IMSAttribute.IMS_PORT));
  483.60 -    }
  483.61 -}
   484.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAttribute.java	Thu Jul 10 19:13:29 2008 +0800
   484.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   484.3 @@ -1,86 +0,0 @@
   484.4 -/*
   484.5 - * The contents of this file are subject to the terms of the Common Development
   484.6 - * and Distribution License (the License). You may not use this file except in
   484.7 - * compliance with the License.
   484.8 - * 
   484.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  484.10 - * or http://www.netbeans.org/cddl.txt.
  484.11 - * 
  484.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  484.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  484.14 - * If applicable, add the following below the CDDL Header, with the fields
  484.15 - * enclosed by brackets [] replaced by your own identifying information:
  484.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  484.17 - * 
  484.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  484.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  484.20 - * Microsystems, Inc. All Rights Reserved.
  484.21 - */
  484.22 -
  484.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  484.24 -
  484.25 -import java.util.Collection;
  484.26 -
  484.27 -import org.netbeans.modules.xml.xam.dom.Attribute;
  484.28 -
  484.29 -public enum IMSAttribute implements Attribute {
  484.30 -    IMS_HOST("imsServer"),
  484.31 -	IMS_PORT("imsPort"),
  484.32 -    IRM_LEN("irmLen"),
  484.33 -	IRM_ID("irmId"),
  484.34 -	IRM_TIMER("irmTimer"),
  484.35 -	IRM_SOCKET("irmSocket"),
  484.36 -	IRM_CLIENT_ID("irmClientId"),
  484.37 -	IRM_MOD("irmMod"),
  484.38 -	IRM_COMMIT_MODE("irmCommitMode"),
  484.39 -	IRM_SYNC_LEVEL("irmSyncLevel"),
  484.40 -	IRM_ACK("irmAck"),
  484.41 -	IRM_FLOW("irmFlow"),
  484.42 -	IRM_TRAN_CODE("irmTranCode"),
  484.43 -	IRM_TRAN_CODE_SRC("irmTranCodeSrc"),
  484.44 -	IRM_DEST_ID("irmDestId"),
  484.45 -	IRM_LTERM("irmLterm"),
  484.46 -	IRM_RACF_GRP_NAME("irmRacfGrpName"),
  484.47 -	IRM_RACF_USER_ID("irmRacfUserId"),
  484.48 -	IRM_RACF_PASS("irmRacfPwd"),
  484.49 -	IRM_HEADER_ENCODING("irmHeaderEncod"),
  484.50 -	SEND_DATA_ENCODING("sendDataEncod"),
  484.51 -	REPLY_DATA_ENCODING("replyDataEncod"),
  484.52 -    IMS_USE("use"),
  484.53 -    IMS_ENCODING_STYLE("encodingStyle"),
  484.54 -    IMS_PART("part");
  484.55 -
  484.56 -    private String name;
  484.57 -    private Class type;
  484.58 -    private Class subtype;
  484.59 -    
  484.60 -    IMSAttribute(String name) {
  484.61 -        this(name, String.class);
  484.62 -    }
  484.63 -    
  484.64 -    IMSAttribute(String name, Class type) {
  484.65 -        this(name, type, null);
  484.66 -    }
  484.67 -    
  484.68 -    IMSAttribute(String name, Class type, Class subtype) {
  484.69 -        this.name = name;
  484.70 -        this.type = type;
  484.71 -        this.subtype = subtype;
  484.72 -    }
  484.73 -    
  484.74 -    public String toString() {
  484.75 -		return name; 
  484.76 -	}
  484.77 -    
  484.78 -    public Class getType() {
  484.79 -		return type;
  484.80 -    }
  484.81 -    
  484.82 -    public String getName() { 
  484.83 -		return name; 
  484.84 -	}
  484.85 -    
  484.86 -    public Class getMemberType() { 
  484.87 -		return subtype; 
  484.88 -	}
  484.89 -}
   485.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSBindingImpl.java	Thu Jul 10 19:13:29 2008 +0800
   485.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   485.3 @@ -1,43 +0,0 @@
   485.4 -/*
   485.5 - * The contents of this file are subject to the terms of the Common Development
   485.6 - * and Distribution License (the License). You may not use this file except in
   485.7 - * compliance with the License.
   485.8 - * 
   485.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  485.10 - * or http://www.netbeans.org/cddl.txt.
  485.11 - * 
  485.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  485.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  485.14 - * If applicable, add the following below the CDDL Header, with the fields
  485.15 - * enclosed by brackets [] replaced by your own identifying information:
  485.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  485.17 - * 
  485.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  485.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  485.20 - * Microsystems, Inc. All Rights Reserved.
  485.21 - */
  485.22 -
  485.23 -
  485.24 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  485.25 -
  485.26 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  485.27 -
  485.28 -import org.netbeans.modules.wsdlextensions.ims.model.IMSBinding;
  485.29 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
  485.30 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
  485.31 -
  485.32 -import org.w3c.dom.Element;
  485.33 -
  485.34 -public class IMSBindingImpl extends IMSComponentImpl implements IMSBinding {
  485.35 -    public IMSBindingImpl(WSDLModel model, Element e) {
  485.36 -        super(model, e);
  485.37 -    }
  485.38 -    
  485.39 -    public IMSBindingImpl(WSDLModel model){
  485.40 -        this(model, createPrefixedElement(IMSQName.BINDING.getQName(), model));
  485.41 -    }
  485.42 -    
  485.43 -    public void accept(IMSComponent.Visitor visitor) {
  485.44 -        visitor.visit(this);
  485.45 -    }
  485.46 -}
   486.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSComponentImpl.java	Thu Jul 10 19:13:29 2008 +0800
   486.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   486.3 @@ -1,40 +0,0 @@
   486.4 -/*
   486.5 - * The contents of this file are subject to the terms of the Common Development
   486.6 - * and Distribution License (the License). You may not use this file except in
   486.7 - * compliance with the License.
   486.8 - * 
   486.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  486.10 - * or http://www.netbeans.org/cddl.txt.
  486.11 - * 
  486.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  486.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  486.14 - * If applicable, add the following below the CDDL Header, with the fields
  486.15 - * enclosed by brackets [] replaced by your own identifying information:
  486.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  486.17 - * 
  486.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  486.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  486.20 - * Microsystems, Inc. All Rights Reserved.
  486.21 - */
  486.22 -
  486.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  486.24 -
  486.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  486.26 -
  486.27 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
  486.28 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
  486.29 -
  486.30 -import org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement;
  486.31 -
  486.32 -import org.w3c.dom.Element;
  486.33 -
  486.34 -public abstract class IMSComponentImpl extends GenericExtensibilityElement implements IMSComponent {
  486.35 -
  486.36 -    protected String getNamespaceURI() {
  486.37 -        return IMSQName.IMS_NS_URI;
  486.38 -    }
  486.39 -
  486.40 -	public IMSComponentImpl(WSDLModel model, Element e) {
  486.41 -        super(model, e);
  486.42 -    }    
  486.43 -}
   487.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSElementFactoryProvider.java	Thu Jul 10 19:13:29 2008 +0800
   487.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   487.3 @@ -1,74 +0,0 @@
   487.4 -/*
   487.5 - * The contents of this file are subject to the terms of the Common Development
   487.6 - * and Distribution License (the License). You may not use this file except in
   487.7 - * compliance with the License.
   487.8 - * 
   487.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  487.10 - * or http://www.netbeans.org/cddl.txt.
  487.11 - * 
  487.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  487.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  487.14 - * If applicable, add the following below the CDDL Header, with the fields
  487.15 - * enclosed by brackets [] replaced by your own identifying information:
  487.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  487.17 - * 
  487.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  487.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  487.20 - * Microsystems, Inc. All Rights Reserved.
  487.21 - */
  487.22 -
  487.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  487.24 -
  487.25 -import java.util.ArrayList;
  487.26 -import java.util.Collection;
  487.27 -import java.util.Collections;
  487.28 -import java.util.Set;
  487.29 -
  487.30 -import javax.xml.namespace.QName;
  487.31 -
  487.32 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  487.33 -
  487.34 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
  487.35 -
  487.36 -import org.netbeans.modules.xml.wsdl.model.spi.ElementFactory;
  487.37 -
  487.38 -import org.w3c.dom.Element;
  487.39 -
  487.40 -public class IMSElementFactoryProvider {
  487.41 -    
  487.42 -    public static class BindingFactory extends ElementFactory {
  487.43 -        public Set<QName> getElementQNames() {
  487.44 -            return Collections.singleton(IMSQName.BINDING.getQName());
  487.45 -        }
  487.46 -        public WSDLComponent create(WSDLComponent context, Element element) {
  487.47 -            return new IMSBindingImpl(context.getModel(), element);
  487.48 -        }
  487.49 -    }
  487.50 -
  487.51 -    public static class AddressFactory extends ElementFactory {
  487.52 -        public Set<QName> getElementQNames() {
  487.53 -            return Collections.singleton(IMSQName.ADDRESS.getQName());
  487.54 -        }
  487.55 -        public WSDLComponent create(WSDLComponent context, Element element) {
  487.56 -            return new IMSAddressImpl(context.getModel(), element);
  487.57 -        }
  487.58 -    }
  487.59 -
  487.60 -    public static class OperationFactory extends ElementFactory{
  487.61 -        public Set<QName> getElementQNames() {
  487.62 -            return Collections.singleton(IMSQName.OPERATION.getQName());
  487.63 -        }
  487.64 -        public WSDLComponent create(WSDLComponent context, Element element) {
  487.65 -            return new IMSOperationImpl(context.getModel(), element);
  487.66 -        }
  487.67 -    }
  487.68 -
  487.69 -    public static class MessageFactory extends ElementFactory{
  487.70 -        public Set<QName> getElementQNames() {
  487.71 -            return Collections.singleton(IMSQName.MESSAGE.getQName());
  487.72 -        }
  487.73 -        public WSDLComponent create(WSDLComponent context, Element element) {
  487.74 -            return new IMSMessageImpl(context.getModel(), element);
  487.75 -        }
  487.76 -    }
  487.77 -}
   488.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSMessageImpl.java	Thu Jul 10 19:13:29 2008 +0800
   488.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   488.3 @@ -1,232 +0,0 @@
   488.4 -/*
   488.5 - * The contents of this file are subject to the terms of the Common Development
   488.6 - * and Distribution License (the License). You may not use this file except in
   488.7 - * compliance with the License.
   488.8 - * 
   488.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  488.10 - * or http://www.netbeans.org/cddl.txt.
  488.11 - * 
  488.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  488.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  488.14 - * If applicable, add the following below the CDDL Header, with the fields
  488.15 - * enclosed by brackets [] replaced by your own identifying information:
  488.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  488.17 - * 
  488.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  488.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  488.20 - * Microsystems, Inc. All Rights Reserved.
  488.21 - */
  488.22 -
  488.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  488.24 -
  488.25 -import java.util.Collection;
  488.26 -
  488.27 -import org.netbeans.modules.xml.wsdl.model.Binding;
  488.28 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  488.29 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  488.30 -
  488.31 -import org.netbeans.modules.wsdlextensions.ims.model.IMSMessage;
  488.32 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
  488.33 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
  488.34 -
  488.35 -import org.w3c.dom.Element;
  488.36 -
  488.37 -public class IMSMessageImpl extends IMSComponentImpl implements IMSMessage {
  488.38 -    
  488.39 -    public IMSMessageImpl(WSDLModel model, Element e) {
  488.40 -        super(model, e);
  488.41 -    }
  488.42 -    
  488.43 -    public IMSMessageImpl(WSDLModel model){
  488.44 -        this(model, createPrefixedElement(IMSQName.MESSAGE.getQName(), model));
  488.45 -    }
  488.46 -    
  488.47 -    public void accept(IMSMessage.Visitor visitor) {
  488.48 -        visitor.visit(this);
  488.49 -    }
  488.50 -
  488.51 -    public String getIrmLen() {
  488.52 -        return getAttribute(IMSAttribute.IRM_LEN);
  488.53 -    }
  488.54 -
  488.55 -    public void setIrmLen(String len) {
  488.56 -        setAttribute(IRM_LEN, IMSAttribute.IRM_LEN, len.toString());
  488.57 -    }
  488.58 -
  488.59 -	public String getIrmId() {
  488.60 -        return getAttribute(IMSAttribute.IRM_ID);
  488.61 -    }
  488.62 -
  488.63 -    public void setIrmId(String id) {
  488.64 -        setAttribute(IMSMessage.IRM_ID, IMSAttribute.IRM_ID, id);
  488.65 -    }
  488.66 -
  488.67 -	public String getIrmTimer() {
  488.68 -        return getAttribute(IMSAttribute.IRM_TIMER);
  488.69 -    }
  488.70 -
  488.71 -    public void setIrmTimer(String timer) {
  488.72 -        setAttribute(IMSMessage.IRM_TIMER, IMSAttribute.IRM_TIMER, timer);
  488.73 -    }
  488.74 -
  488.75 -	public String getIrmSocket() {
  488.76 -        return getAttribute(IMSAttribute.IRM_SOCKET);
  488.77 -    }
  488.78 -
  488.79 -    public void setIrmSocket(String soct) {
  488.80 -        setAttribute(IMSMessage.IRM_SOCKET, IMSAttribute.IRM_SOCKET, soct);
  488.81 -    }
  488.82 -
  488.83 -	public String getIrmClientId() {
  488.84 -        return getAttribute(IMSAttribute.IRM_CLIENT_ID);
  488.85 -    }
  488.86 -
  488.87 -    public void setIrmClientId(String clientId) {
  488.88 -        setAttribute(IMSMessage.IRM_CLIENT_ID, IMSAttribute.IRM_CLIENT_ID, clientId);
  488.89 -    }
  488.90 -
  488.91 -	public String getIrmMod() {
  488.92 -        return getAttribute(IMSAttribute.IRM_MOD);
  488.93 -    }
  488.94 -
  488.95 -    public void setIrmMod(String mod) {
  488.96 -        setAttribute(IMSMessage.IRM_MOD, IMSAttribute.IRM_MOD, mod);
  488.97 -    }
  488.98 -
  488.99 -	public String getIrmCommitMode() {
 488.100 -        return getAttribute(IMSAttribute.IRM_COMMIT_MODE);
 488.101 -    }
 488.102 -
 488.103 -    public void setIrmCommitMode(String mode) {
 488.104 -        setAttribute(IMSMessage.IRM_COMMIT_MODE, IMSAttribute.IRM_COMMIT_MODE, mode);
 488.105 -    }
 488.106 -
 488.107 -	public String getIrmSyncLevel() {
 488.108 -        return getAttribute(IMSAttribute.IRM_SYNC_LEVEL);
 488.109 -    }
 488.110 -
 488.111 -    public void setIrmSyncLevel(String level) {
 488.112 -        setAttribute(IMSMessage.IRM_SYNC_LEVEL, IMSAttribute.IRM_SYNC_LEVEL, level);
 488.113 -    }
 488.114 -
 488.115 -	public String getIrmAck() {
 488.116 -        return getAttribute(IMSAttribute.IRM_ACK);
 488.117 -    }
 488.118 -
 488.119 -    public void setIrmAck(String ack) {
 488.120 -        setAttribute(IMSMessage.IRM_ACK, IMSAttribute.IRM_ACK, ack);
 488.121 -    }
 488.122 -
 488.123 -	public String getIrmFlow() {
 488.124 -        return getAttribute(IMSAttribute.IRM_FLOW);
 488.125 -    }
 488.126 -
 488.127 -    public void setIrmFlow(String flow) {
 488.128 -        setAttribute(IMSMessage.IRM_FLOW, IMSAttribute.IRM_FLOW, flow);
 488.129 -    }
 488.130 -
 488.131 -	public String getIrmTranCode() {
 488.132 -        return getAttribute(IMSAttribute.IRM_TRAN_CODE);
 488.133 -    }
 488.134 -
 488.135 -    public void setIrmTranCode(String tcode) {
 488.136 -        setAttribute(IMSMessage.IRM_TRAN_CODE, IMSAttribute.IRM_TRAN_CODE, tcode);
 488.137 -    }
 488.138 -
 488.139 -	public String getIrmTranCodeSrc() {
 488.140 -        return getAttribute(IMSAttribute.IRM_TRAN_CODE_SRC);
 488.141 -    }
 488.142 -
 488.143 -    public void setIrmTranCodeSrc(String tcode) {
 488.144 -        setAttribute(IMSMessage.IRM_TRAN_CODE_SRC, IMSAttribute.IRM_TRAN_CODE_SRC, tcode);
 488.145 -    }
 488.146 -
 488.147 -	public String getIrmDestId() {
 488.148 -        return getAttribute(IMSAttribute.IRM_DEST_ID);
 488.149 -    }
 488.150 -
 488.151 -    public void setIrmDestId(String dest) {
 488.152 -        setAttribute(IMSMessage.IRM_DEST_ID, IMSAttribute.IRM_DEST_ID, dest);
 488.153 -    }
 488.154 -
 488.155 -	public String getIrmLterm() {
 488.156 -        return getAttribute(IMSAttribute.IRM_LTERM);
 488.157 -    }
 488.158 -
 488.159 -    public void setIrmLterm(String lterm) {
 488.160 -        setAttribute(IMSMessage.IRM_LTERM, IMSAttribute.IRM_LTERM, lterm);
 488.161 -    }
 488.162 -
 488.163 -	public String getIrmRacfGrpName() {
 488.164 -        return getAttribute(IMSAttribute.IRM_RACF_GRP_NAME);
 488.165 -    }
 488.166 -
 488.167 -    public void setIrmRacfGrpName(String grpname) {
 488.168 -        setAttribute(IMSMessage.IRM_RACF_GRP_NAME, IMSAttribute.IRM_RACF_GRP_NAME, grpname);
 488.169 -    }
 488.170 -
 488.171 -	public String getIrmRacfUserId() {
 488.172 -        return getAttribute(IMSAttribute.IRM_RACF_USER_ID);
 488.173 -    }
 488.174 -
 488.175 -    public void setIrmRacfUserId(String userid) {
 488.176 -        setAttribute(IMSMessage.IRM_RACF_USER_ID, IMSAttribute.IRM_RACF_USER_ID, userid);
 488.177 -    }
 488.178 -
 488.179 -	public String getIrmRacfPwd() {
 488.180 -        return getAttribute(IMSAttribute.IRM_RACF_PASS);
 488.181 -    }
 488.182 -
 488.183 -    public void setIrmRacfPwd(String pwd) {
 488.184 -        setAttribute(IMSMessage.IRM_RACF_PASS, IMSAttribute.IRM_RACF_PASS, pwd);
 488.185 -    }
 488.186 -
 488.187 -	public String getIrmHeaderEncod() {
 488.188 -        return getAttribute(IMSAttribute.IRM_HEADER_ENCODING);
 488.189 -    }
 488.190 -
 488.191 -    public void setIrmHeaderEncod(String hdr) {
 488.192 -        setAttribute(IMSMessage.IRM_HEADER_ENCODING, IMSAttribute.IRM_HEADER_ENCODING, hdr);
 488.193 -    }
 488.194 -
 488.195 -	public String getSendDataEncod() {
 488.196 -        return getAttribute(IMSAttribute.SEND_DATA_ENCODING);
 488.197 -    }
 488.198 -
 488.199 -    public void setSendDataEncod(String data) {
 488.200 -        setAttribute(IMSMessage.SEND_DATA_ENCODING, IMSAttribute.SEND_DATA_ENCODING, data);
 488.201 -    }
 488.202 -
 488.203 -	public String getReplyDataEncod() {
 488.204 -        return getAttribute(IMSAttribute.REPLY_DATA_ENCODING);
 488.205 -    }
 488.206 -
 488.207 -    public void setReplyDataEncod(String data) {
 488.208 -        setAttribute(IMSMessage.REPLY_DATA_ENCODING, IMSAttribute.REPLY_DATA_ENCODING, data);
 488.209 -    }
 488.210 -
 488.211 -    public String getUse() {
 488.212 -        return getAttribute(IMSAttribute.IMS_USE);
 488.213 -    }
 488.214 -
 488.215 -    public void setUse(String use) {
 488.216 -        setAttribute(IMS_USE, IMSAttribute.IMS_USE, use);
 488.217 -    }
 488.218 -	
 488.219 -    public String getEncodingStyle() {
 488.220 -        return getAttribute(IMSAttribute.IMS_ENCODING_STYLE);
 488.221 -    }
 488.222 -
 488.223 -    public void setEncodingStyle(String style) {
 488.224 -        setAttribute(IMS_ENCODING_STYLE, IMSAttribute.IMS_ENCODING_STYLE,style);
 488.225 -	}
 488.226 -
 488.227 -	public String getMessagePart() {
 488.228 -        return getAttribute(IMSAttribute.IMS_PART);
 488.229 -    }
 488.230 -
 488.231 -    public void setMessagePart(String part) {
 488.232 -        setAttribute(IMS_PART, IMSAttribute.IMS_PART, part);
 488.233 -    }
 488.234 -	
 488.235 -}
   489.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSOperationImpl.java	Thu Jul 10 19:13:29 2008 +0800
   489.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   489.3 @@ -1,49 +0,0 @@
   489.4 -/*
   489.5 - * The contents of this file are subject to the terms of the Common Development
   489.6 - * and Distribution License (the License). You may not use this file except in
   489.7 - * compliance with the License.
   489.8 - * 
   489.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  489.10 - * or http://www.netbeans.org/cddl.txt.
  489.11 - * 
  489.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  489.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  489.14 - * If applicable, add the following below the CDDL Header, with the fields
  489.15 - * enclosed by brackets [] replaced by your own identifying information:
  489.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  489.17 - * 
  489.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  489.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  489.20 - * Microsystems, Inc. All Rights Reserved.
  489.21 - */
  489.22 -
  489.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
  489.24 -
  489.25 -import java.util.Collection;
  489.26 -
  489.27 -import org.netbeans.modules.xml.wsdl.model.Binding;
  489.28 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  489.29 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  489.30 -
  489.31 -import org.netbeans.modules.wsdlextensions.ims.model.IMSBinding;
  489.32 -import org.netbeans.modules.wsdlextensions.ims.model.IMSOperation;
  489.33 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
  489.34 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
  489.35 -
  489.36 -import org.w3c.dom.Element;
  489.37 -
  489.38 -public class IMSOperationImpl extends IMSComponentImpl implements IMSOperation {
  489.39 -    
  489.40 -    public IMSOperationImpl(WSDLModel model, Element e) {
  489.41 -        super(model, e);
  489.42 -    }
  489.43 -    
  489.44 -    public IMSOperationImpl(WSDLModel model){
  489.45 -        this(model, createPrefixedElement(IMSQName.OPERATION.getQName(), model));
  489.46 -    }
  489.47 -    
  489.48 -    public void accept(IMSComponent.Visitor visitor) {
  489.49 -        visitor.visit(this);
  489.50 -    }
  489.51 -	
  489.52 -}
   490.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Binding.png has changed
   491.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperation.png has changed
   492.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationInput.png has changed
   493.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationOutput.png has changed
   494.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   494.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   494.3 @@ -1,58 +0,0 @@
   494.4 -
   494.5 -#
   494.6 -# The contents of this file are subject to the terms of the Common Development
   494.7 -# and Distribution License (the License). You may not use this file except in
   494.8 -# compliance with the License.
   494.9 -# 
  494.10 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  494.11 -# or http://www.netbeans.org/cddl.txt.
  494.12 -# 
  494.13 -# When distributing Covered Code, include this CDDL Header Notice in each file
  494.14 -# and include the License file at http://www.netbeans.org/cddl.txt.
  494.15 -# If applicable, add the following below the CDDL Header, with the fields
  494.16 -# enclosed by brackets [] replaced by your own identifying information:
  494.17 -# "Portions Copyrighted [year] [name of copyright owner]"
  494.18 -# 
  494.19 -# The Original Software is NetBeans. The Initial Developer of the Original
  494.20 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  494.21 -# Microsystems, Inc. All Rights Reserved.
  494.22 -#
  494.23 -
  494.24 -OpenIDE-Module-Name=IMS WSDL Extension
  494.25 -OpenIDE-Module-Short-Description=Provides IMS extensions in WSDL editor.
  494.26 -OpenIDE-Module-Long-Description=This module provides ims schema and plugs into wsdl editor.
  494.27 -OpenIDE-Module-Display-Category=CAPS
  494.28 -WSDLEditor/Binding/IMSBinding= IMS Binding
  494.29 -WSDLEditor/BindingOperation/IMSBindingOperation= IMS Operation
  494.30 -WSDLEditor/BindingOperationInput/IMSBindingOperationInput= IMS Message
  494.31 -WSDLEditor/BindingOperationOutput/IMSBindingOperationOutput= IMS Message
  494.32 -WSDLEditor/ServicePort/IMSServicePort= IMS Address
  494.33 -DESC_Element_binding="binding" indicates a ims protocol based binding.
  494.34 -DESC_ComplexType_tOperation="operation" defines the ims protocol based operation binding details.
  494.35 -DESC_Element_message="Message" indicates a ims protocol based operation message.
  494.36 -DESC_Attribute_irmLen="IMS Request Message Length" indicates the length of the IRM structure.
  494.37 -DESC_Attribute_irmId="Request Message ID" indicates the identifier of the user exits that is to be driven after the complete message is received.
  494.38 -DESC_Attribute_irmTimer="Request Timer" indicates the time delay for the receive to the Datastore after an ACK or RESUME TPIPE.
  494.39 -DESC_Attribute_irmSocket="Socket" indicates the socket connection type.
  494.40 -DESC_Attribute_irmClientId="Client ID" indicates the name of the Client ID to be used by IMS Connect.
  494.41 -DESC_Attribute_irmMod="Mod" indicates whether the MFS Message Output Descriptor is returned as part of the output.
  494.42 -DESC_Attribute_irmCommitMode="Commit Mode" indicates commit mode.
  494.43 -DESC_Attribute_irmSyncLevel="Sync Level" indicates whether the message is to be confirmed with an ACK for Commit Mode 1 processing.
  494.44 -DESC_Attribute_irmAck="Ack" indicates a positive or negative acknowledgement response expression sent to IMS Connect and forwarded to IMS.
  494.45 -DESC_Attribute_irmFlow="Flow" indicates the Flow Control properties.
  494.46 -DESC_Attribute_irmTranCode="Transaction Code" indicates the default IMS transaction code.
  494.47 -DESC_Attribute_irmTranCodeSrc="Transaction Code Source" indicates from where the IMS transaction code is to be taken.
  494.48 -DESC_Attribute_irmDestId="Destination Id" indicates the datastore name.
  494.49 -DESC_Attribute_irmLterm="Lterm" indicates the IMS LTERM override name.
  494.50 -DESC_Attribute_irmRacfGrpName="RACF Group Name" indicates the RACF Group Name if RACF is to be used.
  494.51 -DESC_Attribute_irmRacfUserId="RACF User Id" indicates the RACF User Id if RACF is to be used.
  494.52 -DESC_Attribute_irmRacfPwd="RACF Password" indicates the RACF password if RACF is to be used.
  494.53 -DESC_Attribute_irmHeaderEncod="IRM Header Encoding" indicates the encoding of the IRM Header properties sent to IMS Connect.
  494.54 -DESC_Attribute_sendDataEncod="Send Data Encoding" indicates the encoding translation (if any) to apply to the message body sent to IMS Connect.
  494.55 -DESC_Attribute_replyDataEncod="Reply Data Encoding" indicates the encoding of the message body received back from IMS Connect.
  494.56 -DESC_Attribute_use="Use" specifies whether you are using encoder or not.
  494.57 -DESC_Attribute_encodingStyle="encodingStyle" message encoding style.
  494.58 -DESC_Attribute_part="party" indicates the primary key value based on which the record is to be retrieved.
  494.59 -DESC_Element_address="address" indicates a ims protocol based service address.
  494.60 -DESC_Attribute_imsServer="imsServer" Name of the IMS Server.
  494.61 -DESC_Attribute_imsPort="imsPort" where IMS Server is hosted.
   495.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ServicePort.png has changed
   496.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd	Thu Jul 10 19:13:29 2008 +0800
   496.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   496.3 @@ -1,261 +0,0 @@
   496.4 -<?xml version="1.0" encoding="UTF-8"?>
   496.5 -
   496.6 -<!--
   496.7 - The contents of this file are subject to the terms of the Common Development
   496.8 - and Distribution License (the License). You may not use this file except in
   496.9 - compliance with the License.
  496.10 - 
  496.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  496.12 - or http://www.netbeans.org/cddl.txt.
  496.13 - 
  496.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  496.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  496.16 - If applicable, add the following below the CDDL Header, with the fields
  496.17 - enclosed by brackets [] replaced by your own identifying information:
  496.18 - "Portions Copyrighted [year] [name of copyright owner]"
  496.19 - 
  496.20 - The Original Software is NetBeans. The Initial Developer of the Original
  496.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  496.22 - Microsystems, Inc. All Rights Reserved.
  496.23 --->
  496.24 -
  496.25 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ims="http://schemas.sun.com/jbi/wsdl-extensions/ims/" targetNamespace="http://schemas.sun.com/jbi/wsdl-extensions/ims/">
  496.26 -	<xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
  496.27 -	<xs:element name="binding" type="ims:tBinding">
  496.28 -		<xs:annotation>
  496.29 -			<xs:documentation>DESC_Element_binding</xs:documentation>
  496.30 -		</xs:annotation>
  496.31 -	</xs:element>
  496.32 -	<xs:complexType name="tBinding">
  496.33 -		<xs:complexContent>
  496.34 -			<xs:extension base="wsdl:tExtensibilityElement"/>
  496.35 -			<!-- could add more attributes to the binding -->
  496.36 -		</xs:complexContent>
  496.37 -	</xs:complexType>
  496.38 -	<xs:element name="operation" type="ims:tOperation"/>
  496.39 -	<xs:complexType name="tOperation">
  496.40 -		<xs:annotation>
  496.41 -			<xs:documentation>DESC_ComplexType_tOperation</xs:documentation>
  496.42 -		</xs:annotation>
  496.43 -	<xs:complexContent>
  496.44 -		<xs:extension base="wsdl:tExtensibilityElement">
  496.45 -		</xs:extension>
  496.46 -	</xs:complexContent>
  496.47 -	</xs:complexType>
  496.48 -	<xs:element name="message" type="ims:tMessage">
  496.49 -		<xs:annotation>
  496.50 -			<xs:documentation>DESC_Element_message</xs:documentation>
  496.51 -		</xs:annotation>
  496.52 -	</xs:element>
  496.53 -	<xs:complexType name="tMessage">
  496.54 -		<xs:complexContent>
  496.55 -			<xs:extension base="wsdl:tExtensibilityElement">
  496.56 -				<xs:attribute name="irmLen" type="xs:int" default="80" use="optional">
  496.57 -					<xs:annotation>
  496.58 -						<xs:documentation>DESC_Attribute_irmLen</xs:documentation>
  496.59 -					</xs:annotation>
  496.60 -				</xs:attribute>			
  496.61 -				<xs:attribute name="irmId" default="*SAMPL1*" type="ims:irmId" use="optional">
  496.62 -					<xs:annotation>
  496.63 -						<xs:documentation>DESC_Attribute_irmId</xs:documentation>
  496.64 -					</xs:annotation>
  496.65 -				</xs:attribute>	
  496.66 -				<xs:attribute name="irmTimer" default=".25 SEC" type="ims:irmTimer" use="optional">
  496.67 -					<xs:annotation>
  496.68 -						<xs:documentation>DESC_Attribute_irmTimer</xs:documentation>
  496.69 -					</xs:annotation>
  496.70 -				</xs:attribute>
  496.71 -				<xs:attribute name="irmSocket" default="Persistent" type="ims:irmSocket" use="optional">
  496.72 -					<xs:annotation>
  496.73 -						<xs:documentation>DESC_Attribute_irmSocket</xs:documentation>
  496.74 -					</xs:annotation>
  496.75 -				</xs:attribute>
  496.76 -				<xs:attribute name="irmClientId" type="xs:string" use="required">
  496.77 -					<xs:annotation>
  496.78 -						<xs:documentation>DESC_Attribute_irmClientId</xs:documentation>
  496.79 -					</xs:annotation>
  496.80 -				</xs:attribute>
  496.81 -				<xs:attribute name="irmMod" default="NO_MFS" type="ims:irmMod" use="optional">
  496.82 -					<xs:annotation>
  496.83 -						<xs:documentation>DESC_Attribute_irmMod</xs:documentation>
  496.84 -					</xs:annotation>
  496.85 -				</xs:attribute>
  496.86 -				<xs:attribute name="irmCommitMode" default="COMMIT_MODE_1" type="ims:irmCommitMode" use="optional">
  496.87 -					<xs:annotation>
  496.88 -						<xs:documentation>DESC_Attribute_irmCommitMode</xs:documentation>
  496.89 -					</xs:annotation>
  496.90 -				</xs:attribute>
  496.91 -				<xs:attribute name="irmSyncLevel" default="SYNC_LEVEL_NONE" type="ims:irmSyncLevel" use="optional">
  496.92 -					<xs:annotation>
  496.93 -						<xs:documentation>DESC_Attribute_irmSyncLevel</xs:documentation>
  496.94 -					</xs:annotation>
  496.95 -				</xs:attribute>
  496.96 -				<xs:attribute name="irmAck" default="NO_ACK" type="ims:irmAck" use="optional">
  496.97 -					<xs:annotation>
  496.98 -						<xs:documentation>DESC_Attribute_irmAck</xs:documentation>
  496.99 -					</xs:annotation>
 496.100 -				</xs:attribute>
 496.101 -				<xs:attribute name="irmFlow" default="No_Auto_Flow" type="ims:irmFlow" use="optional">
 496.102 -					<xs:annotation>
 496.103 -						<xs:documentation>DESC_Attribute_irmFlow</xs:documentation>
 496.104 -					</xs:annotation>
 496.105 -				</xs:attribute>
 496.106 -				<xs:attribute name="irmTranCode" type="xs:string" use="optional">
 496.107 -					<xs:annotation>
 496.108 -						<xs:documentation>DESC_Attribute_irmTranCode</xs:documentation>
 496.109 -					</xs:annotation>
 496.110 -				</xs:attribute>
 496.111 -				<xs:attribute name="irmTranCodeSrc" default="CFG" type="ims:irmTranCodeSrc" use="optional">
 496.112 -					<xs:annotation>
 496.113 -						<xs:documentation>DESC_Attribute_irmTranCodeSrc</xs:documentation>
 496.114 -					</xs:annotation>
 496.115 -				</xs:attribute>
 496.116 -				<xs:attribute name="irmDestId" type="xs:string" use="required">
 496.117 -					<xs:annotation>
 496.118 -						<xs:documentation>DESC_Attribute_irmDestId</xs:documentation>
 496.119 -					</xs:annotation>
 496.120 -				</xs:attribute>
 496.121 -				<xs:attribute name="irmLterm" type="xs:string" use="optional">
 496.122 -					<xs:annotation>
 496.123 -						<xs:documentation>DESC_Attribute_irmLterm</xs:documentation>
 496.124 -					</xs:annotation>
 496.125 -				</xs:attribute>
 496.126 -				<xs:attribute name="irmRacfGrpName" type="xs:string" use="required">
 496.127 -					<xs:annotation>
 496.128 -						<xs:documentation>DESC_Attribute_irmRacfGrpName</xs:documentation>
 496.129 -					</xs:annotation>
 496.130 -				</xs:attribute>
 496.131 -				<xs:attribute name="irmRacfUserId" type="xs:string" use="required">
 496.132 -					<xs:annotation>
 496.133 -						<xs:documentation>DESC_Attribute_irmRacfUserId</xs:documentation>
 496.134 -					</xs:annotation>
 496.135 -				</xs:attribute>
 496.136 -				<xs:attribute name="irmRacfPwd" type="xs:string" use="required">
 496.137 -					<xs:annotation>
 496.138 -						<xs:documentation>DESC_Attribute_irmRacfPwd</xs:documentation>
 496.139 -					</xs:annotation>
 496.140 -				</xs:attribute>
 496.141 -				<xs:attribute name="irmHeaderEncod" default="ISO-8859-1" type="xs:string" use="optional">
 496.142 -					<xs:annotation>
 496.143 -						<xs:documentation>DESC_Attribute_irmHeaderEncod</xs:documentation>
 496.144 -					</xs:annotation>
 496.145 -				</xs:attribute>
 496.146 -				<xs:attribute name="sendDataEncod" default="NO TRANSLATION" type="xs:string" use="optional">
 496.147 -					<xs:annotation>
 496.148 -						<xs:documentation>DESC_Attribute_sendDataEncod</xs:documentation>
 496.149 -					</xs:annotation>
 496.150 -				</xs:attribute>
 496.151 -				<xs:attribute name="replyDataEncod" default="ISO-8859-1" type="xs:string" use="optional">
 496.152 -					<xs:annotation>
 496.153 -						<xs:documentation>DESC_Attribute_replyDataEncod</xs:documentation>
 496.154 -					</xs:annotation>
 496.155 -				</xs:attribute>
 496.156 -				<xs:attribute name="use" type="ims:useTypes" default="literal" use="optional">
 496.157 -					<xs:annotation>
 496.158 -						<xs:documentation>DESC_Attribute_use</xs:documentation>
 496.159 -					</xs:annotation>
 496.160 -				</xs:attribute>
 496.161 -				<xs:attribute name="encodingStyle" type="xs:anyURI" use="optional">
 496.162 -					<xs:annotation>
 496.163 -						<xs:documentation>DESC_Attribute_encodingStyle</xs:documentation>
 496.164 -					</xs:annotation>
 496.165 -				</xs:attribute>
 496.166 -				<xs:attribute name="part" type="xs:string" use="optional">
 496.167 -					<xs:annotation>
 496.168 -						<xs:documentation>DESC_Attribute_part</xs:documentation>
 496.169 -					</xs:annotation>
 496.170 -				</xs:attribute>
 496.171 -			</xs:extension>
 496.172 -		</xs:complexContent>
 496.173 -	</xs:complexType>
 496.174 -	<xs:simpleType name="irmId">
 496.175 -		<xs:restriction base="xs:string">
 496.176 -			<xs:enumeration value="*SAMPL1*"/>
 496.177 -			<xs:enumeration value="*IRMREQ*"/>						
 496.178 -		</xs:restriction>
 496.179 -	</xs:simpleType>
 496.180 -	<xs:simpleType name="irmTimer">
 496.181 -		<xs:restriction base="xs:string">
 496.182 -			<xs:enumeration value=".25 SEC"/>
 496.183 -			<xs:enumeration value="No_Wait"/>
 496.184 -			<xs:enumeration value="Block"/>			
 496.185 -		</xs:restriction>
 496.186 -	</xs:simpleType>
 496.187 -	<xs:simpleType name="irmSocket">
 496.188 -		<xs:restriction base="xs:string">
 496.189 -			<xs:enumeration value="Persistent"/>
 496.190 -			<xs:enumeration value="Non_Persistent"/>
 496.191 -			<xs:enumeration value="Transaction"/>			
 496.192 -		</xs:restriction>
 496.193 -	</xs:simpleType>
 496.194 -	<xs:simpleType name="irmMod">
 496.195 -		<xs:restriction base="xs:string">
 496.196 -			<xs:enumeration value="NO_MFS"/>
 496.197 -			<xs:enumeration value="MFS"/>		
 496.198 -		</xs:restriction>
 496.199 -	</xs:simpleType>
 496.200 -	<xs:simpleType name="irmCommitMode">
 496.201 -		<xs:restriction base="xs:string">
 496.202 -			<xs:enumeration value="COMMIT_MODE_1"/>
 496.203 -			<xs:enumeration value="COMMIT_MODE_0"/>		
 496.204 -		</xs:restriction>
 496.205 -	</xs:simpleType>
 496.206 -	<xs:simpleType name="irmSyncLevel">
 496.207 -		<xs:restriction base="xs:string">
 496.208 -			<xs:enumeration value="SYNC_LEVEL_NONE"/>
 496.209 -			<xs:enumeration value="SYNC_LEVEL_CONFIRM"/>		
 496.210 -		</xs:restriction>
 496.211 -	</xs:simpleType>
 496.212 -	<xs:simpleType name="irmAck">
 496.213 -		<xs:restriction base="xs:string">
 496.214 -			<xs:enumeration value="NO_ACK"/>
 496.215 -			<xs:enumeration value="ACK"/>
 496.216 -			<xs:enumeration value="DEALLOCATE"/>
 496.217 -			<xs:enumeration value="NACK"/>			
 496.218 -			<xs:enumeration value="RESUME"/>
 496.219 -			<xs:enumeration value="SENDONLY"/>
 496.220 -		</xs:restriction>
 496.221 -	</xs:simpleType>
 496.222 -	<xs:simpleType name="irmFlow">
 496.223 -		<xs:restriction base="xs:string">
 496.224 -			<xs:enumeration value="No_Auto_Flow"/>
 496.225 -			<xs:enumeration value="Auto_Flow_Out"/>
 496.226 -			<xs:enumeration value="Client_Translation"/>
 496.227 -			<xs:enumeration value="No_Auto_Flow_Out"/>	
 496.228 -			<xs:enumeration value="Single_Message"/>
 496.229 -		</xs:restriction>
 496.230 -	</xs:simpleType>
 496.231 -	<xs:simpleType name="irmTranCodeSrc">
 496.232 -		<xs:restriction base="xs:string">
 496.233 -			<xs:enumeration value="CFG"/>
 496.234 -			<xs:enumeration value="MESSAGE"/>		
 496.235 -		</xs:restriction>
 496.236 -	</xs:simpleType>
 496.237 -	<xs:simpleType name="useTypes">
 496.238 -		<xs:restriction base="xs:string">
 496.239 -			<xs:enumeration value="literal"/>
 496.240 -			<xs:enumeration value="encoded"/>
 496.241 -		</xs:restriction>
 496.242 -	</xs:simpleType>	
 496.243 -	<xs:element name="address" type="ims:tAddress">
 496.244 -		<xs:annotation>
 496.245 -			<xs:documentation>DESC_Element_address</xs:documentation>
 496.246 -		</xs:annotation>
 496.247 -	</xs:element>
 496.248 -	<xs:complexType name="tAddress">
 496.249 -		<xs:complexContent>
 496.250 -			<xs:extension base="wsdl:tExtensibilityElement">
 496.251 -				<xs:attribute name="imsServer" type="xs:string" use="required">
 496.252 -					<xs:annotation>
 496.253 -						<xs:documentation>DESC_Attribute_imsServer</xs:documentation>
 496.254 -					</xs:annotation>
 496.255 -				</xs:attribute>
 496.256 -				<xs:attribute name="imsPort" type="xs:int" use="required">
 496.257 -					<xs:annotation>
 496.258 -						<xs:documentation>DESC_Attribute_imsPort</xs:documentation>
 496.259 -					</xs:annotation>
 496.260 -				</xs:attribute>
 496.261 -			</xs:extension>
 496.262 -		</xs:complexContent>
 496.263 -	</xs:complexType>
 496.264 -</xs:schema>
   497.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/layer.xml	Thu Jul 10 19:13:29 2008 +0800
   497.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   497.3 @@ -1,101 +0,0 @@
   497.4 -<?xml version="1.0" encoding="UTF-8"?>
   497.5 -
   497.6 -<!--
   497.7 - The contents of this file are subject to the terms of the Common Development
   497.8 - and Distribution License (the License). You may not use this file except in
   497.9 - compliance with the License.
  497.10 - 
  497.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  497.12 - or http://www.netbeans.org/cddl.txt.
  497.13 - 
  497.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  497.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  497.16 - If applicable, add the following below the CDDL Header, with the fields
  497.17 - enclosed by brackets [] replaced by your own identifying information:
  497.18 - "Portions Copyrighted [year] [name of copyright owner]"
  497.19 - 
  497.20 - The Original Software is NetBeans. The Initial Developer of the Original
  497.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  497.22 - Microsystems, Inc. All Rights Reserved.
  497.23 --->
  497.24 -
  497.25 -<!--
  497.26 -                Sun Public License Notice
  497.27 -
  497.28 -The contents of this file are subject to the Sun Public License
  497.29 -Version 1.0 (the "License"). You may not use this file except in
  497.30 -compliance with the License. A copy of the License is available at
  497.31 -http://www.sun.com/
  497.32 -
  497.33 -The Original Code is NetBeans. The Initial Developer of the Original
  497.34 -Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
  497.35 -Microsystems, Inc. All Rights Reserved.
  497.36 --->
  497.37 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
  497.38 -<filesystem>
  497.39 -      <folder name="WSDLEditor">
  497.40 -		<file  name="ims-ext.xsd" url="ims-ext.xsd" >
  497.41 -			<attr name="prefix" stringvalue="ims" />
  497.42 -            <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/ims/"/>
  497.43 -		</file>
  497.44 -		
  497.45 -		 <folder name ="Binding">
  497.46 -			  <file name="IMSBinding" >
  497.47 -				<attr name="xsdFileName" stringvalue="ims-ext" />
  497.48 -				<attr name="element" stringvalue="binding" />
  497.49 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
  497.50 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/Binding.png" /> 
  497.51 -			  </file>
  497.52 -	      </folder>
  497.53 -     
  497.54 -	     <folder name ="BindingOperation">
  497.55 -			  <file name="IMSBindingOperation">
  497.56 -				<attr name="xsdFileName" stringvalue="ims-ext" />
  497.57 -				<attr name="element" stringvalue="operation" />
  497.58 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
  497.59 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperation.png" /> 
  497.60 -			  </file>
  497.61 -	      </folder>
  497.62 -			
  497.63 -		<folder name ="BindingOperationInput">
  497.64 -			<file name="IMSBindingOperationInput">
  497.65 -				<attr name="xsdFileName" stringvalue="ims-ext" />
  497.66 -				<attr name="element" stringvalue="message" />
  497.67 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
  497.68 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationInput.png" /> 
  497.69 -			</file>
  497.70 -		</folder>	        
  497.71 -		  
  497.72 -		<folder name ="BindingOperationOutput">
  497.73 -			<file name="IMSBindingOperationOutput">
  497.74 -				<attr name="xsdFileName" stringvalue="ims-ext" />
  497.75 -				<attr name="element" stringvalue="message" />
  497.76 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
  497.77 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationOutput.png" /> 
  497.78 -			</file> 
  497.79 -		</folder>	        
  497.80 -	      
  497.81 -		<folder name ="ServicePort">
  497.82 -		  <file name="IMSServicePort">
  497.83 -		  <attr name="xsdFileName" stringvalue="ims-ext" />
  497.84 -			<attr name="element" stringvalue="address" />
  497.85 -			<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
  497.86 -			<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/ServicePort.png" /> 
  497.87 -		  </file>
  497.88 -		</folder>	        
  497.89 -    </folder>
  497.90 -  
  497.91 -  
  497.92 -    <folder name="SeeBeyondJbiComponents">
  497.93 -        <!-- JBI Component -->
  497.94 -        <folder name="sun-ims-binding">
  497.95 -            <attr name="id" stringvalue="sun-ims-binding"/>
  497.96 -            <attr name="description" stringvalue="IMS Binding"/>
  497.97 -            <attr name="type" stringvalue="Binding"/>
  497.98 -            <file name="ims.binding-1.0">
  497.99 -                <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/ims/"/>
 497.100 -            </file>
 497.101 -        </folder>
 497.102 -    </folder>    
 497.103 -</filesystem>
 497.104 -
   498.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/wsdl.xsd	Thu Jul 10 19:13:29 2008 +0800
   498.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   498.3 @@ -1,330 +0,0 @@
   498.4 -<?xml version="1.0" encoding="UTF-8" ?> 
   498.5 -
   498.6 -<!--
   498.7 - The contents of this file are subject to the terms of the Common Development
   498.8 - and Distribution License (the License). You may not use this file except in
   498.9 - compliance with the License.
  498.10 - 
  498.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  498.12 - or http://www.netbeans.org/cddl.txt.
  498.13 - 
  498.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  498.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  498.16 - If applicable, add the following below the CDDL Header, with the fields
  498.17 - enclosed by brackets [] replaced by your own identifying information:
  498.18 - "Portions Copyrighted [year] [name of copyright owner]"
  498.19 - 
  498.20 - The Original Software is NetBeans. The Initial Developer of the Original
  498.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  498.22 - Microsystems, Inc. All Rights Reserved.
  498.23 --->
  498.24 -
  498.25 -<!-- 
  498.26 - 
  498.27 -Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
  498.28 -All Rights Reserved
  498.29 -
  498.30 -License for WSDL Schema Files
  498.31 -
  498.32 -The Authors grant permission to copy and distribute the WSDL Schema 
  498.33 -Files in any medium without fee or royalty as long as this notice and 
  498.34 -license are distributed with them.  The originals of these files can 
  498.35 -be located at:
  498.36 -
  498.37 -http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
  498.38 -
  498.39 -THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
  498.40 -OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
  498.41 -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
  498.42 -NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
  498.43 -INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
  498.44 -RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
  498.45 -
  498.46 -The name and trademarks of the Authors may NOT be used in any manner, 
  498.47 -including advertising or publicity pertaining to these files or any program 
  498.48 -or service that uses these files, written prior permission.  Title to copyright 
  498.49 -in these files will at all times remain with the Authors.
  498.50 -
  498.51 -No other rights are granted by implication, estoppel or otherwise.
  498.52 -
  498.53 -
  498.54 ---> 
  498.55 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  498.56 -           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  498.57 -           targetNamespace="http://schemas.xmlsoap.org/wsdl/"
  498.58 -           elementFormDefault="qualified" >
  498.59 -   
  498.60 -  <xs:complexType mixed="true" name="tDocumentation" >
  498.61 -    <xs:sequence>
  498.62 -      <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  498.63 -    </xs:sequence>
  498.64 -  </xs:complexType>
  498.65 -
  498.66 -  <xs:complexType name="tDocumented" >
  498.67 -    <xs:annotation>
  498.68 -      <xs:documentation>
  498.69 -      This type is extended by  component types to allow them to be documented
  498.70 -      </xs:documentation>
  498.71 -    </xs:annotation>
  498.72 -    <xs:sequence>
  498.73 -      <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
  498.74 -    </xs:sequence>
  498.75 -  </xs:complexType>
  498.76 -	 
  498.77 -  <xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
  498.78 -    <xs:complexContent>
  498.79 -      <xs:extension base="wsdl:tDocumented" >
  498.80 -        <xs:annotation>
  498.81 -          <xs:documentation>
  498.82 -          This type is extended by component types to allow attributes from other namespaces to be added.
  498.83 -          </xs:documentation>
  498.84 -        </xs:annotation>
  498.85 -        <xs:anyAttribute namespace="##other" processContents="lax" />    
  498.86 -      </xs:extension>
  498.87 -    </xs:complexContent>
  498.88 -  </xs:complexType>
  498.89 -
  498.90 -  <xs:complexType name="tExtensibleDocumented" abstract="true" >
  498.91 -    <xs:complexContent>
  498.92 -      <xs:extension base="wsdl:tDocumented" >
  498.93 -        <xs:annotation>
  498.94 -          <xs:documentation>
  498.95 -          This type is extended by component types to allow elements from other namespaces to be added.
  498.96 -          </xs:documentation>
  498.97 -        </xs:annotation>
  498.98 -        <xs:sequence>
  498.99 -          <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
 498.100 -        </xs:sequence>
 498.101 -      </xs:extension>
 498.102 -    </xs:complexContent>
 498.103 -  </xs:complexType>
 498.104 -
 498.105 -  <xs:element name="definitions" type="wsdl:tDefinitions" >
 498.106 -    <xs:key name="message" >
 498.107 -      <xs:selector xpath="wsdl:message" />
 498.108 -      <xs:field xpath="@name" />
 498.109 -    </xs:key>
 498.110 -    <xs:key name="portType" >
 498.111 -      <xs:selector xpath="wsdl:portType" />
 498.112 -      <xs:field xpath="@name" />
 498.113 -    </xs:key>
 498.114 -    <xs:key name="binding" >
 498.115 -      <xs:selector xpath="wsdl:binding" />
 498.116 -      <xs:field xpath="@name" />
 498.117 -    </xs:key>
 498.118 -    <xs:key name="service" >
 498.119 -      <xs:selector xpath="wsdl:service" />
 498.120 -      <xs:field xpath="@name" />
 498.121 -    </xs:key>
 498.122 -    <xs:key name="import" >
 498.123 -      <xs:selector xpath="wsdl:import" />
 498.124 -      <xs:field xpath="@namespace" />
 498.125 -    </xs:key>
 498.126 -  </xs:element>
 498.127 -
 498.128 -  <xs:group name="anyTopLevelOptionalElement" >
 498.129 -    <xs:annotation>
 498.130 -      <xs:documentation>
 498.131 -      Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
 498.132 -      </xs:documentation>
 498.133 -    </xs:annotation>
 498.134 -    <xs:choice>
 498.135 -      <xs:element name="import" type="wsdl:tImport" />
 498.136 -      <xs:element name="types" type="wsdl:tTypes" />                     
 498.137 -      <xs:element name="message"  type="wsdl:tMessage" >
 498.138 -        <xs:unique name="part" >
 498.139 -          <xs:selector xpath="wsdl:part" />
 498.140 -          <xs:field xpath="@name" />
 498.141 -        </xs:unique>
 498.142 -      </xs:element>
 498.143 -      <xs:element name="portType" type="wsdl:tPortType" />
 498.144 -      <xs:element name="binding"  type="wsdl:tBinding" />
 498.145 -      <xs:element name="service"  type="wsdl:tService" >
 498.146 -        <xs:unique name="port" >
 498.147 -          <xs:selector xpath="wsdl:port" />
 498.148 -          <xs:field xpath="@name" />
 498.149 -        </xs:unique>
 498.150 -	  </xs:element>
 498.151 -    </xs:choice>
 498.152 -  </xs:group>
 498.153 -
 498.154 -  <xs:complexType name="tDefinitions" >
 498.155 -    <xs:complexContent>
 498.156 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.157 -        <xs:sequence>
 498.158 -          <xs:group ref="wsdl:anyTopLevelOptionalElement"  minOccurs="0"   maxOccurs="unbounded" />
 498.159 -        </xs:sequence>
 498.160 -        <xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
 498.161 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 498.162 -      </xs:extension>
 498.163 -    </xs:complexContent>
 498.164 -  </xs:complexType>
 498.165 -   
 498.166 -  <xs:complexType name="tImport" >
 498.167 -    <xs:complexContent>
 498.168 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 498.169 -        <xs:attribute name="namespace" type="xs:anyURI" use="required" />
 498.170 -        <xs:attribute name="location" type="xs:anyURI" use="required" />
 498.171 -      </xs:extension>
 498.172 -    </xs:complexContent>
 498.173 -  </xs:complexType>
 498.174 -   
 498.175 -  <xs:complexType name="tTypes" >
 498.176 -    <xs:complexContent>   
 498.177 -      <xs:extension base="wsdl:tExtensibleDocumented" />
 498.178 -    </xs:complexContent>   
 498.179 -  </xs:complexType>
 498.180 -     
 498.181 -  <xs:complexType name="tMessage" >
 498.182 -    <xs:complexContent>   
 498.183 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.184 -        <xs:sequence>
 498.185 -          <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
 498.186 -        </xs:sequence>
 498.187 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.188 -      </xs:extension>
 498.189 -    </xs:complexContent>   
 498.190 -  </xs:complexType>
 498.191 -
 498.192 -  <xs:complexType name="tPart" >
 498.193 -    <xs:complexContent>   
 498.194 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 498.195 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.196 -        <xs:attribute name="element" type="xs:QName" use="optional" />
 498.197 -        <xs:attribute name="type" type="xs:QName" use="optional" />    
 498.198 -      </xs:extension>
 498.199 -    </xs:complexContent>   
 498.200 -  </xs:complexType>
 498.201 -
 498.202 -  <xs:complexType name="tPortType" >
 498.203 -    <xs:complexContent>   
 498.204 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 498.205 -        <xs:sequence>
 498.206 -          <xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
 498.207 -        </xs:sequence>
 498.208 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.209 -      </xs:extension>
 498.210 -    </xs:complexContent>   
 498.211 -  </xs:complexType>
 498.212 -   
 498.213 -  <xs:complexType name="tOperation" >
 498.214 -    <xs:complexContent>   
 498.215 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.216 -	    <xs:sequence>
 498.217 -          <xs:choice>
 498.218 -            <xs:group ref="wsdl:request-response-or-one-way-operation" />
 498.219 -            <xs:group ref="wsdl:solicit-response-or-notification-operation" />
 498.220 -          </xs:choice>
 498.221 -        </xs:sequence>
 498.222 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.223 -        <xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
 498.224 -      </xs:extension>
 498.225 -    </xs:complexContent>   
 498.226 -  </xs:complexType>
 498.227 -    
 498.228 -  <xs:group name="request-response-or-one-way-operation" >
 498.229 -    <xs:sequence>
 498.230 -      <xs:element name="input" type="wsdl:tParam" />
 498.231 -	  <xs:sequence minOccurs='0' >
 498.232 -	    <xs:element name="output" type="wsdl:tParam" />
 498.233 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
 498.234 -      </xs:sequence>
 498.235 -    </xs:sequence>
 498.236 -  </xs:group>
 498.237 -
 498.238 -  <xs:group name="solicit-response-or-notification-operation" >
 498.239 -    <xs:sequence>
 498.240 -      <xs:element name="output" type="wsdl:tParam" />
 498.241 -	  <xs:sequence minOccurs='0' >
 498.242 -	    <xs:element name="input" type="wsdl:tParam" />
 498.243 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
 498.244 -	  </xs:sequence>
 498.245 -    </xs:sequence>
 498.246 -  </xs:group>
 498.247 -        
 498.248 -  <xs:complexType name="tParam" >
 498.249 -    <xs:complexContent>
 498.250 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 498.251 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 498.252 -        <xs:attribute name="message" type="xs:QName" use="required" />
 498.253 -      </xs:extension>
 498.254 -    </xs:complexContent>
 498.255 -  </xs:complexType>
 498.256 -
 498.257 -  <xs:complexType name="tFault" >
 498.258 -    <xs:complexContent>
 498.259 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 498.260 -        <xs:attribute name="name" type="xs:NCName"  use="required" />
 498.261 -        <xs:attribute name="message" type="xs:QName" use="required" />
 498.262 -      </xs:extension>
 498.263 -    </xs:complexContent>
 498.264 -  </xs:complexType>
 498.265 -     
 498.266 -  <xs:complexType name="tBinding" >
 498.267 -    <xs:complexContent>
 498.268 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.269 -        <xs:sequence>
 498.270 -          <xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
 498.271 -        </xs:sequence>
 498.272 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.273 -        <xs:attribute name="type" type="xs:QName" use="required" />
 498.274 -      </xs:extension>
 498.275 -    </xs:complexContent>
 498.276 -  </xs:complexType>
 498.277 -    
 498.278 -  <xs:complexType name="tBindingOperationMessage" >
 498.279 -    <xs:complexContent>
 498.280 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.281 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 498.282 -      </xs:extension>
 498.283 -    </xs:complexContent>
 498.284 -  </xs:complexType>
 498.285 -  
 498.286 -  <xs:complexType name="tBindingOperationFault" >
 498.287 -    <xs:complexContent>
 498.288 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.289 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.290 -      </xs:extension>
 498.291 -    </xs:complexContent>
 498.292 -  </xs:complexType>
 498.293 -
 498.294 -  <xs:complexType name="tBindingOperation" >
 498.295 -    <xs:complexContent>
 498.296 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.297 -        <xs:sequence>
 498.298 -          <xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
 498.299 -          <xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
 498.300 -          <xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
 498.301 -        </xs:sequence>
 498.302 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.303 -      </xs:extension>
 498.304 -    </xs:complexContent>
 498.305 -  </xs:complexType>
 498.306 -     
 498.307 -  <xs:complexType name="tService" >
 498.308 -    <xs:complexContent>
 498.309 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.310 -        <xs:sequence>
 498.311 -          <xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
 498.312 -        </xs:sequence>
 498.313 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.314 -      </xs:extension>
 498.315 -    </xs:complexContent>
 498.316 -  </xs:complexType>
 498.317 -     
 498.318 -  <xs:complexType name="tPort" >
 498.319 -    <xs:complexContent>
 498.320 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 498.321 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 498.322 -        <xs:attribute name="binding" type="xs:QName" use="required" />
 498.323 -      </xs:extension>
 498.324 -    </xs:complexContent>
 498.325 -  </xs:complexType>
 498.326 -
 498.327 -  <xs:attribute name="arrayType" type="xs:string" />
 498.328 -  <xs:attribute name="required" type="xs:boolean" />
 498.329 -  <xs:complexType name="tExtensibilityElement" abstract="true" >
 498.330 -    <xs:attribute ref="wsdl:required" use="optional" />
 498.331 -  </xs:complexType>
 498.332 -
 498.333 -</xs:schema>
 498.334 \ No newline at end of file
   499.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   499.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   499.3 @@ -1,27 +0,0 @@
   499.4 -#
   499.5 -# The contents of this file are subject to the terms of the Common Development
   499.6 -# and Distribution License (the License). You may not use this file except in
   499.7 -# compliance with the License.
   499.8 -# 
   499.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  499.10 -# or http://www.netbeans.org/cddl.txt.
  499.11 -# 
  499.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  499.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  499.14 -# If applicable, add the following below the CDDL Header, with the fields
  499.15 -# enclosed by brackets [] replaced by your own identifying information:
  499.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  499.17 -# 
  499.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  499.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  499.20 -# Microsystems, Inc. All Rights Reserved.
  499.21 -#
  499.22 -
  499.23 -# added to test CVS 
  499.24 -IMSTransport=IMS Transport
  499.25 -http_//schemas.sun.com/jbi/wsdl-extensions/ims/=IMS
  499.26 -
  499.27 -TEMPLATEGROUP_name=IMS
  499.28 -TEMPLATEGROUP_prefix_ims=ims
  499.29 -TEMPLATE_name_IMSTransport=IMS Transport
  499.30 -
   500.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/IMSBCTemplateProvider.java	Thu Jul 10 19:13:29 2008 +0800
   500.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   500.3 @@ -1,43 +0,0 @@
   500.4 -/*
   500.5 - * The contents of this file are subject to the terms of the Common Development
   500.6 - * and Distribution License (the License). You may not use this file except in
   500.7 - * compliance with the License.
   500.8 - * 
   500.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  500.10 - * or http://www.netbeans.org/cddl.txt.
  500.11 - * 
  500.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  500.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  500.14 - * If applicable, add the following below the CDDL Header, with the fields
  500.15 - * enclosed by brackets [] replaced by your own identifying information:
  500.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  500.17 - * 
  500.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  500.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  500.20 - * Microsystems, Inc. All Rights Reserved.
  500.21 - */
  500.22 -
  500.23 -package org.netbeans.modules.wsdlextensions.ims.template;
  500.24 -
  500.25 -import java.io.InputStream;
  500.26 -
  500.27 -import org.openide.util.NbBundle;
  500.28 -
  500.29 -import org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider;
  500.30 -
  500.31 -/**
  500.32 - * @author Sun Microsystems
  500.33 - */
  500.34 -
  500.35 -public class IMSBCTemplateProvider extends ExtensibilityElementTemplateProvider {
  500.36 -    
  500.37 -    static final String templateUrl = "/org/netbeans/modules/wsdlextensions/ims/template/template.xml";
  500.38 -
  500.39 -    public InputStream getTemplateInputStream() {
  500.40 -        return IMSBCTemplateProvider.class.getResourceAsStream(templateUrl);
  500.41 -    }
  500.42 -
  500.43 -    public String getLocalizedMessage(String str, Object[] objects) {
  500.44 -        return NbBundle.getMessage(IMSBCTemplateProvider.class, str, objects);
  500.45 -    }
  500.46 -}
   501.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/template.xml	Thu Jul 10 19:13:29 2008 +0800
   501.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   501.3 @@ -1,94 +0,0 @@
   501.4 -<?xml version="1.0" encoding="UTF-8"?>
   501.5 -
   501.6 -<!--
   501.7 - The contents of this file are subject to the terms of the Common Development
   501.8 - and Distribution License (the License). You may not use this file except in
   501.9 - compliance with the License.
  501.10 - 
  501.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  501.12 - or http://www.netbeans.org/cddl.txt.
  501.13 - 
  501.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  501.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  501.16 - If applicable, add the following below the CDDL Header, with the fields
  501.17 - enclosed by brackets [] replaced by your own identifying information:
  501.18 - "Portions Copyrighted [year] [name of copyright owner]"
  501.19 - 
  501.20 - The Original Software is NetBeans. The Initial Developer of the Original
  501.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  501.22 - Microsystems, Inc. All Rights Reserved.
  501.23 --->
  501.24 -
  501.25 -
  501.26 -<templateGroup namespace="http://schemas.sun.com/jbi/wsdl-extensions/ims/" 
  501.27 -	       xmlns="http://xml.netbeans.org/schema/templates"
  501.28 -	       xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
  501.29 -               xsi:schemaLocation="http://xml.netbeans.org/schema/templates 
  501.30 -               templates.xsd" prefix="ims">
  501.31 -    <template name="IMSTransport">
  501.32 -        <wsdlElement name="Binding">
  501.33 -            <extensionElement name="binding"/>
  501.34 -        </wsdlElement>
  501.35 -        <wsdlElement name="BindingOperation">
  501.36 -            <extensionElement name="operation"/>
  501.37 -        </wsdlElement>
  501.38 -        <wsdlElement name="BindingOperationInput">
  501.39 -            <extensionElement name="message">
  501.40 -                <extensionAttr name="irmLen" defaultValue="80" />
  501.41 -				<extensionAttr name="irmId" defaultValue="*SAMPL1*" />
  501.42 -				<extensionAttr name="irmTimer" defaultValue=".25 SEC" />
  501.43 -				<extensionAttr name="irmSocket" defaultValue="Persistent" />
  501.44 -				<extensionAttr name="irmClientId" defaultValue="&lt;Provide the value for Client Id&gt;" />
  501.45 -				<extensionAttr name="irmMod" defaultValue="NO_MFS" />
  501.46 -				<extensionAttr name="irmCommitMode" defaultValue="COMMIT_MODE_1" />
  501.47 -				<extensionAttr name="irmSyncLevel" defaultValue="SYNC_LEVEL_NONE" />
  501.48 -				<extensionAttr name="irmAck" defaultValue="NO_ACK" />
  501.49 -				<extensionAttr name="irmFlow" defaultValue="No_Auto_Flow" />
  501.50 -				<extensionAttr name="irmTranCode" defaultValue="" />
  501.51 -				<extensionAttr name="irmTranCodeSrc" defaultValue="CFG" />
  501.52 -				<extensionAttr name="irmDestId" defaultValue="&lt;Provide the value for Destination&gt;" />
  501.53 -				<extensionAttr name="irmLterm" defaultValue="" />
  501.54 -				<extensionAttr name="irmRacfGrpName" defaultValue="&lt;Provide the value for RACF Group Name&gt;" />
  501.55 -				<extensionAttr name="irmRacfUserId" defaultValue="&lt;Provide the value for RACF User Id&gt;" />
  501.56 -				<extensionAttr name="irmRacfPwd" defaultValue="&lt;Provide the value for RACF Password&gt;" />
  501.57 -				<extensionAttr name="irmHeaderEncod" defaultValue="ISO-8859-1" />
  501.58 -				<extensionAttr name="sendDataEncod" defaultValue="NO TRANSLATION" />
  501.59 -				<extensionAttr name="replyDataEncod" defaultValue="ISO-8859-1" />
  501.60 -				<extensionAttr name="use" defaultValue="literal" />
  501.61 -				<extensionAttr name="encodingStyle" defaultValue="" />
  501.62 -            </extensionElement>
  501.63 -        </wsdlElement>
  501.64 -        <wsdlElement name="BindingOperationOutput">
  501.65 -            <extensionElement name="message">
  501.66 -                <extensionAttr name="irmLen" defaultValue="80" />
  501.67 -				<extensionAttr name="irmId" defaultValue="*SAMPL1*" />
  501.68 -				<extensionAttr name="irmTimer" defaultValue=".25 SEC" />
  501.69 -				<extensionAttr name="irmSocket" defaultValue="Persistent" />
  501.70 -				<extensionAttr name="irmClientId" defaultValue="&lt;Provide the value for Client Id&gt;" />
  501.71 -				<extensionAttr name="irmMod" defaultValue="NO_MFS" />
  501.72 -				<extensionAttr name="irmCommitMode" defaultValue="COMMIT_MODE_1" />
  501.73 -				<extensionAttr name="irmSyncLevel" defaultValue="SYNC_LEVEL_NONE" />
  501.74 -				<extensionAttr name="irmAck" defaultValue="NO_ACK" />
  501.75 -				<extensionAttr name="irmFlow" defaultValue="No_Auto_Flow" />
  501.76 -				<extensionAttr name="irmTranCode" defaultValue="" />
  501.77 -				<extensionAttr name="irmTranCodeSrc" defaultValue="CFG" />
  501.78 -				<extensionAttr name="irmDestId" defaultValue="&lt;Provide the value for Destination&gt;" />
  501.79 -				<extensionAttr name="irmLterm" defaultValue="" />
  501.80 -				<extensionAttr name="irmRacfGrpName" defaultValue="&lt;Provide the value for RACF Group Name&gt;" />
  501.81 -				<extensionAttr name="irmRacfUserId" defaultValue="&lt;Provide the value for RACF User Id&gt;" />
  501.82 -				<extensionAttr name="irmRacfPwd" defaultValue="&lt;Provide the value for RACF Password&gt;" />
  501.83 -				<extensionAttr name="irmHeaderEncod" defaultValue="ISO-8859-1" />
  501.84 -				<extensionAttr name="sendDataEncod" defaultValue="NO TRANSLATION" />
  501.85 -				<extensionAttr name="replyDataEncod" defaultValue="ISO-8859-1" />
  501.86 -				<extensionAttr name="use" defaultValue="literal" />
  501.87 -				<extensionAttr name="encodingStyle" defaultValue="" />
  501.88 -            </extensionElement>
  501.89 -        </wsdlElement>
  501.90 -        <wsdlElement name="ServicePort">
  501.91 -            <extensionElement name="address" >
  501.92 -                <extensionAttr name="imsServer" defaultValue="&lt;Provide the value for IMS Server&gt;"/>
  501.93 -				<extensionAttr name="imsPort" defaultValue="&lt;Provide the value for IMS Port&gt;"/>
  501.94 -            </extensionElement>
  501.95 -        </wsdlElement>
  501.96 -    </template>
  501.97 -</templateGroup>
  501.98 \ No newline at end of file
   502.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   502.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   502.3 @@ -1,30 +0,0 @@
   502.4 -#
   502.5 -# The contents of this file are subject to the terms of the Common Development
   502.6 -# and Distribution License (the License). You may not use this file except in
   502.7 -# compliance with the License.
   502.8 -# 
   502.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  502.10 -# or http://www.netbeans.org/cddl.txt.
  502.11 -# 
  502.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  502.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  502.14 -# If applicable, add the following below the CDDL Header, with the fields
  502.15 -# enclosed by brackets [] replaced by your own identifying information:
  502.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  502.17 -# 
  502.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  502.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  502.20 -# Microsystems, Inc. All Rights Reserved.
  502.21 -#
  502.22 -
  502.23 -## put semantics validation messages here
  502.24 -
  502.25 -IMSBindingValidation.ONLY_ONE_IMS_BINDING_ALLOWED=Only one IMS:binding allowed
  502.26 -IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_INPUT=At most one IMS:message allowed in one <input> binding, found:
  502.27 -IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_OUTPUT=At most one IMS:message allowed in one <output> binding, found:
  502.28 -IMSBindingValidation.MISSING_IMS_OPERATION=Missing IMS:operation in IMS:binding
  502.29 -IMSBindingValidation.IMS_OPERATION_WO_IMS_BINDING=IMS:operation found without corresponding IMS:binding
  502.30 -IMSExtValidation.MISSING_IMS_ADDRESS=Missing IMS:address in IMS:binding
  502.31 -IMSExtValidation.ONLY_ONE_IMSADDRESS_ALLOWED=Only one IMS:address allowed
  502.32 -
  502.33 -IMSMessage.IMS_ENCODING_STYLE_MISSING=Encoding Style attribute value is missing.
  502.34 \ No newline at end of file
   503.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSComponentValidator.java	Thu Jul 10 19:13:29 2008 +0800
   503.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   503.3 @@ -1,295 +0,0 @@
   503.4 -/*
   503.5 - * The contents of this file are subject to the terms of the Common Development
   503.6 - * and Distribution License (the License). You may not use this file except in
   503.7 - * compliance with the License.
   503.8 - * 
   503.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  503.10 - * or http://www.netbeans.org/cddl.txt.
  503.11 - * 
  503.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  503.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  503.14 - * If applicable, add the following below the CDDL Header, with the fields
  503.15 - * enclosed by brackets [] replaced by your own identifying information:
  503.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  503.17 - * 
  503.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  503.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  503.20 - * Microsystems, Inc. All Rights Reserved.
  503.21 - */
  503.22 -package org.netbeans.modules.wsdlextensions.ims.validator;
  503.23 -
  503.24 -import java.util.Collection;
  503.25 -import java.util.Collections;
  503.26 -import java.util.HashSet;
  503.27 -import java.util.Iterator;
  503.28 -import java.util.List;
  503.29 -import java.util.ResourceBundle;
  503.30 -import java.text.MessageFormat;
  503.31 -
  503.32 -import org.netbeans.modules.xml.wsdl.model.Binding;
  503.33 -import org.netbeans.modules.xml.wsdl.model.BindingInput;
  503.34 -import org.netbeans.modules.xml.wsdl.model.BindingOperation;
  503.35 -import org.netbeans.modules.xml.wsdl.model.BindingOutput;
  503.36 -import org.netbeans.modules.xml.wsdl.model.Definitions;
  503.37 -import org.netbeans.modules.xml.wsdl.model.Port;
  503.38 -import org.netbeans.modules.xml.wsdl.model.Service;
  503.39 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  503.40 -
  503.41 -import org.netbeans.modules.xml.xam.Model;
  503.42 -import org.netbeans.modules.xml.xam.Model.State;
  503.43 -import org.netbeans.modules.xml.xam.spi.Validation;
  503.44 -import org.netbeans.modules.xml.xam.spi.Validation.ValidationType;
  503.45 -import org.netbeans.modules.xml.xam.spi.ValidationResult;
  503.46 -import org.netbeans.modules.xml.xam.spi.Validator;
  503.47 -
  503.48 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
  503.49 -import org.netbeans.modules.wsdlextensions.ims.model.IMSOperation;
  503.50 -import org.netbeans.modules.wsdlextensions.ims.model.IMSMessage;
  503.51 -import org.netbeans.modules.wsdlextensions.ims.model.IMSBinding;
  503.52 -import org.netbeans.modules.wsdlextensions.ims.model.IMSAddress;
  503.53 -
  503.54 -/**
  503.55 - * semantic validation, check WSDL elements & attributes values and
  503.56 - * any relationship between;
  503.57 - *
  503.58 - * @author Sun Microsystems
  503.59 - */
  503.60 -
  503.61 -public class IMSComponentValidator
  503.62 -        implements Validator, IMSComponent.Visitor {
  503.63 -
  503.64 -    private static final ResourceBundle mMessages =
  503.65 -            ResourceBundle.getBundle("org.netbeans.modules.wsdlextensions.ims.validator.Bundle");
  503.66 -
  503.67 -    private Validation mValidation;
  503.68 -
  503.69 -    private ValidationType mValidationType;
  503.70 -
  503.71 -	private ValidationResult mValidationResult;
  503.72 -
  503.73 -    public static final ValidationResult EMPTY_RESULT =
  503.74 -        new ValidationResult( Collections.EMPTY_SET,
  503.75 -                Collections.EMPTY_SET);
  503.76 -
  503.77 -    public IMSComponentValidator() {}
  503.78 -
  503.79 -    /**
  503.80 -     * Returns name of this validation service.
  503.81 -     */
  503.82 -    public String getName() {
  503.83 -        return getClass().getName();
  503.84 -    }
  503.85 -
  503.86 -    /**
  503.87 -     * Validates given model.
  503.88 -     *
  503.89 -     * @param model model to validate.
  503.90 -     * @param validation reference to the validation context.
  503.91 -     * @param validationType the type of validation to perform
  503.92 -     * @return ValidationResult.
  503.93 -     */
  503.94 -    public ValidationResult validate(Model model, Validation validation,
  503.95 -            ValidationType validationType) {
  503.96 -        mValidation = validation;
  503.97 -        mValidationType = validationType;
  503.98 -
  503.99 -        HashSet<ResultItem> results = new HashSet<ResultItem>();
 503.100 -        HashSet<Model> models = new HashSet<Model>();
 503.101 -        models.add(model);
 503.102 -        mValidationResult = new ValidationResult(results, models);
 503.103 -
 503.104 -        // Traverse the model
 503.105 -        if (model instanceof WSDLModel) {
 503.106 -            WSDLModel wsdlModel = (WSDLModel)model;
 503.107 -
 503.108 -            if (model.getState() == State.NOT_WELL_FORMED) {
 503.109 -                return EMPTY_RESULT;
 503.110 -            }
 503.111 -
 503.112 -            Definitions defs = wsdlModel.getDefinitions();
 503.113 -            Iterator<Binding> bindings = defs.getBindings().iterator();
 503.114 -
 503.115 -            while (bindings.hasNext()) {
 503.116 -                Binding binding = bindings.next();
 503.117 -				if (binding.getType() == null || binding.getType().get() == null) {
 503.118 -					continue;
 503.119 -                }
 503.120 -
 503.121 -                int numIMSBindings = binding.getExtensibilityElements(IMSBinding.class).size();
 503.122 -
 503.123 -				if (numIMSBindings == 0) {
 503.124 -					continue;
 503.125 -                }
 503.126 -
 503.127 -                if (numIMSBindings > 0 && numIMSBindings != 1) {
 503.128 -                    results.add(
 503.129 -                            new Validator.ResultItem(this,
 503.130 -                            Validator.ResultType.ERROR,
 503.131 -                            binding,
 503.132 -                            mMessages.getString("IMSBindingValidation.ONLY_ONE_IMS_BINDING_ALLOWED")));
 503.133 -                    continue;
 503.134 -                }
 503.135 -
 503.136 -                Iterator<BindingOperation> bindingOps =
 503.137 -                        binding.getBindingOperations().iterator();
 503.138 -                boolean foundIMSOp = false;
 503.139 -                while (bindingOps.hasNext()) {
 503.140 -                    BindingOperation bindingOp = bindingOps.next();
 503.141 -                    List imsOpsList = bindingOp.getExtensibilityElements(IMSOperation.class);
 503.142 -                    Iterator<IMSOperation> imsOps =
 503.143 -                            imsOpsList.iterator();
 503.144 -
 503.145 -                    while (imsOps.hasNext()) {
 503.146 -                        imsOps.next().accept(this);
 503.147 -                    }
 503.148 -
 503.149 -                    if(imsOpsList.size() > 0) {
 503.150 -                        foundIMSOp = true;
 503.151 -                        BindingInput bindingInput = bindingOp.getBindingInput();
 503.152 -                        if (bindingInput != null) {
 503.153 -                            int inputMessageCnt = 0;
 503.154 -                            Iterator<IMSMessage> imsMessages =
 503.155 -                                    bindingInput.getExtensibilityElements(IMSMessage.class).iterator();
 503.156 -                            while (imsMessages.hasNext()) {
 503.157 -                                inputMessageCnt++;
 503.158 -                                IMSMessage imsMessage = imsMessages.next();
 503.159 -                                imsMessage.accept(this);
 503.160 -                            }
 503.161 -                            if ( inputMessageCnt > 1 ) {
 503.162 -                                results.add(
 503.163 -                                        new Validator.ResultItem(this,
 503.164 -                                        Validator.ResultType.ERROR,
 503.165 -                                        binding,
 503.166 -                                        mMessages.getString("IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_INPUT") + " " + inputMessageCnt));
 503.167 -                            }
 503.168 -                        }
 503.169 -
 503.170 -                        BindingOutput bindingOutput = bindingOp.getBindingOutput();
 503.171 -                        if (bindingOutput != null) {
 503.172 -                            int outputMessageCnt = 0;
 503.173 -                            Iterator<IMSMessage> imsMessages =
 503.174 -                                    bindingOutput.getExtensibilityElements(IMSMessage.class).iterator();
 503.175 -                            while (imsMessages.hasNext()) {
 503.176 -                                outputMessageCnt++;
 503.177 -                                IMSMessage imsMessage = imsMessages.next();
 503.178 -                                imsMessage.accept(this);
 503.179 -                            }
 503.180 -                            if ( outputMessageCnt > 1 ) {
 503.181 -                                results.add(
 503.182 -                                        new Validator.ResultItem(this,
 503.183 -                                        Validator.ResultType.ERROR,
 503.184 -                                        binding,
 503.185 -                                        mMessages.getString("IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_OUTPUT") + " " + outputMessageCnt));
 503.186 -                            }
 503.187 -                        }
 503.188 -                    }
 503.189 -                }
 503.190 -                // there is ims:binding but no ims:operation
 503.191 -                if ( numIMSBindings > 0 && !foundIMSOp ) {
 503.192 -                    results.add(
 503.193 -                            new Validator.ResultItem(this,
 503.194 -                            Validator.ResultType.ERROR,
 503.195 -                            binding,
 503.196 -                            mMessages.getString("IMSBindingValidation.MISSING_IMS_OPERATION")));
 503.197 -                }
 503.198 -                // there is no ims:binding but there are ims:operation
 503.199 -                if ( numIMSBindings == 0 && foundIMSOp ) {
 503.200 -                    results.add(
 503.201 -                            new Validator.ResultItem(this,
 503.202 -                            Validator.ResultType.ERROR,
 503.203 -                            binding,
 503.204 -                            mMessages.getString("IMSBindingValidation.IMS_OPERATION_WO_IMS_BINDING")));
 503.205 -                }
 503.206 -            }
 503.207 -
 503.208 -            Iterator<Service> services = defs.getServices().iterator();
 503.209 -            while (services.hasNext()) {
 503.210 -                Iterator<Port> ports = services.next().getPorts().iterator();
 503.211 -                while (ports.hasNext()) {
 503.212 -                    Port port = ports.next();
 503.213 -                    if(port.getBinding() != null) {
 503.214 -                        Binding binding = port.getBinding().get();
 503.215 -                        if(binding != null) {
 503.216 -                            int numRelatedIMSBindings = binding.getExtensibilityElements(IMSBinding.class).size();
 503.217 -                            Iterator<IMSAddress> imsAddresses = port.getExtensibilityElements(IMSAddress.class).iterator();
 503.218 -                            if((numRelatedIMSBindings > 0) && (!imsAddresses.hasNext())){
 503.219 -                                results.add(
 503.220 -                                        new Validator.ResultItem(this,
 503.221 -                                        Validator.ResultType.ERROR,
 503.222 -                                        port,
 503.223 -                                        mMessages.getString("IMSExtValidation.MISSING_IMS_ADDRESS")));
 503.224 -                            }
 503.225 -
 503.226 -                            if(port.getExtensibilityElements(IMSAddress.class).size() > 1){
 503.227 -                                results.add(
 503.228 -                                        new Validator.ResultItem(this,
 503.229 -                                        Validator.ResultType.ERROR,
 503.230 -                                        port,
 503.231 -                                        mMessages.getString("IMSExtValidation.ONLY_ONE_IMSADDRESS_ALLOWED")));
 503.232 -                            }
 503.233 -                            while (imsAddresses.hasNext()) {
 503.234 -                                imsAddresses.next().accept(this);
 503.235 -                            }
 503.236 -                        }
 503.237 -                    }
 503.238 -                }
 503.239 -            }
 503.240 -        }
 503.241 -        // Clear out our state
 503.242 -        mValidation = null;
 503.243 -        mValidationType = null;
 503.244 -
 503.245 -        return mValidationResult;
 503.246 -    }
 503.247 -
 503.248 -    public void visit(IMSAddress target) {
 503.249 -        // for ims address tag - nothing to validate at this point
 503.250 -    }
 503.251 -
 503.252 -	public void visit(IMSBinding target) {
 503.253 -        // for ims binding tag - nothing to validate at this point
 503.254 -    }
 503.255 -
 503.256 -    public void visit(IMSOperation target) {
 503.257 -        // for ims operation tag - nothing to validate at this point
 503.258 -    }
 503.259 -
 503.260 -    public void visit(IMSMessage target) {
 503.261 -        Collection<ResultItem> results =
 503.262 -                mValidationResult.getValidationResult();
 503.263 -		//check encodingStyle
 503.264 -		String useType = target.getUse();
 503.265 -		String encodingStyle = target.getEncodingStyle();
 503.266 -		if(useType.equals("encoded")){
 503.267 -			if(isNull(encodingStyle)){
 503.268 -				results.add(new Validator.ResultItem(this,
 503.269 -						Validator.ResultType.ERROR,
 503.270 -						target,
 503.271 -						mMessages.getString("IMSMessage.IMS_ENCODING_STYLE_MISSING")));
 503.272 -			}
 503.273 -		}
 503.274 -
 503.275 -    }
 503.276 -
 503.277 -	//check whether it is null or empty
 503.278 -	private boolean isNull(String val){
 503.279 -		if((val == null) || (val.trim().equals(""))){
 503.280 -			return true;
 503.281 -		} else {
 503.282 -			return false;
 503.283 -		}
 503.284 -	}
 503.285 -
 503.286 -	private String getMessage(String key, String param) {
 503.287 -		return getMessage(key, new Object[] { param });
 503.288 -	}
 503.289 -
 503.290 -	private String getMessage(String key, Object[] params) {
 503.291 -		String fmt = mMessages.getString(key);
 503.292 -		if (params != null) {
 503.293 -			return MessageFormat.format(fmt, params);
 503.294 -		} else {
 503.295 -			return fmt;
 503.296 -		}
 503.297 -    }
 503.298 -}
   504.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactory.java	Thu Jul 10 19:13:29 2008 +0800
   504.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   504.3 @@ -1,52 +0,0 @@
   504.4 -/*
   504.5 - * The contents of this file are subject to the terms of the Common Development
   504.6 - * and Distribution License (the License). You may not use this file except in
   504.7 - * compliance with the License.
   504.8 - * 
   504.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  504.10 - * or http://www.netbeans.org/cddl.txt.
  504.11 - * 
  504.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  504.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  504.14 - * If applicable, add the following below the CDDL Header, with the fields
  504.15 - * enclosed by brackets [] replaced by your own identifying information:
  504.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  504.17 - * 
  504.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  504.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  504.20 - * Microsystems, Inc. All Rights Reserved.
  504.21 - */
  504.22 -
  504.23 -package org.netbeans.modules.wsdlextensions.ims.validator;
  504.24 -
  504.25 -import java.io.InputStream;
  504.26 -import javax.xml.transform.Source;
  504.27 -import javax.xml.transform.stream.StreamSource;
  504.28 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
  504.29 -
  504.30 -/**
  504.31 - * This class implements ValidatorSchemaFactory interface.
  504.32 - *
  504.33 - * @author Sun Microsystems
  504.34 - */
  504.35 -public class IMSValidatorSchemaFactory extends ValidatorSchemaFactory{
  504.36 -    static final String imsXSDUrl = "/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd";
  504.37 -    
  504.38 -    public String getNamespaceURI() {
  504.39 -        return "http://schemas.sun.com/jbi/wsdl-extensions/ims/";
  504.40 -    }
  504.41 -    
  504.42 -    public InputStream getSchemaInputStream() {
  504.43 -        return IMSValidatorSchemaFactory.class.getResourceAsStream(imsXSDUrl);
  504.44 -    }
  504.45 -    
  504.46 -     /**
  504.47 -     * Returns the Inputstream related to this schema
  504.48 -     */
  504.49 -    public Source getSchemaSource() {
  504.50 -        InputStream in = IMSValidatorSchemaFactory.class.getResourceAsStream(imsXSDUrl);
  504.51 -        Source s = new StreamSource(in);
  504.52 -        s.setSystemId(IMSValidatorSchemaFactory.class.getResource(imsXSDUrl).toString());
  504.53 -        return s;
  504.54 -    }
  504.55 -}
   505.1 --- a/wsdlextensions.ims/test/build-unit.xml	Thu Jul 10 19:13:29 2008 +0800
   505.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   505.3 @@ -1,72 +0,0 @@
   505.4 -<?xml version="1.0"?>
   505.5 -<!--
   505.6 - The contents of this file are subject to the terms of the Common Development
   505.7 - and Distribution License (the License). You may not use this file except in
   505.8 - compliance with the License.
   505.9 - 
  505.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  505.11 - or http://www.netbeans.org/cddl.txt.
  505.12 - 
  505.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  505.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  505.15 - If applicable, add the following below the CDDL Header, with the fields
  505.16 - enclosed by brackets [] replaced by your own identifying information:
  505.17 - "Portions Copyrighted [year] [name of copyright owner]"
  505.18 - 
  505.19 - The Original Software is NetBeans. The Initial Developer of the Original
  505.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  505.21 - Microsystems, Inc. All Rights Reserved.
  505.22 --->
  505.23 -
  505.24 -<project name="org.netbeans.modules.wsdlextensions.ims/test-unit" basedir="." default="all">
  505.25 -    <!-- ========= -->
  505.26 -    <!-- Compilers -->
  505.27 -    <!-- ========= -->
  505.28 -    <property name="build.compiler.source" value="1.5"/>
  505.29 -    <property file="../nbproject/project.properties"/>
  505.30 -    
  505.31 -    <target name="default-compiler">
  505.32 -        <!-- Build application before tests -->
  505.33 -        <ant dir=".." target="jar"/>
  505.34 -        <buildTests srcdir="unit/src" compileexcludes="**/data/**">
  505.35 -            <property name="javac.source" value="1.5"/>
  505.36 -	    <property name="package.tests.includes" value="**/*"/>
  505.37 -	    <property name="package.tests.excludes" value="**/*.java"/>
  505.38 -            <classpath>
  505.39 -                <!-- Add classpath elements needed to compile tests -->
  505.40 -                <pathelement path="${test.unit.cp}"/>
  505.41 -                <pathelement path="${test.unit.cp.extra}"/>
  505.42 -            </classpath>
  505.43 -        </buildTests>
  505.44 -    </target>
  505.45 -    
  505.46 -    <!-- ========= -->
  505.47 -    <!-- Executors -->
  505.48 -    <!-- ========= -->
  505.49 -    
  505.50 -    <target name="run-unit-test">
  505.51 -	<echo>NNNNNNNNNNNNNNNNNNNNtest.unit.cp.extra=${test.unit.cp.extra}</echo>
  505.52 -        <executeTests pluginname="jvm">
  505.53 -             <classpath>
  505.54 -                <!-- Add classpath elements needed to run tests -->
  505.55 -                <pathelement path="${test.unit.cp}"/>
  505.56 -                <pathelement path="${test.unit.cp.extra}"/>
  505.57 -                <pathelement path="${test.unit.run.cp.extra}"/>
  505.58 -            </classpath>
  505.59 -        </executeTests>
  505.60 -    </target>
  505.61 -
  505.62 -    <target name="run-ide-test">
  505.63 -        <property name="xtest.ide.use.classloader" value="org.netbeans.modules.wsdlextensions.ims"/>
  505.64 -        <executeTests pluginName="ide">
  505.65 -             <classpath>
  505.66 -                <!-- Add classpath elements needed to run tests -->
  505.67 -                <pathelement path="${test.unit.cp}"/>
  505.68 -                <pathelement path="${test.unit.cp.extra}"/>
  505.69 -                <pathelement path="${test.unit.run.cp.extra}"/>
  505.70 -            </classpath>
  505.71 -        </executeTests>
  505.72 -    </target>
  505.73 -    
  505.74 -</project>
  505.75 -
   506.1 --- a/wsdlextensions.ims/test/build.xml	Thu Jul 10 19:13:29 2008 +0800
   506.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   506.3 @@ -1,100 +0,0 @@
   506.4 -<?xml version="1.0"?>
   506.5 -<!--
   506.6 - The contents of this file are subject to the terms of the Common Development
   506.7 - and Distribution License (the License). You may not use this file except in
   506.8 - compliance with the License.
   506.9 - 
  506.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  506.11 - or http://www.netbeans.org/cddl.txt.
  506.12 - 
  506.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  506.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  506.15 - If applicable, add the following below the CDDL Header, with the fields
  506.16 - enclosed by brackets [] replaced by your own identifying information:
  506.17 - "Portions Copyrighted [year] [name of copyright owner]"
  506.18 - 
  506.19 - The Original Software is NetBeans. The Initial Developer of the Original
  506.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  506.21 - Microsystems, Inc. All Rights Reserved.
  506.22 --->
  506.23 -<project name="org.netbeans.modules.wsdlextensions.ims/test" basedir="." default="all">
  506.24 -
  506.25 -    <!-- Name of tested module -->
  506.26 -    <property name="xtest.module" value="org.netbeans.modules.wsdlextensions.ims"/>
  506.27 -    
  506.28 -    <!-- Home of XTest -->
  506.29 -    <property name="xtest.home" location="../../../xtest"/>
  506.30 -    <import file="${xtest.home}/lib/templates/xtest.xml"/>
  506.31 -
  506.32 -    <!-- default testtypes, attributes used when no value is supplied from command line -->
  506.33 -    <property name="xtest.testtype" value="unit"/>
  506.34 -    <property name="xtest.attribs" value="stable"/>
  506.35 -    <!--
  506.36 -    <property name="xtest.testtype" value="functional"/>
  506.37 -    <property name="xtest.attribs" value="stable,validation"/>
  506.38 -    -->
  506.39 -    
  506.40 -    <!-- Points to directory with IDE to test. Optional for IDE tests.  -->
  506.41 -    <property name="netbeans.dest.dir" location="${xtest.home}/../nbbuild/netbeans"/>
  506.42 -    
  506.43 -    <!--
  506.44 -    *****************************************************
  506.45 -    ** You should not change anything after this comment,
  506.46 -    **    unless you really know what you are doing
  506.47 -    ******************************************************
  506.48 -    -->
  506.49 -    
  506.50 -    <!-- Ant property. Value 'ignore' means that system classpath is ignored
  506.51 -         and only classpath specified in build file is used. -->
  506.52 -    <property name="build.sysclasspath" value="ignore"/>
  506.53 -
  506.54 -    <!-- Points to antfile with module's harness. 
  506.55 -         Targets from that antfile is called from this build.xml -->
  506.56 -    <property name="xtest.module_harness.antfile" location="${xtest.home}/lib/module_harness.xml"/>
  506.57 -
  506.58 -    <!-- before using xtest task, it has to be defined -->
  506.59 -    <taskdef name="xtest" classname="org.netbeans.xtest.usertasks.XTestActionTask" 
  506.60 -                 classpath="${xtest.home}/lib/xtest.jar"/>  
  506.61 -    
  506.62 -    <!-- ============ -->
  506.63 -    <!-- Main targets -->
  506.64 -    <!-- ============ -->
  506.65 -    
  506.66 -    <target name="all" depends="runtests"/>
  506.67 -    
  506.68 -    <!-- This calls target which will call compilers according to cfg file.
  506.69 -         You should not change this target unless you realy know what you are doing -->
  506.70 -    <target name="buildtests">
  506.71 -       <xtest executeAction="buildTests"/>
  506.72 -    </target>
  506.73 -    
  506.74 -    <!-- This calls common clean process. This cleans the tests -->
  506.75 -    <!-- You can write your own if you need something special -->
  506.76 -    <target name="cleantests">
  506.77 -       <xtest executeAction="cleanTests"/>
  506.78 -    </target> 
  506.79 -
  506.80 -    <!-- This target runs tests. You should not change this --> 
  506.81 -    <!-- target unless you realy know what you are doing -->
  506.82 -    <target name="runtests" depends="buildtests">
  506.83 -        <echo message="Module: Running tests for ${xtest.module}, testtype ${xtest.testtype}, attribs=${xtest.attribs}"/>
  506.84 -        <xtest executeAction="runTests"/>
  506.85 -    </target>
  506.86 -    
  506.87 -    <!-- This target cleans results -->
  506.88 -    <target name="cleanresults">
  506.89 -        <xtest executeAction="cleanResults"/>
  506.90 -    </target>
  506.91 -    
  506.92 -    <!-- This target cleans both tests and results -->
  506.93 -    <target name="realclean">
  506.94 -        <xtest executeAction="cleanAll"/>
  506.95 -    </target>
  506.96 -    
  506.97 -    <!-- This target prints out default xtest configuration which will be used to run the tests -->
  506.98 -    <target name="printconfig">
  506.99 -        <echo message="Default config is testtype: ${xtest.testtype}, attributes: ${xtest.attribs}."/>
 506.100 -    </target>
 506.101 -    
 506.102 -</project>
 506.103 -
   507.1 --- a/wsdlextensions.ims/test/cfg-unit.xml	Thu Jul 10 19:13:29 2008 +0800
   507.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   507.3 @@ -1,44 +0,0 @@
   507.4 -<?xml version="1.0" encoding="UTF-8"?>
   507.5 -<!--
   507.6 - The contents of this file are subject to the terms of the Common Development
   507.7 - and Distribution License (the License). You may not use this file except in
   507.8 - compliance with the License.
   507.9 - 
  507.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  507.11 - or http://www.netbeans.org/cddl.txt.
  507.12 - 
  507.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  507.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  507.15 - If applicable, add the following below the CDDL Header, with the fields
  507.16 - enclosed by brackets [] replaced by your own identifying information:
  507.17 - "Portions Copyrighted [year] [name of copyright owner]"
  507.18 - 
  507.19 - The Original Software is NetBeans. The Initial Developer of the Original
  507.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  507.21 - Microsystems, Inc. All Rights Reserved.
  507.22 --->
  507.23 -
  507.24 -<mconfig name="Unit config">
  507.25 -
  507.26 -    <testbag testattribs="stable" executor="unit-executor" name="Unit tests">
  507.27 -        <testset dir="unit/src">
  507.28 -            <patternset>
  507.29 -                <include name="**/*Test.class"/>
  507.30 -                <!-- exclude name="**/readwrite/*Test.class"/ -->
  507.31 -            </patternset>
  507.32 -        </testset>
  507.33 -    </testbag>
  507.34 -
  507.35 -    <testbag testattribs="ide" executor="ide-executor" name="IDE tests">
  507.36 -        <testset dir="unit/src">
  507.37 -            <patternset>
  507.38 -                <include name="**/*Test.class"/>
  507.39 -            </patternset>
  507.40 -        </testset>
  507.41 -    </testbag>
  507.42 -
  507.43 -    <compiler name="default-compiler" antfile="build-unit.xml" target="default-compiler" default="true"/>
  507.44 -    <executor name="unit-executor" antfile="build-unit.xml" target="run-unit-test"/>
  507.45 -    <executor name="ide-executor" antfile="build-unit.xml" target="run-ide-test"/>
  507.46 -
  507.47 -</mconfig>
   508.1 --- a/wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactoryTest.java	Thu Jul 10 19:13:29 2008 +0800
   508.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   508.3 @@ -1,76 +0,0 @@
   508.4 -/*
   508.5 - * The contents of this file are subject to the terms of the Common Development
   508.6 - * and Distribution License (the License). You may not use this file except in
   508.7 - * compliance with the License.
   508.8 - * 
   508.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  508.10 - * or http://www.netbeans.org/cddl.txt.
  508.11 - * 
  508.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  508.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  508.14 - * If applicable, add the following below the CDDL Header, with the fields
  508.15 - * enclosed by brackets [] replaced by your own identifying information:
  508.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  508.17 - * 
  508.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  508.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  508.20 - * Microsystems, Inc. All Rights Reserved.
  508.21 - */
  508.22 -
  508.23 -/*
  508.24 - * IMSValidatorSchemaFactoryTest.java
  508.25 - * JUnit based test
  508.26 - *
  508.27 - * Created on February 6, 2007, 11:37 PM
  508.28 - */
  508.29 -
  508.30 -package org.netbeans.modules.wsdlextensions.ims.validator;
  508.31 -
  508.32 -import javax.xml.transform.Source;
  508.33 -import junit.framework.*;
  508.34 -import java.io.InputStream;
  508.35 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
  508.36 -
  508.37 -/**
  508.38 - *
  508.39 - * @author radval
  508.40 - */
  508.41 -public class IMSValidatorSchemaFactoryTest extends TestCase {
  508.42 -    
  508.43 -    public IMSValidatorSchemaFactoryTest(String testName) {
  508.44 -        super(testName);
  508.45 -    }
  508.46 -
  508.47 -    protected void setUp() throws Exception {
  508.48 -    }
  508.49 -
  508.50 -    protected void tearDown() throws Exception {
  508.51 -    }
  508.52 -
  508.53 -    /**
  508.54 -     * Test of getNamespaceURI method, of class org.netbeans.modules.wsdlextensions.ims.validator.IMSValidatorSchemaFactory.
  508.55 -     */
  508.56 -    public void testGetNamespaceURI() {
  508.57 -        System.out.println("getNamespaceURI");
  508.58 -        
  508.59 -        IMSValidatorSchemaFactory instance = new IMSValidatorSchemaFactory();
  508.60 -        
  508.61 -       String result = instance.getNamespaceURI();
  508.62 -        assertNotNull(result);
  508.63 -        
  508.64 -    }
  508.65 -
  508.66 -    /**
  508.67 -     * Test of getSchemaInputStream method, of class org.netbeans.modules.wsdlextensions.ims.validator.IMSValidatorSchemaFactory.
  508.68 -     */
  508.69 -    public void testGetSchemaSource() {
  508.70 -        System.out.println("getSchemaSource");
  508.71 -        
  508.72 -        IMSValidatorSchemaFactory instance = new IMSValidatorSchemaFactory();
  508.73 -        
  508.74 -        Source result = instance.getSchemaSource();
  508.75 -        assertNotNull(result);
  508.76 -        
  508.77 -    }
  508.78 -    
  508.79 -}
   509.1 --- a/wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/SchemaTest.java	Thu Jul 10 19:13:29 2008 +0800
   509.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   509.3 @@ -1,96 +0,0 @@
   509.4 -/*
   509.5 - * The contents of this file are subject to the terms of the Common Development
   509.6 - * and Distribution License (the License). You may not use this file except in
   509.7 - * compliance with the License.
   509.8 - * 
   509.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  509.10 - * or http://www.netbeans.org/cddl.txt.
  509.11 - * 
  509.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  509.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  509.14 - * If applicable, add the following below the CDDL Header, with the fields
  509.15 - * enclosed by brackets [] replaced by your own identifying information:
  509.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  509.17 - * 
  509.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  509.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  509.20 - * Microsystems, Inc. All Rights Reserved.
  509.21 - */
  509.22 -
  509.23 -/*
  509.24 - * SchemaTest.java
  509.25 - * JUnit based test
  509.26 - *
  509.27 - * Created on January 31, 2007, 6:25 PM
  509.28 - */
  509.29 -
  509.30 -package org.netbeans.modules.wsdlextensions.ims.validator;
  509.31 -
  509.32 -import java.net.URL;
  509.33 -import javax.xml.XMLConstants;
  509.34 -import javax.xml.transform.stream.StreamSource;
  509.35 -import javax.xml.validation.Schema;
  509.36 -import javax.xml.validation.SchemaFactory;
  509.37 -import junit.framework.*;
  509.38 -import org.xml.sax.ErrorHandler;
  509.39 -import org.xml.sax.SAXException;
  509.40 -import org.xml.sax.SAXParseException;
  509.41 -
  509.42 -/**
  509.43 - *
  509.44 - * @author radval
  509.45 - */
  509.46 -public class SchemaTest extends TestCase {
  509.47 -    
  509.48 -    private Exception mLastError;
  509.49 -    
  509.50 -    private URL schemaUrl = SchemaTest.class.getResource("/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd");
  509.51 -    
  509.52 -    public SchemaTest(String testName) {
  509.53 -        super(testName);
  509.54 -    }
  509.55 -
  509.56 -    protected void setUp() throws Exception {
  509.57 -    }
  509.58 -
  509.59 -    protected void tearDown() throws Exception {
  509.60 -    }
  509.61 -    
  509.62 -    // TODO add test methods here. The name must begin with 'test'. For example:
  509.63 -    // public void testHello() {}
  509.64 -    
  509.65 -    public void testSchema() throws Exception {
  509.66 -        MyErrorHandler errorHandler = new MyErrorHandler();
  509.67 -        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
  509.68 -        sf.setErrorHandler(errorHandler);
  509.69 -        IMSValidatorSchemaFactory fac = new IMSValidatorSchemaFactory();
  509.70 -        StreamSource s = new StreamSource(fac.getSchemaInputStream());
  509.71 -        s.setSystemId(IMSValidatorSchemaFactory.class.getResource(IMSValidatorSchemaFactory.imsXSDUrl).toString());
  509.72 -        Schema schema = sf.newSchema(s);
  509.73 -        
  509.74 -        assertNotNull("schema should not be null", schema);
  509.75 -        
  509.76 -        assertNull("No exception should occur in schema parsing", mLastError);
  509.77 -        
  509.78 -    }
  509.79 -    
  509.80 -    class MyErrorHandler implements ErrorHandler {
  509.81 -        
  509.82 -        public void error(SAXParseException exception) throws SAXException {
  509.83 -            mLastError = exception;
  509.84 -            exception.printStackTrace();
  509.85 -        }
  509.86 -
  509.87 -        public void fatalError(SAXParseException exception) throws SAXException {
  509.88 -            mLastError = exception;
  509.89 -            exception.printStackTrace();
  509.90 -        }
  509.91 -
  509.92 -        public void warning(SAXParseException exception) throws SAXException {
  509.93 -            exception.printStackTrace();
  509.94 -        }
  509.95 -        
  509.96 -
  509.97 -
  509.98 -    }
  509.99 -}
   510.1 --- a/wsdlextensions.jdbc/build.xml	Thu Jul 10 19:13:29 2008 +0800
   510.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   510.3 @@ -1,28 +0,0 @@
   510.4 -<?xml version="1.0" encoding="UTF-8"?>
   510.5 -
   510.6 -<!--
   510.7 - The contents of this file are subject to the terms of the Common Development
   510.8 - and Distribution License (the License). You may not use this file except in
   510.9 - compliance with the License.
  510.10 - 
  510.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  510.12 - or http://www.netbeans.org/cddl.txt.
  510.13 - 
  510.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  510.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  510.16 - If applicable, add the following below the CDDL Header, with the fields
  510.17 - enclosed by brackets [] replaced by your own identifying information:
  510.18 - "Portions Copyrighted [year] [name of copyright owner]"
  510.19 - 
  510.20 - The Original Software is NetBeans. The Initial Developer of the Original
  510.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  510.22 - Microsystems, Inc. All Rights Reserved.
  510.23 --->
  510.24 -
  510.25 -<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
  510.26 -<!-- for some information on what you could do (e.g. targets to override). -->
  510.27 -<!-- If you delete this file and reopen the project it will be recreated. -->
  510.28 -<project name="org.netbeans.modules.wsdlextensions.jdbc" default="netbeans" basedir=".">
  510.29 -    <description>Builds, tests, and runs the project org.netbeans.modules.wsdlextensions.jdbc.</description>
  510.30 -    <import file="../../nbbuild/templates/projectized.xml"/>
  510.31 -</project>
   511.1 --- a/wsdlextensions.jdbc/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   511.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   511.3 @@ -1,6 +0,0 @@
   511.4 -Manifest-Version: 1.0
   511.5 -OpenIDE-Module: org.netbeans.modules.wsdlextensions.jdbc
   511.6 -OpenIDE-Module-Layer: org/netbeans/modules/wsdlextensions/jdbc/resources/layer.xml
   511.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/wsdlextensions/jdbc/resources/Bundle.properties
   511.8 -OpenIDE-Module-Specification-Version: 1.0
   511.9 -
   512.1 --- a/wsdlextensions.jdbc/nbproject/genfiles.properties	Thu Jul 10 19:13:29 2008 +0800
   512.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   512.3 @@ -1,8 +0,0 @@
   512.4 -build.xml.data.CRC32=291cbfb3
   512.5 -build.xml.script.CRC32=88eb7c32
   512.6 -build.xml.stylesheet.CRC32=77ef55dd
   512.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
   512.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
   512.9 -nbproject/build-impl.xml.data.CRC32=291cbfb3
  512.10 -nbproject/build-impl.xml.script.CRC32=dbdbe6f9
  512.11 -nbproject/build-impl.xml.stylesheet.CRC32=2607fe5f
   513.1 --- a/wsdlextensions.jdbc/nbproject/project.properties	Thu Jul 10 19:13:29 2008 +0800
   513.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   513.3 @@ -1,48 +0,0 @@
   513.4 -#
   513.5 -# The contents of this file are subject to the terms of the Common Development
   513.6 -# and Distribution License (the License). You may not use this file except in
   513.7 -# compliance with the License.
   513.8 -# 
   513.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  513.10 -# or http://www.netbeans.org/cddl.txt.
  513.11 -# 
  513.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  513.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  513.14 -# If applicable, add the following below the CDDL Header, with the fields
  513.15 -# enclosed by brackets [] replaced by your own identifying information:
  513.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  513.17 -# 
  513.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  513.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  513.20 -# Microsystems, Inc. All Rights Reserved.
  513.21 -#
  513.22 -
  513.23 -javac.compilerargs=-Xlint:unchecked
  513.24 -javac.source=1.5
  513.25 -test.unit.cp.extra=\
  513.26 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xdm.jar:\
  513.27 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xam.jar:\
  513.28 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-retriever.jar:\
  513.29 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-schema-model.jar:\
  513.30 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-wsdl-model.jar:\
  513.31 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor.jar:\
  513.32 -    ${netbeans.dest.dir}/platform6/lib/org-openide-modules.jar:\
  513.33 -    ${netbeans.dest.dir}/platform6/lib/org-openide-util.jar:\
  513.34 -    ${netbeans.dest.dir}/platform6/modules/org-openide-options.jar:\
  513.35 -    ${netbeans.dest.dir}/platform6/modules/org-openide-text.jar:\
  513.36 -    ${netbeans.dest.dir}/platform6/modules/org-openide-nodes.jar:\
  513.37 -    ${netbeans.dest.dir}/platform6/modules/org-openide-loaders.jar:\
  513.38 -    ${netbeans.dest.dir}/platform6/modules/org-openide-dialogs.jar:\
  513.39 -    ${netbeans.dest.dir}/platform6/modules/org-openide-windows.jar:\
  513.40 -    ${netbeans.dest.dir}/platform6/modules/org-openide-awt.jar:\
  513.41 -    ${netbeans.dest.dir}/platform6/modules/org-netbeans-modules-masterfs.jar:\
  513.42 -    ${netbeans.dest.dir}/platform6/core/org-openide-filesystems.jar:\
  513.43 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-projectapi.jar:\
  513.44 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-util.jar:\
  513.45 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-text.jar:\
  513.46 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-core.jar:\
  513.47 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-lib.jar:\
  513.48 -    ${netbeans.dest.dir}/ide7/modules/org-apache-xml-resolver.jar:\
  513.49 -    ${netbeans.dest.dir}/soa1/modules/org-netbeans-modules-wsdlextensions-jdbc.jar
  513.50 -
  513.51 -test.unit.run.cp=${test.unit.cp.extra}
   514.1 --- a/wsdlextensions.jdbc/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   514.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   514.3 @@ -1,75 +0,0 @@
   514.4 -<?xml version="1.0" encoding="UTF-8"?>
   514.5 -
   514.6 -<!--
   514.7 - The contents of this file are subject to the terms of the Common Development
   514.8 - and Distribution License (the License). You may not use this file except in
   514.9 - compliance with the License.
  514.10 - 
  514.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  514.12 - or http://www.netbeans.org/cddl.txt.
  514.13 - 
  514.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  514.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  514.16 - If applicable, add the following below the CDDL Header, with the fields
  514.17 - enclosed by brackets [] replaced by your own identifying information:
  514.18 - "Portions Copyrighted [year] [name of copyright owner]"
  514.19 - 
  514.20 - The Original Software is NetBeans. The Initial Developer of the Original
  514.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  514.22 - Microsystems, Inc. All Rights Reserved.
  514.23 --->
  514.24 -
  514.25 -<project xmlns="http://www.netbeans.org/ns/project/1">
  514.26 -    <type>org.netbeans.modules.apisupport.project</type>
  514.27 -    <configuration>
  514.28 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
  514.29 -            <code-name-base>org.netbeans.modules.wsdlextensions.jdbc</code-name-base>
  514.30 -            <module-dependencies>
  514.31 -                <dependency>
  514.32 -                    <code-name-base>org.netbeans.modules.xml.schema.model</code-name-base>
  514.33 -                    <build-prerequisite/>
  514.34 -                    <compile-dependency/>
  514.35 -                    <run-dependency>
  514.36 -                        <release-version>1</release-version>
  514.37 -                        <specification-version>1.1.21</specification-version>
  514.38 -                    </run-dependency>
  514.39 -                </dependency>
  514.40 -                <dependency>
  514.41 -                    <code-name-base>org.netbeans.modules.xml.wsdl.model</code-name-base>
  514.42 -                    <build-prerequisite/>
  514.43 -                    <compile-dependency/>
  514.44 -                    <run-dependency>
  514.45 -                        <release-version>1</release-version>
  514.46 -                        <specification-version>1.1.21</specification-version>
  514.47 -                    </run-dependency>
  514.48 -                </dependency>
  514.49 -                <dependency>
  514.50 -                    <code-name-base>org.netbeans.modules.xml.wsdl.bindingsupport.api</code-name-base>
  514.51 -                    <build-prerequisite/>
  514.52 -                    <compile-dependency/>
  514.53 -                    <run-dependency>
  514.54 -                        <specification-version>1.0</specification-version>
  514.55 -                    </run-dependency>
  514.56 -                </dependency>
  514.57 -                <dependency>
  514.58 -                    <code-name-base>org.netbeans.modules.xml.xam</code-name-base>
  514.59 -                    <build-prerequisite/>
  514.60 -                    <compile-dependency/>
  514.61 -                    <run-dependency>
  514.62 -                        <release-version>1</release-version>
  514.63 -                        <specification-version>1.1.21</specification-version>
  514.64 -                    </run-dependency>
  514.65 -                </dependency>
  514.66 -                <dependency>
  514.67 -                    <code-name-base>org.openide.util</code-name-base>
  514.68 -                    <build-prerequisite/>
  514.69 -                    <compile-dependency/>
  514.70 -                    <run-dependency>
  514.71 -                        <specification-version>6.8.22</specification-version>
  514.72 -                    </run-dependency>
  514.73 -                </dependency>
  514.74 -            </module-dependencies>
  514.75 -            <public-packages/>
  514.76 -        </data>
  514.77 -    </configuration>
  514.78 -</project>
   515.1 --- a/wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider	Thu Jul 10 19:13:29 2008 +0800
   515.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   515.3 @@ -1,1 +0,0 @@
   515.4 -org.netbeans.modules.wsdlextensions.jdbc.template.JDBCTemplateProvider
   515.5 \ No newline at end of file
   516.1 --- a/wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory	Thu Jul 10 19:13:29 2008 +0800
   516.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   516.3 @@ -1,5 +0,0 @@
   516.4 -org.netbeans.modules.wsdlextensions.jdbc.impl.JDBCElementFactoryProvider$AddressFactory
   516.5 -org.netbeans.modules.wsdlextensions.jdbc.impl.JDBCElementFactoryProvider$BindingFactory
   516.6 -org.netbeans.modules.wsdlextensions.jdbc.impl.JDBCElementFactoryProvider$OperationFactory
   516.7 -org.netbeans.modules.wsdlextensions.jdbc.impl.JDBCElementFactoryProvider$InputFactory
   516.8 -org.netbeans.modules.wsdlextensions.jdbc.impl.JDBCElementFactoryProvider$OutputFactory
   516.9 \ No newline at end of file
   517.1 --- a/wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory	Thu Jul 10 19:13:29 2008 +0800
   517.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   517.3 @@ -1,1 +0,0 @@
   517.4 -org.netbeans.modules.wsdlextensions.jdbc.validator.JDBCValidatorSchemaFactory
   517.5 \ No newline at end of file
   518.1 --- a/wsdlextensions.jdbc/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator	Thu Jul 10 19:13:29 2008 +0800
   518.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   518.3 @@ -1,1 +0,0 @@
   518.4 -org.netbeans.modules.wsdlextensions.jdbc.validator.JDBCComponentValidator
   518.5 \ No newline at end of file
   519.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCAddress.java	Thu Jul 10 19:13:29 2008 +0800
   519.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   519.3 @@ -1,33 +0,0 @@
   519.4 -/*
   519.5 - * The contents of this file are subject to the terms of the Common Development
   519.6 - * and Distribution License (the License). You may not use this file except in
   519.7 - * compliance with the License.
   519.8 - * 
   519.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  519.10 - * or http://www.netbeans.org/cddl.txt.
  519.11 - * 
  519.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  519.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  519.14 - * If applicable, add the following below the CDDL Header, with the fields
  519.15 - * enclosed by brackets [] replaced by your own identifying information:
  519.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  519.17 - * 
  519.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  519.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  519.20 - * Microsystems, Inc. All Rights Reserved.
  519.21 - */
  519.22 -
  519.23 -package org.netbeans.modules.wsdlextensions.jdbc;
  519.24 -
  519.25 -/**
  519.26 - *
  519.27 - * Represents the address element under the wsdl port for JDBC binding
  519.28 - * @author
  519.29 -*/
  519.30 -public interface JDBCAddress extends JDBCComponent {
  519.31 -
  519.32 -    public static final String JDBC_URL_PROPERTY = "jndiName";    // What we have to give in case of Jndi name
  519.33 -    public String getJDBCURL();
  519.34 -    public void setJDBCURL(String url);
  519.35 - 
  519.36 -}
   520.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCBinding.java	Thu Jul 10 19:13:29 2008 +0800
   520.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   520.3 @@ -1,27 +0,0 @@
   520.4 -/*
   520.5 - * The contents of this file are subject to the terms of the Common Development
   520.6 - * and Distribution License (the License). You may not use this file except in
   520.7 - * compliance with the License.
   520.8 - * 
   520.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  520.10 - * or http://www.netbeans.org/cddl.txt.
  520.11 - * 
  520.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  520.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  520.14 - * If applicable, add the following below the CDDL Header, with the fields
  520.15 - * enclosed by brackets [] replaced by your own identifying information:
  520.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  520.17 - * 
  520.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  520.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  520.20 - * Microsystems, Inc. All Rights Reserved.
  520.21 - */
  520.22 -
  520.23 -package org.netbeans.modules.wsdlextensions.jdbc;
  520.24 -
  520.25 -/**
  520.26 - * @author Venkat P
  520.27 - *
  520.28 - */
  520.29 -public interface JDBCBinding extends JDBCComponent {
  520.30 -}
   521.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCComponent.java	Thu Jul 10 19:13:29 2008 +0800
   521.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   521.3 @@ -1,38 +0,0 @@
   521.4 -/*
   521.5 - * The contents of this file are subject to the terms of the Common Development
   521.6 - * and Distribution License (the License). You may not use this file except in
   521.7 - * compliance with the License.
   521.8 - * 
   521.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  521.10 - * or http://www.netbeans.org/cddl.txt.
  521.11 - * 
  521.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  521.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  521.14 - * If applicable, add the following below the CDDL Header, with the fields
  521.15 - * enclosed by brackets [] replaced by your own identifying information:
  521.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  521.17 - * 
  521.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  521.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  521.20 - * Microsystems, Inc. All Rights Reserved.
  521.21 - */
  521.22 -package org.netbeans.modules.wsdlextensions.jdbc;
  521.23 -
  521.24 -import org.netbeans.modules.xml.wsdl.model.ExtensibilityElement;
  521.25 -
  521.26 -/**
  521.27 - * @author 
  521.28 - *
  521.29 - */
  521.30 -public interface JDBCComponent extends ExtensibilityElement {
  521.31 -
  521.32 -    public interface Visitor {
  521.33 -        void visit(JDBCAddress target);
  521.34 -        void visit(JDBCBinding target);
  521.35 -        void visit(JDBCOperation target);
  521.36 -        void visit(JDBCOperationInput target);
  521.37 -		void visit(JDBCOperationOutput target);
  521.38 -    }
  521.39 -    
  521.40 -    void accept(Visitor visitor);
  521.41 -}
   522.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCOperation.java	Thu Jul 10 19:13:29 2008 +0800
   522.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   522.3 @@ -1,27 +0,0 @@
   522.4 -/*
   522.5 - * The contents of this file are subject to the terms of the Common Development
   522.6 - * and Distribution License (the License). You may not use this file except in
   522.7 - * compliance with the License.
   522.8 - * 
   522.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  522.10 - * or http://www.netbeans.org/cddl.txt.
  522.11 - * 
  522.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  522.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  522.14 - * If applicable, add the following below the CDDL Header, with the fields
  522.15 - * enclosed by brackets [] replaced by your own identifying information:
  522.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  522.17 - * 
  522.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  522.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  522.20 - * Microsystems, Inc. All Rights Reserved.
  522.21 - */
  522.22 -
  522.23 -package org.netbeans.modules.wsdlextensions.jdbc;
  522.24 -
  522.25 -/**
  522.26 - * @author Venkat P
  522.27 - *
  522.28 - */
  522.29 -public interface JDBCOperation extends JDBCComponent {
  522.30 -}
   523.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCOperationInput.java	Thu Jul 10 19:13:29 2008 +0800
   523.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   523.3 @@ -1,74 +0,0 @@
   523.4 -/*
   523.5 - * The contents of this file are subject to the terms of the Common Development
   523.6 - * and Distribution License (the License). You may not use this file except in
   523.7 - * compliance with the License.
   523.8 - * 
   523.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  523.10 - * or http://www.netbeans.org/cddl.txt.
  523.11 - * 
  523.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  523.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  523.14 - * If applicable, add the following below the CDDL Header, with the fields
  523.15 - * enclosed by brackets [] replaced by your own identifying information:
  523.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  523.17 - * 
  523.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  523.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  523.20 - * Microsystems, Inc. All Rights Reserved.
  523.21 - */
  523.22 -
  523.23 -package org.netbeans.modules.wsdlextensions.jdbc;
  523.24 -
  523.25 -/**
  523.26 -* @author Venkat P
  523.27 -*/
  523.28 -public interface JDBCOperationInput extends JDBCComponent {
  523.29 -
  523.30 -	public static final String JDBC_OPERATIONTYPE_PROPERTY = "operationType";
  523.31 -	public static final String JDBC_NUMBERRECORD_PROPERTY  = "numberOfRecords";
  523.32 -
  523.33 -	public static final String JDBC_PARAMORDER_PROPERTY = "paramOrder";
  523.34 -	public static final String JDBC_SQL_PROPERTY = "sql";
  523.35 -	public static final String JDBC_PKNAME_PROPERTY = "PKName";
  523.36 -	public static final String JDBC_MARKCOLUMN_PROPERTY = "MarkColumnName";
  523.37 -	public static final String JDBC_TABLENAME_PROPERTY = "TableName";
  523.38 -	public static final String JDBC_MOVEROWTABLE_PROPERTY = "MoveRowToTableName";
  523.39 -	public static final String JDBC_POSTPROCESS_PROPERTY = "PollingPostProcessing";
  523.40 -	public static final String JDBC_MARKCOLVALUE_PROPERTY = "MarkColumnValue";
  523.41 -	public static final String JDBC_TRANSACTION_PROPERTY = "Transaction";
  523.42 -
  523.43 -    public String getOperationType();
  523.44 -    public void setOperationType(String opType);
  523.45 -
  523.46 -	public int getNumberOfRecords();
  523.47 -    public void setNumberOfRecords(int numRecords);	
  523.48 -
  523.49 -	public void setParamOrder(String paramOrder);
  523.50 -	public String getParamOrder();
  523.51 -	
  523.52 -	public void setSql(String sql);
  523.53 -	public String getSql();
  523.54 -	
  523.55 -	public String getPKName();
  523.56 -	public void setPKName(String pkName);
  523.57 -	
  523.58 -	public String getMarkColumnName();
  523.59 -	public void setMarkColumnName(String colName);
  523.60 -	
  523.61 -	public String getTransaction();
  523.62 -	public void setTransaction(String transaction);
  523.63 -	
  523.64 -	public String getTableName();
  523.65 -	public void setTableName(String tableName);
  523.66 -	
  523.67 -	public String getMoveRowToTableName();
  523.68 -	public void setMoveRowToTableName(String movRowTable);
  523.69 -	
  523.70 -	public String getPollingPostProcessing();
  523.71 -	public void setPollingPostProcessing(String pollProcess);
  523.72 -	
  523.73 -	public String getMarkColumnValue();
  523.74 -	public void setMarkColumnValue(String markColValue);	
  523.75 -
  523.76 -}
  523.77 -
   524.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCOperationOutput.java	Thu Jul 10 19:13:29 2008 +0800
   524.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   524.3 @@ -1,35 +0,0 @@
   524.4 -/*
   524.5 - * The contents of this file are subject to the terms of the Common Development
   524.6 - * and Distribution License (the License). You may not use this file except in
   524.7 - * compliance with the License.
   524.8 - * 
   524.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  524.10 - * or http://www.netbeans.org/cddl.txt.
  524.11 - * 
  524.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  524.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  524.14 - * If applicable, add the following below the CDDL Header, with the fields
  524.15 - * enclosed by brackets [] replaced by your own identifying information:
  524.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  524.17 - * 
  524.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  524.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  524.20 - * Microsystems, Inc. All Rights Reserved.
  524.21 - */
  524.22 -
  524.23 -package org.netbeans.modules.wsdlextensions.jdbc;
  524.24 -
  524.25 -/**
  524.26 -* @author Venkat P
  524.27 -*/
  524.28 -public interface JDBCOperationOutput extends JDBCComponent {
  524.29 -
  524.30 -	public static final String JDBC_RETPARTNAME_PROPERTY = "returnPartName";
  524.31 -	
  524.32 -    //pollIntervalMillis="5000"
  524.33 -
  524.34 -    public int getReturnPartName();
  524.35 -    public void setReturnPartName(String returnPartName);
  524.36 -
  524.37 -}
  524.38 -
   525.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/JDBCQName.java	Thu Jul 10 19:13:29 2008 +0800
   525.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   525.3 @@ -1,66 +0,0 @@
   525.4 -/*
   525.5 - * The contents of this file are subject to the terms of the Common Development
   525.6 - * and Distribution License (the License). You may not use this file except in
   525.7 - * compliance with the License.
   525.8 - * 
   525.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  525.10 - * or http://www.netbeans.org/cddl.txt.
  525.11 - * 
  525.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  525.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  525.14 - * If applicable, add the following below the CDDL Header, with the fields
  525.15 - * enclosed by brackets [] replaced by your own identifying information:
  525.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  525.17 - * 
  525.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  525.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  525.20 - * Microsystems, Inc. All Rights Reserved.
  525.21 - */
  525.22 -
  525.23 -package org.netbeans.modules.wsdlextensions.jdbc;
  525.24 -
  525.25 -import java.util.HashSet;
  525.26 -import java.util.Set;
  525.27 -import javax.xml.namespace.QName;
  525.28 -
  525.29 -/**
  525.30 - * @author 
  525.31 - *
  525.32 - */
  525.33 -public enum JDBCQName {
  525.34 -    ADDRESS(createJDBCQName("address")),
  525.35 -    BINDING(createJDBCQName("binding")),
  525.36 -    FAULT(createJDBCQName("fault")),
  525.37 -    OPERATION(createJDBCQName("operation")),
  525.38 -    INPUT(createJDBCQName("input")),
  525.39 -	OUTPUT(createJDBCQName("output")),
  525.40 -	SQL(createJDBCQName("sql"));
  525.41 -    
  525.42 -    public static final String JDBC_NS_URI = "http://schemas.sun.com/jbi/wsdl-extensions/jdbc/";
  525.43 -    public static final String JDBC_NS_PREFIX = "jdbc";
  525.44 -    
  525.45 -    public static QName createJDBCQName(String localName){
  525.46 -        return new QName(JDBC_NS_URI, localName, JDBC_NS_PREFIX);
  525.47 -    }
  525.48 -    
  525.49 -    JDBCQName(QName name) {
  525.50 -        qName = name;
  525.51 -    }
  525.52 -    
  525.53 -    public QName getQName(){
  525.54 -        return qName;
  525.55 -    }
  525.56 -    
  525.57 -    private static Set<QName> qnames = null;
  525.58 -    public static Set<QName> getQNames() {
  525.59 -        if (qnames == null) {
  525.60 -            qnames = new HashSet<QName>();
  525.61 -            for (JDBCQName wq : values()) {
  525.62 -                qnames.add(wq.getQName());
  525.63 -            }
  525.64 -        }
  525.65 -        return qnames;
  525.66 -    }
  525.67 -    
  525.68 -    private final QName qName;
  525.69 -}
   526.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCAddressImpl.java	Thu Jul 10 19:13:29 2008 +0800
   526.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   526.3 @@ -1,50 +0,0 @@
   526.4 -/*
   526.5 - * The contents of this file are subject to the terms of the Common Development
   526.6 - * and Distribution License (the License). You may not use this file except in
   526.7 - * compliance with the License.
   526.8 - * 
   526.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  526.10 - * or http://www.netbeans.org/cddl.txt.
  526.11 - * 
  526.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  526.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  526.14 - * If applicable, add the following below the CDDL Header, with the fields
  526.15 - * enclosed by brackets [] replaced by your own identifying information:
  526.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  526.17 - * 
  526.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  526.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  526.20 - * Microsystems, Inc. All Rights Reserved.
  526.21 - */
  526.22 -
  526.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  526.24 -
  526.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  526.26 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCAddress;
  526.27 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  526.28 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  526.29 -import org.w3c.dom.Element;
  526.30 -
  526.31 -/**
  526.32 - */
  526.33 -public class JDBCAddressImpl extends JDBCComponentImpl implements JDBCAddress {
  526.34 -    public JDBCAddressImpl(WSDLModel model, Element e) {
  526.35 -        super(model, e);
  526.36 -    }
  526.37 -    
  526.38 -    public JDBCAddressImpl(WSDLModel model){
  526.39 -        this(model, createPrefixedElement(JDBCQName.ADDRESS.getQName(), model));
  526.40 -    }
  526.41 -    
  526.42 -    public void accept(JDBCComponent.Visitor visitor) {
  526.43 -        visitor.visit(this);
  526.44 -    }
  526.45 -
  526.46 -    public void setJDBCURL(String jdbcURL) {
  526.47 -        setAttribute(JDBCAddress.JDBC_URL_PROPERTY, JDBCAttribute.JDBC_URL_PROPERTY, jdbcURL);
  526.48 -    }
  526.49 -
  526.50 -    public String getJDBCURL() {
  526.51 -        return getAttribute(JDBCAttribute.JDBC_URL_PROPERTY);
  526.52 -    } 
  526.53 -}
   527.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCAttribute.java	Thu Jul 10 19:13:29 2008 +0800
   527.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   527.3 @@ -1,73 +0,0 @@
   527.4 -/*
   527.5 - * The contents of this file are subject to the terms of the Common Development
   527.6 - * and Distribution License (the License). You may not use this file except in
   527.7 - * compliance with the License.
   527.8 - * 
   527.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  527.10 - * or http://www.netbeans.org/cddl.txt.
  527.11 - * 
  527.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  527.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  527.14 - * If applicable, add the following below the CDDL Header, with the fields
  527.15 - * enclosed by brackets [] replaced by your own identifying information:
  527.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  527.17 - * 
  527.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  527.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  527.20 - * Microsystems, Inc. All Rights Reserved.
  527.21 - */
  527.22 -
  527.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  527.24 -
  527.25 -import java.util.Collection;
  527.26 -import org.netbeans.modules.xml.xam.dom.Attribute;
  527.27 -
  527.28 -/**
  527.29 - * @author 
  527.30 - *
  527.31 - */
  527.32 -public enum JDBCAttribute implements Attribute {
  527.33 -
  527.34 -	JDBC_OPERATIONTYPE_PROPERTY("operationType"),
  527.35 -	JDBC_NUMBERRECORD_PROPERTY("numberOfRecords"),
  527.36 -	JDBC_RETPARTNAME_PROPERTY("returnPartName"),
  527.37 -	JDBC_URL_PROPERTY("jndiName"),
  527.38 -	JDBC_PARAMORDER_PROPERTY("paramOrder"),
  527.39 -	JDBC_SQL_PROPERTY("sql"),
  527.40 -	JDBC_PKNAME_PROPERTY("PKName"),
  527.41 -	JDBC_MARKCOLUMN_PROPERTY("MarkColumnName"),
  527.42 -	JDBC_TABLENAME_PROPERTY("TableName"),
  527.43 -	JDBC_MOVEROWTABLE_PROPERTY("MoveRowToTableName"),
  527.44 -	JDBC_POSTPROCESS_PROPERTY("PollingPostProcessing"),
  527.45 -	JDBC_MARKCOLVALUE_PROPERTY("MarkColumnValue"),
  527.46 -	JDBC_TRANSACTION_PROPERTY("Transaction");
  527.47 -	
  527.48 -    
  527.49 -    private String name;
  527.50 -    private Class type;
  527.51 -    private Class subtype;
  527.52 -    
  527.53 -    JDBCAttribute(String name) {
  527.54 -        this(name, String.class);
  527.55 -    }
  527.56 -    
  527.57 -    JDBCAttribute(String name, Class type) {
  527.58 -        this(name, type, null);
  527.59 -    }
  527.60 -    
  527.61 -    JDBCAttribute(String name, Class type, Class subtype) {
  527.62 -        this.name = name;
  527.63 -        this.type = type;
  527.64 -        this.subtype = subtype;
  527.65 -    }
  527.66 -    
  527.67 -    public String toString() { return name; }
  527.68 -    
  527.69 -    public Class getType() {
  527.70 -        return type;
  527.71 -    }
  527.72 -    
  527.73 -    public String getName() { return name; }
  527.74 -    
  527.75 -    public Class getMemberType() { return subtype; }
  527.76 -}
   528.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCBindingImpl.java	Thu Jul 10 19:13:29 2008 +0800
   528.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   528.3 @@ -1,45 +0,0 @@
   528.4 -/*
   528.5 - * The contents of this file are subject to the terms of the Common Development
   528.6 - * and Distribution License (the License). You may not use this file except in
   528.7 - * compliance with the License.
   528.8 - * 
   528.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  528.10 - * or http://www.netbeans.org/cddl.txt.
  528.11 - * 
  528.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  528.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  528.14 - * If applicable, add the following below the CDDL Header, with the fields
  528.15 - * enclosed by brackets [] replaced by your own identifying information:
  528.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  528.17 - * 
  528.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  528.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  528.20 - * Microsystems, Inc. All Rights Reserved.
  528.21 - */
  528.22 -
  528.23 -
  528.24 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  528.25 -
  528.26 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  528.27 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCBinding;
  528.28 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  528.29 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  528.30 -import org.w3c.dom.Element;
  528.31 -
  528.32 -/**
  528.33 - * @author 
  528.34 - *
  528.35 - */
  528.36 -public class JDBCBindingImpl extends JDBCComponentImpl implements JDBCBinding {
  528.37 -    public JDBCBindingImpl(WSDLModel model, Element e) {
  528.38 -        super(model, e);
  528.39 -    }
  528.40 -    
  528.41 -    public JDBCBindingImpl(WSDLModel model){
  528.42 -        this(model, createPrefixedElement(JDBCQName.BINDING.getQName(), model));
  528.43 -    }
  528.44 -    
  528.45 -    public void accept(JDBCComponent.Visitor visitor) {
  528.46 -        visitor.visit(this);
  528.47 -    }
  528.48 -}
   529.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCComponentImpl.java	Thu Jul 10 19:13:29 2008 +0800
   529.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   529.3 @@ -1,39 +0,0 @@
   529.4 -/*
   529.5 - * The contents of this file are subject to the terms of the Common Development
   529.6 - * and Distribution License (the License). You may not use this file except in
   529.7 - * compliance with the License.
   529.8 - * 
   529.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  529.10 - * or http://www.netbeans.org/cddl.txt.
  529.11 - * 
  529.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  529.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  529.14 - * If applicable, add the following below the CDDL Header, with the fields
  529.15 - * enclosed by brackets [] replaced by your own identifying information:
  529.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  529.17 - * 
  529.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  529.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  529.20 - * Microsystems, Inc. All Rights Reserved.
  529.21 - */
  529.22 -
  529.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  529.24 -
  529.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  529.26 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  529.27 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  529.28 -import org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement;
  529.29 -import org.w3c.dom.Element;
  529.30 -
  529.31 -/**
  529.32 -* @author Venkat P
  529.33 -*/
  529.34 -public abstract class JDBCComponentImpl extends GenericExtensibilityElement implements JDBCComponent {
  529.35 -    public JDBCComponentImpl(WSDLModel model, Element e) {
  529.36 -        super(model, e);
  529.37 -    }
  529.38 -    
  529.39 -    protected String getNamespaceURI() {
  529.40 -        return JDBCQName.JDBC_NS_URI;
  529.41 -    }
  529.42 -}
   530.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCElementFactoryProvider.java	Thu Jul 10 19:13:29 2008 +0800
   530.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   530.3 @@ -1,81 +0,0 @@
   530.4 -/*
   530.5 - * The contents of this file are subject to the terms of the Common Development
   530.6 - * and Distribution License (the License). You may not use this file except in
   530.7 - * compliance with the License.
   530.8 - * 
   530.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  530.10 - * or http://www.netbeans.org/cddl.txt.
  530.11 - * 
  530.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  530.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  530.14 - * If applicable, add the following below the CDDL Header, with the fields
  530.15 - * enclosed by brackets [] replaced by your own identifying information:
  530.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  530.17 - * 
  530.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  530.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  530.20 - * Microsystems, Inc. All Rights Reserved.
  530.21 - */
  530.22 -
  530.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  530.24 -
  530.25 -import java.util.ArrayList;
  530.26 -import java.util.Collection;
  530.27 -import java.util.Collections;
  530.28 -import java.util.Set;
  530.29 -import javax.xml.namespace.QName;
  530.30 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  530.31 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  530.32 -import org.netbeans.modules.xml.wsdl.model.spi.ElementFactory;
  530.33 -import org.w3c.dom.Element;
  530.34 -
  530.35 -/**
  530.36 - ** @author 
  530.37 -*/
  530.38 -public class JDBCElementFactoryProvider {
  530.39 -    
  530.40 -    public static class BindingFactory extends ElementFactory {
  530.41 -        public Set<QName> getElementQNames() {
  530.42 -            return Collections.singleton(JDBCQName.BINDING.getQName());
  530.43 -        }
  530.44 -        public WSDLComponent create(WSDLComponent context, Element element) {
  530.45 -            return new JDBCBindingImpl(context.getModel(), element);
  530.46 -        }
  530.47 -    }
  530.48 -
  530.49 -    public static class AddressFactory extends ElementFactory {
  530.50 -        public Set<QName> getElementQNames() {
  530.51 -            return Collections.singleton(JDBCQName.ADDRESS.getQName());
  530.52 -        }
  530.53 -        public WSDLComponent create(WSDLComponent context, Element element) {
  530.54 -            return new JDBCAddressImpl(context.getModel(), element);
  530.55 -        }
  530.56 -    }
  530.57 -
  530.58 -    public static class OperationFactory extends ElementFactory{
  530.59 -        public Set<QName> getElementQNames() {
  530.60 -            return Collections.singleton(JDBCQName.OPERATION.getQName());
  530.61 -        }
  530.62 -        public WSDLComponent create(WSDLComponent context, Element element) {
  530.63 -            return new JDBCOperationImpl(context.getModel(), element);
  530.64 -        }
  530.65 -    }
  530.66 -
  530.67 -    public static class InputFactory extends ElementFactory{
  530.68 -        public Set<QName> getElementQNames() {
  530.69 -            return Collections.singleton(JDBCQName.INPUT.getQName());
  530.70 -        }
  530.71 -        public WSDLComponent create(WSDLComponent context, Element element) {
  530.72 -            return new JDBCOperationInputImpl(context.getModel(), element);
  530.73 -        }
  530.74 -    }
  530.75 -	
  530.76 -	public static class OutputFactory extends ElementFactory{
  530.77 -        public Set<QName> getElementQNames() {
  530.78 -            return Collections.singleton(JDBCQName.OUTPUT.getQName());
  530.79 -        }
  530.80 -        public WSDLComponent create(WSDLComponent context, Element element) {
  530.81 -            return new JDBCOperationOutputImpl(context.getModel(), element);
  530.82 -        }
  530.83 -    }	
  530.84 -}
   531.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCOperationImpl.java	Thu Jul 10 19:13:29 2008 +0800
   531.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   531.3 @@ -1,50 +0,0 @@
   531.4 -/*
   531.5 - * The contents of this file are subject to the terms of the Common Development
   531.6 - * and Distribution License (the License). You may not use this file except in
   531.7 - * compliance with the License.
   531.8 - * 
   531.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  531.10 - * or http://www.netbeans.org/cddl.txt.
  531.11 - * 
  531.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  531.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  531.14 - * If applicable, add the following below the CDDL Header, with the fields
  531.15 - * enclosed by brackets [] replaced by your own identifying information:
  531.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  531.17 - * 
  531.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  531.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  531.20 - * Microsystems, Inc. All Rights Reserved.
  531.21 - */
  531.22 -
  531.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  531.24 -
  531.25 -import java.util.Collection;
  531.26 -import org.netbeans.modules.xml.wsdl.model.Binding;
  531.27 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  531.28 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  531.29 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCBinding;
  531.30 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCOperation;
  531.31 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  531.32 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  531.33 -import org.w3c.dom.Element;
  531.34 -
  531.35 -/**
  531.36 - * @author Venkat P
  531.37 - *
  531.38 - */
  531.39 -public class JDBCOperationImpl extends JDBCComponentImpl implements JDBCOperation {
  531.40 -    
  531.41 -    public JDBCOperationImpl(WSDLModel model, Element e) {
  531.42 -        super(model, e);
  531.43 -    }
  531.44 -    
  531.45 -    public JDBCOperationImpl(WSDLModel model){
  531.46 -        this(model, createPrefixedElement(JDBCQName.OPERATION.getQName(), model));
  531.47 -    }
  531.48 -    
  531.49 -    public void accept(JDBCComponent.Visitor visitor) {
  531.50 -        visitor.visit(this);
  531.51 -    }
  531.52 -	
  531.53 -}
   532.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCOperationInputImpl.java	Thu Jul 10 19:13:29 2008 +0800
   532.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   532.3 @@ -1,261 +0,0 @@
   532.4 -/*
   532.5 - * The contents of this file are subject to the terms of the Common Development
   532.6 - * and Distribution License (the License). You may not use this file except in
   532.7 - * compliance with the License.
   532.8 - * 
   532.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  532.10 - * or http://www.netbeans.org/cddl.txt.
  532.11 - * 
  532.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  532.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  532.14 - * If applicable, add the following below the CDDL Header, with the fields
  532.15 - * enclosed by brackets [] replaced by your own identifying information:
  532.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  532.17 - * 
  532.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  532.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  532.20 - * Microsystems, Inc. All Rights Reserved.
  532.21 - */
  532.22 -
  532.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  532.24 -
  532.25 -import java.util.Collection;
  532.26 -import org.netbeans.modules.xml.wsdl.model.Binding;
  532.27 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  532.28 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  532.29 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCOperationInput;
  532.30 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  532.31 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  532.32 -import org.w3c.dom.Element;
  532.33 -
  532.34 -/**
  532.35 - * @author 
  532.36 - */
  532.37 -public class JDBCOperationInputImpl extends JDBCComponentImpl implements JDBCOperationInput {
  532.38 -    
  532.39 -    public JDBCOperationInputImpl(WSDLModel model, Element e) {
  532.40 -        super(model, e);
  532.41 -    }
  532.42 -    
  532.43 -    public JDBCOperationInputImpl(WSDLModel model){
  532.44 -        this(model, createPrefixedElement(JDBCQName.INPUT.getQName(), model));
  532.45 -    }
  532.46 -    
  532.47 -    public void accept(JDBCComponent.Visitor visitor) {
  532.48 -        visitor.visit(this);
  532.49 -    }
  532.50 -
  532.51 -	public int getNumberOfRecords() {
  532.52 -        String records = getAttribute(JDBCAttribute.JDBC_NUMBERRECORD_PROPERTY);
  532.53 -        int recordVal = -1;
  532.54 -        if ( recordVal != -1 ) {
  532.55 -            try {
  532.56 -                recordVal = Integer.parseInt(records);
  532.57 -            }
  532.58 -            catch (Exception e) {
  532.59 -                // just ignore
  532.60 -            }
  532.61 -        }
  532.62 -        return recordVal;
  532.63 -    }
  532.64 -
  532.65 -  // need to work on this for getting the values
  532.66 -
  532.67 -	public String getOperationType() {
  532.68 -        String opType = getAttribute(JDBCAttribute.JDBC_OPERATIONTYPE_PROPERTY);
  532.69 -        String opTypeVal = null;
  532.70 -        if ( opType != null ) {
  532.71 -            try {
  532.72 -                opTypeVal = opType;
  532.73 -            }
  532.74 -            catch (Exception e) {
  532.75 -                // just ignore
  532.76 -            }
  532.77 -        }
  532.78 -        return opTypeVal;
  532.79 -    }
  532.80 -
  532.81 -    public void setNumberOfRecords(int interval) {
  532.82 -        setAttribute(JDBC_NUMBERRECORD_PROPERTY, JDBCAttribute.JDBC_NUMBERRECORD_PROPERTY, "" + interval);
  532.83 -    }
  532.84 -
  532.85 -	public void setOperationType(String opType) {
  532.86 -        setAttribute(JDBC_OPERATIONTYPE_PROPERTY, JDBCAttribute.JDBC_OPERATIONTYPE_PROPERTY, "" + opType);
  532.87 -    }
  532.88 -
  532.89 -	public void setParamOrder(String paramOrder) {
  532.90 -		 setAttribute(JDBC_PARAMORDER_PROPERTY, JDBCAttribute.JDBC_PARAMORDER_PROPERTY, "" + paramOrder);
  532.91 -	}
  532.92 -
  532.93 -	public String getParamOrder() {
  532.94 -
  532.95 -		String paramOrder = getAttribute(JDBCAttribute.JDBC_PARAMORDER_PROPERTY);
  532.96 -        String paramOrderVal = null;
  532.97 -        if ( paramOrder != null ) {
  532.98 -            try {
  532.99 -                paramOrderVal = paramOrder;
 532.100 -            }
 532.101 -            catch (Exception e) {
 532.102 -                // just ignore
 532.103 -            }
 532.104 -        }
 532.105 -        return paramOrderVal;
 532.106 -	}
 532.107 -
 532.108 -	public void setSql(String sql) {
 532.109 -		 setAttribute(JDBC_SQL_PROPERTY, JDBCAttribute.JDBC_SQL_PROPERTY, "" + sql);
 532.110 -	}
 532.111 -
 532.112 -	public String getSql() {
 532.113 -
 532.114 -		String opType = getAttribute(JDBCAttribute.JDBC_SQL_PROPERTY);
 532.115 -        String opTypeVal = null;
 532.116 -        if ( opType != null ) {
 532.117 -            try {
 532.118 -                opTypeVal = opType;
 532.119 -            }
 532.120 -            catch (Exception e) {
 532.121 -                // just ignore
 532.122 -            }
 532.123 -        }
 532.124 -        return opTypeVal;
 532.125 -	}
 532.126 -
 532.127 -	public String getMarkColumnName(){
 532.128 -		
 532.129 -		String markcolumn = getAttribute(JDBCAttribute.JDBC_MARKCOLUMN_PROPERTY);
 532.130 -        String markcolumnVal = null;
 532.131 -        if ( markcolumn != null ) {
 532.132 -            try {
 532.133 -            	markcolumnVal = markcolumn;
 532.134 -            }
 532.135 -            catch (Exception e) {
 532.136 -                // just ignore
 532.137 -            }
 532.138 -        }
 532.139 -        return markcolumnVal;
 532.140 -	}
 532.141 -
 532.142 -	public void setMarkColumnName(String markcol){
 532.143 -		 setAttribute(JDBC_MARKCOLUMN_PROPERTY, JDBCAttribute.JDBC_MARKCOLUMN_PROPERTY, "" + markcol);
 532.144 -	}
 532.145 -	
 532.146 -	
 532.147 -	public String getTransaction(){
 532.148 -		
 532.149 -		String transaction = getAttribute(JDBCAttribute.JDBC_TRANSACTION_PROPERTY);
 532.150 -        String transactionVal = null;
 532.151 -        if ( transaction != null ) {
 532.152 -            try {
 532.153 -            	transactionVal = transaction;
 532.154 -            }
 532.155 -            catch (Exception e) {
 532.156 -                // just ignore
 532.157 -            }
 532.158 -        }
 532.159 -        return transactionVal;
 532.160 -	}
 532.161 -
 532.162 -	public void setTransaction(String TX){
 532.163 -		 setAttribute(JDBC_TRANSACTION_PROPERTY, JDBCAttribute.JDBC_TRANSACTION_PROPERTY, "" + TX);
 532.164 -	}
 532.165 -	
 532.166 -	
 532.167 -	public String getTableName(){
 532.168 -		
 532.169 -		String tableName = getAttribute(JDBCAttribute.JDBC_TABLENAME_PROPERTY);
 532.170 -        String tableNameVal = null;
 532.171 -        if ( tableName != null ) {
 532.172 -            try {
 532.173 -            	tableNameVal = tableName;
 532.174 -            }
 532.175 -            catch (Exception e) {
 532.176 -                // just ignore
 532.177 -            }
 532.178 -        }
 532.179 -        return tableNameVal;
 532.180 -	}
 532.181 -
 532.182 -	public void setTableName(String table){
 532.183 -		 setAttribute(JDBC_TABLENAME_PROPERTY, JDBCAttribute.JDBC_TABLENAME_PROPERTY, "" + table);
 532.184 -	}
 532.185 -	
 532.186 -	
 532.187 -	public String getMoveRowToTableName(){
 532.188 -		
 532.189 -		String movRowTable = getAttribute(JDBCAttribute.JDBC_MOVEROWTABLE_PROPERTY);
 532.190 -        String movRowTableVal = null;
 532.191 -        if ( movRowTable != null ) {
 532.192 -            try {
 532.193 -            	movRowTableVal = movRowTable;
 532.194 -            }
 532.195 -            catch (Exception e) {
 532.196 -                // just ignore
 532.197 -            }
 532.198 -        }
 532.199 -        return movRowTableVal;
 532.200 -	}
 532.201 -
 532.202 -	public void setMoveRowToTableName(String moverow){
 532.203 -		 setAttribute(JDBC_MOVEROWTABLE_PROPERTY, JDBCAttribute.JDBC_MOVEROWTABLE_PROPERTY, "" + moverow);
 532.204 -	}
 532.205 -	
 532.206 -	
 532.207 -	public String getPollingPostProcessing(){
 532.208 -		
 532.209 -		String postProcess = getAttribute(JDBCAttribute.JDBC_POSTPROCESS_PROPERTY);
 532.210 -        String postProcessVal = null;
 532.211 -        if ( postProcess != null ) {
 532.212 -            try {
 532.213 -            	postProcessVal = postProcess;
 532.214 -            }
 532.215 -            catch (Exception e) {
 532.216 -                // just ignore
 532.217 -            }
 532.218 -        }
 532.219 -        return postProcessVal;
 532.220 -	}
 532.221 -
 532.222 -	public void setPollingPostProcessing(String process){
 532.223 -		 setAttribute(JDBC_POSTPROCESS_PROPERTY, JDBCAttribute.JDBC_POSTPROCESS_PROPERTY, "" + process);
 532.224 -	}
 532.225 -	
 532.226 -	
 532.227 -	public String getMarkColumnValue(){
 532.228 -		
 532.229 -		String markColumn = getAttribute(JDBCAttribute.JDBC_MARKCOLVALUE_PROPERTY);
 532.230 -        String markColumnVal = null;
 532.231 -        if ( markColumn != null ) {
 532.232 -            try {
 532.233 -            	markColumnVal = markColumn;
 532.234 -            }
 532.235 -            catch (Exception e) {
 532.236 -                // just ignore
 532.237 -            }
 532.238 -        }
 532.239 -        return markColumnVal;
 532.240 -	}
 532.241 -
 532.242 -	public void setMarkColumnValue(String markcol){
 532.243 -		 setAttribute(JDBC_MARKCOLVALUE_PROPERTY, JDBCAttribute.JDBC_MARKCOLVALUE_PROPERTY, "" + markcol);
 532.244 -	}
 532.245 -	
 532.246 -	public String getPKName(){
 532.247 -		
 532.248 -		String pkname = getAttribute(JDBCAttribute.JDBC_PKNAME_PROPERTY);
 532.249 -        String pknameVal = null;
 532.250 -        if ( pkname != null ) {
 532.251 -            try {
 532.252 -                pknameVal = pkname;
 532.253 -            }
 532.254 -            catch (Exception e) {
 532.255 -                // just ignore
 532.256 -            }
 532.257 -        }
 532.258 -        return pknameVal;
 532.259 -	}
 532.260 -
 532.261 -	public void setPKName(String pkName){
 532.262 -		 setAttribute(JDBC_PKNAME_PROPERTY, JDBCAttribute.JDBC_PKNAME_PROPERTY, "" + pkName);
 532.263 -	}
 532.264 -}
   533.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/impl/JDBCOperationOutputImpl.java	Thu Jul 10 19:13:29 2008 +0800
   533.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   533.3 @@ -1,67 +0,0 @@
   533.4 -/*
   533.5 - * The contents of this file are subject to the terms of the Common Development
   533.6 - * and Distribution License (the License). You may not use this file except in
   533.7 - * compliance with the License.
   533.8 - * 
   533.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  533.10 - * or http://www.netbeans.org/cddl.txt.
  533.11 - * 
  533.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  533.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  533.14 - * If applicable, add the following below the CDDL Header, with the fields
  533.15 - * enclosed by brackets [] replaced by your own identifying information:
  533.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  533.17 - * 
  533.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  533.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  533.20 - * Microsystems, Inc. All Rights Reserved.
  533.21 - */
  533.22 -
  533.23 -package org.netbeans.modules.wsdlextensions.jdbc.impl;
  533.24 -
  533.25 -import java.util.Collection;
  533.26 -import org.netbeans.modules.xml.wsdl.model.Binding;
  533.27 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  533.28 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  533.29 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCOperationOutput;
  533.30 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  533.31 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCQName;
  533.32 -import org.w3c.dom.Element;
  533.33 -
  533.34 -/**
  533.35 - * @author 
  533.36 - */
  533.37 -public class JDBCOperationOutputImpl extends JDBCComponentImpl implements JDBCOperationOutput {
  533.38 -    
  533.39 -    public JDBCOperationOutputImpl(WSDLModel model, Element e) {
  533.40 -        super(model, e);
  533.41 -    }
  533.42 -    
  533.43 -    public JDBCOperationOutputImpl(WSDLModel model){
  533.44 -        this(model, createPrefixedElement(JDBCQName.OUTPUT.getQName(), model));
  533.45 -    }
  533.46 -    
  533.47 -    public void accept(JDBCComponent.Visitor visitor) {
  533.48 -        visitor.visit(this);
  533.49 -    }
  533.50 -
  533.51 -	// need to work on this for getting the values
  533.52 -
  533.53 -	public int getReturnPartName() {
  533.54 -        String interval = getAttribute(JDBCAttribute.JDBC_RETPARTNAME_PROPERTY);
  533.55 -        int intervalVal = -1;
  533.56 -        if ( interval != null ) {
  533.57 -            try {
  533.58 -                intervalVal = Integer.parseInt(interval);
  533.59 -            }
  533.60 -            catch (Exception e) {
  533.61 -                // just ignore
  533.62 -            }
  533.63 -        }
  533.64 -        return intervalVal;
  533.65 -    }
  533.66 -
  533.67 -  	public void setReturnPartName(String opType) {
  533.68 -        setAttribute(JDBC_RETPARTNAME_PROPERTY, JDBCAttribute.JDBC_RETPARTNAME_PROPERTY, "" + opType);
  533.69 -    }
  533.70 -}
  533.71 \ No newline at end of file
   534.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   534.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   534.3 @@ -1,48 +0,0 @@
   534.4 -
   534.5 -#
   534.6 -# The contents of this file are subject to the terms of the Common Development
   534.7 -# and Distribution License (the License). You may not use this file except in
   534.8 -# compliance with the License.
   534.9 -# 
  534.10 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  534.11 -# or http://www.netbeans.org/cddl.txt.
  534.12 -# 
  534.13 -# When distributing Covered Code, include this CDDL Header Notice in each file
  534.14 -# and include the License file at http://www.netbeans.org/cddl.txt.
  534.15 -# If applicable, add the following below the CDDL Header, with the fields
  534.16 -# enclosed by brackets [] replaced by your own identifying information:
  534.17 -# "Portions Copyrighted [year] [name of copyright owner]"
  534.18 -# 
  534.19 -# The Original Software is NetBeans. The Initial Developer of the Original
  534.20 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  534.21 -# Microsystems, Inc. All Rights Reserved.
  534.22 -#
  534.23 -
  534.24 -OpenIDE-Module-Name=JDBC WSDL Extension
  534.25 -OpenIDE-Module-Short-Description=JDBC extension for wsdl editor.
  534.26 -OpenIDE-Module-Long-Description=This module provides jdbc schema and plugs into wsdl editor.
  534.27 -OpenIDE-Module-Display-Category=CAPS
  534.28 -WSDLEditor/Binding/JDBCBinding= JDBC Binding
  534.29 -WSDLEditor/BindingOperation/JDBCBindingOperation= JDBC Operation
  534.30 -WSDLEditor/BindingOperationInput/JDBCBindingOperationInput= JDBC Operation Input
  534.31 -WSDLEditor/BindingOperationOutput/JDBCBindingOperationOutput= JDBC Operation Output
  534.32 -WSDLEditor/ServicePort/JDBCServicePort=JDBC Address
  534.33 -DESC_Element_binding="binding" indicates a jdbc protocol based binding.
  534.34 -DESC_ComplexType_tOperation="operation" defines the jdbc protocol based operation binding details..
  534.35 -DESC_Element_input="input" defines the jdbc protocol based operation input binding details
  534.36 -DESC_Attribute_operationType=Defines the jdbc operation type valid values are insert, update, delete etc
  534.37 -DESC_Attribute_numberOfRecords=Defines number of records to be retrieved, useful in case of select operation
  534.38 -DESC_Attribute_paramOrder=Defines the order of input colums of a table or parameters for procedures. This order is used to populate prepared statementand procedures.
  534.39 -DESC_Attribute_sql=Defines the sql for execution
  534.40 -DESC_Attribute_PKName=Defines the primary key of the table for polling
  534.41 -DESC_Attribute_Transaction=To enable XATransaction or NOTransaction Support
  534.42 -DESC_Attribute_MarkColumnValue=A string representing the value that the column will be set to. If the column type is boolean true/false set, if column type is integer 1.2.3... is set, else date then systime is used
  534.43 -DESC_Attribute_PollingPostProcessing=Defines the operation to be performed after the poll process is completed enumeration value
  534.44 -DESC_Attribute_MoveRowToTableName=This is the name of the table that we will move the row to.It must already be created in the database
  534.45 -DESC_Attribute_TableName=The name of the table that contains the data
  534.46 -DESC_Attribute_MarkColumnName=A string that represents that name of the column that will be marked if the pollprocessing is markcolumn selected
  534.47 -DESC_Attribute_PollMilliSeconds=Defines the polling interval that JDBC Binding Component searches for records in the database.  The polling interval is specified in milliseconds and has a default value of 10000ms. This attribute has no effect for writing.
  534.48 -DESC_Element_output="output" defines the jdbc protocol based operation output binding details
  534.49 -DESC_Attribute_returnPartName=Defines the message part name which is returned. Used in insert operation.
  534.50 -DESC_Element_address="address" indicates a jdbc protocol based service address.
  534.51 -DESC_Attribute_jndiName=Defines the JNDI name of the jdbc database resource.
   535.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/jdbc-ext.xsd	Thu Jul 10 19:13:29 2008 +0800
   535.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   535.3 @@ -1,180 +0,0 @@
   535.4 -<?xml version="1.0" encoding="UTF-8"?>
   535.5 -
   535.6 -<!--
   535.7 - The contents of this file are subject to the terms of the Common Development
   535.8 - and Distribution License (the License). You may not use this file except in
   535.9 - compliance with the License.
  535.10 - 
  535.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  535.12 - or http://www.netbeans.org/cddl.txt.
  535.13 - 
  535.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  535.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  535.16 - If applicable, add the following below the CDDL Header, with the fields
  535.17 - enclosed by brackets [] replaced by your own identifying information:
  535.18 - "Portions Copyrighted [year] [name of copyright owner]"
  535.19 - 
  535.20 - The Original Software is NetBeans. The Initial Developer of the Original
  535.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  535.22 - Microsystems, Inc. All Rights Reserved.
  535.23 --->
  535.24 -
  535.25 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:jdbc="http://schemas.sun.com/jbi/wsdl-extensions/jdbc/" targetNamespace="http://schemas.sun.com/jbi/wsdl-extensions/jdbc/">
  535.26 -	<xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
  535.27 -	<xs:element name="binding" type="jdbc:tBinding">
  535.28 -		<xs:annotation>
  535.29 -			<xs:documentation>DESC_Element_binding</xs:documentation>
  535.30 -		</xs:annotation>
  535.31 -	</xs:element>
  535.32 -	<xs:complexType name="tBinding">
  535.33 -		<xs:complexContent>
  535.34 -			<xs:extension base="wsdl:tExtensibilityElement"/>
  535.35 -			<!-- could add more attributes to the binding -->
  535.36 -		</xs:complexContent>
  535.37 -	</xs:complexType>
  535.38 -	<xs:element name="operation" type="jdbc:tOperation"/>
  535.39 -	<xs:complexType name="tOperation">
  535.40 -		<xs:annotation>
  535.41 -			<xs:documentation>DESC_ComplexType_tOperation</xs:documentation>
  535.42 -		</xs:annotation>
  535.43 -	</xs:complexType>
  535.44 -	
  535.45 -	<xs:simpleType name="operationTypes">
  535.46 -		<xs:restriction base="xs:string">
  535.47 -			<xs:enumeration value="insert"/>
  535.48 -			<xs:enumeration value="update"/>
  535.49 -			<xs:enumeration value="delete"/>
  535.50 -			<xs:enumeration value="find"/>
  535.51 -			<xs:enumeration value="poll"/>
  535.52 -		</xs:restriction>
  535.53 -	</xs:simpleType>
  535.54 -	
  535.55 -	<xs:simpleType name="tTransaction">
  535.56 -		<xs:restriction base="xs:string">
  535.57 -			<xs:enumeration value="XATransaction"/>
  535.58 -			<xs:enumeration value="NOTransaction"/>			
  535.59 -		</xs:restriction>
  535.60 -	</xs:simpleType>
  535.61 -
  535.62 -	<xs:element name="input" type="jdbc:tInput">
  535.63 -		<xs:annotation>
  535.64 -			<xs:documentation>DESC_Element_input</xs:documentation>
  535.65 -		</xs:annotation>
  535.66 -	</xs:element>
  535.67 -	<xs:complexType name="tInput">
  535.68 -		<xs:complexContent>
  535.69 -			<xs:extension base="wsdl:tExtensibilityElement">				
  535.70 -				<xs:attribute name="operationType" type="jdbc:operationTypes" use="required">
  535.71 -					<xs:annotation>
  535.72 -						<xs:documentation>DESC_Attribute_operationType</xs:documentation>
  535.73 -					</xs:annotation>
  535.74 -				</xs:attribute>
  535.75 -				<xs:attribute name="numberOfRecords" type="xs:string">
  535.76 -					<xs:annotation>
  535.77 -						<xs:documentation>DESC_Attribute_numberOfRecords</xs:documentation>
  535.78 -					</xs:annotation>
  535.79 -				</xs:attribute>
  535.80 -				<xs:attribute name="paramOrder" type="xs:string" use="optional">
  535.81 -					<xs:annotation>
  535.82 -						<xs:documentation>DESC_Attribute_paramOrder</xs:documentation>
  535.83 -					</xs:annotation>
  535.84 -				</xs:attribute>
  535.85 -				<xs:attribute name="sql" type="xs:string" use="required">
  535.86 -					<xs:annotation>
  535.87 -						<xs:documentation>DESC_Attribute_sql</xs:documentation>
  535.88 -					</xs:annotation>
  535.89 -				</xs:attribute>
  535.90 -				<xs:attribute name="PKName" type="xs:string" use="required">
  535.91 -					<xs:annotation>
  535.92 -						<xs:documentation>DESC_Attribute_PKName</xs:documentation>
  535.93 -					</xs:annotation>
  535.94 -				</xs:attribute>
  535.95 -				<xs:attribute name="Transaction" type="jdbc:tTransaction">
  535.96 -					<xs:annotation>
  535.97 -						<xs:documentation>DESC_Attribute_Transaction</xs:documentation>
  535.98 -					</xs:annotation>
  535.99 -				</xs:attribute>
 535.100 -				<xs:attribute name="MarkColumnValue" type="xs:string">
 535.101 -					<xs:annotation>
 535.102 -						<xs:documentation>DESC_Attribute_MarkColumnValue</xs:documentation>
 535.103 -					</xs:annotation>
 535.104 -				</xs:attribute>
 535.105 -				<xs:attribute name="PollingPostProcessing" type="jdbc:tPollingPostProcessing" use="optional" default="Delete">
 535.106 -					<xs:annotation>
 535.107 -						<xs:documentation>DESC_Attribute_PollingPostProcessing</xs:documentation>
 535.108 -					</xs:annotation>
 535.109 -				</xs:attribute>
 535.110 -				<xs:attribute name="MoveRowToTableName" type="xs:string">
 535.111 -					<xs:annotation>
 535.112 -						<xs:documentation>DESC_Attribute_MoveRowToTableName</xs:documentation>
 535.113 -					</xs:annotation>
 535.114 -				</xs:attribute>
 535.115 -				<xs:attribute name="TableName" type="xs:string">
 535.116 -					<xs:annotation>
 535.117 -						<xs:documentation>DESC_Attribute_TableName</xs:documentation>
 535.118 -					</xs:annotation>
 535.119 -				</xs:attribute>
 535.120 -				<xs:attribute name="MarkColumnName" type="xs:string">
 535.121 -					<xs:annotation>
 535.122 -						<xs:documentation>DESC_Attribute_MarkColumnName</xs:documentation>
 535.123 -					</xs:annotation>
 535.124 -				</xs:attribute>
 535.125 -				<xs:attribute name="PollMilliSeconds" type="xs:int">
 535.126 -				    <xs:annotation>
 535.127 -					<xs:documentation>DESC_Attribute_PollMilliSeconds</xs:documentation>
 535.128 -				    </xs:annotation>
 535.129 -				</xs:attribute>
 535.130 -			</xs:extension>
 535.131 -		</xs:complexContent>
 535.132 -	</xs:complexType>	
 535.133 -	<xs:element name="output" type="jdbc:tOutput">
 535.134 -		<xs:annotation>
 535.135 -			<xs:documentation>DESC_Element_output</xs:documentation>
 535.136 -		</xs:annotation>
 535.137 -	</xs:element>
 535.138 -	<xs:complexType name="tOutput">
 535.139 -		<xs:complexContent>
 535.140 -			<xs:extension base="wsdl:tExtensibilityElement">
 535.141 -				<xs:attribute name="returnPartName" type="xs:string" use="optional">
 535.142 -					<xs:annotation>
 535.143 -						<xs:documentation>DESC_Attribute_returnPartName</xs:documentation>
 535.144 -					</xs:annotation>
 535.145 -				</xs:attribute>
 535.146 -				</xs:extension>
 535.147 -		</xs:complexContent>
 535.148 -	</xs:complexType>
 535.149 -		
 535.150 -	<xs:complexType name="tTimeMilliSeconds">
 535.151 -	  <xs:simpleContent>
 535.152 -	    <xs:extension base="xs:int">
 535.153 -	    </xs:extension>
 535.154 -	  </xs:simpleContent>
 535.155 -	</xs:complexType>
 535.156 -
 535.157 -	<xs:simpleType name="tPollingPostProcessing">
 535.158 -		<xs:restriction base="xs:string">
 535.159 -			<xs:enumeration value="Delete"/>
 535.160 -			<xs:enumeration value="MarkColumn"/>
 535.161 -			<xs:enumeration value="MoveRow"/>
 535.162 -			<xs:enumeration value="CopyRow"/>
 535.163 -			<xs:enumeration value=""/>
 535.164 -		</xs:restriction>
 535.165 -	</xs:simpleType>
 535.166 -
 535.167 -	<xs:element name="address" type="jdbc:tAddress">
 535.168 -		<xs:annotation>
 535.169 -			<xs:documentation>DESC_Element_address</xs:documentation>
 535.170 -		</xs:annotation>
 535.171 -	</xs:element>
 535.172 -	<xs:complexType name="tAddress">
 535.173 -		<xs:complexContent>
 535.174 -			<xs:extension base="wsdl:tExtensibilityElement">
 535.175 -				<xs:attribute name="jndiName" type="xs:string" use="required">
 535.176 -					<xs:annotation>
 535.177 -						<xs:documentation>DESC_Attribute_jndiName</xs:documentation>
 535.178 -					</xs:annotation>
 535.179 -				</xs:attribute>
 535.180 -			</xs:extension>
 535.181 -		</xs:complexContent>
 535.182 -	</xs:complexType>
 535.183 -</xs:schema>
   536.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/layer.xml	Thu Jul 10 19:13:29 2008 +0800
   536.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   536.3 @@ -1,92 +0,0 @@
   536.4 -<?xml version="1.0" encoding="UTF-8"?>
   536.5 -
   536.6 -<!--
   536.7 - The contents of this file are subject to the terms of the Common Development
   536.8 - and Distribution License (the License). You may not use this file except in
   536.9 - compliance with the License.
  536.10 - 
  536.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  536.12 - or http://www.netbeans.org/cddl.txt.
  536.13 - 
  536.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  536.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  536.16 - If applicable, add the following below the CDDL Header, with the fields
  536.17 - enclosed by brackets [] replaced by your own identifying information:
  536.18 - "Portions Copyrighted [year] [name of copyright owner]"
  536.19 - 
  536.20 - The Original Software is NetBeans. The Initial Developer of the Original
  536.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  536.22 - Microsystems, Inc. All Rights Reserved.
  536.23 --->
  536.24 -
  536.25 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
  536.26 -<filesystem>
  536.27 -      <folder name="WSDLEditor">
  536.28 -		<file name="jdbc-ext.xsd" url="jdbc-ext.xsd">
  536.29 -	        <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/jdbc/" />
  536.30 -            <attr name="prefix" stringvalue="jdbc" />
  536.31 -	    </file>
  536.32 -	    
  536.33 -		 <folder name ="Binding">
  536.34 -	      <file name="JDBCBinding">
  536.35 -			<attr name="xsdFileName" stringvalue="jdbc-ext" />
  536.36 -	        <attr name="element" stringvalue="binding" />
  536.37 -	        <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.jdbc.resources.Bundle" />
  536.38 -	        <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/jdbc/resources/throw16.png" /> 
  536.39 -	      </file>
  536.40 -	      </folder>
  536.41 -     
  536.42 -	     <folder name ="BindingOperation">
  536.43 -	      <file name="JDBCBindingOperation" >
  536.44 -   			<attr name="xsdFileName" stringvalue="jdbc-ext" />
  536.45 -	        <attr name="element" stringvalue="operation" />
  536.46 -	        <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.jdbc.resources.Bundle" />
  536.47 -	        <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/jdbc/resources/onalarm16x16.png" /> 
  536.48 -	      </file>
  536.49 -	      </folder>
  536.50 -			
  536.51 -		  <folder name ="BindingOperationInput">
  536.52 -		      <file name="JDBCBindingOperationInput">
  536.53 -      			<attr name="xsdFileName" stringvalue="jdbc-ext" />
  536.54 -		        <attr name="element" stringvalue="input" />
  536.55 -		        <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.jdbc.resources.Bundle" />
  536.56 -		        <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/jdbc/resources/onmessage16x16.png" /> 
  536.57 -		      </file>
  536.58 -	      
  536.59 -	      </folder>	        
  536.60 -	      
  536.61 -	      <folder name ="BindingOperationOutput">
  536.62 -		      <file name="JDBCBindingOperationOutput">
  536.63 -      			<attr name="xsdFileName" stringvalue="jdbc-ext" />
  536.64 -		        <attr name="element" stringvalue="output" />
  536.65 -		        <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.jdbc.resources.Bundle" />
  536.66 -		        <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/jdbc/resources/scope16x16.png" /> 
  536.67 -		      </file>
  536.68 -		      
  536.69 -	       </folder>	        
  536.70 -	       
  536.71 -	        	       
  536.72 -	       <folder name ="ServicePort">
  536.73 -		      <file name="JDBCServicePort">
  536.74 -      			<attr name="xsdFileName" stringvalue="jdbc-ext" />
  536.75 -		        <attr name="element" stringvalue="address" />
  536.76 -		        <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.jdbc.resources.Bundle" />
  536.77 -		        <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/jdbc/resources/while16x16.png" /> 
  536.78 -		      </file>
  536.79 -	      </folder>	        
  536.80 -    </folder>
  536.81 -  
  536.82 -  
  536.83 -    <folder name="SeeBeyondJbiComponents">
  536.84 -        <!-- JBI Component -->
  536.85 -        <folder name="sun-jdbc-binding">
  536.86 -            <attr name="id" stringvalue="sun-jdbc-binding"/>
  536.87 -            <attr name="description" stringvalue="JDBC binding"/>
  536.88 -            <attr name="type" stringvalue="Binding"/>
  536.89 -            <file name="jdbc.binding-1.0">
  536.90 -                <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/jdbc/"/>
  536.91 -            </file>
  536.92 -        </folder>
  536.93 -    </folder>  
  536.94 -  
  536.95 -</filesystem>
   537.1 Binary file wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/onalarm16x16.png has changed
   538.1 Binary file wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/onmessage16x16.png has changed
   539.1 Binary file wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/scope16x16.png has changed
   540.1 Binary file wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/throw16.png has changed
   541.1 Binary file wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/while16x16.png has changed
   542.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/resources/wsdl.xsd	Thu Jul 10 19:13:29 2008 +0800
   542.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   542.3 @@ -1,330 +0,0 @@
   542.4 -<?xml version="1.0" encoding="UTF-8" ?> 
   542.5 -
   542.6 -<!--
   542.7 - The contents of this file are subject to the terms of the Common Development
   542.8 - and Distribution License (the License). You may not use this file except in
   542.9 - compliance with the License.
  542.10 - 
  542.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  542.12 - or http://www.netbeans.org/cddl.txt.
  542.13 - 
  542.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  542.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  542.16 - If applicable, add the following below the CDDL Header, with the fields
  542.17 - enclosed by brackets [] replaced by your own identifying information:
  542.18 - "Portions Copyrighted [year] [name of copyright owner]"
  542.19 - 
  542.20 - The Original Software is NetBeans. The Initial Developer of the Original
  542.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  542.22 - Microsystems, Inc. All Rights Reserved.
  542.23 --->
  542.24 -
  542.25 -<!-- 
  542.26 - 
  542.27 -Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
  542.28 -All Rights Reserved
  542.29 -
  542.30 -License for WSDL Schema Files
  542.31 -
  542.32 -The Authors grant permission to copy and distribute the WSDL Schema 
  542.33 -Files in any medium without fee or royalty as long as this notice and 
  542.34 -license are distributed with them.  The originals of these files can 
  542.35 -be located at:
  542.36 -
  542.37 -http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
  542.38 -
  542.39 -THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
  542.40 -OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
  542.41 -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
  542.42 -NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
  542.43 -INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
  542.44 -RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
  542.45 -
  542.46 -The name and trademarks of the Authors may NOT be used in any manner, 
  542.47 -including advertising or publicity pertaining to these files or any program 
  542.48 -or service that uses these files, written prior permission.  Title to copyright 
  542.49 -in these files will at all times remain with the Authors.
  542.50 -
  542.51 -No other rights are granted by implication, estoppel or otherwise.
  542.52 -
  542.53 -
  542.54 ---> 
  542.55 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  542.56 -           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  542.57 -           targetNamespace="http://schemas.xmlsoap.org/wsdl/"
  542.58 -           elementFormDefault="qualified" >
  542.59 -   
  542.60 -  <xs:complexType mixed="true" name="tDocumentation" >
  542.61 -    <xs:sequence>
  542.62 -      <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  542.63 -    </xs:sequence>
  542.64 -  </xs:complexType>
  542.65 -
  542.66 -  <xs:complexType name="tDocumented" >
  542.67 -    <xs:annotation>
  542.68 -      <xs:documentation>
  542.69 -      This type is extended by  component types to allow them to be documented
  542.70 -      </xs:documentation>
  542.71 -    </xs:annotation>
  542.72 -    <xs:sequence>
  542.73 -      <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
  542.74 -    </xs:sequence>
  542.75 -  </xs:complexType>
  542.76 -	 
  542.77 -  <xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
  542.78 -    <xs:complexContent>
  542.79 -      <xs:extension base="wsdl:tDocumented" >
  542.80 -        <xs:annotation>
  542.81 -          <xs:documentation>
  542.82 -          This type is extended by component types to allow attributes from other namespaces to be added.
  542.83 -          </xs:documentation>
  542.84 -        </xs:annotation>
  542.85 -        <xs:anyAttribute namespace="##other" processContents="lax" />    
  542.86 -      </xs:extension>
  542.87 -    </xs:complexContent>
  542.88 -  </xs:complexType>
  542.89 -
  542.90 -  <xs:complexType name="tExtensibleDocumented" abstract="true" >
  542.91 -    <xs:complexContent>
  542.92 -      <xs:extension base="wsdl:tDocumented" >
  542.93 -        <xs:annotation>
  542.94 -          <xs:documentation>
  542.95 -          This type is extended by component types to allow elements from other namespaces to be added.
  542.96 -          </xs:documentation>
  542.97 -        </xs:annotation>
  542.98 -        <xs:sequence>
  542.99 -          <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
 542.100 -        </xs:sequence>
 542.101 -      </xs:extension>
 542.102 -    </xs:complexContent>
 542.103 -  </xs:complexType>
 542.104 -
 542.105 -  <xs:element name="definitions" type="wsdl:tDefinitions" >
 542.106 -    <xs:key name="message" >
 542.107 -      <xs:selector xpath="wsdl:message" />
 542.108 -      <xs:field xpath="@name" />
 542.109 -    </xs:key>
 542.110 -    <xs:key name="portType" >
 542.111 -      <xs:selector xpath="wsdl:portType" />
 542.112 -      <xs:field xpath="@name" />
 542.113 -    </xs:key>
 542.114 -    <xs:key name="binding" >
 542.115 -      <xs:selector xpath="wsdl:binding" />
 542.116 -      <xs:field xpath="@name" />
 542.117 -    </xs:key>
 542.118 -    <xs:key name="service" >
 542.119 -      <xs:selector xpath="wsdl:service" />
 542.120 -      <xs:field xpath="@name" />
 542.121 -    </xs:key>
 542.122 -    <xs:key name="import" >
 542.123 -      <xs:selector xpath="wsdl:import" />
 542.124 -      <xs:field xpath="@namespace" />
 542.125 -    </xs:key>
 542.126 -  </xs:element>
 542.127 -
 542.128 -  <xs:group name="anyTopLevelOptionalElement" >
 542.129 -    <xs:annotation>
 542.130 -      <xs:documentation>
 542.131 -      Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
 542.132 -      </xs:documentation>
 542.133 -    </xs:annotation>
 542.134 -    <xs:choice>
 542.135 -      <xs:element name="import" type="wsdl:tImport" />
 542.136 -      <xs:element name="types" type="wsdl:tTypes" />                     
 542.137 -      <xs:element name="message"  type="wsdl:tMessage" >
 542.138 -        <xs:unique name="part" >
 542.139 -          <xs:selector xpath="wsdl:part" />
 542.140 -          <xs:field xpath="@name" />
 542.141 -        </xs:unique>
 542.142 -      </xs:element>
 542.143 -      <xs:element name="portType" type="wsdl:tPortType" />
 542.144 -      <xs:element name="binding"  type="wsdl:tBinding" />
 542.145 -      <xs:element name="service"  type="wsdl:tService" >
 542.146 -        <xs:unique name="port" >
 542.147 -          <xs:selector xpath="wsdl:port" />
 542.148 -          <xs:field xpath="@name" />
 542.149 -        </xs:unique>
 542.150 -	  </xs:element>
 542.151 -    </xs:choice>
 542.152 -  </xs:group>
 542.153 -
 542.154 -  <xs:complexType name="tDefinitions" >
 542.155 -    <xs:complexContent>
 542.156 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.157 -        <xs:sequence>
 542.158 -          <xs:group ref="wsdl:anyTopLevelOptionalElement"  minOccurs="0"   maxOccurs="unbounded" />
 542.159 -        </xs:sequence>
 542.160 -        <xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
 542.161 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 542.162 -      </xs:extension>
 542.163 -    </xs:complexContent>
 542.164 -  </xs:complexType>
 542.165 -   
 542.166 -  <xs:complexType name="tImport" >
 542.167 -    <xs:complexContent>
 542.168 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 542.169 -        <xs:attribute name="namespace" type="xs:anyURI" use="required" />
 542.170 -        <xs:attribute name="location" type="xs:anyURI" use="required" />
 542.171 -      </xs:extension>
 542.172 -    </xs:complexContent>
 542.173 -  </xs:complexType>
 542.174 -   
 542.175 -  <xs:complexType name="tTypes" >
 542.176 -    <xs:complexContent>   
 542.177 -      <xs:extension base="wsdl:tExtensibleDocumented" />
 542.178 -    </xs:complexContent>   
 542.179 -  </xs:complexType>
 542.180 -     
 542.181 -  <xs:complexType name="tMessage" >
 542.182 -    <xs:complexContent>   
 542.183 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.184 -        <xs:sequence>
 542.185 -          <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
 542.186 -        </xs:sequence>
 542.187 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.188 -      </xs:extension>
 542.189 -    </xs:complexContent>   
 542.190 -  </xs:complexType>
 542.191 -
 542.192 -  <xs:complexType name="tPart" >
 542.193 -    <xs:complexContent>   
 542.194 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 542.195 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.196 -        <xs:attribute name="element" type="xs:QName" use="optional" />
 542.197 -        <xs:attribute name="type" type="xs:QName" use="optional" />    
 542.198 -      </xs:extension>
 542.199 -    </xs:complexContent>   
 542.200 -  </xs:complexType>
 542.201 -
 542.202 -  <xs:complexType name="tPortType" >
 542.203 -    <xs:complexContent>   
 542.204 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 542.205 -        <xs:sequence>
 542.206 -          <xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
 542.207 -        </xs:sequence>
 542.208 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.209 -      </xs:extension>
 542.210 -    </xs:complexContent>   
 542.211 -  </xs:complexType>
 542.212 -   
 542.213 -  <xs:complexType name="tOperation" >
 542.214 -    <xs:complexContent>   
 542.215 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.216 -	    <xs:sequence>
 542.217 -          <xs:choice>
 542.218 -            <xs:group ref="wsdl:request-response-or-one-way-operation" />
 542.219 -            <xs:group ref="wsdl:solicit-response-or-notification-operation" />
 542.220 -          </xs:choice>
 542.221 -        </xs:sequence>
 542.222 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.223 -        <xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
 542.224 -      </xs:extension>
 542.225 -    </xs:complexContent>   
 542.226 -  </xs:complexType>
 542.227 -    
 542.228 -  <xs:group name="request-response-or-one-way-operation" >
 542.229 -    <xs:sequence>
 542.230 -      <xs:element name="input" type="wsdl:tParam" />
 542.231 -	  <xs:sequence minOccurs='0' >
 542.232 -	    <xs:element name="output" type="wsdl:tParam" />
 542.233 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
 542.234 -      </xs:sequence>
 542.235 -    </xs:sequence>
 542.236 -  </xs:group>
 542.237 -
 542.238 -  <xs:group name="solicit-response-or-notification-operation" >
 542.239 -    <xs:sequence>
 542.240 -      <xs:element name="output" type="wsdl:tParam" />
 542.241 -	  <xs:sequence minOccurs='0' >
 542.242 -	    <xs:element name="input" type="wsdl:tParam" />
 542.243 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
 542.244 -	  </xs:sequence>
 542.245 -    </xs:sequence>
 542.246 -  </xs:group>
 542.247 -        
 542.248 -  <xs:complexType name="tParam" >
 542.249 -    <xs:complexContent>
 542.250 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 542.251 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 542.252 -        <xs:attribute name="message" type="xs:QName" use="required" />
 542.253 -      </xs:extension>
 542.254 -    </xs:complexContent>
 542.255 -  </xs:complexType>
 542.256 -
 542.257 -  <xs:complexType name="tFault" >
 542.258 -    <xs:complexContent>
 542.259 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 542.260 -        <xs:attribute name="name" type="xs:NCName"  use="required" />
 542.261 -        <xs:attribute name="message" type="xs:QName" use="required" />
 542.262 -      </xs:extension>
 542.263 -    </xs:complexContent>
 542.264 -  </xs:complexType>
 542.265 -     
 542.266 -  <xs:complexType name="tBinding" >
 542.267 -    <xs:complexContent>
 542.268 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.269 -        <xs:sequence>
 542.270 -          <xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
 542.271 -        </xs:sequence>
 542.272 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.273 -        <xs:attribute name="type" type="xs:QName" use="required" />
 542.274 -      </xs:extension>
 542.275 -    </xs:complexContent>
 542.276 -  </xs:complexType>
 542.277 -    
 542.278 -  <xs:complexType name="tBindingOperationMessage" >
 542.279 -    <xs:complexContent>
 542.280 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.281 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 542.282 -      </xs:extension>
 542.283 -    </xs:complexContent>
 542.284 -  </xs:complexType>
 542.285 -  
 542.286 -  <xs:complexType name="tBindingOperationFault" >
 542.287 -    <xs:complexContent>
 542.288 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.289 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.290 -      </xs:extension>
 542.291 -    </xs:complexContent>
 542.292 -  </xs:complexType>
 542.293 -
 542.294 -  <xs:complexType name="tBindingOperation" >
 542.295 -    <xs:complexContent>
 542.296 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.297 -        <xs:sequence>
 542.298 -          <xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
 542.299 -          <xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
 542.300 -          <xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
 542.301 -        </xs:sequence>
 542.302 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.303 -      </xs:extension>
 542.304 -    </xs:complexContent>
 542.305 -  </xs:complexType>
 542.306 -     
 542.307 -  <xs:complexType name="tService" >
 542.308 -    <xs:complexContent>
 542.309 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.310 -        <xs:sequence>
 542.311 -          <xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
 542.312 -        </xs:sequence>
 542.313 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.314 -      </xs:extension>
 542.315 -    </xs:complexContent>
 542.316 -  </xs:complexType>
 542.317 -     
 542.318 -  <xs:complexType name="tPort" >
 542.319 -    <xs:complexContent>
 542.320 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 542.321 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 542.322 -        <xs:attribute name="binding" type="xs:QName" use="required" />
 542.323 -      </xs:extension>
 542.324 -    </xs:complexContent>
 542.325 -  </xs:complexType>
 542.326 -
 542.327 -  <xs:attribute name="arrayType" type="xs:string" />
 542.328 -  <xs:attribute name="required" type="xs:boolean" />
 542.329 -  <xs:complexType name="tExtensibilityElement" abstract="true" >
 542.330 -    <xs:attribute ref="wsdl:required" use="optional" />
 542.331 -  </xs:complexType>
 542.332 -
 542.333 -</xs:schema>
 542.334 \ No newline at end of file
   543.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/template/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   543.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   543.3 @@ -1,29 +0,0 @@
   543.4 -#
   543.5 -# The contents of this file are subject to the terms of the Common Development
   543.6 -# and Distribution License (the License). You may not use this file except in
   543.7 -# compliance with the License.
   543.8 -# 
   543.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  543.10 -# or http://www.netbeans.org/cddl.txt.
  543.11 -# 
  543.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  543.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  543.14 -# If applicable, add the following below the CDDL Header, with the fields
  543.15 -# enclosed by brackets [] replaced by your own identifying information:
  543.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  543.17 -# 
  543.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  543.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  543.20 -# Microsystems, Inc. All Rights Reserved.
  543.21 -#
  543.22 -
  543.23 -DBOperation=DB Operation
  543.24 -http_//schemas.sun.com/jbi/wsdl-extensions/jdbc/=JDBC
  543.25 -
  543.26 -TEMPLATEGROUP_name=JDBC
  543.27 -TEMPLATEGROUP_prefix_jdbc=jdbc
  543.28 -TEMPLATE_name_DBOperation=DB Operation
  543.29 -
  543.30 -
  543.31 -
  543.32 -
   544.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/template/JDBCTemplateProvider.java	Thu Jul 10 19:13:29 2008 +0800
   544.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   544.3 @@ -1,38 +0,0 @@
   544.4 -/*
   544.5 - * The contents of this file are subject to the terms of the Common Development
   544.6 - * and Distribution License (the License). You may not use this file except in
   544.7 - * compliance with the License.
   544.8 - * 
   544.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  544.10 - * or http://www.netbeans.org/cddl.txt.
  544.11 - * 
  544.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  544.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  544.14 - * If applicable, add the following below the CDDL Header, with the fields
  544.15 - * enclosed by brackets [] replaced by your own identifying information:
  544.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  544.17 - * 
  544.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  544.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  544.20 - * Microsystems, Inc. All Rights Reserved.
  544.21 - */
  544.22 -
  544.23 -package org.netbeans.modules.wsdlextensions.jdbc.template;
  544.24 -
  544.25 -import java.io.InputStream;
  544.26 -import org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider;
  544.27 -import org.openide.util.NbBundle;
  544.28 -
  544.29 -public class JDBCTemplateProvider extends ExtensibilityElementTemplateProvider {
  544.30 -    
  544.31 -    static final String jdbcTemplateUrl = "/org/netbeans/modules/wsdlextensions/jdbc/template/template.xml";
  544.32 -
  544.33 -    public InputStream getTemplateInputStream() {
  544.34 -        return JDBCTemplateProvider.class.getResourceAsStream(jdbcTemplateUrl);
  544.35 -    }
  544.36 -
  544.37 -    public String getLocalizedMessage(String str, Object[] objects) {
  544.38 -        return NbBundle.getMessage(JDBCTemplateProvider.class, str, objects);
  544.39 -    }
  544.40 -
  544.41 -}
   545.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/template/template.xml	Thu Jul 10 19:13:29 2008 +0800
   545.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   545.3 @@ -1,69 +0,0 @@
   545.4 -<?xml version="1.0" encoding="UTF-8"?>
   545.5 -
   545.6 -<!--
   545.7 - The contents of this file are subject to the terms of the Common Development
   545.8 - and Distribution License (the License). You may not use this file except in
   545.9 - compliance with the License.
  545.10 - 
  545.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  545.12 - or http://www.netbeans.org/cddl.txt.
  545.13 - 
  545.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  545.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  545.16 - If applicable, add the following below the CDDL Header, with the fields
  545.17 - enclosed by brackets [] replaced by your own identifying information:
  545.18 - "Portions Copyrighted [year] [name of copyright owner]"
  545.19 - 
  545.20 - The Original Software is NetBeans. The Initial Developer of the Original
  545.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  545.22 - Microsystems, Inc. All Rights Reserved.
  545.23 --->
  545.24 -
  545.25 -<!--
  545.26 -    Document   : template.xml
  545.27 -    Created on : August 25, 2006, 5:39 PM
  545.28 -    Author     : sweng
  545.29 -    Description: Describes the JDBC Binding Component's extensibility element views on WSDL wizard
  545.30 --->
  545.31 -<templateGroup namespace="http://schemas.sun.com/jbi/wsdl-extensions/jdbc/" 
  545.32 -	       xmlns="http://xml.netbeans.org/schema/templates"
  545.33 -	       xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
  545.34 -               xsi:schemaLocation="http://xml.netbeans.org/schema/templates 
  545.35 -               templates.xsd" prefix="jdbc">
  545.36 -    <template name="DBOperation">
  545.37 -        <wsdlElement name="Binding">
  545.38 -			<extensionElement name="binding">
  545.39 -			</extensionElement>
  545.40 -		</wsdlElement>
  545.41 -		<wsdlElement name="BindingOperation">
  545.42 -			<extensionElement name="operation">
  545.43 -			</extensionElement>
  545.44 -		</wsdlElement>
  545.45 -        <wsdlElement name="BindingOperationInput">
  545.46 -            <extensionElement name="input" >
  545.47 -				<extensionAttr name="operationType" defaultValue="insert" />
  545.48 -				<extensionAttr name="numberOfRecords" defaultValue="" />
  545.49 -				<extensionAttr name="paramOrder" defaultValue="Please specify parameter order" />
  545.50 -				<extensionAttr name="sql" defaultValue="Please specify sql statement" />
  545.51 -				<extensionAttr name="PKName" defaultValue="Please specify PKName Column" />
  545.52 -				<extensionAttr name="Transaction" defaultValue="NOTransaction" />
  545.53 -				<extensionAttr name="MarkColumnValue" defaultValue="Please specify MarkColumnValue statement" />
  545.54 -				<extensionAttr name="PollingPostProcessing" defaultValue="" />
  545.55 -				<extensionAttr name="MoveRowToTableName" defaultValue="Please specify MoveRowToTableName Name" />
  545.56 -				<extensionAttr name="TableName" defaultValue="Please specify TableName Name" />
  545.57 -				<extensionAttr name="MarkColumnName" defaultValue="Please specify TableName Name" />
  545.58 -				<extensionAttr name="PollMilliSeconds" defaultValue="10000" />
  545.59 -            </extensionElement>
  545.60 -		</wsdlElement>
  545.61 -	   <wsdlElement name="BindingOperationOutput">
  545.62 -            <extensionElement name="output" >
  545.63 -                <extensionAttr name="returnPartName" defaultValue="Please specify a value" />
  545.64 -            </extensionElement>
  545.65 -        </wsdlElement>
  545.66 -		<wsdlElement name="ServicePort">
  545.67 -			<extensionElement name="address" >
  545.68 -				<extensionAttr name="jndiName"  defaultValue="Please specify a value"/>
  545.69 -			</extensionElement>
  545.70 -		</wsdlElement>
  545.71 -    </template>    
  545.72 -</templateGroup>
  545.73 \ No newline at end of file
   546.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/AddressURL.java	Thu Jul 10 19:13:29 2008 +0800
   546.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   546.3 @@ -1,59 +0,0 @@
   546.4 -/*
   546.5 - * The contents of this file are subject to the terms of the Common Development
   546.6 - * and Distribution License (the License). You may not use this file except in
   546.7 - * compliance with the License.
   546.8 - * 
   546.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  546.10 - * or http://www.netbeans.org/cddl.txt.
  546.11 - * 
  546.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  546.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  546.14 - * If applicable, add the following below the CDDL Header, with the fields
  546.15 - * enclosed by brackets [] replaced by your own identifying information:
  546.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  546.17 - * 
  546.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  546.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  546.20 - * Microsystems, Inc. All Rights Reserved.
  546.21 - */
  546.22 -/*
  546.23 - * AddressURL.java
  546.24 - *
  546.25 - * Created on October 10, 2006, 1:31 PM
  546.26 - *
  546.27 - * To change this template, choose Tools | Template Manager
  546.28 - * and open the template in the editor.
  546.29 - */
  546.30 -
  546.31 -package org.netbeans.modules.wsdlextensions.jdbc.validator;
  546.32 -
  546.33 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCAddress;
  546.34 -import java.util.Collection;
  546.35 -import org.netbeans.modules.xml.xam.spi.Validator;
  546.36 -import org.netbeans.modules.xml.xam.spi.Validator.ResultItem;
  546.37 -
  546.38 -/**
  546.39 - *
  546.40 - * @author 
  546.41 - */
  546.42 -public interface AddressURL {
  546.43 -	//jdbc:oracle:thin:@localhost:1521:SunDB
  546.44 -    public static final String  JDBC_URL_PLACEHOLDER = "jdbc:[jdbc_driver]:@[jdbc_host]:[jdbc_port]:[jdbc_dns]";
  546.45 -    public static final String JDBC_URL_PREFIX = "jdbc";    
  546.46 -    public static final String URL_LOGIN_HOST_DELIM = "@";
  546.47 -    public static final String URL_COLON_DELIM = ":";
  546.48 -    public static final String URL_PATH_DELIM = "/";
  546.49 -
  546.50 -    public String getScheme();
  546.51 -    public void setScheme(String scheme);
  546.52 -    public String getDriver();
  546.53 -    public void setDriver(String user);
  546.54 -    public String getHost();
  546.55 -    public void setHost(String host);
  546.56 -    public String getPort();
  546.57 -    public void setPort(String port);
  546.58 -	public String getDNS();
  546.59 -	public void setDNS(String dns);
  546.60 -
  546.61 -    public boolean parse(Collection<ResultItem> results, Validator validator, JDBCAddress target);
  546.62 -}
   547.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   547.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   547.3 @@ -1,62 +0,0 @@
   547.4 -#
   547.5 -# The contents of this file are subject to the terms of the Common Development
   547.6 -# and Distribution License (the License). You may not use this file except in
   547.7 -# compliance with the License.
   547.8 -# 
   547.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  547.10 -# or http://www.netbeans.org/cddl.txt.
  547.11 -# 
  547.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  547.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  547.14 -# If applicable, add the following below the CDDL Header, with the fields
  547.15 -# enclosed by brackets [] replaced by your own identifying information:
  547.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  547.17 -# 
  547.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  547.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  547.20 -# Microsystems, Inc. All Rights Reserved.
  547.21 -#
  547.22 -
  547.23 -## put semantics validation messages here
  547.24 -JDBCExtValidation.MISSING_JDBC_ADDRESS=Missing jdbc:address in service binding
  547.25 -JDBCExtValidation.ONLY_ONE_JDBCADDRESS_ALLOWED=Only one jdbc:address allowed
  547.26 -JDBCBindingValidation.ONLY_ONE_JDBC_BINDING_ALLOWED=Only one jdbc:binding allowed
  547.27 -JDBCAddress.MISSING_JDBC_URL=Missing JDBC URL in JDBC binding address
  547.28 -JDBCAddress.MISSING_PROXY_URL=Missing proxy URL in JDBC binding address
  547.29 -JDBCAddress.INVALID_JDBC_URL_PREFIX=Invalid JDBC url, not starting with jdbc://, url=
  547.30 -JDBCAddress.MALFORMED_JDBC_URL=Malformed JDBC url, url=
  547.31 -JDBCAddress.INVALID_JDBC_URL_PATH_NOT_ALLOWED=Invalid JDBC url, path not allowed for a url as JDBC endpoint, url=
  547.32 -JDBCAddress.MALFORMED_JDBC_URL_HOST_REQUIRED=Invalid JDBC url, host required, url=
  547.33 -
  547.34 -JDBCAddress.INVALID_PROXY_URL_PREFIX=Invalid proxy url, not starting with socks4:// or socks5://, url value=
  547.35 -JDBCAddress.MALFORMED_PROXY_URL=Malformed proxy url, url=
  547.36 -JDBCAddress.INVALID_PROXY_URL_PATH_NOT_ALLOWED=Invalid proxy url, path not allowed for a proxy url
  547.37 -JDBCAddress.MALFORMED_PROXY_URL_HOST_REQUIRED=Invalid proxy url, host required, url=
  547.38 -JDBCAddress.REPLACE_JDBC_URL_PLACEHOLDER_WITH_REAL_URL=JDBC url is still a JDBC url placeholder, please specify a concrete JDBC address.
  547.39 -JDBCAddress.REPLACE_PROXY_URL_PLACEHOLDER_WITH_REAL_URL=Proxy url is still a placeholder, please specify a concrete proxy address.
  547.40 -JDBCAddress.INVALID_PORT_IN_URL=Invalid port in URL, must be a positive number following host name as in localhost:21, url=
  547.41 -JDBCAddress.MISSING_RESOURCE_URL=Invalid or NULL JNDI Resource Name Configured.
  547.42 -
  547.43 -JDBCOperationInput.MISSING_OPERATION_TYPE=Missing Target File Name for jdbc:transfer.
  547.44 -JDBCOperationInput.MISSING_NUMBERRECORDS=Missing Number of Records.
  547.45 -JDBCOperationInput.MISSING_PKNAME=Missing Primary Key Name.
  547.46 -JDBCOperationInput.MISSING_PKNAME_LEFT_QUALIFIED=Missing Primary Key as Left Qualified.
  547.47 -JDBCOperationInput.MISSING_PKNAME_RIGHT_QUALIFIED=Missing Primary Key as Right Qualified.
  547.48 -JDBCOperationInput.MISSING_SQL=Missing SQL Query to process.
  547.49 -JDBCOperationInput.MISSING_TABLENAME=Missing tablename to process.
  547.50 -JDBCOperationInput.MISSING_MARKCOLUMN_NAME_VALUE=Missing MarkColumnName or MarkColumnValues should be specified where in the Case of PollingPostProcess is MarkColumn.
  547.51 -JDBCOperationInput.MISSING_PKNAME=Missing Primary Key.
  547.52 -JDBCOperationInput.MISSING_MOVEROW_VALUE=Missing MoveRowTableName should be specified where in case of PollingPostProcessing is MoveRow.
  547.53 -JDBCOperationInput.MISSING_COPYROW_VALUE=Missing MoveRowToTableName should be specified where in case of PollingPostProcessing is CopyRow.
  547.54 -JDBCOperationInput.MISSING_OPERATION_VALUE=Missing Operation Type.
  547.55 -JDBCOperationInput.MISSING_POLL_POST_PROCESS=Missing PollPostProcessing parameter.
  547.56 -JDBCOperationInput.PARAM_ORDER_MISMATCH = input ParamOrder attribute does not have same number of columns as needed in the given sql prepared statement
  547.57 -JDBCOperationInput.PARAM_ORDER_NULL_ERROR = paramOrder is null, though there are parameters in the sql statement
  547.58 -JDBCOperationInput.NOPARAMS_ERROR = There are no parameters in sql statement, but paramorder has parameters
  547.59 -
  547.60 -
  547.61 -JDBCBindingValidation.MISSING_JDBC_OPERATION=Missing jdbc:operation in jdbc:binding
  547.62 -JDBCBindingValidation.ATMOST_ONE_TRANSFER_IN_INPUT=At most one jdbc:transfer allowed in one <input> binding, found:
  547.63 -JDBCBindingValidation.ATMOST_ONE_TRANSFER_IN_OUTPUT=At most one jdbc:transfer allowed in one <output> binding, found:
  547.64 -JDBCBindingValidation.JDBC_OPERATION_WO_JDBC_BINDING=jdbc:operation found without corresponding jdbc:binding
  547.65 -JDBCBindingValidation.BINDING_REFERENCES_INVALID_PORTTYPE=Binding ''{0}'' references a missing port type
   548.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCAddressURL.java	Thu Jul 10 19:13:29 2008 +0800
   548.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   548.3 @@ -1,286 +0,0 @@
   548.4 -/*
   548.5 - * The contents of this file are subject to the terms of the Common Development
   548.6 - * and Distribution License (the License). You may not use this file except in
   548.7 - * compliance with the License.
   548.8 - * 
   548.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  548.10 - * or http://www.netbeans.org/cddl.txt.
  548.11 - * 
  548.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  548.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  548.14 - * If applicable, add the following below the CDDL Header, with the fields
  548.15 - * enclosed by brackets [] replaced by your own identifying information:
  548.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  548.17 - * 
  548.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  548.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  548.20 - * Microsystems, Inc. All Rights Reserved.
  548.21 - */
  548.22 -/*
  548.23 - * JDBCAddressURL.java
  548.24 - *
  548.25 - * Created on October 10, 2006, 1:29 PM
  548.26 - *
  548.27 - * To change this template, choose Tools | Template Manager
  548.28 - * and open the template in the editor.
  548.29 - */
  548.30 -
  548.31 -package org.netbeans.modules.wsdlextensions.jdbc.validator;
  548.32 -
  548.33 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCAddress;
  548.34 -import java.util.Collection;
  548.35 -import java.util.ResourceBundle;
  548.36 -import org.netbeans.modules.xml.xam.spi.Validation;
  548.37 -import org.netbeans.modules.xml.xam.spi.Validation.ValidationType;
  548.38 -import org.netbeans.modules.xml.xam.spi.ValidationResult;
  548.39 -import org.netbeans.modules.xml.xam.spi.Validator;
  548.40 -
  548.41 -/**
  548.42 - *
  548.43 - * @author jfu
  548.44 - */
  548.45 -public class JDBCAddressURL implements AddressURL {
  548.46 -    
  548.47 -    private static final ResourceBundle mMessages =
  548.48 -            ResourceBundle.getBundle("org.netbeans.modules.wsdlextensions.jdbc.validator.Bundle");
  548.49 -    
  548.50 -    private String scheme;
  548.51 -    private String driver;
  548.52 -    private String host;
  548.53 -    private String port;
  548.54 -	private String dns;
  548.55 -    
  548.56 -    private String url;
  548.57 -    
  548.58 -    public JDBCAddressURL(String url) {
  548.59 -        this.url = url;
  548.60 -    }
  548.61 -    
  548.62 -    public String getScheme() {
  548.63 -        return scheme;
  548.64 -    }
  548.65 -    
  548.66 -    public void setScheme(String scheme) {
  548.67 -        this.scheme = scheme;
  548.68 -    }
  548.69 -    
  548.70 -    public String getDriver() {
  548.71 -        return driver;
  548.72 -    }
  548.73 -    
  548.74 -    public void setDriver(String driver) {
  548.75 -        this.driver = driver;
  548.76 -    }
  548.77 -    
  548.78 -    public String getDNS() {
  548.79 -        return dns;
  548.80 -    }
  548.81 -    
  548.82 -    public void setDNS(String dns) {
  548.83 -        this.dns = dns;
  548.84 -    }
  548.85 -    
  548.86 -    public String getHost() {
  548.87 -        return host;
  548.88 -    }
  548.89 -    
  548.90 -    public void setHost(String host) {
  548.91 -        this.host = host;
  548.92 -    }
  548.93 -    
  548.94 -    public String getPort() {
  548.95 -        return port;
  548.96 -    }
  548.97 -    
  548.98 -    public void setPort(String port) {
  548.99 -        this.port = port;
 548.100 -    }
 548.101 -    
 548.102 -    public boolean parse(Collection<Validator.ResultItem> results, Validator validator, JDBCAddress target) {
 548.103 -        // if missing
 548.104 -        if (url == null || url.trim().length() == 0 ) {
 548.105 -            results.add(new Validator.ResultItem(validator,
 548.106 -                    Validator.ResultType.ERROR,
 548.107 -                    target,
 548.108 -                    mMessages.getString("JDBCAddress.MISSING_JDBC_URL")));
 548.109 -            return false;
 548.110 -        }
 548.111 -        return true;
 548.112 -
 548.113 -        // if still the place holder
 548.114 -     /*   if ( url.startsWith(JDBC_URL_PLACEHOLDER) ) {
 548.115 -            results.add(new Validator.ResultItem(validator,
 548.116 -                    Validator.ResultType.ERROR,
 548.117 -                    target,
 548.118 -                    mMessages.getString("JDBCAddress.REPLACE_JDBC_URL_PLACEHOLDER_WITH_REAL_URL")));
 548.119 -            return false;
 548.120 -        } */
 548.121 -        
 548.122 -     /*   if ( !url.startsWith(JDBC_URL_PREFIX) ) {
 548.123 -            results.add(
 548.124 -                    new Validator.ResultItem(validator,
 548.125 -                    Validator.ResultType.ERROR,
 548.126 -                    target,
 548.127 -                    mMessages.getString("JDBCAddress.INVALID_JDBC_URL_PREFIX") + url));
 548.128 -            return false;
 548.129 -        }*/
 548.130 -        
 548.131 -        /*
 548.132 -        scheme = "JDBC";
 548.133 -        if ( url.length() > JDBC_URL_PREFIX.length() ) {
 548.134 -            String rest = url.substring(JDBC_URL_PREFIX.length());
 548.135 -            if ( rest.indexOf(URL_PATH_DELIM) >= 0 ) {
 548.136 -                results.add(
 548.137 -                        new Validator.ResultItem(validator,
 548.138 -                        Validator.ResultType.ERROR,
 548.139 -                        target,
 548.140 -                        mMessages.getString("JDBCAddress.INVALID_JDBC_URL_PATH_NOT_ALLOWED") + url));
 548.141 -                return false;
 548.142 -            }
 548.143 -            int index = rest.indexOf(URL_LOGIN_HOST_DELIM);
 548.144 -            String up = null;
 548.145 -            String hp = null;
 548.146 -            if ( index >= 0 ) {
 548.147 -                // [user:password]@host[:port]
 548.148 -                if ( index == 0 ) {
 548.149 -                    // no user name, password
 548.150 -                    // e.g., jdbc://@host[:port]
 548.151 -                } else {
 548.152 -                    up = rest.substring(0, index);
 548.153 -                }
 548.154 -                if ( index < rest.length() - 1 )
 548.155 -                    hp = rest.substring(index+1);
 548.156 -                else {
 548.157 -                    // no content after @
 548.158 -                    results.add(
 548.159 -                            new Validator.ResultItem(validator,
 548.160 -                            Validator.ResultType.ERROR,
 548.161 -                            target,
 548.162 -                            mMessages.getString("JDBCAddress.MALFORMED_JDBC_URL") + url));
 548.163 -                    return false;
 548.164 -                }
 548.165 -            } else {
 548.166 -                // no @ char
 548.167 -                hp = rest;
 548.168 -            }
 548.169 -            // host[:port]
 548.170 -            if ( hp == null || hp.indexOf(URL_LOGIN_HOST_DELIM) >= 0 ) {
 548.171 -                results.add(
 548.172 -                        new Validator.ResultItem(validator,
 548.173 -                        Validator.ResultType.ERROR,
 548.174 -                        target,
 548.175 -                        mMessages.getString("JDBCAddress.MALFORMED_JDBC_URL") + url));
 548.176 -                return false;
 548.177 -            }
 548.178 -            
 548.179 -            if ( up != null ) {
 548.180 -                index = up.indexOf(URL_COLON_DELIM);
 548.181 -                if ( index >= 0 ) {
 548.182 -                    String[] s = up.split(":");
 548.183 -                    boolean malformed = false;
 548.184 -                    switch ( s.length ) {
 548.185 -                        case 1:
 548.186 -                            if ( index == 0 ) {
 548.187 -                                malformed = true;
 548.188 -                            }
 548.189 -                            else {
 548.190 -                                // no pass
 548.191 -                                driver = s[0];
 548.192 -                            }
 548.193 -                            break;
 548.194 -                        case 2:
 548.195 -                           // user = s[0];
 548.196 -                           // password = s[1];
 548.197 -						   driver = s[0];
 548.198 -                            break;
 548.199 -                        default:
 548.200 -                            malformed = true;
 548.201 -                    }
 548.202 -                    if ( malformed ) {
 548.203 -                        results.add(
 548.204 -                                new Validator.ResultItem(validator,
 548.205 -                                Validator.ResultType.ERROR,
 548.206 -                                target,
 548.207 -                                mMessages.getString("JDBCAddress.MALFORMED_JDBC_URL") + url));
 548.208 -                        return false;
 548.209 -                    }
 548.210 -                }
 548.211 -                else {
 548.212 -                    driver = up;
 548.213 -                }
 548.214 -            }
 548.215 -            if ( hp != null ) {
 548.216 -                index = hp.indexOf(URL_COLON_DELIM);
 548.217 -                if ( index >= 0 ) {
 548.218 -                    String[] s = hp.split(":");
 548.219 -                    boolean malformed = false;
 548.220 -                    switch ( s.length ) {
 548.221 -                        case 1:
 548.222 -                            if ( index == 0 ) {
 548.223 -                                malformed = true;
 548.224 -                            }
 548.225 -                            else {
 548.226 -                                // no port
 548.227 -                                host = s[0];
 548.228 -                            }
 548.229 -                            break;
 548.230 -                        case 2:
 548.231 -                            host = s[0];
 548.232 -                            port = s[1];
 548.233 -                            break;
 548.234 -                        default:
 548.235 -                            malformed = true;
 548.236 -                    }
 548.237 -                    if ( malformed ) {
 548.238 -                        results.add(
 548.239 -                                new Validator.ResultItem(validator,
 548.240 -                                Validator.ResultType.ERROR,
 548.241 -                                target,
 548.242 -                                mMessages.getString("JDBCAddress.MALFORMED_JDBC_URL") + url));
 548.243 -                        return false;
 548.244 -                    }
 548.245 -                    if ( port != null && port.trim().length() > 0 ) {
 548.246 -                        // must be a positive int
 548.247 -                        boolean goodPort = true;
 548.248 -                        try {
 548.249 -                            int pt = Integer.parseInt(port);
 548.250 -                            if ( pt <= 0 )
 548.251 -                                goodPort = false;
 548.252 -                        }
 548.253 -                        catch (Exception e) {
 548.254 -                            goodPort = false;
 548.255 -                        }
 548.256 -                        if ( !goodPort ) {
 548.257 -                            results.add(
 548.258 -                                    new Validator.ResultItem(validator,
 548.259 -                                    Validator.ResultType.ERROR,
 548.260 -                                    target,
 548.261 -                                    mMessages.getString("JDBCAddress.INVALID_PORT_IN_URL") + url));
 548.262 -                            return false;
 548.263 -                        }
 548.264 -                    }
 548.265 -                }
 548.266 -                else {
 548.267 -                    host = hp;
 548.268 -                }
 548.269 -            }
 548.270 -            if ( host == null || host.trim().length() == 0 ) {
 548.271 -                results.add(
 548.272 -                        new Validator.ResultItem(validator,
 548.273 -                        Validator.ResultType.ERROR,
 548.274 -                        target,
 548.275 -                        mMessages.getString("JDBCAddress.MALFORMED_JDBC_URL_HOST_REQUIRED") + url));
 548.276 -                return false;
 548.277 -            }
 548.278 -        } else {
 548.279 -            results.add(
 548.280 -                    new Validator.ResultItem(validator,
 548.281 -                    Validator.ResultType.ERROR,
 548.282 -                    target,
 548.283 -                    mMessages.getString("JDBCAddress.MALFORMED_JDBC_URL") + url));
 548.284 -            return false;
 548.285 -        }
 548.286 -        return true;
 548.287 -    }*/
 548.288 -    }
 548.289 -}
   549.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCComponentValidator.java	Thu Jul 10 19:13:29 2008 +0800
   549.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   549.3 @@ -1,422 +0,0 @@
   549.4 -/*
   549.5 - * The contents of this file are subject to the terms of the Common Development
   549.6 - * and Distribution License (the License). You may not use this file except in
   549.7 - * compliance with the License.
   549.8 - * 
   549.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  549.10 - * or http://www.netbeans.org/cddl.txt.
  549.11 - * 
  549.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  549.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  549.14 - * If applicable, add the following below the CDDL Header, with the fields
  549.15 - * enclosed by brackets [] replaced by your own identifying information:
  549.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  549.17 - * 
  549.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  549.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  549.20 - * Microsystems, Inc. All Rights Reserved.
  549.21 - */
  549.22 -package org.netbeans.modules.wsdlextensions.jdbc.validator;
  549.23 -
  549.24 -import java.net.URI;
  549.25 -import java.net.URL;
  549.26 -import java.util.Collection;
  549.27 -import java.util.Collections;
  549.28 -import java.util.HashSet;
  549.29 -import java.util.Iterator;
  549.30 -import java.util.List;
  549.31 -import java.util.StringTokenizer;
  549.32 -import java.util.ResourceBundle;
  549.33 -
  549.34 -import org.netbeans.modules.xml.wsdl.model.Binding;
  549.35 -import org.netbeans.modules.xml.wsdl.model.BindingInput;
  549.36 -import org.netbeans.modules.xml.wsdl.model.BindingFault;
  549.37 -import org.netbeans.modules.xml.wsdl.model.BindingOperation;
  549.38 -import org.netbeans.modules.xml.wsdl.model.BindingOutput;
  549.39 -import org.netbeans.modules.xml.wsdl.model.PortType;
  549.40 -import org.netbeans.modules.xml.wsdl.model.Definitions;
  549.41 -import org.netbeans.modules.xml.wsdl.model.Input;
  549.42 -import org.netbeans.modules.xml.wsdl.model.Output;
  549.43 -import org.netbeans.modules.xml.wsdl.model.Port;
  549.44 -import org.netbeans.modules.xml.wsdl.model.Service;
  549.45 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  549.46 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  549.47 -
  549.48 -import org.netbeans.modules.xml.xam.Component;
  549.49 -import org.netbeans.modules.xml.xam.Model;
  549.50 -import org.netbeans.modules.xml.xam.Model.State;
  549.51 -import org.netbeans.modules.xml.xam.dom.NamedComponentReference;
  549.52 -import org.netbeans.modules.xml.wsdl.model.Message;
  549.53 -import org.netbeans.modules.xml.xam.spi.Validation;
  549.54 -import org.netbeans.modules.xml.xam.spi.Validation.ValidationType;
  549.55 -import org.netbeans.modules.xml.xam.spi.ValidationResult;
  549.56 -import org.netbeans.modules.xml.xam.spi.Validator;
  549.57 -import org.netbeans.modules.xml.xam.spi.Validator.ResultItem;
  549.58 -
  549.59 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCComponent;
  549.60 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCOperation;
  549.61 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCOperationInput;
  549.62 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCOperationOutput;
  549.63 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCBinding;
  549.64 -import org.netbeans.modules.wsdlextensions.jdbc.JDBCAddress;
  549.65 -
  549.66 -
  549.67 -/**
  549.68 - * semantic validation, check WSDL elements & attributes values and 
  549.69 - * any relationship between;
  549.70 - *
  549.71 - * @author 
  549.72 - */
  549.73 -public class JDBCComponentValidator
  549.74 -        implements Validator, JDBCComponent.Visitor {
  549.75 -    
  549.76 -    private static final String JDBC_URL_PREFIX = "jdbc";
  549.77 -    private static final String JDBC_URL_LOGIN_HOST_DELIM = "@";
  549.78 -    private static final String JDBC_URL_COLON_DELIM = ":";
  549.79 -    private static final String JDBC_URL_PATH_DELIM = "/";
  549.80 -
  549.81 -    private static final ResourceBundle mMessages =
  549.82 -            ResourceBundle.getBundle("org.netbeans.modules.wsdlextensions.jdbc.validator.Bundle");
  549.83 -    
  549.84 -    private Validation mValidation;
  549.85 -    private ValidationType mValidationType;
  549.86 -    private ValidationResult mValidationResult;
  549.87 -    
  549.88 -    private String mopType = null;
  549.89 -    
  549.90 -    public static final ValidationResult EMPTY_RESULT = 
  549.91 -        new ValidationResult( Collections.EMPTY_SET, 
  549.92 -                Collections.EMPTY_SET);
  549.93 -    
  549.94 -    public JDBCComponentValidator() {}
  549.95 -    
  549.96 -    /**
  549.97 -     * Returns name of this validation service.
  549.98 -     */
  549.99 -    public String getName() {
 549.100 -        return getClass().getName();
 549.101 -    }
 549.102 -    
 549.103 -    /**
 549.104 -     * Validates given model.
 549.105 -     *
 549.106 -     * @param model model to validate.
 549.107 -     * @param validation reference to the validation context.
 549.108 -     * @param validationType the type of validation to perform
 549.109 -     * @return ValidationResult.
 549.110 -     */
 549.111 -    public ValidationResult validate(Model model, Validation validation,
 549.112 -            ValidationType validationType) {
 549.113 -        mValidation = validation;
 549.114 -        mValidationType = validationType;
 549.115 -        
 549.116 -        HashSet<ResultItem> results = new HashSet<ResultItem>();
 549.117 -        HashSet<Model> models = new HashSet<Model>();
 549.118 -        models.add(model);
 549.119 -        mValidationResult = new ValidationResult(results, models);
 549.120 -        
 549.121 -        // Traverse the model
 549.122 -        if (model instanceof WSDLModel) {
 549.123 -            WSDLModel wsdlModel = (WSDLModel)model;
 549.124 -            
 549.125 -            if (model.getState() == State.NOT_WELL_FORMED) {
 549.126 -                return EMPTY_RESULT;
 549.127 -            }
 549.128 -            
 549.129 -            Definitions defs = wsdlModel.getDefinitions();
 549.130 -            Iterator<Binding> bindings = defs.getBindings().iterator();
 549.131 -            
 549.132 -            while (bindings.hasNext()) {
 549.133 -                Binding binding = bindings.next();
 549.134 -                // bindings port type will be validated - generically by WSDL editor
 549.135 -                // so don't need to bother about it.
 549.136 -               
 549.137 -			    if (binding.getType() == null || binding.getType().get() == null) {
 549.138 -                    continue;
 549.139 -                }
 549.140 -                
 549.141 -               int numJDBCBindings = binding.getExtensibilityElements(JDBCBinding.class).size();
 549.142 -               if (numJDBCBindings == 0) {
 549.143 -                    continue;
 549.144 -               }
 549.145 -                
 549.146 -				if (numJDBCBindings > 0 && numJDBCBindings != 1) {
 549.147 -                    results.add(
 549.148 -                            new Validator.ResultItem(this,
 549.149 -                            Validator.ResultType.ERROR,
 549.150 -                            binding,
 549.151 -                            mMessages.getString("JDBCBindingValidation.ONLY_ONE_JDBC_BINDING_ALLOWED")));
 549.152 -                }
 549.153 -
 549.154 -                Iterator<BindingOperation> bindingOps =
 549.155 -                        binding.getBindingOperations().iterator();
 549.156 -                
 549.157 -                boolean foundJDBCOp = false;
 549.158 -                while (bindingOps.hasNext()) {
 549.159 -                    BindingOperation bindingOp = bindingOps.next();                    
 549.160 -                    List jdbcOpsList = bindingOp.getExtensibilityElements(JDBCOperation.class);
 549.161 -                    Iterator<JDBCOperation> jdbcOps =
 549.162 -                            jdbcOpsList.iterator();                    
 549.163 -                    while (jdbcOps.hasNext()) {
 549.164 -                        jdbcOps.next().accept(this);
 549.165 -                    }                    
 549.166 -                    if(jdbcOpsList.size() > 0) {
 549.167 -                        foundJDBCOp = true;
 549.168 -                        BindingInput bindingInput = bindingOp.getBindingInput();
 549.169 -                        if (bindingInput != null) {
 549.170 -                            int inputCnt = 0;
 549.171 -                            Iterator<JDBCOperationInput> jdbcInput =
 549.172 -                                    bindingInput.getExtensibilityElements(JDBCOperationInput.class).iterator();
 549.173 -                            while (jdbcInput.hasNext()) {
 549.174 -                                inputCnt++;
 549.175 -                                JDBCOperationInput jdbcinput = jdbcInput.next();
 549.176 -                                jdbcinput.accept(this);									
 549.177 -                            }
 549.178 -                            if ( inputCnt > 1 ) {
 549.179 -                                results.add(
 549.180 -                                        new Validator.ResultItem(this,
 549.181 -                                        Validator.ResultType.ERROR,
 549.182 -                                        binding,
 549.183 -                                        mMessages.getString("JDBCBindingValidation.ATMOST_ONE_TRANSFER_IN_INPUT") + inputCnt));
 549.184 -                            }
 549.185 -                        }
 549.186 -                        
 549.187 -                        BindingOutput bindingOutput = bindingOp.getBindingOutput();
 549.188 -                        if (bindingOutput != null) {
 549.189 -                            int outputCnt = 0;
 549.190 -                            Iterator<JDBCOperationOutput> jdbcOuput =
 549.191 -                                    bindingOutput.getExtensibilityElements(JDBCOperationOutput.class).iterator();
 549.192 -                            while (jdbcOuput.hasNext()) {
 549.193 -                                outputCnt++;
 549.194 -                                JDBCOperationOutput jdbcoutput = jdbcOuput.next();
 549.195 -                                jdbcoutput.accept(this);
 549.196 -                            }
 549.197 -                            if ( outputCnt > 1 ) {
 549.198 -                                results.add(
 549.199 -                                        new Validator.ResultItem(this,
 549.200 -                                        Validator.ResultType.ERROR,
 549.201 -                                        binding,
 549.202 -                                        mMessages.getString("JDBCBindingValidation.ATMOST_ONE_TRANSFER_IN_OUTPUT") + outputCnt));
 549.203 -                            }
 549.204 -                        }
 549.205 -                    }
 549.206 -                }
 549.207 -                // there is jdbc:binding but no jdbc:operation
 549.208 -                if ( numJDBCBindings > 0 && !foundJDBCOp ) {
 549.209 -                    results.add(
 549.210 -                            new Validator.ResultItem(this,
 549.211 -                            Validator.ResultType.ERROR,
 549.212 -                            binding,
 549.213 -                            mMessages.getString("JDBCBindingValidation.MISSING_JDBC_OPERATION")));
 549.214 -                }
 549.215 -                // there is no jdbc:binding but there are jdbc:operation
 549.216 -                if ( numJDBCBindings == 0 && foundJDBCOp ) {
 549.217 -                    results.add(
 549.218 -                            new Validator.ResultItem(this,
 549.219 -                            Validator.ResultType.ERROR,
 549.220 -                            binding,
 549.221 -                            mMessages.getString("JDBCBindingValidation.JDBC_OPERATION_WO_JDBC_BINDING")));
 549.222 -                }
 549.223 -            }
 549.224 -
 549.225 -            Iterator<Service> services = defs.getServices().iterator();
 549.226 -            while (services.hasNext()) {
 549.227 -                Iterator<Port> ports = services.next().getPorts().iterator();
 549.228 -                while (ports.hasNext()) {
 549.229 -                    Port port = ports.next();
 549.230 -                    if(port.getBinding() != null) {
 549.231 -                        Binding binding = port.getBinding().get();
 549.232 -                        if(binding != null) {
 549.233 -                            int numRelatedJDBCBindings = binding.getExtensibilityElements(JDBCBinding.class).size();
 549.234 -                            Iterator<JDBCAddress> jdbcAddresses = port.getExtensibilityElements(JDBCAddress.class).iterator();
 549.235 -                            if((numRelatedJDBCBindings > 0) && (!jdbcAddresses.hasNext())){
 549.236 -                                results.add(
 549.237 -                                        new Validator.ResultItem(this,
 549.238 -                                        Validator.ResultType.ERROR,
 549.239 -                                        port,
 549.240 -                                        mMessages.getString("JDBCExtValidation.MISSING_JDBC_ADDRESS")));
 549.241 -                            }
 549.242 -                            
 549.243 -                            if(port.getExtensibilityElements(JDBCAddress.class).size() > 1){
 549.244 -                                results.add(
 549.245 -                                        new Validator.ResultItem(this,
 549.246 -                                        Validator.ResultType.ERROR,
 549.247 -                                        port,
 549.248 -                                        mMessages.getString("JDBCExtValidation.ONLY_ONE_JDBCADDRESS_ALLOWED")));
 549.249 -                            }
 549.250 -                            while (jdbcAddresses.hasNext()) {
 549.251 -                                jdbcAddresses.next().accept(this);
 549.252 -                            }
 549.253 -                        }
 549.254 -                    }
 549.255 -                }
 549.256 -            }
 549.257 -        }
 549.258 -        // Clear out our state
 549.259 -        mValidation = null;
 549.260 -        mValidationType = null;
 549.261 -        
 549.262 -        return mValidationResult;
 549.263 -    }
 549.264 -
 549.265 -    public void visit(JDBCAddress target) {
 549.266 -        // validate the following:
 549.267 -        // (1) attribute 'url' has the right syntax: i.e. jdbc://[jdbc_user]:[jdbc_password]@[jdbc_host]:[jdbc_port]
 549.268 -        // (2) if attribute 'useProxy' is true, also validate attribute 'proxy'
 549.269 -        // has the right syntax: [proxy protocol]://[proxy_user]:[proxy_password]@[proxy_host]:[proxy_port]
 549.270 -        Collection<ResultItem> results =
 549.271 -                mValidationResult.getValidationResult();        
 549.272 -        JDBCAddressURL url = new JDBCAddressURL(target.getJDBCURL()); 
 549.273 -        url.parse(results, this, target);       
 549.274 -    }
 549.275 -
 549.276 -    public void visit(JDBCBinding target) {
 549.277 -        // for jdbc binding tag - nothing to validate at this point
 549.278 -    }
 549.279 -
 549.280 -    public void visit(JDBCOperation target) {
 549.281 -        // for jdbc operation tag - nothing to validate at this point
 549.282 -    }
 549.283 -
 549.284 -    public void visit(JDBCOperationInput target) {
 549.285 -        // check the values and relations of/between all the attributes
 549.286 -        Collection<ResultItem> results =
 549.287 -                mValidationResult.getValidationResult();
 549.288 -
 549.289 -		String pkname = target.getPKName();	  
 549.290 -		String markColName = target.getMarkColumnName();
 549.291 -		String markColvalue = target.getMarkColumnValue();
 549.292 -		String pollProcess = target.getPollingPostProcessing();
 549.293 -		String tableName = target.getTableName();
 549.294 -		String moverowtable = target.getMoveRowToTableName();
 549.295 -		String paramOrder = target.getParamOrder();
 549.296 -		String sql = target.getSql();
 549.297 -		
 549.298 -		int noOfParams = 0;
 549.299 -		for(int cnt=0;cnt< sql.length();cnt++){
 549.300 -			
 549.301 -			if(sql.charAt(cnt) == '?'){
 549.302 -				noOfParams++;
 549.303 -			}
 549.304 -		}
 549.305 -		final String PARAM_SEPARATOR = ",";
 549.306 -		int tokenCnt = 0;
 549.307 -		if(noOfParams > 0 && paramOrder == null){
 549.308 -			 results.add(new Validator.ResultItem(this,
 549.309 -						Validator.ResultType.ERROR,
 549.310 -						target,
 549.311 -						mMessages.getString("JDBCOperationInput.PARAM_ORDER_NULL_ERROR")));
 549.312 -		}
 549.313 -	    if(paramOrder != null){
 549.314 -			StringTokenizer params = new StringTokenizer(paramOrder, PARAM_SEPARATOR);
 549.315 -		    while (params.hasMoreTokens()) {
 549.316 -		    	 String param = params.nextToken().trim();
 549.317 -		    	 tokenCnt++;
 549.318 -		    	 if(param == ""){
 549.319 -		    		 results.add(new Validator.ResultItem(this,
 549.320 -								Validator.ResultType.ERROR,
 549.321 -								target,
 549.322 -								mMessages.getString("JDBCOperationInput.PARAM_ORDER_MISMATCH")));
 549.323 -		    	 }
 549.324 -		    }
 549.325 -		    if(noOfParams > 0 && noOfParams != tokenCnt){
 549.326 -		    	results.add(new Validator.ResultItem(this,
 549.327 -						Validator.ResultType.ERROR,
 549.328 -						target,
 549.329 -						mMessages.getString("JDBCOperationInput.PARAM_ORDER_MISMATCH")));
 549.330 -		    }else if(noOfParams == 0 && tokenCnt > 0){
 549.331 -		    	 results.add(new Validator.ResultItem(this,
 549.332 -							Validator.ResultType.ERROR,
 549.333 -							target,
 549.334 -							mMessages.getString("JDBCOperationInput.NOPARAMS_ERROR")));
 549.335 -		    }
 549.336 -	    }
 549.337 -		mopType = target.getOperationType();
 549.338 -		
 549.339 -		if(mopType != null && mopType != ""){
 549.340 -
 549.341 -			int numRecords = target.getNumberOfRecords();
 549.342 -			
 549.343 -			if ( mopType == null || mopType.trim().length() == 0 ) {
 549.344 -				results.add(new Validator.ResultItem(this,
 549.345 -						Validator.ResultType.ERROR,
 549.346 -						target,
 549.347 -						mMessages.getString("JDBCOperationInput.MISSING_OPERATION_TYPE")));
 549.348 -			}	  
 549.349 -			  
 549.350 -			  if(sql == null || sql == ""){
 549.351 -				   results.add(new Validator.ResultItem(this,
 549.352 -						  Validator.ResultType.ERROR,
 549.353 -						  target,
 549.354 -						  mMessages.getString("JDBCOperationInput.MISSING_SQL")+ "for Operation " + mopType));
 549.355 -			  }
 549.356 -			
 549.357 -			  if(tableName == null || tableName == ""){
 549.358 -				   results.add(new Validator.ResultItem(this,
 549.359 -						Validator.ResultType.ERROR,
 549.360 -						target,
 549.361 -						mMessages.getString("JDBCOperationInput.MISSING_TABLENAME")+ "for Operation " + mopType));
 549.362 -			  }
 549.363 -			  
 549.364 -			  
 549.365 -			  
 549.366 -			  if(mopType.equalsIgnoreCase("poll")){		
 549.367 -				  
 549.368 -				  if(pkname == null || pkname == ""){
 549.369 -				   results.add(new Validator.ResultItem(this,
 549.370 -						  Validator.ResultType.ERROR,
 549.371 -						  target,
 549.372 -						  mMessages.getString("JDBCOperationInput.MISSING_PKNAME")+ "for Operation " + mopType));
 549.373 -			      }
 549.374 -				 
 549.375 -				  if(pollProcess == null || pollProcess == ""){
 549.376 -						  results.add(new Validator.ResultItem(this,
 549.377 -									 Validator.ResultType.ERROR,
 549.378 -									 target,
 549.379 -									 mMessages.getString("JDBCOperationInput.MISSING_POLL_POST_PROCESS")
 549.380 -									 +"for Operation " + mopType));			  					  
 549.381 -				  }
 549.382 -				  if(pollProcess.equalsIgnoreCase("MarkColumn")){
 549.383 -					  if(markColName == "" || markColName == null || markColvalue == "" || markColvalue == null){
 549.384 -						  results.add(new Validator.ResultItem(this,
 549.385 -									 Validator.ResultType.ERROR,
 549.386 -									 target,
 549.387 -									 mMessages.getString("JDBCOperationInput.MISSING_MARKCOLUMN_NAME_VALUE")
 549.388 -									 +"for Operation " + mopType));			  
 549.389 -					  }
 549.390 -				  }else if(pollProcess.equalsIgnoreCase("MoveRow")){
 549.391 -					  if(moverowtable == "" || moverowtable == null){
 549.392 -						  results.add(new Validator.ResultItem(this,
 549.393 -									 Validator.ResultType.ERROR,
 549.394 -									 target,
 549.395 -									 mMessages.getString("JDBCOperationInput.MISSING_MOVEROW_VALUE")
 549.396 -									 +"for Operation " + mopType));			  
 549.397 -					  }
 549.398 -				  }	else if(pollProcess.equalsIgnoreCase("CopyRow")){
 549.399 -					  if(moverowtable == "" || moverowtable == null){
 549.400 -						  results.add(new Validator.ResultItem(this,
 549.401 -									 Validator.ResultType.ERROR,
 549.402 -									 target,
 549.403 -									 mMessages.getString("JDBCOperationInput.MISSING_COPYROW_VALUE")
 549.404 -									 +"for Operation " + mopType));			  
 549.405 -					  }
 549.406 -				  }					  				  
 549.407 -			   }//if poll		
 549.408 -		}else{
 549.409 -			 results.add(new Validator.ResultItem(this,
 549.410 -									 Validator.ResultType.ERROR,
 549.411 -									 target,
 549.412 -									 mMessages.getString("JDBCOperationInput.MISSING_OPERATION_VALUE")
 549.413 -									 +"for Operation " + mopType));		
 549.414 -		}
 549.415 -    }//input
 549.416 -
 549.417 -
 549.418 -	public void visit(JDBCOperationOutput target) {
 549.419 -        // check the values and relations of/between all the attributes
 549.420 -        Collection<ResultItem> results =
 549.421 -                mValidationResult.getValidationResult();
 549.422 -		
 549.423 -
 549.424 -    }//output
 549.425 -}
 549.426 \ No newline at end of file
   550.1 --- a/wsdlextensions.jdbc/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCValidatorSchemaFactory.java	Thu Jul 10 19:13:29 2008 +0800
   550.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   550.3 @@ -1,51 +0,0 @@
   550.4 -/*
   550.5 - * The contents of this file are subject to the terms of the Common Development
   550.6 - * and Distribution License (the License). You may not use this file except in
   550.7 - * compliance with the License.
   550.8 - * 
   550.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  550.10 - * or http://www.netbeans.org/cddl.txt.
  550.11 - * 
  550.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  550.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  550.14 - * If applicable, add the following below the CDDL Header, with the fields
  550.15 - * enclosed by brackets [] replaced by your own identifying information:
  550.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  550.17 - * 
  550.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  550.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  550.20 - * Microsystems, Inc. All Rights Reserved.
  550.21 - */
  550.22 -
  550.23 -package org.netbeans.modules.wsdlextensions.jdbc.validator;
  550.24 -
  550.25 -import java.io.InputStream;
  550.26 -import javax.xml.transform.Source;
  550.27 -import javax.xml.transform.stream.StreamSource;
  550.28 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
  550.29 -
  550.30 -/**
  550.31 - *
  550.32 - * @author Venkat P
  550.33 - */
  550.34 -public class JDBCValidatorSchemaFactory extends ValidatorSchemaFactory{
  550.35 -    static final String fileXSDUrl = "/org/netbeans/modules/wsdlextensions/jdbc/resources/jdbc-ext.xsd";
  550.36 -    
  550.37 -    public String getNamespaceURI() {
  550.38 -        return "http://schemas.sun.com/jbi/wsdl-extensions/jdbc/";
  550.39 -    }
  550.40 -    
  550.41 -    public InputStream getSchemaInputStream() {
  550.42 -        return JDBCValidatorSchemaFactory.class.getResourceAsStream(fileXSDUrl);
  550.43 -    }
  550.44 -    
  550.45 -     /**
  550.46 -     * Returns the Inputstream related to this schema
  550.47 -     */
  550.48 -    public Source getSchemaSource() {
  550.49 -        InputStream in = JDBCValidatorSchemaFactory.class.getResourceAsStream(fileXSDUrl);
  550.50 -        Source s = new StreamSource(in);
  550.51 -        s.setSystemId(JDBCValidatorSchemaFactory.class.getResource(fileXSDUrl).toString());
  550.52 -        return s;
  550.53 -    }
  550.54 -}
   551.1 --- a/wsdlextensions.jdbc/test/build-unit.xml	Thu Jul 10 19:13:29 2008 +0800
   551.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   551.3 @@ -1,72 +0,0 @@
   551.4 -<?xml version="1.0"?>
   551.5 -<!--
   551.6 - The contents of this file are subject to the terms of the Common Development
   551.7 - and Distribution License (the License). You may not use this file except in
   551.8 - compliance with the License.
   551.9 - 
  551.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  551.11 - or http://www.netbeans.org/cddl.txt.
  551.12 - 
  551.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  551.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  551.15 - If applicable, add the following below the CDDL Header, with the fields
  551.16 - enclosed by brackets [] replaced by your own identifying information:
  551.17 - "Portions Copyrighted [year] [name of copyright owner]"
  551.18 - 
  551.19 - The Original Software is NetBeans. The Initial Developer of the Original
  551.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  551.21 - Microsystems, Inc. All Rights Reserved.
  551.22 --->
  551.23 -
  551.24 -<project name="org.netbeans.modules.wsdlextensions.jdbc/test-unit" basedir="." default="all">
  551.25 -    <!-- ========= -->
  551.26 -    <!-- Compilers -->
  551.27 -    <!-- ========= -->
  551.28 -    <property name="build.compiler.source" value="1.5"/>
  551.29 -    <property file="../nbproject/project.properties"/>
  551.30 -    
  551.31 -    <target name="default-compiler">
  551.32 -        <!-- Build application before tests -->
  551.33 -        <ant dir=".." target="jar"/>
  551.34 -        <buildTests srcdir="unit/src" compileexcludes="**/data/**">
  551.35 -            <property name="javac.source" value="1.5"/>
  551.36 -	    <property name="package.tests.includes" value="**/*"/>
  551.37 -	    <property name="package.tests.excludes" value="**/*.java"/>
  551.38 -            <classpath>
  551.39 -                <!-- Add classpath elements needed to compile tests -->
  551.40 -                <pathelement path="${test.unit.cp}"/>
  551.41 -                <pathelement path="${test.unit.cp.extra}"/>
  551.42 -            </classpath>
  551.43 -        </buildTests>
  551.44 -    </target>
  551.45 -    
  551.46 -    <!-- ========= -->
  551.47 -    <!-- Executors -->
  551.48 -    <!-- ========= -->
  551.49 -    
  551.50 -    <target name="run-unit-test">
  551.51 -	<echo>NNNNNNNNNNNNNNNNNNNNtest.unit.cp.extra=${test.unit.cp.extra}</echo>
  551.52 -        <executeTests pluginname="jvm">
  551.53 -             <classpath>
  551.54 -                <!-- Add classpath elements needed to run tests -->
  551.55 -                <pathelement path="${test.unit.cp}"/>
  551.56 -                <pathelement path="${test.unit.cp.extra}"/>
  551.57 -                <pathelement path="${test.unit.run.cp.extra}"/>
  551.58 -            </classpath>
  551.59 -        </executeTests>
  551.60 -    </target>
  551.61 -
  551.62 -    <target name="run-ide-test">
  551.63 -        <property name="xtest.ide.use.classloader" value="org.netbeans.modules.wsdlextensions.jdbc"/>
  551.64 -        <executeTests pluginName="ide">
  551.65 -             <classpath>
  551.66 -                <!-- Add classpath elements needed to run tests -->
  551.67 -                <pathelement path="${test.unit.cp}"/>
  551.68 -                <pathelement path="${test.unit.cp.extra}"/>
  551.69 -                <pathelement path="${test.unit.run.cp.extra}"/>
  551.70 -            </classpath>
  551.71 -        </executeTests>
  551.72 -    </target>
  551.73 -    
  551.74 -</project>
  551.75 -
   552.1 --- a/wsdlextensions.jdbc/test/build.xml	Thu Jul 10 19:13:29 2008 +0800
   552.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   552.3 @@ -1,100 +0,0 @@
   552.4 -<?xml version="1.0"?>
   552.5 -<!--
   552.6 - The contents of this file are subject to the terms of the Common Development
   552.7 - and Distribution License (the License). You may not use this file except in
   552.8 - compliance with the License.
   552.9 - 
  552.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  552.11 - or http://www.netbeans.org/cddl.txt.
  552.12 - 
  552.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  552.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  552.15 - If applicable, add the following below the CDDL Header, with the fields
  552.16 - enclosed by brackets [] replaced by your own identifying information:
  552.17 - "Portions Copyrighted [year] [name of copyright owner]"
  552.18 - 
  552.19 - The Original Software is NetBeans. The Initial Developer of the Original
  552.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  552.21 - Microsystems, Inc. All Rights Reserved.
  552.22 --->
  552.23 -<project name="org.netbeans.modules.wsdlextensions.jdbc/test" basedir="." default="all">
  552.24 -
  552.25 -    <!-- Name of tested module -->
  552.26 -    <property name="xtest.module" value="org.netbeans.modules.wsdlextensions.jdbc"/>
  552.27 -    
  552.28 -    <!-- Home of XTest -->
  552.29 -    <property name="xtest.home" location="../../../xtest"/>
  552.30 -    <import file="${xtest.home}/lib/templates/xtest.xml"/>
  552.31 -
  552.32 -    <!-- default testtypes, attributes used when no value is supplied from command line -->
  552.33 -    <property name="xtest.testtype" value="unit"/>
  552.34 -    <property name="xtest.attribs" value="stable"/>
  552.35 -    <!--
  552.36 -    <property name="xtest.testtype" value="functional"/>
  552.37 -    <property name="xtest.attribs" value="stable,validation"/>
  552.38 -    -->
  552.39 -    
  552.40 -    <!-- Points to directory with IDE to test. Optional for IDE tests.  -->
  552.41 -    <property name="netbeans.dest.dir" location="${xtest.home}/../nbbuild/netbeans"/>
  552.42 -    
  552.43 -    <!--
  552.44 -    *****************************************************
  552.45 -    ** You should not change anything after this comment,
  552.46 -    **    unless you really know what you are doing
  552.47 -    ******************************************************
  552.48 -    -->
  552.49 -    
  552.50 -    <!-- Ant property. Value 'ignore' means that system classpath is ignored
  552.51 -         and only classpath specified in build file is used. -->
  552.52 -    <property name="build.sysclasspath" value="ignore"/>
  552.53 -
  552.54 -    <!-- Points to antfile with module's harness. 
  552.55 -         Targets from that antfile is called from this build.xml -->
  552.56 -    <property name="xtest.module_harness.antfile" location="${xtest.home}/lib/module_harness.xml"/>
  552.57 -
  552.58 -    <!-- before using xtest task, it has to be defined -->
  552.59 -    <taskdef name="xtest" classname="org.netbeans.xtest.usertasks.XTestActionTask" 
  552.60 -                 classpath="${xtest.home}/lib/xtest.jar"/>  
  552.61 -    
  552.62 -    <!-- ============ -->
  552.63 -    <!-- Main targets -->
  552.64 -    <!-- ============ -->
  552.65 -    
  552.66 -    <target name="all" depends="runtests"/>
  552.67 -    
  552.68 -    <!-- This calls target which will call compilers according to cfg file.
  552.69 -         You should not change this target unless you realy know what you are doing -->
  552.70 -    <target name="buildtests">
  552.71 -       <xtest executeAction="buildTests"/>
  552.72 -    </target>
  552.73 -    
  552.74 -    <!-- This calls common clean process. This cleans the tests -->
  552.75 -    <!-- You can write your own if you need something special -->
  552.76 -    <target name="cleantests">
  552.77 -       <xtest executeAction="cleanTests"/>
  552.78 -    </target> 
  552.79 -
  552.80 -    <!-- This target runs tests. You should not change this --> 
  552.81 -    <!-- target unless you realy know what you are doing -->
  552.82 -    <target name="runtests" depends="buildtests">
  552.83 -        <echo message="Module: Running tests for ${xtest.module}, testtype ${xtest.testtype}, attribs=${xtest.attribs}"/>
  552.84 -        <xtest executeAction="runTests"/>
  552.85 -    </target>
  552.86 -    
  552.87 -    <!-- This target cleans results -->
  552.88 -    <target name="cleanresults">
  552.89 -        <xtest executeAction="cleanResults"/>
  552.90 -    </target>
  552.91 -    
  552.92 -    <!-- This target cleans both tests and results -->
  552.93 -    <target name="realclean">
  552.94 -        <xtest executeAction="cleanAll"/>
  552.95 -    </target>
  552.96 -    
  552.97 -    <!-- This target prints out default xtest configuration which will be used to run the tests -->
  552.98 -    <target name="printconfig">
  552.99 -        <echo message="Default config is testtype: ${xtest.testtype}, attributes: ${xtest.attribs}."/>
 552.100 -    </target>
 552.101 -    
 552.102 -</project>
 552.103 -
   553.1 --- a/wsdlextensions.jdbc/test/cfg-unit.xml	Thu Jul 10 19:13:29 2008 +0800
   553.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   553.3 @@ -1,44 +0,0 @@
   553.4 -<?xml version="1.0" encoding="UTF-8"?>
   553.5 -<!--
   553.6 - The contents of this file are subject to the terms of the Common Development
   553.7 - and Distribution License (the License). You may not use this file except in
   553.8 - compliance with the License.
   553.9 - 
  553.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  553.11 - or http://www.netbeans.org/cddl.txt.
  553.12 - 
  553.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  553.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  553.15 - If applicable, add the following below the CDDL Header, with the fields
  553.16 - enclosed by brackets [] replaced by your own identifying information:
  553.17 - "Portions Copyrighted [year] [name of copyright owner]"
  553.18 - 
  553.19 - The Original Software is NetBeans. The Initial Developer of the Original
  553.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  553.21 - Microsystems, Inc. All Rights Reserved.
  553.22 --->
  553.23 -
  553.24 -<mconfig name="Unit config">
  553.25 -
  553.26 -    <testbag testattribs="stable" executor="unit-executor" name="Unit tests">
  553.27 -        <testset dir="unit/src">
  553.28 -            <patternset>
  553.29 -                <include name="**/*Test.class"/>
  553.30 -                <!-- exclude name="**/readwrite/*Test.class"/ -->
  553.31 -            </patternset>
  553.32 -        </testset>
  553.33 -    </testbag>
  553.34 -
  553.35 -    <testbag testattribs="ide" executor="ide-executor" name="IDE tests">
  553.36 -        <testset dir="unit/src">
  553.37 -            <patternset>
  553.38 -                <include name="**/*Test.class"/>
  553.39 -            </patternset>
  553.40 -        </testset>
  553.41 -    </testbag>
  553.42 -
  553.43 -    <compiler name="default-compiler" antfile="build-unit.xml" target="default-compiler" default="true"/>
  553.44 -    <executor name="unit-executor" antfile="build-unit.xml" target="run-unit-test"/>
  553.45 -    <executor name="ide-executor" antfile="build-unit.xml" target="run-ide-test"/>
  553.46 -
  553.47 -</mconfig>
   554.1 Binary file wsdlextensions.jdbc/test/lib/tests-unit.jar has changed
   555.1 --- a/wsdlextensions.jdbc/test/unit/src/org/netbeans/modules/wsdlextensions/jdbc/validator/JDBCValidatorSchemaFactoryTest.java	Thu Jul 10 19:13:29 2008 +0800
   555.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   555.3 @@ -1,76 +0,0 @@
   555.4 -/*
   555.5 - * The contents of this file are subject to the terms of the Common Development
   555.6 - * and Distribution License (the License). You may not use this file except in
   555.7 - * compliance with the License.
   555.8 - * 
   555.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  555.10 - * or http://www.netbeans.org/cddl.txt.
  555.11 - * 
  555.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  555.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  555.14 - * If applicable, add the following below the CDDL Header, with the fields
  555.15 - * enclosed by brackets [] replaced by your own identifying information:
  555.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  555.17 - * 
  555.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  555.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  555.20 - * Microsystems, Inc. All Rights Reserved.
  555.21 - */
  555.22 -
  555.23 -/*
  555.24 - * JDBCValidatorSchemaFactoryTest.java
  555.25 - * JUnit based test
  555.26 - *
  555.27 - * Created on February 6, 2007, 11:34 PM
  555.28 - */
  555.29 -
  555.30 -package org.netbeans.modules.wsdlextensions.jdbc.validator;
  555.31 -
  555.32 -import javax.xml.transform.Source;
  555.33 -import junit.framework.*;
  555.34 -import java.io.InputStream;
  555.35 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
  555.36 -
  555.37 -/**
  555.38 - *
  555.39 - * @author radval
  555.40 - */
  555.41 -public class JDBCValidatorSchemaFactoryTest extends TestCase {
  555.42 -    
  555.43 -    public JDBCValidatorSchemaFactoryTest(String testName) {
  555.44 -        super(testName);
  555.45 -    }
  555.46 -
  555.47 -    protected void setUp() throws Exception {
  555.48 -    }
  555.49 -
  555.50 -    protected void tearDown() throws Exception {
  555.51 -    }
  555.52 -
  555.53 -    /**
  555.54 -     * Test of getNamespaceURI method, of class org.netbeans.modules.wsdlextensions.jdbc.validator.JDBCValidatorSchemaFactory.
  555.55 -     */
  555.56 -    public void testGetNamespaceURI() {
  555.57 -        System.out.println("getNamespaceURI");
  555.58 -        
  555.59 -        JDBCValidatorSchemaFactory instance = new JDBCValidatorSchemaFactory();
  555.60 -        
  555.61 -        String result = instance.getNamespaceURI();
  555.62 -        assertNotNull(result);
  555.63 -        
  555.64 -       
  555.65 -    }
  555.66 -
  555.67 -    /**
  555.68 -     * Test of getSchemaInputStream method, of class org.netbeans.modules.wsdlextensions.jdbc.validator.JDBCValidatorSchemaFactory.
  555.69 -     */
  555.70 -    public void testGetSchemaSource() {
  555.71 -        System.out.println("getSchemaSource");
  555.72 -        
  555.73 -        JDBCValidatorSchemaFactory instance = new JDBCValidatorSchemaFactory();
  555.74 -        
  555.75 -        Source result = instance.getSchemaSource();
  555.76 -        assertNotNull(result);
  555.77 -      
  555.78 -    }
  555.79 -}
   556.1 --- a/wsdlextensions.jdbc/test/unit/src/org/netbeans/modules/wsdlextensions/jdbc/validator/SchemaTest.java	Thu Jul 10 19:13:29 2008 +0800
   556.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   556.3 @@ -1,95 +0,0 @@
   556.4 -/*
   556.5 - * The contents of this file are subject to the terms of the Common Development
   556.6 - * and Distribution License (the License). You may not use this file except in
   556.7 - * compliance with the License.
   556.8 - * 
   556.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  556.10 - * or http://www.netbeans.org/cddl.txt.
  556.11 - * 
  556.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  556.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  556.14 - * If applicable, add the following below the CDDL Header, with the fields
  556.15 - * enclosed by brackets [] replaced by your own identifying information:
  556.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  556.17 - * 
  556.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  556.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  556.20 - * Microsystems, Inc. All Rights Reserved.
  556.21 - */
  556.22 -
  556.23 -/*
  556.24 - * SchemaTest.java
  556.25 - * JUnit based test
  556.26 - *
  556.27 - * Created on January 31, 2007, 6:25 PM
  556.28 - */
  556.29 -package org.netbeans.modules.wsdlextensions.jdbc.validator;
  556.30 -
  556.31 -import java.net.URL;
  556.32 -import javax.xml.XMLConstants;
  556.33 -import javax.xml.transform.Source;
  556.34 -import javax.xml.transform.stream.StreamSource;
  556.35 -import javax.xml.validation.Schema;
  556.36 -import javax.xml.validation.SchemaFactory;
  556.37 -import junit.framework.*;
  556.38 -import org.xml.sax.ErrorHandler;
  556.39 -import org.xml.sax.SAXException;
  556.40 -import org.xml.sax.SAXParseException;
  556.41 -
  556.42 -/**
  556.43 - *
  556.44 - * @author radval
  556.45 - */
  556.46 -public class SchemaTest extends TestCase {
  556.47 -    
  556.48 -    private Exception mLastError;
  556.49 -    
  556.50 -    private URL schemaUrl = SchemaTest.class.getResource("/org/netbeans/modules/wsdlextensions/jdbc/resources/jdbc-ext.xsd");
  556.51 -    
  556.52 -    public SchemaTest(String testName) {
  556.53 -        super(testName);
  556.54 -    }
  556.55 -
  556.56 -    protected void setUp() throws Exception {
  556.57 -    }
  556.58 -
  556.59 -    protected void tearDown() throws Exception {
  556.60 -    }
  556.61 -    
  556.62 -    // TODO add test methods here. The name must begin with 'test'. For example:
  556.63 -    // public void testHello() {}
  556.64 -    
  556.65 -    public void testSchema() throws Exception {
  556.66 -        MyErrorHandler errorHandler = new MyErrorHandler();
  556.67 -        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
  556.68 -        sf.setErrorHandler(errorHandler);
  556.69 -        JDBCValidatorSchemaFactory fac = new JDBCValidatorSchemaFactory();
  556.70 -        Source s = fac.getSchemaSource();
  556.71 -        Schema schema = sf.newSchema(s);
  556.72 -        
  556.73 -        assertNotNull("schema should not be null", schema);
  556.74 -        
  556.75 -        assertNull("No exception should occur in schema parsing", mLastError);
  556.76 -        
  556.77 -    }
  556.78 -    
  556.79 -    class MyErrorHandler implements ErrorHandler {
  556.80 -        
  556.81 -        public void error(SAXParseException exception) throws SAXException {
  556.82 -            mLastError = exception;
  556.83 -            exception.printStackTrace();
  556.84 -        }
  556.85 -
  556.86 -        public void fatalError(SAXParseException exception) throws SAXException {
  556.87 -            mLastError = exception;
  556.88 -            exception.printStackTrace();
  556.89 -        }
  556.90 -
  556.91 -        public void warning(SAXParseException exception) throws SAXException {
  556.92 -            exception.printStackTrace();
  556.93 -        }
  556.94 -        
  556.95 -
  556.96 -
  556.97 -    }
  556.98 -}
   557.1 --- a/wsdlextensions.mq/build.xml	Thu Jul 10 19:13:29 2008 +0800
   557.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   557.3 @@ -1,28 +0,0 @@
   557.4 -<?xml version="1.0" encoding="UTF-8"?>
   557.5 -
   557.6 -<!--
   557.7 - The contents of this file are subject to the terms of the Common Development
   557.8 - and Distribution License (the License). You may not use this file except in
   557.9 - compliance with the License.
  557.10 - 
  557.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  557.12 - or http://www.netbeans.org/cddl.txt.
  557.13 - 
  557.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  557.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  557.16 - If applicable, add the following below the CDDL Header, with the fields
  557.17 - enclosed by brackets [] replaced by your own identifying information:
  557.18 - "Portions Copyrighted [year] [name of copyright owner]"
  557.19 - 
  557.20 - The Original Software is NetBeans. The Initial Developer of the Original
  557.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  557.22 - Microsystems, Inc. All Rights Reserved.
  557.23 --->
  557.24 -
  557.25 -<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
  557.26 -<!-- for some information on what you could do (e.g. targets to override). -->
  557.27 -<!-- If you delete this file and reopen the project it will be recreated. -->
  557.28 -<project name="org.netbeans.modules.wsdlextensions.mq" default="netbeans" basedir=".">
  557.29 -    <description>Builds, tests, and runs the project org.netbeans.modules.wsdlextensions.mq.</description>
  557.30 -    <import file="../../nbbuild/templates/projectized.xml"/>
  557.31 -</project>
   558.1 --- a/wsdlextensions.mq/manifest.mf	Thu Jul 10 19:13:29 2008 +0800
   558.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   558.3 @@ -1,6 +0,0 @@
   558.4 -Manifest-Version: 1.0
   558.5 -OpenIDE-Module: org.netbeans.modules.wsdlextensions.mq
   558.6 -OpenIDE-Module-Layer: org/netbeans/modules/wsdlextensions/mq/resources/layer.xml
   558.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/wsdlextensions/mq/resources/Bundle.properties
   558.8 -OpenIDE-Module-Specification-Version: 1.0
   558.9 -
   559.1 --- a/wsdlextensions.mq/nbproject/genfiles.properties	Thu Jul 10 19:13:29 2008 +0800
   559.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   559.3 @@ -1,8 +0,0 @@
   559.4 -build.xml.data.CRC32=a7106222
   559.5 -build.xml.script.CRC32=9b8c49ba
   559.6 -build.xml.stylesheet.CRC32=77ef55dd
   559.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
   559.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
   559.9 -nbproject/build-impl.xml.data.CRC32=a7106222
  559.10 -nbproject/build-impl.xml.script.CRC32=843002ca
  559.11 -nbproject/build-impl.xml.stylesheet.CRC32=2607fe5f
   560.1 --- a/wsdlextensions.mq/nbproject/project.properties	Thu Jul 10 19:13:29 2008 +0800
   560.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   560.3 @@ -1,48 +0,0 @@
   560.4 -#
   560.5 -# The contents of this file are subject to the terms of the Common Development
   560.6 -# and Distribution License (the License). You may not use this file except in
   560.7 -# compliance with the License.
   560.8 -# 
   560.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  560.10 -# or http://www.netbeans.org/cddl.txt.
  560.11 -# 
  560.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  560.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  560.14 -# If applicable, add the following below the CDDL Header, with the fields
  560.15 -# enclosed by brackets [] replaced by your own identifying information:
  560.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  560.17 -# 
  560.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  560.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  560.20 -# Microsystems, Inc. All Rights Reserved.
  560.21 -#
  560.22 -
  560.23 -javac.compilerargs=-Xlint:unchecked
  560.24 -javac.source=1.5
  560.25 -test.unit.cp.extra=\
  560.26 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xdm.jar:\
  560.27 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xam.jar:\
  560.28 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-retriever.jar:\
  560.29 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-schema-model.jar:\
  560.30 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-wsdl-model.jar:\
  560.31 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor.jar:\
  560.32 -    ${netbeans.dest.dir}/platform6/lib/org-openide-modules.jar:\
  560.33 -    ${netbeans.dest.dir}/platform6/lib/org-openide-util.jar:\
  560.34 -    ${netbeans.dest.dir}/platform6/modules/org-openide-options.jar:\
  560.35 -    ${netbeans.dest.dir}/platform6/modules/org-openide-text.jar:\
  560.36 -    ${netbeans.dest.dir}/platform6/modules/org-openide-nodes.jar:\
  560.37 -    ${netbeans.dest.dir}/platform6/modules/org-openide-loaders.jar:\
  560.38 -    ${netbeans.dest.dir}/platform6/modules/org-openide-dialogs.jar:\
  560.39 -    ${netbeans.dest.dir}/platform6/modules/org-openide-windows.jar:\
  560.40 -    ${netbeans.dest.dir}/platform6/modules/org-openide-awt.jar:\
  560.41 -    ${netbeans.dest.dir}/platform6/modules/org-netbeans-modules-masterfs.jar:\
  560.42 -    ${netbeans.dest.dir}/platform6/core/org-openide-filesystems.jar:\
  560.43 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-projectapi.jar:\
  560.44 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-util.jar:\
  560.45 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-text.jar:\
  560.46 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-core.jar:\
  560.47 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-lib.jar:\
  560.48 -    ${netbeans.dest.dir}/ide7/modules/org-apache-xml-resolver.jar:\
  560.49 -    ${netbeans.dest.dir}/soa1/modules/org-netbeans-modules-wsdlextensions-mq.jar
  560.50 -
  560.51 -test.unit.run.cp=${test.unit.cp.extra}
   561.1 --- a/wsdlextensions.mq/nbproject/project.xml	Thu Jul 10 19:13:29 2008 +0800
   561.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   561.3 @@ -1,75 +0,0 @@
   561.4 -<?xml version="1.0" encoding="UTF-8"?>
   561.5 -
   561.6 -<!--
   561.7 - The contents of this file are subject to the terms of the Common Development
   561.8 - and Distribution License (the License). You may not use this file except in
   561.9 - compliance with the License.
  561.10 - 
  561.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  561.12 - or http://www.netbeans.org/cddl.txt.
  561.13 - 
  561.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  561.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  561.16 - If applicable, add the following below the CDDL Header, with the fields
  561.17 - enclosed by brackets [] replaced by your own identifying information:
  561.18 - "Portions Copyrighted [year] [name of copyright owner]"
  561.19 - 
  561.20 - The Original Software is NetBeans. The Initial Developer of the Original
  561.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  561.22 - Microsystems, Inc. All Rights Reserved.
  561.23 --->
  561.24 -
  561.25 -<project xmlns="http://www.netbeans.org/ns/project/1">
  561.26 -    <type>org.netbeans.modules.apisupport.project</type>
  561.27 -    <configuration>
  561.28 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
  561.29 -            <code-name-base>org.netbeans.modules.wsdlextensions.mq</code-name-base>
  561.30 -            <module-dependencies>
  561.31 -                <dependency>
  561.32 -                    <code-name-base>org.netbeans.modules.xml.schema.model</code-name-base>
  561.33 -                    <build-prerequisite/>
  561.34 -                    <compile-dependency/>
  561.35 -                    <run-dependency>
  561.36 -                        <release-version>1</release-version>
  561.37 -                        <specification-version>1.1.21</specification-version>
  561.38 -                    </run-dependency>
  561.39 -                </dependency>
  561.40 -                <dependency>
  561.41 -                    <code-name-base>org.netbeans.modules.xml.wsdl.model</code-name-base>
  561.42 -                    <build-prerequisite/>
  561.43 -                    <compile-dependency/>
  561.44 -                    <run-dependency>
  561.45 -                        <release-version>1</release-version>
  561.46 -                        <specification-version>1.1.21</specification-version>
  561.47 -                    </run-dependency>
  561.48 -                </dependency>
  561.49 -                <dependency>
  561.50 -                    <code-name-base>org.netbeans.modules.xml.wsdl.bindingsupport.api</code-name-base>
  561.51 -                    <build-prerequisite/>
  561.52 -                    <compile-dependency/>
  561.53 -                    <run-dependency>
  561.54 -                        <specification-version>1.0</specification-version>
  561.55 -                    </run-dependency>
  561.56 -                </dependency>
  561.57 -                <dependency>
  561.58 -                    <code-name-base>org.netbeans.modules.xml.xam</code-name-base>
  561.59 -                    <build-prerequisite/>
  561.60 -                    <compile-dependency/>
  561.61 -                    <run-dependency>
  561.62 -                        <release-version>1</release-version>
  561.63 -                        <specification-version>1.1.21</specification-version>
  561.64 -                    </run-dependency>
  561.65 -                </dependency>
  561.66 -                <dependency>
  561.67 -                    <code-name-base>org.openide.util</code-name-base>
  561.68 -                    <build-prerequisite/>
  561.69 -                    <compile-dependency/>
  561.70 -                    <run-dependency>
  561.71 -                        <specification-version>6.8.22</specification-version>
  561.72 -                    </run-dependency>
  561.73 -                </dependency>
  561.74 -            </module-dependencies>
  561.75 -            <public-packages/>
  561.76 -        </data>
  561.77 -    </configuration>
  561.78 -</project>
   562.1 --- a/wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider	Thu Jul 10 19:13:29 2008 +0800
   562.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   562.3 @@ -1,1 +0,0 @@
   562.4 -org.netbeans.modules.wsdlextensions.mq.template.MQTemplateProvider
   562.5 \ No newline at end of file
   563.1 --- a/wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory	Thu Jul 10 19:13:29 2008 +0800
   563.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   563.3 @@ -1,6 +0,0 @@
   563.4 -org.netbeans.modules.wsdlextensions.mq.impl.MQElementFactoryProvider$BindingFactory
   563.5 -org.netbeans.modules.wsdlextensions.mq.impl.MQElementFactoryProvider$OperationFactory
   563.6 -org.netbeans.modules.wsdlextensions.mq.impl.MQElementFactoryProvider$AddressFactory
   563.7 -org.netbeans.modules.wsdlextensions.mq.impl.MQElementFactoryProvider$BodyFactory
   563.8 -
   563.9 -
   564.1 --- a/wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory	Thu Jul 10 19:13:29 2008 +0800
   564.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   564.3 @@ -1,1 +0,0 @@
   564.4 -org.netbeans.modules.wsdlextensions.mq.validator.MQValidatorSchemaFactory
   564.5 \ No newline at end of file
   565.1 --- a/wsdlextensions.mq/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator	Thu Jul 10 19:13:29 2008 +0800
   565.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   565.3 @@ -1,2 +0,0 @@
   565.4 -org.netbeans.modules.wsdlextensions.mq.validator.MQComponentValidator
   565.5 -
   566.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQAddress.java	Thu Jul 10 19:13:29 2008 +0800
   566.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   566.3 @@ -1,47 +0,0 @@
   566.4 -/*
   566.5 - * The contents of this file are subject to the terms of the Common Development
   566.6 - * and Distribution License (the License). You may not use this file except in
   566.7 - * compliance with the License.
   566.8 - * 
   566.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  566.10 - * or http://www.netbeans.org/cddl.txt.
  566.11 - * 
  566.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  566.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  566.14 - * If applicable, add the following below the CDDL Header, with the fields
  566.15 - * enclosed by brackets [] replaced by your own identifying information:
  566.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  566.17 - * 
  566.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  566.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  566.20 - * Microsystems, Inc. All Rights Reserved.
  566.21 - */
  566.22 -
  566.23 -/*
  566.24 - * MQAddress.java
  566.25 - *
  566.26 - * Created on December 14, 2006, 12:27 PM
  566.27 - *
  566.28 - * To change this template, choose Tools | Template Manager
  566.29 - * and open the template in the editor.
  566.30 - */
  566.31 -
  566.32 -package org.netbeans.modules.wsdlextensions.mq;
  566.33 -
  566.34 -/**
  566.35 - *
  566.36 - * @author rchen
  566.37 - */
  566.38 -public interface MQAddress extends MQComponent {
  566.39 -    
  566.40 -    public static final String ATTR_QUEUEMANAGERNAME = "queueManagerName";
  566.41 -    public static final String ATTR_HOSTNAME = "hostName";
  566.42 -    
  566.43 -    
  566.44 -    public String getQueueManagerName();
  566.45 -    public void setQueueManagerName(String val);
  566.46 -    
  566.47 -      public String getHostName();
  566.48 -    public void setHostName(String val);
  566.49 -    
  566.50 -}
   567.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQBinding.java	Thu Jul 10 19:13:29 2008 +0800
   567.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   567.3 @@ -1,28 +0,0 @@
   567.4 -/*
   567.5 - * The contents of this file are subject to the terms of the Common Development
   567.6 - * and Distribution License (the License). You may not use this file except in
   567.7 - * compliance with the License.
   567.8 - * 
   567.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  567.10 - * or http://www.netbeans.org/cddl.txt.
  567.11 - * 
  567.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  567.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  567.14 - * If applicable, add the following below the CDDL Header, with the fields
  567.15 - * enclosed by brackets [] replaced by your own identifying information:
  567.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  567.17 - * 
  567.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  567.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  567.20 - * Microsystems, Inc. All Rights Reserved.
  567.21 - */
  567.22 -
  567.23 -package org.netbeans.modules.wsdlextensions.mq;
  567.24 -
  567.25 -/**
  567.26 - *
  567.27 - * @author rchen
  567.28 - */
  567.29 -public interface MQBinding extends MQComponent {
  567.30 -    
  567.31 -}
   568.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQBody.java	Thu Jul 10 19:13:29 2008 +0800
   568.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   568.3 @@ -1,59 +0,0 @@
   568.4 -/*
   568.5 - * The contents of this file are subject to the terms of the Common Development
   568.6 - * and Distribution License (the License). You may not use this file except in
   568.7 - * compliance with the License.
   568.8 - * 
   568.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  568.10 - * or http://www.netbeans.org/cddl.txt.
  568.11 - * 
  568.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  568.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  568.14 - * If applicable, add the following below the CDDL Header, with the fields
  568.15 - * enclosed by brackets [] replaced by your own identifying information:
  568.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  568.17 - * 
  568.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  568.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  568.20 - * Microsystems, Inc. All Rights Reserved.
  568.21 - */
  568.22 -
  568.23 -/*
  568.24 - * MQBODY.java
  568.25 - *
  568.26 - * Created on December 14, 2006, 2:32 PM
  568.27 - *
  568.28 - * To change this template, choose Tools | Template Manager
  568.29 - * and open the template in the editor.
  568.30 - */
  568.31 -
  568.32 -package org.netbeans.modules.wsdlextensions.mq;
  568.33 -
  568.34 -/**
  568.35 - *
  568.36 - * @author rchen
  568.37 - */
  568.38 -public interface MQBody extends MQComponent {
  568.39 -    public static final String ATTR_MESSAGE_TYPE = "MessageType";
  568.40 -    public static final String TEXT_MESSAGE = "TextMessage";
  568.41 -    public static final String BYTE_MESSAGE = "ByteMessage";
  568.42 -    
  568.43 -    public static final String ATTR_MESSAGEBODY = "MessageBody";
  568.44 -    
  568.45 -    public static final String ATTR_ENCODING_STYLE = "encodingStyle";
  568.46 -    
  568.47 -    public static final String ATTR_USE = "use";
  568.48 -    public static final String ATTR_USE_TYPE_LITERAL = "literal";
  568.49 -    public static final String ATTR_USE_TYPE_ENCODED = "encoded";
  568.50 -    
  568.51 -    public String getMessageType();
  568.52 -    public void setMessageType(String val);
  568.53 -    
  568.54 -    public String getUse();
  568.55 -    public void setUse(String val);
  568.56 -    
  568.57 -     public String getMessageBodyPart();
  568.58 -    public void setMessageBodyPart(String val);
  568.59 -    
  568.60 -    
  568.61 -    
  568.62 -}
   569.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQComponent.java	Thu Jul 10 19:13:29 2008 +0800
   569.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   569.3 @@ -1,41 +0,0 @@
   569.4 -/*
   569.5 - * The contents of this file are subject to the terms of the Common Development
   569.6 - * and Distribution License (the License). You may not use this file except in
   569.7 - * compliance with the License.
   569.8 - * 
   569.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  569.10 - * or http://www.netbeans.org/cddl.txt.
  569.11 - * 
  569.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  569.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  569.14 - * If applicable, add the following below the CDDL Header, with the fields
  569.15 - * enclosed by brackets [] replaced by your own identifying information:
  569.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  569.17 - * 
  569.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  569.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  569.20 - * Microsystems, Inc. All Rights Reserved.
  569.21 - */
  569.22 -package org.netbeans.modules.wsdlextensions.mq;
  569.23 -
  569.24 -import org.netbeans.modules.xml.wsdl.model.ExtensibilityElement;
  569.25 -
  569.26 -/**
  569.27 - *
  569.28 - * @author rchen
  569.29 - */
  569.30 -public interface MQComponent extends ExtensibilityElement {
  569.31 -    
  569.32 -     public interface Visitor {
  569.33 -        void visit(MQAddress target);
  569.34 -        void visit(MQBinding target);
  569.35 -        void visit(MQOperation target);
  569.36 -        //void visit(FTPTransfer target);
  569.37 -        void visit(MQBody target);
  569.38 -        //void visit(FTPMessageActivePassive target);
  569.39 -    }
  569.40 -    
  569.41 -    void accept(Visitor visitor);
  569.42 -     
  569.43 -    
  569.44 -}
   570.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQOperation.java	Thu Jul 10 19:13:29 2008 +0800
   570.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   570.3 @@ -1,50 +0,0 @@
   570.4 -/*
   570.5 - * The contents of this file are subject to the terms of the Common Development
   570.6 - * and Distribution License (the License). You may not use this file except in
   570.7 - * compliance with the License.
   570.8 - * 
   570.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  570.10 - * or http://www.netbeans.org/cddl.txt.
  570.11 - * 
  570.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  570.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  570.14 - * If applicable, add the following below the CDDL Header, with the fields
  570.15 - * enclosed by brackets [] replaced by your own identifying information:
  570.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  570.17 - * 
  570.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  570.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  570.20 - * Microsystems, Inc. All Rights Reserved.
  570.21 - */
  570.22 -
  570.23 -/*
  570.24 - * MQOperation.java
  570.25 - *
  570.26 - * Created on December 14, 2006, 11:22 AM
  570.27 - *
  570.28 - * To change this template, choose Tools | Template Manager
  570.29 - * and open the template in the editor.
  570.30 - */
  570.31 -
  570.32 -package org.netbeans.modules.wsdlextensions.mq;
  570.33 -
  570.34 -
  570.35 -
  570.36 -/**
  570.37 - *
  570.38 - * @author rchen
  570.39 - */
  570.40 -public interface MQOperation extends MQComponent {
  570.41 -    public static final String IN_ONLY = "http://www.w3.org/2004/08/wsdl/in-only";
  570.42 -    
  570.43 -    // common
  570.44 -    public static final String ATTR_QUEUENAME = "queueName";
  570.45 -    public static final String ATTR_TRANSACTION = "transaction";
  570.46 -    
  570.47 -    public String getQueueName();
  570.48 -    public void setQueueName(String val);
  570.49 -    
  570.50 -    public String getTransaction();
  570.51 -    public void setTransaction(String val);
  570.52 -    
  570.53 -}
   571.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/MQQName.java	Thu Jul 10 19:13:29 2008 +0800
   571.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   571.3 @@ -1,68 +0,0 @@
   571.4 -/*
   571.5 - * The contents of this file are subject to the terms of the Common Development
   571.6 - * and Distribution License (the License). You may not use this file except in
   571.7 - * compliance with the License.
   571.8 - * 
   571.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  571.10 - * or http://www.netbeans.org/cddl.txt.
  571.11 - * 
  571.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  571.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  571.14 - * If applicable, add the following below the CDDL Header, with the fields
  571.15 - * enclosed by brackets [] replaced by your own identifying information:
  571.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  571.17 - * 
  571.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  571.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  571.20 - * Microsystems, Inc. All Rights Reserved.
  571.21 - */
  571.22 -
  571.23 -package org.netbeans.modules.wsdlextensions.mq;
  571.24 -
  571.25 -import java.util.HashSet;
  571.26 -import java.util.Set;
  571.27 -import javax.xml.namespace.QName;
  571.28 -
  571.29 -/**
  571.30 - *
  571.31 - * @author rchen
  571.32 - */
  571.33 -public enum MQQName {
  571.34 -    ADDRESS(createMQQName("address")),
  571.35 -    BINDING(createMQQName("binding")),
  571.36 -    OPERATION(createMQQName("operation")),
  571.37 -    BODY(createMQQName("body")),
  571.38 -    HEADER(createMQQName("header"));
  571.39 -    
  571.40 -   
  571.41 -    
  571.42 -    public static final String MQ_NS_URI = "http://schemas.sun.com/jbi/wsdl-extensions/mq/";
  571.43 -    public static final String MQ_NS_PREFIX = "mq";
  571.44 -    
  571.45 -     public static QName createMQQName(String localName){
  571.46 -        return new QName(MQ_NS_URI, localName, MQ_NS_PREFIX);
  571.47 -    }
  571.48 -    
  571.49 -    
  571.50 -    /** Creates a new instance of MQQName */
  571.51 -   MQQName(QName name) {
  571.52 -        qName = name;
  571.53 -    }
  571.54 -    
  571.55 -    public QName getQName(){
  571.56 -        return qName;
  571.57 -    }
  571.58 -    
  571.59 -    private static Set<QName> qnames = null;
  571.60 -    public static Set<QName> getQNames() {
  571.61 -        if (qnames == null) {
  571.62 -            qnames = new HashSet<QName>();
  571.63 -            for (MQQName wq : values()) {
  571.64 -                qnames.add(wq.getQName());
  571.65 -            }
  571.66 -        }
  571.67 -        return qnames;
  571.68 -    }
  571.69 -    
  571.70 -     private final QName qName;
  571.71 -}
   572.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQAddressImpl.java	Thu Jul 10 19:13:29 2008 +0800
   572.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   572.3 @@ -1,74 +0,0 @@
   572.4 -/*
   572.5 - * The contents of this file are subject to the terms of the Common Development
   572.6 - * and Distribution License (the License). You may not use this file except in
   572.7 - * compliance with the License.
   572.8 - * 
   572.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  572.10 - * or http://www.netbeans.org/cddl.txt.
  572.11 - * 
  572.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  572.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  572.14 - * If applicable, add the following below the CDDL Header, with the fields
  572.15 - * enclosed by brackets [] replaced by your own identifying information:
  572.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  572.17 - * 
  572.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  572.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  572.20 - * Microsystems, Inc. All Rights Reserved.
  572.21 - */
  572.22 -
  572.23 -/*
  572.24 - * MQAddressImpl.java
  572.25 - *
  572.26 - * Created on December 14, 2006, 12:27 PM
  572.27 - *
  572.28 - * To change this template, choose Tools | Template Manager
  572.29 - * and open the template in the editor.
  572.30 - */
  572.31 -
  572.32 -package org.netbeans.modules.wsdlextensions.mq.impl;
  572.33 -
  572.34 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  572.35 -import org.netbeans.modules.wsdlextensions.mq.MQAddress;
  572.36 -import org.netbeans.modules.wsdlextensions.mq.MQComponent;
  572.37 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  572.38 -import org.w3c.dom.Element;
  572.39 -
  572.40 -
  572.41 -/**
  572.42 - *
  572.43 - * @author rchen
  572.44 - */
  572.45 -public class MQAddressImpl extends MQComponentImpl implements MQAddress {
  572.46 -    
  572.47 -    /** Creates a new instance of MQAddressImpl */
  572.48 -    public MQAddressImpl(WSDLModel model, Element e) {
  572.49 -        super(model, e);
  572.50 -    }
  572.51 -    
  572.52 -    public MQAddressImpl(WSDLModel model){
  572.53 -        this(model, createPrefixedElement(MQQName.ADDRESS.getQName(), model));
  572.54 -    }
  572.55 -    
  572.56 -    public void accept(MQComponent.Visitor visitor) {
  572.57 -        visitor.visit(this);
  572.58 -    }
  572.59 -    
  572.60 -    public String getQueueManagerName() {
  572.61 -        return getAttribute(MQAttribute.MQ_ADDRESS_QUEUEMANAGERNAME);
  572.62 -    }
  572.63 -    public void setQueueManagerName(String val) {
  572.64 -        setAttribute(MQAddress.ATTR_QUEUEMANAGERNAME,
  572.65 -                MQAttribute.MQ_ADDRESS_QUEUEMANAGERNAME,
  572.66 -                val);
  572.67 -    }
  572.68 -    
  572.69 -    public String getHostName() {
  572.70 -        return getAttribute(MQAttribute.MQ_ADDRESS_HOSTNAME);
  572.71 -    }
  572.72 -    public void setHostName(String val) {
  572.73 -        setAttribute(MQAddress.ATTR_HOSTNAME,
  572.74 -                MQAttribute.MQ_ADDRESS_HOSTNAME,
  572.75 -                val);
  572.76 -    }
  572.77 -}
   573.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQAttribute.java	Thu Jul 10 19:13:29 2008 +0800
   573.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   573.3 @@ -1,83 +0,0 @@
   573.4 -/*
   573.5 - * The contents of this file are subject to the terms of the Common Development
   573.6 - * and Distribution License (the License). You may not use this file except in
   573.7 - * compliance with the License.
   573.8 - * 
   573.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  573.10 - * or http://www.netbeans.org/cddl.txt.
  573.11 - * 
  573.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  573.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  573.14 - * If applicable, add the following below the CDDL Header, with the fields
  573.15 - * enclosed by brackets [] replaced by your own identifying information:
  573.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  573.17 - * 
  573.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  573.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  573.20 - * Microsystems, Inc. All Rights Reserved.
  573.21 - */
  573.22 -
  573.23 -/*
  573.24 - * MQAttribute.java
  573.25 - *
  573.26 - * Created on December 14, 2006, 3:01 PM
  573.27 - *
  573.28 - * To change this template, choose Tools | Template Manager
  573.29 - * and open the template in the editor.
  573.30 - */
  573.31 -
  573.32 -package org.netbeans.modules.wsdlextensions.mq.impl;
  573.33 -
  573.34 -import java.util.Collection;
  573.35 -import org.netbeans.modules.xml.xam.dom.Attribute;
  573.36 -
  573.37 -import org.netbeans.modules.wsdlextensions.mq.MQAddress;
  573.38 -import org.netbeans.modules.wsdlextensions.mq.MQBody;
  573.39 -import org.netbeans.modules.wsdlextensions.mq.MQOperation;
  573.40 -
  573.41 -
  573.42 -
  573.43 -/**
  573.44 - *
  573.45 - * @author rchen
  573.46 - */
  573.47 -public enum MQAttribute implements Attribute {
  573.48 -    
  573.49 -    MQ_OPERATION_QUEUENAME(MQOperation.ATTR_QUEUENAME),
  573.50 -    MQ_OPERATION_TRANSACTION(MQOperation.ATTR_TRANSACTION),
  573.51 -    MQ_MESSAGE_MESSAGE_TYPE(MQBody.ATTR_MESSAGE_TYPE),
  573.52 -    MQ_MESSAGE_USE(MQBody.ATTR_USE),
  573.53 -    MQ_MESSAGEBODY_PART(MQBody.ATTR_MESSAGEBODY),
  573.54 -    MQ_ADDRESS_QUEUEMANAGERNAME(MQAddress.ATTR_QUEUEMANAGERNAME),
  573.55 -    MQ_ADDRESS_HOSTNAME(MQAddress.ATTR_HOSTNAME);
  573.56 -    
  573.57 -    private String name;
  573.58 -    
  573.59 -    private Class type;
  573.60 -    private Class subtype;
  573.61 -    
  573.62 -    
  573.63 -    MQAttribute(String name) {
  573.64 -        this(name, String.class);
  573.65 -    }
  573.66 -    
  573.67 -    MQAttribute(String name, Class type) {
  573.68 -        this(name, type, null);
  573.69 -    }
  573.70 -    
  573.71 -    MQAttribute(String name, Class type, Class subtype) {
  573.72 -        this.name = name;
  573.73 -        this.type = type;
  573.74 -        this.subtype = subtype;
  573.75 -    }
  573.76 -    
  573.77 -    public String toString() { return name; }
  573.78 -    
  573.79 -    public Class getType() {
  573.80 -        return type;
  573.81 -    }
  573.82 -    
  573.83 -    public String getName() { return name; }
  573.84 -    
  573.85 -    public Class getMemberType() { return subtype; }
  573.86 -}
   574.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQBindingImpl.java	Thu Jul 10 19:13:29 2008 +0800
   574.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   574.3 @@ -1,48 +0,0 @@
   574.4 -/*
   574.5 - * The contents of this file are subject to the terms of the Common Development
   574.6 - * and Distribution License (the License). You may not use this file except in
   574.7 - * compliance with the License.
   574.8 - * 
   574.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  574.10 - * or http://www.netbeans.org/cddl.txt.
  574.11 - * 
  574.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  574.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  574.14 - * If applicable, add the following below the CDDL Header, with the fields
  574.15 - * enclosed by brackets [] replaced by your own identifying information:
  574.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  574.17 - * 
  574.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  574.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  574.20 - * Microsystems, Inc. All Rights Reserved.
  574.21 - */
  574.22 -
  574.23 -package org.netbeans.modules.wsdlextensions.mq.impl;
  574.24 -
  574.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  574.26 -import org.netbeans.modules.wsdlextensions.mq.MQBinding;
  574.27 -import org.netbeans.modules.wsdlextensions.mq.MQComponent;
  574.28 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  574.29 -import org.w3c.dom.Element;
  574.30 -
  574.31 -
  574.32 -/**
  574.33 - *
  574.34 - * @author rchen
  574.35 - */
  574.36 -public class MQBindingImpl extends MQComponentImpl implements MQBinding {
  574.37 -    
  574.38 -    /** Creates a new instance of MQBindingImpl */
  574.39 -    public MQBindingImpl(WSDLModel model, Element e) {
  574.40 -        super(model, e);
  574.41 -    }
  574.42 -    
  574.43 -      public MQBindingImpl(WSDLModel model){
  574.44 -        this(model, createPrefixedElement(MQQName.BINDING.getQName(), model));
  574.45 -    }
  574.46 -      
  574.47 -       public void accept(MQComponent.Visitor visitor) {
  574.48 -        visitor.visit(this);
  574.49 -    }
  574.50 -    
  574.51 -}
   575.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQBodyImpl.java	Thu Jul 10 19:13:29 2008 +0800
   575.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   575.3 @@ -1,91 +0,0 @@
   575.4 -/*
   575.5 - * The contents of this file are subject to the terms of the Common Development
   575.6 - * and Distribution License (the License). You may not use this file except in
   575.7 - * compliance with the License.
   575.8 - * 
   575.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  575.10 - * or http://www.netbeans.org/cddl.txt.
  575.11 - * 
  575.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  575.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  575.14 - * If applicable, add the following below the CDDL Header, with the fields
  575.15 - * enclosed by brackets [] replaced by your own identifying information:
  575.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  575.17 - * 
  575.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  575.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  575.20 - * Microsystems, Inc. All Rights Reserved.
  575.21 - */
  575.22 -
  575.23 -/*
  575.24 - * MQBodyImpl.java
  575.25 - *
  575.26 - * Created on December 14, 2006, 2:34 PM
  575.27 - *
  575.28 - * To change this template, choose Tools | Template Manager
  575.29 - * and open the template in the editor.
  575.30 - */
  575.31 -
  575.32 -package org.netbeans.modules.wsdlextensions.mq.impl;
  575.33 -
  575.34 -import java.util.Collection;
  575.35 -import org.netbeans.modules.xml.wsdl.model.Binding;
  575.36 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  575.37 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  575.38 -import org.netbeans.modules.wsdlextensions.mq.MQBinding;
  575.39 -import org.netbeans.modules.wsdlextensions.mq.MQBody;
  575.40 -import org.netbeans.modules.wsdlextensions.mq.MQOperation;
  575.41 -import org.netbeans.modules.wsdlextensions.mq.MQComponent;
  575.42 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  575.43 -import org.w3c.dom.Element;
  575.44 -
  575.45 -
  575.46 -/**
  575.47 - *
  575.48 - * @author rchen
  575.49 - */
  575.50 -public class MQBodyImpl extends MQComponentImpl implements MQBody {
  575.51 -    
  575.52 -    /** Creates a new instance of MQBodyImpl */
  575.53 -     public MQBodyImpl(WSDLModel model, Element e) {
  575.54 -        super(model, e);
  575.55 -    }
  575.56 -    
  575.57 -     public MQBodyImpl(WSDLModel model){
  575.58 -        this(model, createPrefixedElement(MQQName.BODY.getQName(), model));
  575.59 -    }
  575.60 -    
  575.61 -    public void accept(MQComponent.Visitor visitor) {
  575.62 -        visitor.visit(this);
  575.63 -    }
  575.64 -    
  575.65 -     public String getMessageType() {
  575.66 -        return getAttribute(MQAttribute.MQ_MESSAGE_MESSAGE_TYPE);        
  575.67 -    }
  575.68 -    
  575.69 -    public void setMessageType(String val) {
  575.70 -        setAttribute(MQBody.ATTR_MESSAGE_TYPE, 
  575.71 -                     MQAttribute.MQ_MESSAGE_MESSAGE_TYPE,
  575.72 -                     val);        
  575.73 -    }
  575.74 -    
  575.75 -     public String getUse() {
  575.76 -          return getAttribute(MQAttribute.MQ_MESSAGE_USE);      
  575.77 -     }
  575.78 -     
  575.79 -    public void setUse(String val) {
  575.80 -         setAttribute(MQBody.ATTR_USE, 
  575.81 -                     MQAttribute.MQ_MESSAGE_USE,
  575.82 -                     val);    
  575.83 -    }
  575.84 -    
  575.85 -      public String getMessageBodyPart()
  575.86 -      {
  575.87 -           return getAttribute(MQAttribute.MQ_MESSAGEBODY_PART);    
  575.88 -      }
  575.89 -    public void setMessageBodyPart(String val){
  575.90 -         setAttribute(MQBody.ATTR_MESSAGEBODY, 
  575.91 -                     MQAttribute.MQ_MESSAGEBODY_PART,
  575.92 -                     val);   
  575.93 -    }
  575.94 -}
   576.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQComponentImpl.java	Thu Jul 10 19:13:29 2008 +0800
   576.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   576.3 @@ -1,45 +0,0 @@
   576.4 -/*
   576.5 - * The contents of this file are subject to the terms of the Common Development
   576.6 - * and Distribution License (the License). You may not use this file except in
   576.7 - * compliance with the License.
   576.8 - * 
   576.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  576.10 - * or http://www.netbeans.org/cddl.txt.
  576.11 - * 
  576.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  576.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  576.14 - * If applicable, add the following below the CDDL Header, with the fields
  576.15 - * enclosed by brackets [] replaced by your own identifying information:
  576.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  576.17 - * 
  576.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  576.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  576.20 - * Microsystems, Inc. All Rights Reserved.
  576.21 - */
  576.22 -
  576.23 -package org.netbeans.modules.wsdlextensions.mq.impl;
  576.24 -
  576.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  576.26 -import org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement;
  576.27 -import org.w3c.dom.Element;
  576.28 -
  576.29 -import org.netbeans.modules.wsdlextensions.mq.MQComponent;
  576.30 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  576.31 -
  576.32 -
  576.33 -
  576.34 -/**
  576.35 - *
  576.36 - * @author rchen
  576.37 - */
  576.38 -public abstract class MQComponentImpl extends GenericExtensibilityElement implements MQComponent {
  576.39 -    
  576.40 -    /** Creates a new instance of MQComponentImpl */
  576.41 -    public MQComponentImpl(WSDLModel model, Element e) {
  576.42 -         super(model, e);
  576.43 -    }
  576.44 -    
  576.45 -     protected String getNamespaceURI() {
  576.46 -        return MQQName.MQ_NS_URI;
  576.47 -    }
  576.48 -}
   577.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQElementFactoryProvider.java	Thu Jul 10 19:13:29 2008 +0800
   577.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   577.3 @@ -1,74 +0,0 @@
   577.4 -/*
   577.5 - * The contents of this file are subject to the terms of the Common Development
   577.6 - * and Distribution License (the License). You may not use this file except in
   577.7 - * compliance with the License.
   577.8 - * 
   577.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  577.10 - * or http://www.netbeans.org/cddl.txt.
  577.11 - * 
  577.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  577.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  577.14 - * If applicable, add the following below the CDDL Header, with the fields
  577.15 - * enclosed by brackets [] replaced by your own identifying information:
  577.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  577.17 - * 
  577.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  577.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  577.20 - * Microsystems, Inc. All Rights Reserved.
  577.21 - */
  577.22 -
  577.23 -package org.netbeans.modules.wsdlextensions.mq.impl;
  577.24 -
  577.25 -import java.util.ArrayList;
  577.26 -import java.util.Collection;
  577.27 -import java.util.Collections;
  577.28 -import java.util.Set;
  577.29 -import javax.xml.namespace.QName;
  577.30 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  577.31 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  577.32 -import org.netbeans.modules.xml.wsdl.model.spi.ElementFactory;
  577.33 -import org.w3c.dom.Element;
  577.34 -
  577.35 -/**
  577.36 - * JMSElementFactoryProvider 
  577.37 - */
  577.38 -public class MQElementFactoryProvider {
  577.39 -    
  577.40 -    public static class BindingFactory extends ElementFactory {
  577.41 -        public Set<QName> getElementQNames() {
  577.42 -            return Collections.singleton(MQQName.BINDING.getQName());
  577.43 -        }
  577.44 -        public WSDLComponent create(WSDLComponent context, Element element) {
  577.45 -            return new MQBindingImpl(context.getModel(), element);
  577.46 -        }
  577.47 -    }
  577.48 -
  577.49 -     public static class OperationFactory extends ElementFactory{
  577.50 -        public Set<QName> getElementQNames() {
  577.51 -            return Collections.singleton(MQQName.OPERATION.getQName());
  577.52 -        }
  577.53 -        public WSDLComponent create(WSDLComponent context, Element element) {
  577.54 -            return new MQOperationImpl(context.getModel(), element);
  577.55 -        }
  577.56 -    }
  577.57 -     
  577.58 -      public static class AddressFactory extends ElementFactory{
  577.59 -        public Set<QName> getElementQNames() {
  577.60 -            return Collections.singleton(MQQName.ADDRESS.getQName());
  577.61 -        }
  577.62 -        public WSDLComponent create(WSDLComponent context, Element element) {
  577.63 -            return new MQAddressImpl(context.getModel(), element);
  577.64 -        }
  577.65 -    }
  577.66 -      
  577.67 -       public static class BodyFactory extends ElementFactory{
  577.68 -        public Set<QName> getElementQNames() {
  577.69 -            return Collections.singleton(MQQName.BODY.getQName());
  577.70 -        }
  577.71 -        public WSDLComponent create(WSDLComponent context, Element element) {
  577.72 -            return new MQBodyImpl(context.getModel(), element);
  577.73 -        }
  577.74 -    }
  577.75 -   
  577.76 -    
  577.77 -}
   578.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/impl/MQOperationImpl.java	Thu Jul 10 19:13:29 2008 +0800
   578.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   578.3 @@ -1,77 +0,0 @@
   578.4 -/*
   578.5 - * The contents of this file are subject to the terms of the Common Development
   578.6 - * and Distribution License (the License). You may not use this file except in
   578.7 - * compliance with the License.
   578.8 - * 
   578.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  578.10 - * or http://www.netbeans.org/cddl.txt.
  578.11 - * 
  578.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  578.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  578.14 - * If applicable, add the following below the CDDL Header, with the fields
  578.15 - * enclosed by brackets [] replaced by your own identifying information:
  578.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  578.17 - * 
  578.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  578.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  578.20 - * Microsystems, Inc. All Rights Reserved.
  578.21 - */
  578.22 -
  578.23 -/*
  578.24 - * MQOperationImpl.java
  578.25 - *
  578.26 - * Created on December 14, 2006, 11:23 AM
  578.27 - *
  578.28 - * To change this template, choose Tools | Template Manager
  578.29 - * and open the template in the editor.
  578.30 - */
  578.31 -
  578.32 -package org.netbeans.modules.wsdlextensions.mq.impl;
  578.33 -
  578.34 -import java.util.Collection;
  578.35 -import org.netbeans.modules.xml.wsdl.model.Binding;
  578.36 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  578.37 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  578.38 -import org.netbeans.modules.wsdlextensions.mq.MQBinding;
  578.39 -import org.netbeans.modules.wsdlextensions.mq.MQOperation;
  578.40 -import org.netbeans.modules.wsdlextensions.mq.MQComponent;
  578.41 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  578.42 -import org.w3c.dom.Element;
  578.43 -
  578.44 -/**
  578.45 - *
  578.46 - * @author rulong.chen@sun.com
  578.47 - */
  578.48 -public class MQOperationImpl extends MQComponentImpl implements MQOperation {
  578.49 -    
  578.50 -    /** Creates a new instance of MQOperationImpl */
  578.51 -    public MQOperationImpl(WSDLModel model, Element e) {
  578.52 -        super(model, e);
  578.53 -    }
  578.54 -    public MQOperationImpl(WSDLModel model){
  578.55 -        this(model, createPrefixedElement(MQQName.OPERATION.getQName(), model));
  578.56 -    }
  578.57 -    
  578.58 -    public void accept(MQComponent.Visitor visitor) {
  578.59 -        visitor.visit(this);
  578.60 -    }
  578.61 -    
  578.62 -    public String getQueueName() {
  578.63 -        return getAttribute(MQAttribute.MQ_OPERATION_QUEUENAME);
  578.64 -    }
  578.65 -    public void setQueueName(String val) {
  578.66 -        setAttribute(MQOperation.ATTR_QUEUENAME,
  578.67 -                MQAttribute.MQ_OPERATION_QUEUENAME,
  578.68 -                val);
  578.69 -    }
  578.70 -    
  578.71 -    public String getTransaction() {
  578.72 -        return getAttribute(MQAttribute.MQ_OPERATION_TRANSACTION);
  578.73 -    }
  578.74 -    
  578.75 -    public void setTransaction(String val) {
  578.76 -        setAttribute(MQOperation.ATTR_TRANSACTION,
  578.77 -                MQAttribute.MQ_OPERATION_TRANSACTION,
  578.78 -                val);
  578.79 -    }
  578.80 -}
   579.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   579.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   579.3 @@ -1,52 +0,0 @@
   579.4 -
   579.5 -#
   579.6 -# The contents of this file are subject to the terms of the Common Development
   579.7 -# and Distribution License (the License). You may not use this file except in
   579.8 -# compliance with the License.
   579.9 -# 
  579.10 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  579.11 -# or http://www.netbeans.org/cddl.txt.
  579.12 -# 
  579.13 -# When distributing Covered Code, include this CDDL Header Notice in each file
  579.14 -# and include the License file at http://www.netbeans.org/cddl.txt.
  579.15 -# If applicable, add the following below the CDDL Header, with the fields
  579.16 -# enclosed by brackets [] replaced by your own identifying information:
  579.17 -# "Portions Copyrighted [year] [name of copyright owner]"
  579.18 -# 
  579.19 -# The Original Software is NetBeans. The Initial Developer of the Original
  579.20 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  579.21 -# Microsystems, Inc. All Rights Reserved.
  579.22 -#
  579.23 -
  579.24 -OpenIDE-Module-Name=MQ WSDL Extension
  579.25 -OpenIDE-Module-Short-Description=MQ Extension for WSDL Editor
  579.26 -OpenIDE-Module-Long-Description=\
  579.27 -    Websphere MQ WSDL editor extension
  579.28 -OpenIDE-Module-Display-Category=CAPS
  579.29 -WSDLEditor/Binding/MQBinding= MQ Binding
  579.30 -WSDLEditor/BindingOperation/MQBindingOperation= MQ Operation
  579.31 -WSDLEditor/BindingOperationInput/MQBindingOperationInput= MQ Operation Input
  579.32 -WSDLEditor/BindingOperationOutput/MQBindingOperationOutput= MQ Operation Output
  579.33 -WSDLEditor/ServicePort/MQServicePort= MQ Queue Manager Address
  579.34 -DESC_Element_binding="binding" indicates a websphere mq  protocol based binding.
  579.35 -DESC_Element_operation="operation" indicates a mq protocol based operation.
  579.36 -DESC_ComplexType_tOperation="operation" defines the websphere mq protocol based operation binding details..
  579.37 -DESC_Attribute_queueName=The name of the queue manager to which to put message
  579.38 -DESC_Attribute_queueOpenOptions=Queue Open Options
  579.39 -DESC_Attribute_transaction=Tranction type
  579.40 -DESC_Attribute_pollingInterval=Defines the polling interval that MQ Binding Component searches for queue message in the specified queue.  The polling interval is specified in milliseconds and has a default value of 1000ms. This attribute has no effect for mqput.
  579.41 -DESC_Element_input="input" indicates a put protocol based operation input.
  579.42 -DESC_Element_body="Message body" indicates a input part.
  579.43 -DESC_Attribute_MessageBody=documentation needed
  579.44 -DESC_Attribute_MessageType=documentation needed
  579.45 -DESC_Attribute_SyncPoint=documentation needed
  579.46 -DESC_Element_header="messageheader" indicates a output part.
  579.47 -DESC_Attribute_parts=The name of the message header
  579.48 -DESC_Element_address="address" indicates a mq protocol based service address.
  579.49 -DESC_Attribute_hostName=The name of the machine where the q manager resides..
  579.50 -DESC_Attribute_portNumber=The listening port number on which the queue manager is bound
  579.51 -DESC_Attribute_queueManagerName=The name of the queue manager to which this bc will connect
  579.52 -DESC_Attribute_channelName=The name of the channel used
  579.53 -DESC_Attribute_codedCharacterSetID=Coded Character Set ID
  579.54 -DESC_Attribute_userID=User ID.
  579.55 -DESC_Attribute_password=The password to use to connect to the mq.
   580.1 Binary file wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/End_16.png has changed
   581.1 Binary file wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/Start_16.png has changed
   582.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/layer.xml	Thu Jul 10 19:13:29 2008 +0800
   582.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   582.3 @@ -1,85 +0,0 @@
   582.4 -<?xml version="1.0" encoding="UTF-8"?>
   582.5 -
   582.6 -<!--
   582.7 - The contents of this file are subject to the terms of the Common Development
   582.8 - and Distribution License (the License). You may not use this file except in
   582.9 - compliance with the License.
  582.10 - 
  582.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  582.12 - or http://www.netbeans.org/cddl.txt.
  582.13 - 
  582.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  582.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  582.16 - If applicable, add the following below the CDDL Header, with the fields
  582.17 - enclosed by brackets [] replaced by your own identifying information:
  582.18 - "Portions Copyrighted [year] [name of copyright owner]"
  582.19 - 
  582.20 - The Original Software is NetBeans. The Initial Developer of the Original
  582.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  582.22 - Microsystems, Inc. All Rights Reserved.
  582.23 --->
  582.24 -
  582.25 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
  582.26 -<filesystem>
  582.27 -    <folder name="WSDLEditor">
  582.28 -	    <file name="mq-ext.xsd" url="mq-ext.xsd">
  582.29 -            <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/mq/" />
  582.30 -            <attr name="prefix" stringvalue="mq" />
  582.31 -        </file>
  582.32 -        
  582.33 -        <folder name="Binding">
  582.34 -            <file name="MQBinding" >
  582.35 -                <attr name="xsdFileName" stringvalue="mq-ext" />
  582.36 -                <attr name="element" stringvalue="binding"/>
  582.37 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.mq.resources.Bundle"/>
  582.38 -                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/mq/resources/Start_16.png"/>
  582.39 -            </file>
  582.40 -        </folder>
  582.41 -        <folder name="BindingOperation">
  582.42 -            <file name="MQBindingOperation" >
  582.43 -                <attr name="xsdFileName" stringvalue="mq-ext" />
  582.44 -                <attr name="element" stringvalue="operation"/>
  582.45 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.mq.resources.Bundle"/>
  582.46 -                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/mq/resources/End_16.png"/>
  582.47 -            </file>
  582.48 -        </folder>
  582.49 -        <folder name="BindingOperationInput">
  582.50 -            <file name="MQBody">
  582.51 -		<attr name="xsdFileName" stringvalue="mq-ext" />
  582.52 -                <!-- attr name="element" stringvalue="input"/-->
  582.53 -                  <attr name="element" stringvalue="body"/>
  582.54 -                 
  582.55 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.mq.resources.Bundle"/>
  582.56 -                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/mq/resources/onmessage16x16.png"/>
  582.57 -            </file>
  582.58 -            <file name="MQHeader">
  582.59 -		<attr name="xsdFileName" stringvalue="mq-ext" />
  582.60 -                <!-- attr name="element" stringvalue="input"/-->           
  582.61 -                 <attr name="element" stringvalue="header"/>
  582.62 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.mq.resources.Bundle"/>
  582.63 -                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/mq/resources/onmessage16x16.png"/>
  582.64 -            </file>
  582.65 -        </folder>
  582.66 -
  582.67 -        <folder name="ServicePort">
  582.68 -            <file name="MQServicePort">
  582.69 -   				<attr name="xsdFileName" stringvalue="mq-ext" />
  582.70 -                <attr name="element" stringvalue="address"/>
  582.71 -                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.mq.resources.Bundle"/>
  582.72 -                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/mq/resources/mapping16.png"/>
  582.73 -            </file>
  582.74 -        </folder>
  582.75 -    </folder>
  582.76 -    <folder name="SeeBeyondJbiComponents">
  582.77 -        <!-- JBI Component must be same as jbi.xml in runtime definition -->
  582.78 -        <folder name="sun-webspheremq-binding">
  582.79 -            <attr name="id" stringvalue="sun-webspheremq-binding"/>
  582.80 -            <attr name="description" stringvalue="MQ Binding"/>
  582.81 -            <attr name="type" stringvalue="Binding"/>
  582.82 -            <file name="mq.binding-1.0">
  582.83 -                <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/mq/"/>
  582.84 -            </file>
  582.85 -        </folder>
  582.86 -    </folder>
  582.87 -</filesystem>
  582.88 -
   583.1 Binary file wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/mapping16.png has changed
   584.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/mq-ext.xsd	Thu Jul 10 19:13:29 2008 +0800
   584.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   584.3 @@ -1,236 +0,0 @@
   584.4 -<?xml version="1.0" encoding="UTF-8"?>
   584.5 -
   584.6 -<!--
   584.7 - The contents of this file are subject to the terms of the Common Development
   584.8 - and Distribution License (the License). You may not use this file except in
   584.9 - compliance with the License.
  584.10 - 
  584.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  584.12 - or http://www.netbeans.org/cddl.txt.
  584.13 - 
  584.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  584.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  584.16 - If applicable, add the following below the CDDL Header, with the fields
  584.17 - enclosed by brackets [] replaced by your own identifying information:
  584.18 - "Portions Copyrighted [year] [name of copyright owner]"
  584.19 - 
  584.20 - The Original Software is NetBeans. The Initial Developer of the Original
  584.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  584.22 - Microsystems, Inc. All Rights Reserved.
  584.23 --->
  584.24 -
  584.25 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
  584.26 -           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
  584.27 -           xmlns:mq="http://schemas.sun.com/jbi/wsdl-extensions/mq/" 
  584.28 -           targetNamespace="http://schemas.sun.com/jbi/wsdl-extensions/mq/">
  584.29 -	<xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
  584.30 -	<xs:element name="binding" type="mq:tBinding">
  584.31 -		<xs:annotation>
  584.32 -			<xs:documentation>DESC_Element_binding</xs:documentation>
  584.33 -		</xs:annotation>
  584.34 -	</xs:element>
  584.35 -	<xs:complexType name="tBinding">
  584.36 -		<xs:complexContent>
  584.37 -			<xs:extension base="wsdl:tExtensibilityElement"/>
  584.38 -			<!-- could add more attributes to the binding -->
  584.39 -		</xs:complexContent>
  584.40 -	</xs:complexType>
  584.41 -	<xs:element name="operation" type="mq:tOperation">
  584.42 -            <xs:annotation>
  584.43 -			<xs:documentation>DESC_Element_operation</xs:documentation>
  584.44 -		</xs:annotation>
  584.45 -	</xs:element>
  584.46 -	<xs:complexType name="tOperation">
  584.47 -		<xs:annotation>
  584.48 -			<xs:documentation>DESC_ComplexType_tOperation</xs:documentation>
  584.49 -		</xs:annotation>
  584.50 -		<xs:complexContent>
  584.51 -			<xs:extension base="wsdl:tExtensibilityElement">
  584.52 -                            
  584.53 -                                <xs:attribute name="queueName" type="xs:string" use="required">
  584.54 -					<xs:annotation>
  584.55 -						<xs:documentation>DESC_Attribute_queueName</xs:documentation>
  584.56 -					</xs:annotation>
  584.57 -				</xs:attribute>
  584.58 -                                
  584.59 -                                
  584.60 -                                <xs:attribute name="queueOpenOptions" type="xs:long" use="optional">
  584.61 -					<xs:annotation>
  584.62 -						<xs:documentation>DESC_Attribute_queueOpenOptions</xs:documentation>
  584.63 -					</xs:annotation>
  584.64 -				</xs:attribute>
  584.65 -                                <xs:attribute name="transaction" type="mq:TransactionTypes" use="optional" default="NoTransaction">
  584.66 -					<xs:annotation>
  584.67 -						<xs:documentation>DESC_Attribute_transaction</xs:documentation>
  584.68 -					</xs:annotation>
  584.69 -				</xs:attribute>
  584.70 -                                <xs:attribute name="pollingInterval" type="xs:long" use="optional">
  584.71 -				    <xs:annotation>
  584.72 -					<xs:documentation>DESC_Attribute_pollingInterval</xs:documentation>
  584.73 -				    </xs:annotation>
  584.74 -				</xs:attribute>
  584.75 -			</xs:extension>
  584.76 -		</xs:complexContent>
  584.77 -	</xs:complexType>
  584.78 -        
  584.79 -	<xs:element name="input" type="mq:tInput">
  584.80 -		<xs:annotation>
  584.81 -			<xs:documentation>DESC_Element_input</xs:documentation>
  584.82 -		</xs:annotation>
  584.83 -	</xs:element>
  584.84 -         
  584.85 -        <xs:complexType name="tHeaderPartTypes">
  584.86 -           <xs:complexContent>
  584.87 -		<xs:extension base="wsdl:tExtensibilityElement">
  584.88 -                    <xs:attribute name="parts" type="xs:string" use="required">
  584.89 -                        <xs:annotation>
  584.90 -                            <xs:documentation>DESC_Attribute_parts</xs:documentation>
  584.91 -			</xs:annotation>
  584.92 -                    </xs:attribute>	
  584.93 -               </xs:extension>
  584.94 -	   </xs:complexContent>
  584.95 -        </xs:complexType>
  584.96 -       
  584.97 -  
  584.98 -	<xs:complexType name="tInput">
  584.99 -		<xs:complexContent>
 584.100 -			<xs:extension base="wsdl:tExtensibilityElement">				
 584.101 -				<xs:sequence>
 584.102 -					<xs:element ref="mq:body" minOccurs="1" maxOccurs="1"/>
 584.103 -					<xs:element ref="mq:header" minOccurs="0" maxOccurs="1"/>
 584.104 -				</xs:sequence>
 584.105 -                                 
 584.106 -			</xs:extension>
 584.107 -		</xs:complexContent>
 584.108 -	</xs:complexType>
 584.109 -	 <xs:element name="body" type="mq:tMessage">
 584.110 -		<xs:annotation>
 584.111 -			<xs:documentation>DESC_Element_body</xs:documentation>
 584.112 -		</xs:annotation>
 584.113 -	</xs:element>
 584.114 -        <xs:complexType name="tMessage">
 584.115 -		<xs:complexContent>
 584.116 -			<xs:extension base="wsdl:tExtensibilityElement">
 584.117 -                                <xs:attribute name="MessageBody" type="xs:string" use="required">
 584.118 -					<xs:annotation>
 584.119 -						<xs:documentation>DESC_Attribute_MessageBody</xs:documentation>
 584.120 -					</xs:annotation>
 584.121 -				</xs:attribute>
 584.122 -                                <xs:attribute name="use" type="mq:useTypes" use="required"/>
 584.123 -                                <xs:attribute name="encodingStyle" type="xs:anyURI" use="optional"/>
 584.124 -				<xs:attribute name="MessageType" type="mq:messageTypes" use="required">
 584.125 -					<xs:annotation>
 584.126 -						<xs:documentation>DESC_Attribute_MessageType</xs:documentation>
 584.127 -					</xs:annotation>
 584.128 -				</xs:attribute>
 584.129 -                                <xs:attribute name="SyncPoint" type="xs:boolean" use="required">
 584.130 -					<xs:annotation>
 584.131 -						<xs:documentation>DESC_Attribute_SyncPoint</xs:documentation>
 584.132 -					</xs:annotation>
 584.133 -				</xs:attribute>
 584.134 -                                
 584.135 -			</xs:extension>
 584.136 -		</xs:complexContent>
 584.137 -	</xs:complexType>
 584.138 -        
 584.139 -        <xs:element name="header" type="mq:tMessageHeader">
 584.140 -		<xs:annotation>
 584.141 -			<xs:documentation>DESC_Element_header</xs:documentation>
 584.142 -		</xs:annotation>
 584.143 -	</xs:element>
 584.144 -        <xs:complexType name="tMessageHeader">
 584.145 -		<xs:complexContent>
 584.146 -			<xs:extension base="wsdl:tExtensibilityElement">
 584.147 -				<xs:sequence>
 584.148 -					<xs:element name="correlationId" type="mq:tHeaderPartTypes"/>
 584.149 -                                         <xs:element name="messageId" type="mq:tHeaderPartTypes"/>
 584.150 -				</xs:sequence>		
 584.151 -			</xs:extension>
 584.152 -		</xs:complexContent>
 584.153 -	</xs:complexType>
 584.154 -        
 584.155 -        <xs:simpleType name="javaPrimitiveTypes">
 584.156 -		<xs:restriction base="xs:string">
 584.157 -			<xs:enumeration value="boolean"/>
 584.158 -			<xs:enumeration value="char"/>
 584.159 -			<xs:enumeration value="double"/>
 584.160 -			<xs:enumeration value="float"/>
 584.161 -			<xs:enumeration value="int"/>
 584.162 -			<xs:enumeration value="long"/>
 584.163 -			<xs:enumeration value="short"/>
 584.164 -			<xs:enumeration value="string"/>
 584.165 -		</xs:restriction>
 584.166 -	</xs:simpleType>
 584.167 -        
 584.168 -	
 584.169 -        <xs:element name="address" type="mq:tAddress">
 584.170 -		<xs:annotation>
 584.171 -			<xs:documentation>DESC_Element_address</xs:documentation>
 584.172 -		</xs:annotation>
 584.173 -	</xs:element>
 584.174 -        <xs:complexType name="tAddress">
 584.175 -		<xs:complexContent>
 584.176 -			<xs:extension base="wsdl:tExtensibilityElement">
 584.177 -				<xs:attribute name="hostName" type="xs:string" use="optional">
 584.178 -					<xs:annotation>
 584.179 -						<xs:documentation>DESC_Attribute_hostName</xs:documentation>
 584.180 -					</xs:annotation>
 584.181 -				</xs:attribute>
 584.182 -                                <xs:attribute name="portNumber" type="xs:int" use="required">
 584.183 -					<xs:annotation>
 584.184 -						<xs:documentation>DESC_Attribute_portNumber</xs:documentation>
 584.185 -					</xs:annotation>
 584.186 -				</xs:attribute>
 584.187 -                                <xs:attribute name="queueManagerName" type="xs:string" use="required">
 584.188 -					<xs:annotation>
 584.189 -						<xs:documentation>DESC_Attribute_queueManagerName</xs:documentation>
 584.190 -					</xs:annotation>
 584.191 -				</xs:attribute>
 584.192 -                                <xs:attribute name="channelName" type="xs:string" use="required">
 584.193 -					<xs:annotation>
 584.194 -						<xs:documentation>DESC_Attribute_channelName</xs:documentation>
 584.195 -					</xs:annotation>
 584.196 -				</xs:attribute>
 584.197 -                                <xs:attribute name="codedCharacterSetID" type="xs:string" use="optional">
 584.198 -					<xs:annotation>
 584.199 -						<xs:documentation>DESC_Attribute_codedCharacterSetID</xs:documentation>
 584.200 -					</xs:annotation>
 584.201 -				</xs:attribute>
 584.202 -                                <xs:attribute name="userID" type="xs:string" use="optional">
 584.203 -					<xs:annotation>
 584.204 -						<xs:documentation>DESC_Attribute_userID</xs:documentation>
 584.205 -					</xs:annotation>
 584.206 -				</xs:attribute>
 584.207 -                                <xs:attribute name="password" type="xs:string" use="optional">
 584.208 -					<xs:annotation>
 584.209 -						<xs:documentation>DESC_Attribute_password</xs:documentation>
 584.210 -					</xs:annotation>				</xs:attribute>				
 584.211 -			</xs:extension>
 584.212 -		</xs:complexContent>
 584.213 -	</xs:complexType>
 584.214 -        <xs:simpleType name="MQOperationTypes">
 584.215 -		<xs:restriction base="xs:string">
 584.216 -			<xs:enumeration value="mqput"/>
 584.217 -			<xs:enumeration value="mqrecv"/>
 584.218 -		</xs:restriction>
 584.219 -	</xs:simpleType>
 584.220 -        <xs:simpleType name="TransactionTypes">
 584.221 -		<xs:restriction base="xs:string">
 584.222 -			<xs:enumeration value="NoTransaction"/>
 584.223 -			<xs:enumeration value="XATransaction"/>
 584.224 -		</xs:restriction>
 584.225 -	</xs:simpleType>	
 584.226 -	<xs:simpleType name="messageTypes">
 584.227 -		<xs:restriction base="xs:string">
 584.228 -			<xs:enumeration value="TextMessage"/>
 584.229 -			<xs:enumeration value="ByteMessage"/>
 584.230 -		</xs:restriction>
 584.231 -	</xs:simpleType>
 584.232 -        <xs:simpleType name="useTypes">
 584.233 -		<xs:restriction base="xs:string">
 584.234 -			<xs:enumeration value="literal"/>
 584.235 -			<xs:enumeration value="encoded"/>
 584.236 -		</xs:restriction>
 584.237 -	</xs:simpleType>
 584.238 -	
 584.239 -</xs:schema>
   585.1 Binary file wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/onalarm16x16.png has changed
   586.1 Binary file wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/onmessage16x16.png has changed
   587.1 Binary file wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/scope16x16.png has changed
   588.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/resources/wsdl.xsd	Thu Jul 10 19:13:29 2008 +0800
   588.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   588.3 @@ -1,330 +0,0 @@
   588.4 -<?xml version="1.0" encoding="UTF-8" ?> 
   588.5 -
   588.6 -<!--
   588.7 - The contents of this file are subject to the terms of the Common Development
   588.8 - and Distribution License (the License). You may not use this file except in
   588.9 - compliance with the License.
  588.10 - 
  588.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  588.12 - or http://www.netbeans.org/cddl.txt.
  588.13 - 
  588.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  588.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  588.16 - If applicable, add the following below the CDDL Header, with the fields
  588.17 - enclosed by brackets [] replaced by your own identifying information:
  588.18 - "Portions Copyrighted [year] [name of copyright owner]"
  588.19 - 
  588.20 - The Original Software is NetBeans. The Initial Developer of the Original
  588.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  588.22 - Microsystems, Inc. All Rights Reserved.
  588.23 --->
  588.24 -
  588.25 -<!-- 
  588.26 - 
  588.27 -Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
  588.28 -All Rights Reserved
  588.29 -
  588.30 -License for WSDL Schema Files
  588.31 -
  588.32 -The Authors grant permission to copy and distribute the WSDL Schema 
  588.33 -Files in any medium without fee or royalty as long as this notice and 
  588.34 -license are distributed with them.  The originals of these files can 
  588.35 -be located at:
  588.36 -
  588.37 -http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
  588.38 -
  588.39 -THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
  588.40 -OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
  588.41 -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
  588.42 -NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
  588.43 -INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
  588.44 -RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
  588.45 -
  588.46 -The name and trademarks of the Authors may NOT be used in any manner, 
  588.47 -including advertising or publicity pertaining to these files or any program 
  588.48 -or service that uses these files, written prior permission.  Title to copyright 
  588.49 -in these files will at all times remain with the Authors.
  588.50 -
  588.51 -No other rights are granted by implication, estoppel or otherwise.
  588.52 -
  588.53 -
  588.54 ---> 
  588.55 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  588.56 -           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  588.57 -           targetNamespace="http://schemas.xmlsoap.org/wsdl/"
  588.58 -           elementFormDefault="qualified" >
  588.59 -   
  588.60 -  <xs:complexType mixed="true" name="tDocumentation" >
  588.61 -    <xs:sequence>
  588.62 -      <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  588.63 -    </xs:sequence>
  588.64 -  </xs:complexType>
  588.65 -
  588.66 -  <xs:complexType name="tDocumented" >
  588.67 -    <xs:annotation>
  588.68 -      <xs:documentation>
  588.69 -      This type is extended by  component types to allow them to be documented
  588.70 -      </xs:documentation>
  588.71 -    </xs:annotation>
  588.72 -    <xs:sequence>
  588.73 -      <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
  588.74 -    </xs:sequence>
  588.75 -  </xs:complexType>
  588.76 -	 
  588.77 -  <xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
  588.78 -    <xs:complexContent>
  588.79 -      <xs:extension base="wsdl:tDocumented" >
  588.80 -        <xs:annotation>
  588.81 -          <xs:documentation>
  588.82 -          This type is extended by component types to allow attributes from other namespaces to be added.
  588.83 -          </xs:documentation>
  588.84 -        </xs:annotation>
  588.85 -        <xs:anyAttribute namespace="##other" processContents="lax" />    
  588.86 -      </xs:extension>
  588.87 -    </xs:complexContent>
  588.88 -  </xs:complexType>
  588.89 -
  588.90 -  <xs:complexType name="tExtensibleDocumented" abstract="true" >
  588.91 -    <xs:complexContent>
  588.92 -      <xs:extension base="wsdl:tDocumented" >
  588.93 -        <xs:annotation>
  588.94 -          <xs:documentation>
  588.95 -          This type is extended by component types to allow elements from other namespaces to be added.
  588.96 -          </xs:documentation>
  588.97 -        </xs:annotation>
  588.98 -        <xs:sequence>
  588.99 -          <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
 588.100 -        </xs:sequence>
 588.101 -      </xs:extension>
 588.102 -    </xs:complexContent>
 588.103 -  </xs:complexType>
 588.104 -
 588.105 -  <xs:element name="definitions" type="wsdl:tDefinitions" >
 588.106 -    <xs:key name="message" >
 588.107 -      <xs:selector xpath="wsdl:message" />
 588.108 -      <xs:field xpath="@name" />
 588.109 -    </xs:key>
 588.110 -    <xs:key name="portType" >
 588.111 -      <xs:selector xpath="wsdl:portType" />
 588.112 -      <xs:field xpath="@name" />
 588.113 -    </xs:key>
 588.114 -    <xs:key name="binding" >
 588.115 -      <xs:selector xpath="wsdl:binding" />
 588.116 -      <xs:field xpath="@name" />
 588.117 -    </xs:key>
 588.118 -    <xs:key name="service" >
 588.119 -      <xs:selector xpath="wsdl:service" />
 588.120 -      <xs:field xpath="@name" />
 588.121 -    </xs:key>
 588.122 -    <xs:key name="import" >
 588.123 -      <xs:selector xpath="wsdl:import" />
 588.124 -      <xs:field xpath="@namespace" />
 588.125 -    </xs:key>
 588.126 -  </xs:element>
 588.127 -
 588.128 -  <xs:group name="anyTopLevelOptionalElement" >
 588.129 -    <xs:annotation>
 588.130 -      <xs:documentation>
 588.131 -      Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
 588.132 -      </xs:documentation>
 588.133 -    </xs:annotation>
 588.134 -    <xs:choice>
 588.135 -      <xs:element name="import" type="wsdl:tImport" />
 588.136 -      <xs:element name="types" type="wsdl:tTypes" />                     
 588.137 -      <xs:element name="message"  type="wsdl:tMessage" >
 588.138 -        <xs:unique name="part" >
 588.139 -          <xs:selector xpath="wsdl:part" />
 588.140 -          <xs:field xpath="@name" />
 588.141 -        </xs:unique>
 588.142 -      </xs:element>
 588.143 -      <xs:element name="portType" type="wsdl:tPortType" />
 588.144 -      <xs:element name="binding"  type="wsdl:tBinding" />
 588.145 -      <xs:element name="service"  type="wsdl:tService" >
 588.146 -        <xs:unique name="port" >
 588.147 -          <xs:selector xpath="wsdl:port" />
 588.148 -          <xs:field xpath="@name" />
 588.149 -        </xs:unique>
 588.150 -	  </xs:element>
 588.151 -    </xs:choice>
 588.152 -  </xs:group>
 588.153 -
 588.154 -  <xs:complexType name="tDefinitions" >
 588.155 -    <xs:complexContent>
 588.156 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.157 -        <xs:sequence>
 588.158 -          <xs:group ref="wsdl:anyTopLevelOptionalElement"  minOccurs="0"   maxOccurs="unbounded" />
 588.159 -        </xs:sequence>
 588.160 -        <xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
 588.161 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 588.162 -      </xs:extension>
 588.163 -    </xs:complexContent>
 588.164 -  </xs:complexType>
 588.165 -   
 588.166 -  <xs:complexType name="tImport" >
 588.167 -    <xs:complexContent>
 588.168 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 588.169 -        <xs:attribute name="namespace" type="xs:anyURI" use="required" />
 588.170 -        <xs:attribute name="location" type="xs:anyURI" use="required" />
 588.171 -      </xs:extension>
 588.172 -    </xs:complexContent>
 588.173 -  </xs:complexType>
 588.174 -   
 588.175 -  <xs:complexType name="tTypes" >
 588.176 -    <xs:complexContent>   
 588.177 -      <xs:extension base="wsdl:tExtensibleDocumented" />
 588.178 -    </xs:complexContent>   
 588.179 -  </xs:complexType>
 588.180 -     
 588.181 -  <xs:complexType name="tMessage" >
 588.182 -    <xs:complexContent>   
 588.183 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.184 -        <xs:sequence>
 588.185 -          <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
 588.186 -        </xs:sequence>
 588.187 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.188 -      </xs:extension>
 588.189 -    </xs:complexContent>   
 588.190 -  </xs:complexType>
 588.191 -
 588.192 -  <xs:complexType name="tPart" >
 588.193 -    <xs:complexContent>   
 588.194 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 588.195 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.196 -        <xs:attribute name="element" type="xs:QName" use="optional" />
 588.197 -        <xs:attribute name="type" type="xs:QName" use="optional" />    
 588.198 -      </xs:extension>
 588.199 -    </xs:complexContent>   
 588.200 -  </xs:complexType>
 588.201 -
 588.202 -  <xs:complexType name="tPortType" >
 588.203 -    <xs:complexContent>   
 588.204 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 588.205 -        <xs:sequence>
 588.206 -          <xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
 588.207 -        </xs:sequence>
 588.208 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.209 -      </xs:extension>
 588.210 -    </xs:complexContent>   
 588.211 -  </xs:complexType>
 588.212 -   
 588.213 -  <xs:complexType name="tOperation" >
 588.214 -    <xs:complexContent>   
 588.215 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.216 -	    <xs:sequence>
 588.217 -          <xs:choice>
 588.218 -            <xs:group ref="wsdl:request-response-or-one-way-operation" />
 588.219 -            <xs:group ref="wsdl:solicit-response-or-notification-operation" />
 588.220 -          </xs:choice>
 588.221 -        </xs:sequence>
 588.222 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.223 -        <xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
 588.224 -      </xs:extension>
 588.225 -    </xs:complexContent>   
 588.226 -  </xs:complexType>
 588.227 -    
 588.228 -  <xs:group name="request-response-or-one-way-operation" >
 588.229 -    <xs:sequence>
 588.230 -      <xs:element name="input" type="wsdl:tParam" />
 588.231 -	  <xs:sequence minOccurs='0' >
 588.232 -	    <xs:element name="output" type="wsdl:tParam" />
 588.233 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
 588.234 -      </xs:sequence>
 588.235 -    </xs:sequence>
 588.236 -  </xs:group>
 588.237 -
 588.238 -  <xs:group name="solicit-response-or-notification-operation" >
 588.239 -    <xs:sequence>
 588.240 -      <xs:element name="output" type="wsdl:tParam" />
 588.241 -	  <xs:sequence minOccurs='0' >
 588.242 -	    <xs:element name="input" type="wsdl:tParam" />
 588.243 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
 588.244 -	  </xs:sequence>
 588.245 -    </xs:sequence>
 588.246 -  </xs:group>
 588.247 -        
 588.248 -  <xs:complexType name="tParam" >
 588.249 -    <xs:complexContent>
 588.250 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 588.251 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 588.252 -        <xs:attribute name="message" type="xs:QName" use="required" />
 588.253 -      </xs:extension>
 588.254 -    </xs:complexContent>
 588.255 -  </xs:complexType>
 588.256 -
 588.257 -  <xs:complexType name="tFault" >
 588.258 -    <xs:complexContent>
 588.259 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
 588.260 -        <xs:attribute name="name" type="xs:NCName"  use="required" />
 588.261 -        <xs:attribute name="message" type="xs:QName" use="required" />
 588.262 -      </xs:extension>
 588.263 -    </xs:complexContent>
 588.264 -  </xs:complexType>
 588.265 -     
 588.266 -  <xs:complexType name="tBinding" >
 588.267 -    <xs:complexContent>
 588.268 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.269 -        <xs:sequence>
 588.270 -          <xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
 588.271 -        </xs:sequence>
 588.272 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.273 -        <xs:attribute name="type" type="xs:QName" use="required" />
 588.274 -      </xs:extension>
 588.275 -    </xs:complexContent>
 588.276 -  </xs:complexType>
 588.277 -    
 588.278 -  <xs:complexType name="tBindingOperationMessage" >
 588.279 -    <xs:complexContent>
 588.280 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.281 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
 588.282 -      </xs:extension>
 588.283 -    </xs:complexContent>
 588.284 -  </xs:complexType>
 588.285 -  
 588.286 -  <xs:complexType name="tBindingOperationFault" >
 588.287 -    <xs:complexContent>
 588.288 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.289 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.290 -      </xs:extension>
 588.291 -    </xs:complexContent>
 588.292 -  </xs:complexType>
 588.293 -
 588.294 -  <xs:complexType name="tBindingOperation" >
 588.295 -    <xs:complexContent>
 588.296 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.297 -        <xs:sequence>
 588.298 -          <xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
 588.299 -          <xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
 588.300 -          <xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
 588.301 -        </xs:sequence>
 588.302 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.303 -      </xs:extension>
 588.304 -    </xs:complexContent>
 588.305 -  </xs:complexType>
 588.306 -     
 588.307 -  <xs:complexType name="tService" >
 588.308 -    <xs:complexContent>
 588.309 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.310 -        <xs:sequence>
 588.311 -          <xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
 588.312 -        </xs:sequence>
 588.313 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.314 -      </xs:extension>
 588.315 -    </xs:complexContent>
 588.316 -  </xs:complexType>
 588.317 -     
 588.318 -  <xs:complexType name="tPort" >
 588.319 -    <xs:complexContent>
 588.320 -      <xs:extension base="wsdl:tExtensibleDocumented" >
 588.321 -        <xs:attribute name="name" type="xs:NCName" use="required" />
 588.322 -        <xs:attribute name="binding" type="xs:QName" use="required" />
 588.323 -      </xs:extension>
 588.324 -    </xs:complexContent>
 588.325 -  </xs:complexType>
 588.326 -
 588.327 -  <xs:attribute name="arrayType" type="xs:string" />
 588.328 -  <xs:attribute name="required" type="xs:boolean" />
 588.329 -  <xs:complexType name="tExtensibilityElement" abstract="true" >
 588.330 -    <xs:attribute ref="wsdl:required" use="optional" />
 588.331 -  </xs:complexType>
 588.332 -
 588.333 -</xs:schema>
 588.334 \ No newline at end of file
   589.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/template/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   589.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   589.3 @@ -1,28 +0,0 @@
   589.4 -#
   589.5 -# The contents of this file are subject to the terms of the Common Development
   589.6 -# and Distribution License (the License). You may not use this file except in
   589.7 -# compliance with the License.
   589.8 -# 
   589.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  589.10 -# or http://www.netbeans.org/cddl.txt.
  589.11 -# 
  589.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  589.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  589.14 -# If applicable, add the following below the CDDL Header, with the fields
  589.15 -# enclosed by brackets [] replaced by your own identifying information:
  589.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  589.17 -# 
  589.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  589.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  589.20 -# Microsystems, Inc. All Rights Reserved.
  589.21 -#
  589.22 -
  589.23 -MqTransport=MQ Transport
  589.24 -http_//schemas.sun.com/jbi/wsdl-extensions/mq/=MQ
  589.25 -
  589.26 -TEMPLATEGROUP_name=MQ
  589.27 -TEMPLATEGROUP_prefix_mq=mq
  589.28 -TEMPLATE_name_MqTransport=MQ Transport
  589.29 -
  589.30 -
  589.31 -
   590.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/template/MQTemplateProvider.java	Thu Jul 10 19:13:29 2008 +0800
   590.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   590.3 @@ -1,40 +0,0 @@
   590.4 -/*
   590.5 - * The contents of this file are subject to the terms of the Common Development
   590.6 - * and Distribution License (the License). You may not use this file except in
   590.7 - * compliance with the License.
   590.8 - * 
   590.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  590.10 - * or http://www.netbeans.org/cddl.txt.
  590.11 - * 
  590.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  590.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  590.14 - * If applicable, add the following below the CDDL Header, with the fields
  590.15 - * enclosed by brackets [] replaced by your own identifying information:
  590.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  590.17 - * 
  590.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  590.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  590.20 - * Microsystems, Inc. All Rights Reserved.
  590.21 - */
  590.22 -
  590.23 -package org.netbeans.modules.wsdlextensions.mq.template;
  590.24 -
  590.25 -import java.io.InputStream;
  590.26 -import org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider;
  590.27 -import org.openide.util.NbBundle;
  590.28 -
  590.29 -public class MQTemplateProvider extends ExtensibilityElementTemplateProvider {
  590.30 -    
  590.31 -    static final String mqTemplateUrl = "/org/netbeans/modules/wsdlextensions/mq/template/template.xml";
  590.32 -
  590.33 -    public InputStream getTemplateInputStream() {
  590.34 -        return MQTemplateProvider.class.getResourceAsStream(mqTemplateUrl);
  590.35 -    }
  590.36 -
  590.37 -    public String getLocalizedMessage(String str, Object[] objects) {
  590.38 -        return NbBundle.getMessage(MQTemplateProvider.class, str, objects);
  590.39 -    }
  590.40 -    
  590.41 -    
  590.42 -
  590.43 -}
   591.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/template/template.xml	Thu Jul 10 19:13:29 2008 +0800
   591.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   591.3 @@ -1,52 +0,0 @@
   591.4 -<?xml version="1.0" encoding="UTF-8"?>
   591.5 -
   591.6 -<!--
   591.7 - The contents of this file are subject to the terms of the Common Development
   591.8 - and Distribution License (the License). You may not use this file except in
   591.9 - compliance with the License.
  591.10 - 
  591.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  591.12 - or http://www.netbeans.org/cddl.txt.
  591.13 - 
  591.14 - When distributing Covered Code, include this CDDL Header Notice in each file
  591.15 - and include the License file at http://www.netbeans.org/cddl.txt.
  591.16 - If applicable, add the following below the CDDL Header, with the fields
  591.17 - enclosed by brackets [] replaced by your own identifying information:
  591.18 - "Portions Copyrighted [year] [name of copyright owner]"
  591.19 - 
  591.20 - The Original Software is NetBeans. The Initial Developer of the Original
  591.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  591.22 - Microsystems, Inc. All Rights Reserved.
  591.23 --->
  591.24 -
  591.25 -<!--
  591.26 -    Document   : template.xml
  591.27 -    Created on : August 25, 2006, 5:39 PM
  591.28 -    Author     : sweng
  591.29 -    Description: Describes the MQ Binding Component's extensibility element views on WSDL wizard
  591.30 --->
  591.31 -<templateGroup namespace="http://schemas.sun.com/jbi/wsdl-extensions/mq/" 
  591.32 -	       xmlns="http://xml.netbeans.org/schema/templates"
  591.33 -	       xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
  591.34 -               xsi:schemaLocation="http://xml.netbeans.org/schema/templates 
  591.35 -               templates.xsd" prefix="mq">
  591.36 -    <template name="MqTransport">
  591.37 -         <wsdlElement name="Binding">
  591.38 -            <extensionElement name="binding"/>
  591.39 -        </wsdlElement>
  591.40 -        <wsdlElement name="BindingOperation">
  591.41 -            <extensionElement name="operation"/>
  591.42 -        </wsdlElement>
  591.43 -        <wsdlElement name="BindingOperationInput">
  591.44 -            <extensionElement name="body">
  591.45 -                <extensionAttr name="use" defaultValue="literal" />
  591.46 -                <extensionAttr name="MessageBody" defaultValue="Please specify a value" />
  591.47 -            </extensionElement>
  591.48 -        </wsdlElement>
  591.49 -        <wsdlElement name="ServicePort">
  591.50 -            <extensionElement name="address" >
  591.51 -                <extensionAttr name="queueManagerName"  defaultValue="Please specify a value"/>
  591.52 -            </extensionElement>
  591.53 -        </wsdlElement>
  591.54 -    </template>
  591.55 -</templateGroup>
   592.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/validator/Bundle.properties	Thu Jul 10 19:13:29 2008 +0800
   592.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   592.3 @@ -1,82 +0,0 @@
   592.4 -#
   592.5 -# The contents of this file are subject to the terms of the Common Development
   592.6 -# and Distribution License (the License). You may not use this file except in
   592.7 -# compliance with the License.
   592.8 -# 
   592.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  592.10 -# or http://www.netbeans.org/cddl.txt.
  592.11 -# 
  592.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
  592.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
  592.14 -# If applicable, add the following below the CDDL Header, with the fields
  592.15 -# enclosed by brackets [] replaced by your own identifying information:
  592.16 -# "Portions Copyrighted [year] [name of copyright owner]"
  592.17 -# 
  592.18 -# The Original Software is NetBeans. The Initial Developer of the Original
  592.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  592.20 -# Microsystems, Inc. All Rights Reserved.
  592.21 -#
  592.22 -
  592.23 -## put semantics validation messages here
  592.24 -MQBindingValidation.ONLY_ONE_MQ_BINDING_ALLOWED=Binding ''{0}'' has {1} MQ binding (mq:binding) defined; only one MQ binding per binding is allowed
  592.25 -MQBindingValidation.ATMOST_ONE_MQBODY_IN_INPUT=Binding operation ''{0}'' has a MQ binding operation (mq:operation) and contains {1} MQ body (mq:body) definitions for binding input ''{2}''; only one MQBody per binding input is allowed
  592.26 -MQBindingValidation.NO_MESSAGE_FOUND_IN_INPUT=Binding operation ''{0}'' has a MQ binding operation (mq:operation) but does not have a MQ body (mq:body) defined for binding input ''{1}''
  592.27 -MQBindingValidation.ATMOST_ONE_MESSAGE_IN_OUTPUT=Binding operation ''{0}'' has a MQ binding operation (mq:operation) and contains {1} MQ body (mq:body) definitions for binding output ''{2}''; only one MQ message per binding output is allowed
  592.28 -MQBindingValidation.NO_OUPUT_SUPPORTED=Binding operation ''{0}'' has a MQ binding operation (mq:operation) but does not support ''{1}''
  592.29 -MQBindingValidation.MISSING_MQ_OPERATION=Binding ''{0}'' has a MQ binding (mq:binding) defined but does not have a MQ binding operation (mq:operation) defined for its binding operation(s)
  592.30 -MQBindingValidation.MQ_OPERATION_WO_MQ_BINDING=Binding ''{0}'' does not have a MQ binding (mq:binding) defined but yet there is a MQ binding operation (mq:operation) defined
  592.31 -
  592.32 -MQAddressValidation.MISSING_MQ_ADDRESS=Port ''{0}'' has {1} MQ binding(s) defined but it has no MQ address (mq:address) defined
  592.33 -MQAddressValidation.ONLY_ONE_MQ_ADDRESS_ALLOWED=Port ''{0}'' has {1} MQ address(es) (mq:address) defined; only one MQ address per port is allowed
  592.34 -MQAddressValidation.ADVICE_HOSTNAME=MQ address (mq:address) has an unlikely hostName ''{0}'' Only in mq binding mode (v.s. tcp/ip mode) this field can be blank.
  592.35 -MQAddress.MISSING_PASSWORD=MQ address (mq:address) has username defined as ''{0}'' but no password is defined; a username and a password are needed for username/password authentication
  592.36 -MQAddress.NO_PROTOCOL_SPECIFIED=The MQ address (mq:address) has an invalid connectionURL ''{0}'' : no protocol is specified
  592.37 -MQAddress.PROVIDER_NOT_SUPPORTED=The MQ address (mq:address) has an invalid connectionURL ''{0}'' : the protocol ''{1}'' specifies a MQ provider that is not supported
  592.38 -MQAddress.NO_HOST_SPECIFIED=The MQ address (mq:address) has an invalid connectionURL ''{0}'' : no MQ server host is specified
  592.39 -MQAddress.NO_PORT_SPECIFIED=The MQ address (mq:address) has an invalid connectionURL ''{0}'' : no MQ server port is specified
  592.40 -MQAddressValidation.NO_QMGR_SPECIFIED=The MQ address (mq:address) is invalid  no queueManagerName is specified.
  592.41 -MQAddress.INVALID_PORT_SPECIFIED=The MQ address (mq:address) has an invalid connectionURL ''{0}'' : an invalid port number ''{1}'' is specified
  592.42 -
  592.43 -MQOperation.EMPTY_QUEUENAME_EMPTY=Binding operation ''{0}'' has an invalid MQ binding operation (mq:operation) : the value of the queueName attribute is empty
  592.44 -MQOperation.XA_NOT_SUPPORTED_FOR_IN_OUT_XCHANGE=Binding operation ''{0}'' has an invalid MQ binding operation (mq:operation) : XA transactions are not supported for In-Out operations (has input and output)
  592.45 -MQOperation.DURABLE_SUBSCRIBER_BUT_NO_SUBSCRIPTION_NAME=Binding operation ''{0}'' has an invalid MQ binding operation (mq:operation) : a durable subscriber is defined but the subscription name is not defined
  592.46 -MQOperation.DURABLE_SUBSCRIBER_BUT_NO_CLIENT_ID=Binding operation ''{0}'' has a durable subscriber defined but the clientID is not defined; note that the subscriptionName will be used as the clientID if clientID is not defined
  592.47 -MQOperation.BATCH_NOT_SUPPORTED_FOR_TOPICS=Binding operation ''{0}'' has an invalid MQ binding operation (mq:operation) : batching of received messages is not supported for Topics, batchSize is set to ''{1}}''
  592.48 -MQOperation.XA_NOT_SUPPORTED_FOR_BATCH=Binding operation ''{0}'' has an invalid MQ binding operation (mq:operation) : batching of received messages is not supported for XA transactions, batchSize is set to ''{1}}''
  592.49 -MQOperation.ATMOST_ONE_OPTIONS_ELEM_IN_MQ_OPERATION=Binding operation ''{0}'' has an invalid MQ binding operation (mq:operation) : only one MQ options element (mq:options) can be defined for a MQ binding operation but there were {1} found
  592.50 -
  592.51 -MQMessage.MESSAGE_TYPE_IS_NOT_SUPPORTED=Binding operation ''{0}'' has an invalid MQ binding {1}  (mq:body) : ''{2}'' defines MessageType  which is not supported
  592.52 -MQMessage.TEXT_MESSAGE_MESSAGEBODY_NOT_SPECIFIED=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines MessageType as ''TextMessage'' but the MessageBody attribute is not specified
  592.53 -MQMessage.TEXT_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines MessageBody as ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.54 -MQMessage.TEXT_MESSAGE_CANNOT_HAVE_MAPMESSAGE_ELEM=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines messageType as ''TextMessage'' but it contains a mq:mapmessage child element which is only valid for 'MapMessage' type
  592.55 -MQMessage.ENCODING_STYLE_NOT_SPECIFIED=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines the use attribute as ''encoded'' but the encodingStyle attribute is not specified
  592.56 -MQMessage.ENCODING_STYLE_INVALID_USE=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines the use attribute as ''literal'' but the encodingStyle attribute is defined which a value of ''{3}''
  592.57 -MQMessage.MAP_MESSAGE_CANNOT_HAVE_TEXTPART_ATTR=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines messageType as ''MapMessage'' but it defines the textPart attribute which is only valid for 'TextMessage' type
  592.58 -MQMessage.ATMOST_ONE_MAPMESSAGE_ELEM_IN_MQ_MESSAGE=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has more than one mq:mapmessage child elements defined for mq:body, only one mq:mapmessage child element can be defined but there were {3} found
  592.59 -MQMessage.MISSING_MAPMESSAGE_ELEM_IN_MQ_MESSAGE=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines messageType as ''MapMessage'' but it is missing a mq:mapmessage child element for mq:body
  592.60 -MQMessage.EMPTY_MAPMESSAGE_PARTS=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has an empty mq:mapmessage defined for mq:body, one or more mq:mappart child element(s) must be defined for mq:mapmessage
  592.61 -MQMessage.EMTPY_MAPPART_NAME=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:mappart with an empty value for the name attribute
  592.62 -MQMessage.EMTPY_MAPPART_TYPE=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:mappart with an empty value for the type attribute
  592.63 -MQMessage.EMTPY_MAPPART_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:mappart with an empty value for the part attribute
  592.64 -MQMessage.MAPPART_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:mappart with the part attribute value set to ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.65 -MQMessage.USE_IGNORED=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' defines messageType as ''MapMessage'' but the use attribute is defined as ''{3}'', use will be ignored because messageType is set to ''MapMessage''
  592.66 -MQMessage.ATMOST_ONE_PROPERTIES_ELEM_IN_MQ_MESSAGE=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has more than one mq:properties child elements defined for mq:body, only one mq:properties child element can be defined but there were {3} found
  592.67 -MQMessage.EMPTY_PROPERTIES_PARTS=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has an empty mq:properties defined for mq:body, one or more mq:property child element(s) must be defined for mq:properties
  592.68 -MQMessage.EMTPY_PROPERTY_NAME=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:property with an empty value for the name attribute
  592.69 -MQMessage.EMTPY_PROPERTY_TYPE=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:property with an empty value for the type attribute
  592.70 -MQMessage.EMTPY_PROPERTY_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:property with an empty value for the part attribute
  592.71 -MQMessage.PROPERTY_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has a mq:property with the part attribute value set to ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.72 -MQMessage.EMTPY_CORRELATIONID_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the correlationIDPart attribute defined with an empty part name
  592.73 -MQMessage.CORRELATIONID_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the correlationIDPart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.74 -MQMessage.EMTPY_DELIVERYMODE_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the deliveryModePart attribute defined with an empty part name
  592.75 -MQMessage.DELIVERYMODE_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the deliveryModePart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.76 -MQMessage.EMTPY_PRIORITY_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the priorityPart attribute defined with an empty part name
  592.77 -MQMessage.PRIORITY_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the priorityPart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.78 -MQMessage.EMTPY_TYPE_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the typePart attribute defined with an empty part name
  592.79 -MQMessage.TYPE_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the typePart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.80 -MQMessage.EMTPY_MESSAGEID_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the messageIDPart attribute defined with an empty part name
  592.81 -MQMessage.MESSAGEID_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the messageIDPart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.82 -MQMessage.EMTPY_REDELIVERED_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the redeliveredPart attribute defined with an empty part name
  592.83 -MQMessage.REDELIVERED_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the redeliveredPart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
  592.84 -MQMessage.EMTPY_TIMESTAMP_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the timestampPart attribute defined with an empty part name
  592.85 -MQMessage.TIMESTAMP_PART_REFERENCES_NON_EXISTENT_PART=Binding operation ''{0}'' has an invalid MQ {1} binding (mq:body) : the {1} binding ''{2}'' has the timestampPart attribute defined with a part name ''{3}'' which is a non-existent part in WSDL message ''{4}''
   593.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/validator/MQComponentValidator.java	Thu Jul 10 19:13:29 2008 +0800
   593.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   593.3 @@ -1,413 +0,0 @@
   593.4 -/*
   593.5 - * The contents of this file are subject to the terms of the Common Development
   593.6 - * and Distribution License (the License). You may not use this file except in
   593.7 - * compliance with the License.
   593.8 - * 
   593.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  593.10 - * or http://www.netbeans.org/cddl.txt.
  593.11 - * 
  593.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  593.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  593.14 - * If applicable, add the following below the CDDL Header, with the fields
  593.15 - * enclosed by brackets [] replaced by your own identifying information:
  593.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  593.17 - * 
  593.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  593.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  593.20 - * Microsystems, Inc. All Rights Reserved.
  593.21 - */
  593.22 -package org.netbeans.modules.wsdlextensions.mq.validator;
  593.23 -
  593.24 -import java.net.URI;
  593.25 -import java.net.URL;
  593.26 -import java.text.MessageFormat;
  593.27 -import java.util.Collection;
  593.28 -import java.util.Collections;
  593.29 -import java.util.HashSet;
  593.30 -import java.util.Iterator;
  593.31 -import java.util.List;
  593.32 -import java.util.StringTokenizer;
  593.33 -import java.util.ResourceBundle;
  593.34 -
  593.35 -import org.netbeans.modules.xml.wsdl.model.Binding;
  593.36 -import org.netbeans.modules.xml.wsdl.model.BindingInput;
  593.37 -import org.netbeans.modules.xml.wsdl.model.BindingFault;
  593.38 -import org.netbeans.modules.xml.wsdl.model.BindingOperation;
  593.39 -import org.netbeans.modules.xml.wsdl.model.BindingOutput;
  593.40 -import org.netbeans.modules.xml.wsdl.model.Definitions;
  593.41 -import org.netbeans.modules.xml.wsdl.model.Input;
  593.42 -import org.netbeans.modules.xml.wsdl.model.Output;
  593.43 -import org.netbeans.modules.xml.wsdl.model.OperationParameter;
  593.44 -import org.netbeans.modules.xml.wsdl.model.Port;
  593.45 -import org.netbeans.modules.xml.wsdl.model.Service;
  593.46 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
  593.47 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
  593.48 -import org.netbeans.modules.xml.wsdl.model.Message;
  593.49 -import org.netbeans.modules.xml.wsdl.model.Part;
  593.50 -
  593.51 -import org.netbeans.modules.xml.xam.Component;
  593.52 -import org.netbeans.modules.xml.xam.Model;
  593.53 -import org.netbeans.modules.xml.xam.Model.State;
  593.54 -import org.netbeans.modules.xml.xam.dom.NamedComponentReference;
  593.55 -import org.netbeans.modules.xml.xam.spi.Validation;
  593.56 -import org.netbeans.modules.xml.xam.spi.Validation.ValidationType;
  593.57 -import org.netbeans.modules.xml.xam.spi.ValidationResult;
  593.58 -import org.netbeans.modules.xml.xam.spi.Validator;
  593.59 -import org.netbeans.modules.xml.xam.spi.Validator.ResultItem;
  593.60 -
  593.61 -import org.netbeans.modules.wsdlextensions.mq.MQComponent;
  593.62 -import org.netbeans.modules.wsdlextensions.mq.MQBinding;
  593.63 -import org.netbeans.modules.wsdlextensions.mq.MQOperation;
  593.64 -import org.netbeans.modules.wsdlextensions.mq.MQAddress;
  593.65 -import org.netbeans.modules.wsdlextensions.mq.MQBody;
  593.66 -
  593.67 -
  593.68 -
  593.69 -/**
  593.70 - * MQComponentValidator
  593.71 - * semantic validation, check WSDL elements & attributes values and
  593.72 - * any relationship between;
  593.73 - *
  593.74 - *
  593.75 - */
  593.76 -public class MQComponentValidator
  593.77 -        implements Validator {
  593.78 -    
  593.79 -    private static final ResourceBundle mMessages =
  593.80 -            ResourceBundle.getBundle("org.netbeans.modules.wsdlextensions.mq.validator.Bundle");
  593.81 -    
  593.82 -    private Validation mValidation;
  593.83 -    private ValidationType mValidationType;
  593.84 -    private ValidationResult mValidationResult;
  593.85 -    
  593.86 -    public static final ValidationResult EMPTY_RESULT =
  593.87 -            new ValidationResult( Collections.EMPTY_SET,
  593.88 -            Collections.EMPTY_SET);
  593.89 -    
  593.90 -    public MQComponentValidator() {}
  593.91 -    
  593.92 -    /**
  593.93 -     * Returns name of this validation service.
  593.94 -     */
  593.95 -    public String getName() {
  593.96 -        return getClass().getName();
  593.97 -    }
  593.98 -    
  593.99 -    /**
 593.100 -     * Validates given model.
 593.101 -     *
 593.102 -     * @param model model to validate.
 593.103 -     * @param validation reference to the validation context.
 593.104 -     * @param validationType the type of validation to perform
 593.105 -     * @return ValidationResult.
 593.106 -     */
 593.107 -    public ValidationResult validate(Model model, Validation validation,
 593.108 -            ValidationType validationType) {
 593.109 -        mValidation = validation;
 593.110 -        mValidationType = validationType;
 593.111 -        
 593.112 -        HashSet<ResultItem> results = new HashSet<ResultItem>();
 593.113 -        HashSet<Model> models = new HashSet<Model>();
 593.114 -        models.add(model);
 593.115 -        mValidationResult = new ValidationResult(results, models);
 593.116 -        
 593.117 -        // Traverse the model
 593.118 -        if (model instanceof WSDLModel) {
 593.119 -            WSDLModel wsdlModel = (WSDLModel)model;
 593.120 -            
 593.121 -            if (model.getState() == State.NOT_WELL_FORMED) {
 593.122 -                return EMPTY_RESULT;
 593.123 -            }
 593.124 -            
 593.125 -            Definitions defs = wsdlModel.getDefinitions();
 593.126 -            Iterator<Binding> bindings = defs.getBindings().iterator();
 593.127 -            
 593.128 -            while (bindings.hasNext()) {
 593.129 -                Binding binding = bindings.next();
 593.130 -                
 593.131 -                 if (binding.getType() == null || binding.getType().get() == null) {
 593.132 -                    continue;
 593.133 -                }
 593.134 -                
 593.135 -                int numMQBindings = binding.getExtensibilityElements(MQBinding.class).size();
 593.136 -                if ( numMQBindings == 0 )
 593.137 -                    continue;
 593.138 -                
 593.139 -                if (numMQBindings > 0 && numMQBindings != 1) {
 593.140 -                    results.add(
 593.141 -                            new Validator.ResultItem(this,
 593.142 -                            Validator.ResultType.ERROR,
 593.143 -                            binding,
 593.144 -                            getMessage("MQBindingValidation.ONLY_ONE_MQ_BINDING_ALLOWED",
 593.145 -                            new Object[]{binding.getName(),
 593.146 -                            new Integer(numMQBindings)})));
 593.147 -                }
 593.148 -                
 593.149 -                Iterator<BindingOperation> bindingOps =
 593.150 -                        binding.getBindingOperations().iterator();
 593.151 -                boolean foundMQOp = false;
 593.152 -                int bodyCnt = 0;
 593.153 -                while (bindingOps.hasNext()) {
 593.154 -                    BindingOperation bindingOp = bindingOps.next();
 593.155 -                    List <MQOperation> mqOpsList = bindingOp.getExtensibilityElements(MQOperation.class);
 593.156 -                    Iterator<MQOperation> mqOps =
 593.157 -                            mqOpsList.iterator();
 593.158 -                    
 593.159 -                    while (mqOps.hasNext()) {
 593.160 -                        validate(bindingOp, mqOps.next());
 593.161 -                    }
 593.162 -                    
 593.163 -                    if(mqOpsList.size() > 0) {
 593.164 -                        foundMQOp = true;
 593.165 -                        BindingInput bindingInput = bindingOp.getBindingInput();
 593.166 -                        if (bindingInput != null) {
 593.167 -                            bodyCnt = 0;
 593.168 -                            // assumption:
 593.169 -                            // under <input>, there could be one of the following:
 593.170 -                            // <mq:body>
 593.171 -                            // but only one is allowed;
 593.172 -                            //
 593.173 -                            Iterator<MQBody> mqBodies =
 593.174 -                                    bindingInput.getExtensibilityElements(MQBody.class).iterator();
 593.175 -                            
 593.176 -                            if ( mqBodies != null ) {
 593.177 -                                while (mqBodies.hasNext()) {
 593.178 -                                    bodyCnt++;
 593.179 -                                    MQBody mqBody = mqBodies.next();
 593.180 -                                    validate(bindingOp, bindingInput.getInput().get(), mqBody);
 593.181 -                                }
 593.182 -                                if ( bodyCnt > 1 ) {
 593.183 -                                    results.add(
 593.184 -                                            new Validator.ResultItem(this,
 593.185 -                                            Validator.ResultType.ERROR,
 593.186 -                                            bindingInput,
 593.187 -                                            getMessage("MQBindingValidation.ATMOST_ONE_MQBODY_IN_INPUT",
 593.188 -                                            new Object [] {bindingOp.getName(),
 593.189 -                                            new Integer(bodyCnt),
 593.190 -                                            bindingInput.getName()})));
 593.191 -                                }
 593.192 -                                
 593.193 -                            }
 593.194 -                            
 593.195 -                            
 593.196 -                        }
 593.197 -                        
 593.198 -                        BindingOutput bindingOutput = bindingOp.getBindingOutput();
 593.199 -                          if (bindingOutput != null) {
 593.200 -                             results.add(
 593.201 -                                        new Validator.ResultItem(this,
 593.202 -                                        Validator.ResultType.ERROR,
 593.203 -                                        bindingInput,
 593.204 -                                        getMessage("MQBindingValidation.NO_OUPUT_SUPPORTED",
 593.205 -                                                  new Object [] {bindingOp.getName(),
 593.206 -                                                                 bindingOutput.getName()})));
 593.207 -                          }
 593.208 -                        
 593.209 -                    }
 593.210 -                }
 593.211 -                // there is mq:binding but no mp:operation
 593.212 -                if ( numMQBindings > 0 && !foundMQOp ) {
 593.213 -                    results.add(
 593.214 -                            new Validator.ResultItem(this,
 593.215 -                            Validator.ResultType.ERROR,
 593.216 -                            binding,
 593.217 -                            getMessage("MQBindingValidation.MISSING_MQ_OPERATION",
 593.218 -                            new Object[]{binding.getName()})));
 593.219 -                }
 593.220 -                // there is no mp:binding but there are mp:operation
 593.221 -                if ( numMQBindings == 0 && foundMQOp ) {
 593.222 -                    results.add(
 593.223 -                            new Validator.ResultItem(this,
 593.224 -                            Validator.ResultType.ERROR,
 593.225 -                            binding,
 593.226 -                            getMessage("MQBindingValidation.MQ_OPERATION_WO_MQ_BINDING",
 593.227 -                            new Object[]{binding.getName()})));
 593.228 -                }
 593.229 -            }
 593.230 -            
 593.231 -            Iterator<Service> services = defs.getServices().iterator();
 593.232 -            while (services.hasNext()) {
 593.233 -                Iterator<Port> ports = services.next().getPorts().iterator();
 593.234 -                while (ports.hasNext()) {
 593.235 -                    Port port = ports.next();
 593.236 -                    if(port.getBinding() != null) {
 593.237 -                        Binding binding = port.getBinding().get();
 593.238 -                        if(binding != null) {
 593.239 -                            int numRelatedMQBindings = binding.getExtensibilityElements(MQBinding.class).size();
 593.240 -                            List <MQAddress> mqAddressList = port.getExtensibilityElements(MQAddress.class);
 593.241 -                            Iterator<MQAddress> mqAddresses = mqAddressList.iterator();
 593.242 -                            if((numRelatedMQBindings > 0) && (mqAddressList.size()==0)){
 593.243 -                                results.add(
 593.244 -                                        new Validator.ResultItem(this,
 593.245 -                                        Validator.ResultType.ERROR,
 593.246 -                                        port,
 593.247 -                                        getMessage("MQAddressValidation.MISSING_MQ_ADDRESS",
 593.248 -                                        new Object[]{port.getName(),
 593.249 -                                        new Integer(numRelatedMQBindings)})));
 593.250 -                            }
 593.251 -                            
 593.252 -                            if(mqAddressList.size() > 1){
 593.253 -                                results.add(
 593.254 -                                        new Validator.ResultItem(this,
 593.255 -                                        Validator.ResultType.ERROR,
 593.256 -                                        port,
 593.257 -                                        getMessage("MQAddressValidation.ONLY_ONE_MQ_ADDRESS_ALLOWED",
 593.258 -                                        new Object[]{port.getName(),
 593.259 -                                        new Integer(mqAddressList.size())})));
 593.260 -                            }
 593.261 -                            while (mqAddresses.hasNext()) {
 593.262 -                                validate(mqAddresses.next());
 593.263 -                            }
 593.264 -                        }
 593.265 -                    }
 593.266 -                }
 593.267 -            }
 593.268 -        }
 593.269 -        // Clear out our state
 593.270 -        mValidation = null;
 593.271 -        mValidationType = null;
 593.272 -        
 593.273 -        return mValidationResult;
 593.274 -    }
 593.275 -    
 593.276 -    private void validate(MQAddress target) {
 593.277 -        // validate mq:address
 593.278 -        Collection<ResultItem> results =
 593.279 -                mValidationResult.getValidationResult();
 593.280 -        String qMgrNm = target.getQueueManagerName();
 593.281 -        if (qMgrNm == null || qMgrNm.length() == 0 || qMgrNm.startsWith("Please specify a value") )
 593.282 -        {
 593.283 -             results.add(new Validator.ResultItem(this,
 593.284 -                    Validator.ResultType.ERROR,
 593.285 -                    target,
 593.286 -                    getMessage("MQAddressValidation.NO_QMGR_SPECIFIED","")));
 593.287 -                    
 593.288 -        
 593.289 -        }
 593.290 -        String hostname = target.getHostName();
 593.291 -        if (hostname == null || hostname.length() == 0 || hostname.startsWith("Please specify a value")){
 593.292 -            results.add(
 593.293 -                    new Validator.ResultItem(this,
 593.294 -                    Validator.ResultType.WARNING,
 593.295 -                    target,
 593.296 -                    getMessage("MQAddressValidation.ADVICE_HOSTNAME",
 593.297 -                    new Object[]{hostname == null?"":hostname})));
 593.298 -            
 593.299 -        }
 593.300 -        
 593.301 -    }
 593.302 -    
 593.303 -    private void validate(MQBinding target) {
 593.304 -        // for mq binding tag - nothing to validate at this point
 593.305 -    }
 593.306 -    
 593.307 -    
 593.308 -    private void validate(BindingOperation bindingOp, MQOperation target) {
 593.309 -        Collection<ResultItem> results =
 593.310 -                mValidationResult.getValidationResult();
 593.311 -        
 593.312 -        // ToDo: validate MQ operation
 593.313 -        String mep = "in-only";
 593.314 -        boolean hasInput = bindingOp.getBindingInput() != null;
 593.315 -        boolean hasOutput = bindingOp.getBindingOutput() != null;
 593.316 -        
 593.317 -        if (hasInput && hasOutput) {
 593.318 -            mep = "in-out";
 593.319 -        }
 593.320 -        
 593.321 -        String queuename = target.getQueueName();
 593.322 -        
 593.323 -        
 593.324 -        if (queuename == null) {
 593.325 -            results.add(new Validator.ResultItem(this,
 593.326 -                    Validator.ResultType.ERROR,
 593.327 -                    target,
 593.328 -                    getMessage("MQOperation.EMPTY_QUEUENAME_EMPTY",
 593.329 -                    new Object[] {bindingOp.getName()})));
 593.330 -        }
 593.331 -        
 593.332 -        String transaction = target.getTransaction();
 593.333 -        if (transaction != null &&
 593.334 -                transaction.equals("XATransaction") && mep.equals("in-out")) {
 593.335 -            results.add(new Validator.ResultItem(this,
 593.336 -                    Validator.ResultType.ERROR,
 593.337 -                    target,
 593.338 -                    getMessage("MQOperation.XA_NOT_SUPPORTED_FOR_IN_OUT_XCHANGE",
 593.339 -                    new Object[] {bindingOp.getName()})));
 593.340 -        }
 593.341 -        
 593.342 -    }
 593.343 -    
 593.344 -    private void validate(BindingOperation bindingOp,
 593.345 -            OperationParameter opParam,
 593.346 -            MQBody target) {
 593.347 -        Collection<ResultItem> results =
 593.348 -                mValidationResult.getValidationResult();
 593.349 -        
 593.350 -        // get mq:body type
 593.351 -        String mqMsgType = target.getMessageType();
 593.352 -        if(mqMsgType == null) {
 593.353 -             results.add(new Validator.ResultItem(this,
 593.354 -                        Validator.ResultType.ERROR,
 593.355 -                        target,
 593.356 -                        getMessage("MQMessage.MESSAGE_TYPE_IS_NOT_SUPPORTED",
 593.357 -                        new Object[] {bindingOp.getName(),
 593.358 -                        (opParam instanceof Input)? "input":"output",
 593.359 -                        "null"})));
 593.360 -             return;
 593.361 -        }
 593.362 -        if (mqMsgType.equals(MQBody.TEXT_MESSAGE)) {
 593.363 -            String MessageBodyPart = target.getMessageBodyPart();
 593.364 -            if (MessageBodyPart == null || MessageBodyPart.length() == 0) {
 593.365 -                results.add(new Validator.ResultItem(this,
 593.366 -                        Validator.ResultType.ERROR,
 593.367 -                        target,
 593.368 -                        getMessage("MQMessage.TEXT_MESSAGE_MESSAGEBODY_NOT_SPECIFIED",
 593.369 -                        new Object[] {bindingOp.getName(),
 593.370 -                        (opParam instanceof Input)? "input":"output",
 593.371 -                        opParam.getName()})));
 593.372 -            } else {
 593.373 -                 // make sure textPart references a vald wsdl message part
 593.374 -                if (!referencesValidMessagePart(opParam.getMessage(), MessageBodyPart)) {
 593.375 -                    results.add(new Validator.ResultItem(this,
 593.376 -                            Validator.ResultType.ERROR,
 593.377 -                            target,
 593.378 -                            getMessage("MQMessage.TEXT_PART_REFERENCES_NON_EXISTENT_PART",
 593.379 -                                       new Object[] {bindingOp.getName(),
 593.380 -                                                     (opParam instanceof Input)? "input":"output",
 593.381 -                                                     opParam.getName(),
 593.382 -                                                     MessageBodyPart,
 593.383 -                                                     opParam.getMessage().getQName()})));                    
 593.384 -                }
 593.385 -                
 593.386 -            }
 593.387 -        }
 593.388 -    }
 593.389 -    
 593.390 -    private boolean referencesValidMessagePart(NamedComponentReference<Message> wsdlMessage,
 593.391 -            String partName) {
 593.392 -        boolean isValdPartReference = false;
 593.393 -        Iterator<Part> partIter = wsdlMessage.get().getParts().iterator();
 593.394 -        while(partIter.hasNext()) {
 593.395 -            Part p = partIter.next();
 593.396 -            if (p.getName().equals(partName)) {
 593.397 -                isValdPartReference = true;
 593.398 -                break;
 593.399 -            }
 593.400 -        }
 593.401 -        return isValdPartReference;
 593.402 -    }
 593.403 -    
 593.404 -    private String getMessage(String key, String param) {
 593.405 -        return getMessage(key, new Object[] {param});
 593.406 -    }
 593.407 -    
 593.408 -    private String getMessage(String key, Object[] params) {
 593.409 -        String fmt = mMessages.getString(key);
 593.410 -        if ( params != null ) {
 593.411 -            return MessageFormat.format(fmt, params);
 593.412 -        } else {
 593.413 -            return fmt;
 593.414 -        }
 593.415 -    }
 593.416 -}
   594.1 --- a/wsdlextensions.mq/src/org/netbeans/modules/wsdlextensions/mq/validator/MQValidatorSchemaFactory.java	Thu Jul 10 19:13:29 2008 +0800
   594.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   594.3 @@ -1,54 +0,0 @@
   594.4 -/*
   594.5 - * The contents of this file are subject to the terms of the Common Development
   594.6 - * and Distribution License (the License). You may not use this file except in
   594.7 - * compliance with the License.
   594.8 - * 
   594.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  594.10 - * or http://www.netbeans.org/cddl.txt.
  594.11 - * 
  594.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  594.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  594.14 - * If applicable, add the following below the CDDL Header, with the fields
  594.15 - * enclosed by brackets [] replaced by your own identifying information:
  594.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  594.17 - * 
  594.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  594.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  594.20 - * Microsystems, Inc. All Rights Reserved.
  594.21 - */
  594.22 -
  594.23 -package org.netbeans.modules.wsdlextensions.mq.validator;
  594.24 -
  594.25 -
  594.26 -import java.io.InputStream;
  594.27 -import javax.xml.transform.Source;
  594.28 -import javax.xml.transform.stream.StreamSource;
  594.29 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
  594.30 -
  594.31 -/**
  594.32 - * This class implements ValidatorSchemaFactory interface.
  594.33 - *
  594.34 - * @author sweng
  594.35 - */
  594.36 -public class MQValidatorSchemaFactory extends ValidatorSchemaFactory{
  594.37 -    static final String mqbcXSDUrl = "/org/netbeans/modules/wsdlextensions/mq/resources/mq-ext.xsd";
  594.38 -    
  594.39 -    public String getNamespaceURI() {
  594.40 -        return "http://schemas.sun.com/jbi/wsdl-extensions/mq/";
  594.41 -    }
  594.42 -    
  594.43 -    public InputStream getSchemaInputStream() {
  594.44 -         InputStream is = MQValidatorSchemaFactory.class.getResourceAsStream(mqbcXSDUrl);
  594.45 -         return is;
  594.46 -    }
  594.47 -    
  594.48 -     /**
  594.49 -     * Returns the Inputstream related to this schema
  594.50 -     */
  594.51 -    public Source getSchemaSource() {
  594.52 -        InputStream in = MQValidatorSchemaFactory.class.getResourceAsStream(mqbcXSDUrl);
  594.53 -        Source s = new StreamSource(in);
  594.54 -        s.setSystemId(MQValidatorSchemaFactory.class.getResource(mqbcXSDUrl).toString());
  594.55 -        return s;
  594.56 -    }
  594.57 -}
   595.1 --- a/wsdlextensions.mq/test/build-unit.xml	Thu Jul 10 19:13:29 2008 +0800
   595.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   595.3 @@ -1,72 +0,0 @@
   595.4 -<?xml version="1.0"?>
   595.5 -<!--
   595.6 - The contents of this file are subject to the terms of the Common Development
   595.7 - and Distribution License (the License). You may not use this file except in
   595.8 - compliance with the License.
   595.9 - 
  595.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  595.11 - or http://www.netbeans.org/cddl.txt.
  595.12 - 
  595.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  595.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  595.15 - If applicable, add the following below the CDDL Header, with the fields
  595.16 - enclosed by brackets [] replaced by your own identifying information:
  595.17 - "Portions Copyrighted [year] [name of copyright owner]"
  595.18 - 
  595.19 - The Original Software is NetBeans. The Initial Developer of the Original
  595.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  595.21 - Microsystems, Inc. All Rights Reserved.
  595.22 --->
  595.23 -
  595.24 -<project name="org.netbeans.modules.wsdlextensions.mq/test-unit" basedir="." default="all">
  595.25 -    <!-- ========= -->
  595.26 -    <!-- Compilers -->
  595.27 -    <!-- ========= -->
  595.28 -    <property name="build.compiler.source" value="1.5"/>
  595.29 -    <property file="../nbproject/project.properties"/>
  595.30 -    
  595.31 -    <target name="default-compiler">
  595.32 -        <!-- Build application before tests -->
  595.33 -        <ant dir=".." target="jar"/>
  595.34 -        <buildTests srcdir="unit/src" compileexcludes="**/data/**">
  595.35 -            <property name="javac.source" value="1.5"/>
  595.36 -	    <property name="package.tests.includes" value="**/*"/>
  595.37 -	    <property name="package.tests.excludes" value="**/*.java"/>
  595.38 -            <classpath>
  595.39 -                <!-- Add classpath elements needed to compile tests -->
  595.40 -                <pathelement path="${test.unit.cp}"/>
  595.41 -                <pathelement path="${test.unit.cp.extra}"/>
  595.42 -            </classpath>
  595.43 -        </buildTests>
  595.44 -    </target>
  595.45 -    
  595.46 -    <!-- ========= -->
  595.47 -    <!-- Executors -->
  595.48 -    <!-- ========= -->
  595.49 -    
  595.50 -    <target name="run-unit-test">
  595.51 -	<echo>NNNNNNNNNNNNNNNNNNNNtest.unit.cp.extra=${test.unit.cp.extra}</echo>
  595.52 -        <executeTests pluginname="jvm">
  595.53 -             <classpath>
  595.54 -                <!-- Add classpath elements needed to run tests -->
  595.55 -                <pathelement path="${test.unit.cp}"/>
  595.56 -                <pathelement path="${test.unit.cp.extra}"/>
  595.57 -                <pathelement path="${test.unit.run.cp.extra}"/>
  595.58 -            </classpath>
  595.59 -        </executeTests>
  595.60 -    </target>
  595.61 -
  595.62 -    <target name="run-ide-test">
  595.63 -        <property name="xtest.ide.use.classloader" value="org.netbeans.modules.wsdlextensions.mq"/>
  595.64 -        <executeTests pluginName="ide">
  595.65 -             <classpath>
  595.66 -                <!-- Add classpath elements needed to run tests -->
  595.67 -                <pathelement path="${test.unit.cp}"/>
  595.68 -                <pathelement path="${test.unit.cp.extra}"/>
  595.69 -                <pathelement path="${test.unit.run.cp.extra}"/>
  595.70 -            </classpath>
  595.71 -        </executeTests>
  595.72 -    </target>
  595.73 -    
  595.74 -</project>
  595.75 -
   596.1 --- a/wsdlextensions.mq/test/build.xml	Thu Jul 10 19:13:29 2008 +0800
   596.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   596.3 @@ -1,100 +0,0 @@
   596.4 -<?xml version="1.0"?>
   596.5 -<!--
   596.6 - The contents of this file are subject to the terms of the Common Development
   596.7 - and Distribution License (the License). You may not use this file except in
   596.8 - compliance with the License.
   596.9 - 
  596.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  596.11 - or http://www.netbeans.org/cddl.txt.
  596.12 - 
  596.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  596.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  596.15 - If applicable, add the following below the CDDL Header, with the fields
  596.16 - enclosed by brackets [] replaced by your own identifying information:
  596.17 - "Portions Copyrighted [year] [name of copyright owner]"
  596.18 - 
  596.19 - The Original Software is NetBeans. The Initial Developer of the Original
  596.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  596.21 - Microsystems, Inc. All Rights Reserved.
  596.22 --->
  596.23 -<project name="org.netbeans.modules.wsdlextensions.mq/test" basedir="." default="all">
  596.24 -
  596.25 -    <!-- Name of tested module -->
  596.26 -    <property name="xtest.module" value="org.netbeans.modules.wsdlextensions.mq"/>
  596.27 -    
  596.28 -    <!-- Home of XTest -->
  596.29 -    <property name="xtest.home" location="../../../xtest"/>
  596.30 -    <import file="${xtest.home}/lib/templates/xtest.xml"/>
  596.31 -
  596.32 -    <!-- default testtypes, attributes used when no value is supplied from command line -->
  596.33 -    <property name="xtest.testtype" value="unit"/>
  596.34 -    <property name="xtest.attribs" value="stable"/>
  596.35 -    <!--
  596.36 -    <property name="xtest.testtype" value="functional"/>
  596.37 -    <property name="xtest.attribs" value="stable,validation"/>
  596.38 -    -->
  596.39 -    
  596.40 -    <!-- Points to directory with IDE to test. Optional for IDE tests.  -->
  596.41 -    <property name="netbeans.dest.dir" location="${xtest.home}/../nbbuild/netbeans"/>
  596.42 -    
  596.43 -    <!--
  596.44 -    *****************************************************
  596.45 -    ** You should not change anything after this comment,
  596.46 -    **    unless you really know what you are doing
  596.47 -    ******************************************************
  596.48 -    -->
  596.49 -    
  596.50 -    <!-- Ant property. Value 'ignore' means that system classpath is ignored
  596.51 -         and only classpath specified in build file is used. -->
  596.52 -    <property name="build.sysclasspath" value="ignore"/>
  596.53 -
  596.54 -    <!-- Points to antfile with module's harness. 
  596.55 -         Targets from that antfile is called from this build.xml -->
  596.56 -    <property name="xtest.module_harness.antfile" location="${xtest.home}/lib/module_harness.xml"/>
  596.57 -
  596.58 -    <!-- before using xtest task, it has to be defined -->
  596.59 -    <taskdef name="xtest" classname="org.netbeans.xtest.usertasks.XTestActionTask" 
  596.60 -                 classpath="${xtest.home}/lib/xtest.jar"/>  
  596.61 -    
  596.62 -    <!-- ============ -->
  596.63 -    <!-- Main targets -->
  596.64 -    <!-- ============ -->
  596.65 -    
  596.66 -    <target name="all" depends="runtests"/>
  596.67 -    
  596.68 -    <!-- This calls target which will call compilers according to cfg file.
  596.69 -         You should not change this target unless you realy know what you are doing -->
  596.70 -    <target name="buildtests">
  596.71 -       <xtest executeAction="buildTests"/>
  596.72 -    </target>
  596.73 -    
  596.74 -    <!-- This calls common clean process. This cleans the tests -->
  596.75 -    <!-- You can write your own if you need something special -->
  596.76 -    <target name="cleantests">
  596.77 -       <xtest executeAction="cleanTests"/>
  596.78 -    </target> 
  596.79 -
  596.80 -    <!-- This target runs tests. You should not change this --> 
  596.81 -    <!-- target unless you realy know what you are doing -->
  596.82 -    <target name="runtests" depends="buildtests">
  596.83 -        <echo message="Module: Running tests for ${xtest.module}, testtype ${xtest.testtype}, attribs=${xtest.attribs}"/>
  596.84 -        <xtest executeAction="runTests"/>
  596.85 -    </target>
  596.86 -    
  596.87 -    <!-- This target cleans results -->
  596.88 -    <target name="cleanresults">
  596.89 -        <xtest executeAction="cleanResults"/>
  596.90 -    </target>
  596.91 -    
  596.92 -    <!-- This target cleans both tests and results -->
  596.93 -    <target name="realclean">
  596.94 -        <xtest executeAction="cleanAll"/>
  596.95 -    </target>
  596.96 -    
  596.97 -    <!-- This target prints out default xtest configuration which will be used to run the tests -->
  596.98 -    <target name="printconfig">
  596.99 -        <echo message="Default config is testtype: ${xtest.testtype}, attributes: ${xtest.attribs}."/>
 596.100 -    </target>
 596.101 -    
 596.102 -</project>
 596.103 -
   597.1 --- a/wsdlextensions.mq/test/cfg-unit.xml	Thu Jul 10 19:13:29 2008 +0800
   597.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   597.3 @@ -1,44 +0,0 @@
   597.4 -<?xml version="1.0" encoding="UTF-8"?>
   597.5 -<!--
   597.6 - The contents of this file are subject to the terms of the Common Development
   597.7 - and Distribution License (the License). You may not use this file except in
   597.8 - compliance with the License.
   597.9 - 
  597.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  597.11 - or http://www.netbeans.org/cddl.txt.
  597.12 - 
  597.13 - When distributing Covered Code, include this CDDL Header Notice in each file
  597.14 - and include the License file at http://www.netbeans.org/cddl.txt.
  597.15 - If applicable, add the following below the CDDL Header, with the fields
  597.16 - enclosed by brackets [] replaced by your own identifying information:
  597.17 - "Portions Copyrighted [year] [name of copyright owner]"
  597.18 - 
  597.19 - The Original Software is NetBeans. The Initial Developer of the Original
  597.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  597.21 - Microsystems, Inc. All Rights Reserved.
  597.22 --->
  597.23 -
  597.24 -<mconfig name="Unit config">
  597.25 -
  597.26 -    <testbag testattribs="stable" executor="unit-executor" name="Unit tests">
  597.27 -        <testset dir="unit/src">
  597.28 -            <patternset>
  597.29 -                <include name="**/*Test.class"/>
  597.30 -                <!-- exclude name="**/readwrite/*Test.class"/ -->
  597.31 -            </patternset>
  597.32 -        </testset>
  597.33 -    </testbag>
  597.34 -
  597.35 -    <testbag testattribs="ide" executor="ide-executor" name="IDE tests">
  597.36 -        <testset dir="unit/src">
  597.37 -            <patternset>
  597.38 -                <include name="**/*Test.class"/>
  597.39 -            </patternset>
  597.40 -        </testset>
  597.41 -    </testbag>
  597.42 -
  597.43 -    <compiler name="default-compiler" antfile="build-unit.xml" target="default-compiler" default="true"/>
  597.44 -    <executor name="unit-executor" antfile="build-unit.xml" target="run-unit-test"/>
  597.45 -    <executor name="ide-executor" antfile="build-unit.xml" target="run-ide-test"/>
  597.46 -
  597.47 -</mconfig>
   598.1 --- a/wsdlextensions.mq/test/unit/src/org/netbeans/modules/wsdlextensions/mq/validator/MQValidatorSchemaFactoryTest.java	Thu Jul 10 19:13:29 2008 +0800
   598.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   598.3 @@ -1,79 +0,0 @@
   598.4 -/*
   598.5 - * The contents of this file are subject to the terms of the Common Development
   598.6 - * and Distribution License (the License). You may not use this file except in
   598.7 - * compliance with the License.
   598.8 - * 
   598.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  598.10 - * or http://www.netbeans.org/cddl.txt.
  598.11 - * 
  598.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  598.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  598.14 - * If applicable, add the following below the CDDL Header, with the fields
  598.15 - * enclosed by brackets [] replaced by your own identifying information:
  598.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  598.17 - * 
  598.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  598.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  598.20 - * Microsystems, Inc. All Rights Reserved.
  598.21 - */
  598.22 -
  598.23 -/*
  598.24 - * MQValidatorSchemaFactoryTest.java
  598.25 - * JUnit based test
  598.26 - *
  598.27 - * Created on February 6, 2007, 11:37 PM
  598.28 - */
  598.29 -
  598.30 -package org.netbeans.modules.wsdlextensions.mq.validator;
  598.31 -
  598.32 -import javax.xml.transform.Source;
  598.33 -import junit.framework.*;
  598.34 -import java.io.InputStream;
  598.35 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
  598.36 -import org.netbeans.modules.wsdlextensions.mq.MQQName;
  598.37 -
  598.38 -/**
  598.39 - *
  598.40 - * @author radval
  598.41 - */
  598.42 -public class MQValidatorSchemaFactoryTest extends TestCase {
  598.43 -    
  598.44 -    public MQValidatorSchemaFactoryTest(String testName) {
  598.45 -        super(testName);
  598.46 -    }
  598.47 -
  598.48 -    protected void setUp() throws Exception {
  598.49 -    }
  598.50 -
  598.51 -    protected void tearDown() throws Exception {
  598.52 -    }
  598.53 -
  598.54 -    /**
  598.55 -     * Test of getNamespaceURI method, of class org.netbeans.modules.wsdlextensions.mq.validator.MQValidatorSchemaFactory.
  598.56 -     */
  598.57 -    public void testGetNamespaceURI() {
  598.58 -        System.out.println("getNamespaceURI");
  598.59 -        
  598.60 -        MQValidatorSchemaFactory instance = new MQValidatorSchemaFactory();
  598.61 -        
  598.62 -      
  598.63 -        String result = instance.getNamespaceURI();
  598.64 -        assertNotNull(result);
  598.65 -        
  598.66 -    }
  598.67 -
  598.68 -    /**
  598.69 -     * Test of getSchemaInputStream method, of class org.netbeans.modules.wsdlextensions.mq.validator.MQValidatorSchemaFactory.
  598.70 -     */
  598.71 -    public void testGetSchemaSource() {
  598.72 -        System.out.println("getSchemaSource");
  598.73 -        
  598.74 -        MQValidatorSchemaFactory instance = new MQValidatorSchemaFactory();
  598.75 -        
  598.76 -       
  598.77 -        Source result = instance.getSchemaSource();
  598.78 -        assertNotNull(result);
  598.79 -        
  598.80 -    }
  598.81 -    
  598.82 -}
   599.1 --- a/wsdlextensions.mq/test/unit/src/org/netbeans/modules/wsdlextensions/mq/validator/SchemaTest.java	Thu Jul 10 19:13:29 2008 +0800
   599.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
   599.3 @@ -1,95 +0,0 @@
   599.4 -/*
   599.5 - * The contents of this file are subject to the terms of the Common Development
   599.6 - * and Distribution License (the License). You may not use this file except in
   599.7 - * compliance with the License.
   599.8 - * 
   599.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
  599.10 - * or http://www.netbeans.org/cddl.txt.
  599.11 - * 
  599.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
  599.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
  599.14 - * If applicable, add the following below the CDDL Header, with the fields
  599.15 - * enclosed by brackets [] replaced by your own identifying information:
  599.16 - * "Portions Copyrighted [year] [name of copyright owner]"
  599.17 - * 
  599.18 - * The Original Software is NetBeans. The Initial Developer of the Original
  599.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  599.20 - * Microsystems, Inc. All Rights Reserved.
  599.21 - */
  599.22 -
  599.23 -/*
  599.24 - * SchemaTest.java
  599.25 - * JUnit based test
  599.26 - *
  599.27 - * Created on January 31, 2007, 6:25 PM
  599.28 - */
  599.29 -
  599.30 -package org.netbeans.modules.wsdlextensions.mq.validator;
  599.31 -
  599.32 -import java.net.URL;
  599.33 -import javax.xml.XMLConstants;
  599.34 -import javax.xml.transform.stream.StreamSource;
  599.35 -import javax.xml.validation.Schema;
  599.36 -import javax.xml.validation.SchemaFactory;
  599.37 -import junit.framework.*;
  599.38 -import org.xml.sax.ErrorHandler;
  599.39 -import org.xml.sax.SAXException;
  599.40 -import org.xml.sax.SAXParseException;
  599.41 -
  599.42 -/**
  599.43 - *
  599.44 - * @author radval
  599.45 - */
  599.46 -public class SchemaTest extends TestCase {
  599.47 -    
  599.48 -    private Exception mLastError;
  599.49 -    
  599.50 -    private URL schemaUrl = SchemaTest.class.getResource("/org/netbeans/modules/wsdlextensions/mq/resources/mq-ext.xsd");
  599.51 -    
  599.52 -    public SchemaTest(String testName) {
  599.53 -        super(testName);
  599.54 -    }
  599.55 -
  599.56 -    protected void setUp() throws Exception {
  599.57 -    }
  599.58 -
  599.59 -    protected void tearDown() throws Exception {
  599.60 -    }
  599.61 -    
  599.62 -    // TODO add test methods here. The name must begin with 'test'. For example:
  599.63 -    // public void testHello() {}
  599.64 -    
  599.65 -    public void testSchema() throws Exception {
  599.66 -        MyErrorHandler errorHandler = new MyErrorHandler();
  599.67 -        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
  599.68 -        sf.setErrorHandler(errorHandler);
  599.69 -        MQValidatorSchemaFactory fac = new MQValidatorSchemaFactory();
  599.70 -        StreamSource s = new StreamSource(fac.getSchemaInputStream());
  599.71 -        s.setSystemId(MQValidatorSchemaFactory.class.getResource(MQValidatorSchemaFactory.mqbcXSDUrl).toString());
  599.72 -        Schema schema = sf.newSchema(s);
  599.73 -        assertNotNull("schema should not be null", schema);
  599.74 -        
  599.75 -        assertNull("No exception should occur in schema parsing", mLastError);
  599.76 -        
  599.77 -    }
  599.78 -    
  599.79 -    class MyErrorHandler implements ErrorHandler {
  599.80 -        
  599.81 -        public void error(SAXParseException exception) throws SAXException {
  599.82 -            mLastError = exception;
  599.83 -            exception.printStackTrace();
  599.84 -        }
  599.85 -
  599.86 -        public void fatalError(SAXParseException exception) throws SAXException {
  599.87 -            mLastError = exception;
  599.88 -            exception.printStackTrace();
  599.89 -        }
  599.90 -
  599.91 -        public void warning(SAXParseException exception) throws SAXException {
  599.92 -            exception.printStackTrace();
  599.93 -        }
  599.94 -        
  599.95 -
  599.96 -
  599.97 -    }
  599.98 -}