Quote:
there were some issues with the webapp generation part of the plugin, they were 
fixed shortly after
(end of quote)




He's actually modifying the project.xml himself from an ear project to bundle 
things in the war (not generating a war from andromdapp). 




Quote:
even with the type set to ejb, the jar file is still not getting into 
web-inf/lib... would this be a glitch? 
(end of quote)




Looking at the plugin.jelly of the maven-war-plugin (the thing that bundles the 
jars in the war)...it looks like it won't bundle things of type 'ejb'.  So you 
need to go to <your project>/core/project.properties and change this line:



from: maven.multiproject.type=ejb



to: maven.multiproject.type=jar



and then rebuild your core jar..then make the <type> a jar (instead of an ejb) 
in <your project>/web/project.xml:



<dependency>

<type>ejb</type>

<groupId>$&#123;pom.groupId&#125;</groupId>

<artifactId>$&#123;pom.groupId&#125;-core</artifactId>

<version>$&#123;pom.currentVersion&#125;</version>

<type>jar</type>

<properties>

&nbsp; &nbsp; <war.bundle>true</war.bundle>

</properties>

</dependency>
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2607#2607
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to