you can use the server property just like any other one, it takes a path to 
which the users and roles properties will be written when security has been 
enabled, for example:





<property 
name="server">$&#123;maven.src.dir&#125;/../../core/target/classes</property>





that way they will be generated straight into the location where you're 
dropping them right now



they will be removed by a clean though .. alternatively you can store them into 
the core/src/properties directory (create it if it does not exist) and have 
them copied into the jar each time it's built



in order to achieve you'll need to write a preGoal to jar:jar into 
core/maven.xml, not unlike the copy-over feature in the web component:





&nbsp; &nbsp; <preGoal name="war&#58;init">

&nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;copy 
todir="$&#123;maven.war.webapp.dir&#125;" overwrite="true">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <ant&#58;fileset 
dir="$&#123;maven.src.dir&#125;/jsp">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <include name="**/*"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </ant&#58;fileset>

&nbsp; &nbsp; &nbsp; &nbsp; </ant&#58;copy>

&nbsp; &nbsp; </preGoal>


--
Wouter Zoons - [EMAIL PROTECTED]

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to