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 83237 - Support for earproject
Summary: Support for earproject
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 00:53 UTC by Srividhya Narayanan
Modified: 2006-10-09 23:59 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 Srividhya Narayanan 2006-08-23 00:53:46 UTC
The AM deployment needs to happen for ear project so when J2EE module gets
depoyed the provider config is pushed to the proper AM instance.
Comment 1 Srividhya Narayanan 2006-09-11 20:56:44 UTC
Peter concluded that the -post-dist we use today works for ear project.
Comment 2 Srividhya Narayanan 2006-09-13 19:21:11 UTC
Checking in build-impl.xsl;
/cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/resources/build-im
pl.xsl,v  <--  build-impl.xsl
new revision: 1.19.36.23; previous revision: 1.19.36.22
done

Diff of merged changes:
Index: build-impl.xsl
===================================================================
RCS file: /cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/resource
s/build-impl.xsl,v
retrieving revision 1.19.36.22
diff -r1.19.36.22 build-impl.xsl
330c330
<     <target name="-run-deploy-am">
---
>     <target name="-run-deploy-am" unless="no.deps">
331a332,334
>         <xsl:call-template name="am.target">
>           <xsl:with-param name="targetname" select="'-run-deploy-am'"/>
>         </xsl:call-template>
735a739,752
>     <!---
>     Access Manager deploy template to build subdependencies.
>     @return an Ant target which invokes the Access Manager deployment
>     for all known subprojects
>     -->
>     <xsl:template name="am.target">
>         <xsl:variable name="references" select="/p:project/p:configuration/pro
jdeps:references"/>
>         <xsl:for-each select="$references/projdeps:reference">
>             <xsl:variable name="subproj" select="projdeps:foreign-project"/>
>             <xsl:variable name="script" select="projdeps:script"/>
>             <ant target="-run-deploy-am" inheritall="false" antfile="${{projec
t.{$subproj}}}/{$script}">
>             </ant>
>         </xsl:for-each>
>     </xsl:template>
Comment 3 _ hlu 2006-10-09 23:59:12 UTC
verified in build20061005.