----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 07, 2004 10:45 PM Subject: [Andromda-devel] Ant task while developing
Hi evrybody, For developing purpose I would like to run AndroMDA from my binary directory as an Ant Task (so I can modify AndroMDA, compile and launch my build.xml) I' ve put something like this in my build.xml: <taskdef name="andromda3" classname="org.andromda.core.anttasks.AndroMDAGenTask"> <classpath> <pathelement path="/home/stef/andromda-all1/andromda/target/classes"/> --- Try changing this to: <pathelement location="/home/stef/andromda-all1/andromda/target/classes"/> </classpath> </taskdef> Where /home/stef/andromda-all1 is where i've put AndroMDA sources. I've looked in that directory and the AndroMDAGenTask.class is here but Ant give me a : build.xml:17: taskdef class org.andromda.core.anttasks.AndroMDAGenTask.class cannot be found I don't understand. I'm not very familiar with ant but I'm sure my class is in the good directory (with the good package tree) as I've tested it with "java" command Can someone help me?? (I would like to test my work) Do you know a better way to develop on AndroMDA and to test quickly my modifications?? ---- Yes, use the Maven plugin: with the maven plugin, all you need to do is add the cartridges that you want as depedency in a project.xml and call "andromda:run' and maven will worry about creating the classpath for you etc. (of course that means you'll need to learn Maven...but I really think its worth it) :) THANKS ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T�l�phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
