This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In order to support AM-based security for appclient, we need to append AM jar files to the classpath used to start the client container. In order to do this, we need to temporarily modify the j2ee.platform.classpath property specified in the private.properties file using an ant task from the identity module. Furthermore, we need to make sure this ant task gets invoked before the -init-private target which loads the private.properties file. Therefore, we need to add a -pre-init-am target which gets invoked before the -init-private target.
This is a showstopper issue for the identity module and blocks IZ 92892.
Fix checked into trunk. IDE: [2/3/07 1:21 AM] Committing "build-impl.xsl" started Checking in build-impl.xsl; /cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/resources/build-impl.xsl,v <-- build-impl.xsl new revision: 1.5; previous revision: 1.4 Here is the diff: RCS file: /cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/re sources/build-impl.xsl,v retrieving revision 1.4 diff -r1.4 build-impl.xsl 79a80,83 > <target name="-pre-init-am"> > <xsl:comment> Access Manager pre-initialization </xsl:comment> > </target> > 519c523 < <xsl:attribute name="depends">-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-m acrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-debug-appclient</xsl:attribute> --- > <xsl:attribute name="depends">-pre-init,-pre-init-am,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-pro perty,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-debug-appclient</xsl:attribute>
Reviewed and agreed.
fix checked into release551 branch.