entzik wrote:
2) go to the anT directory and execute the build.xml file (by invoking ant ...) - and make sure you read the readme file and do what it says. (end of quote) For windows users, also make sure you have pointed the environment variables ANT_HOME to the directory where ant is located. Additionaly update your PATH by adding %ANT_HOME%bin; Now you can invoke ant properly. But after I have copied the generated 'lib' directory to my project's directory and using the build.xml as suggested at The AndroMDA Ant Task page (http://www.andromda.org/andromda-ant-task/index.html) and Apache's manual (http://ant.apache.org/manual/using.html), in essence: <project name="MyProject" default="run" basedir="."> <target name="mda"> <taskdef name="andromda" classname="org.andromda.ant.task.AndroMDAGenTask" classpathref="classpath"/> <andromda configurationUri="${basedir}/mda/conf/andromda.xml"/> </target> </project> The following error occurs D:projectslicenserequestdemo>ant Buildfile: build.xml mda: BUILD FAILED D:projectslicenserequestdemobuild.xml:3: Reference classpath not found. Total time: 0 seconds D:projectslicenserequestdemo> Obviously I should use another value for the attribute classpathref, but I have no clue what value to use. Using the search I tried values such as project.class.path and ${classpath}. I do have a file .classpath in my project-dir, but refering to this file doesn't work either. What am I missing? PS, I do have to note that the first invocation of the 'ant' command did not seem to complete properly. The only thing displayed on my screen was: D:downloadandromda-bin-3.1-RC1-SNAPSHOTant>ant Buildfile: build.xml init: run: [copy] Copying 106 files to D:downloadandromda-bin-3.1-RC1-SNAPSHOTantlib After which it stops... No 'bunch of questions' as suggested in other topics. The tip mentioned in this forum-topic (http://galaxy.andromda.org/forum/viewtopic.php?t=592&highlight=build+xml+ant) does not work because no project-structure was generated and thus no build.xml was generated. _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3688#3688 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user