> > Btw, > > <property name="intellij.plugin.dir" > value="C:/programs/intellij.648/plugins"/> > > > > Ouch! This is in the build.xml file. Would you please make it a bit more > > parametric? Move it to a properties file, or even better: if user > > defines it via ant -Dblabla=c:\dada\idea then use it otherwise prompt > > the user with Ant's <input/> task. > > so question on this... pardon my ant ignorance, but whats the best > approach. If I put it in a build.properties file and read props from > that, > that file goes into cvs yes, and people have to modify that to suit their > system? or do I put a commented version of the build.properties in, and > people modify that? (sorry again for such a stupid question....)
-Dblabla is the way to go. If you often build it then you create a local bat file and run it. A casual user just reads the readme file and runs ant with the appropriate variable. And if you really want to take care of lazy users ask the user with Ant's <input/> task if a <condition/> checking the property returns false, so if you don't -D it then the build asks you. Pretty easy imho. Imho a single ${idea.home} property is enough. And regarding the ejb/etc jars imho just point to the ones at xdoclet/samples/lib. After all you gotta checkout xdoclet-all, right? Ara. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel