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.

Bug 94276 - Need to add a -pre-init-am target to support AM pre-init task
Summary: Need to add a -pre-init-am target to support AM pre-init task
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks: 92892
  Show dependency tree
 
Reported: 2007-02-03 08:54 UTC by Peter Liu
Modified: 2007-02-05 18:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Liu 2007-02-03 08:54:11 UTC
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.
Comment 1 Peter Liu 2007-02-03 09:07:35 UTC
This is a showstopper issue for the identity module and blocks IZ 92892.
Comment 2 Peter Liu 2007-02-03 09:27:59 UTC
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>
Comment 3 Radko Najman 2007-02-05 09:32:24 UTC
Reviewed and agreed.
Comment 4 Peter Liu 2007-02-05 18:42:00 UTC
fix checked into release551 branch.