|
From: Richard E. <rem...@ed...> - 2003-06-05 21:54:48
|
4 to 6 months ago I posted to this mailing list an example of a generic wrapper.conf that called ant's Main class passing it a ant xml file (the wrapper.conf need never have any of the runtime jars, etc.; they all appear in the ant xml file which call the java task to launch the application). What you could do is from within your ant xml file launch the wrapper against the wrapper.conf file but have the wrapper.conf simply launch ant with your ant file as its xml file and just give it a different target in the ant file. That way all of the jars/classpaths are only specified in your single ant xml file. RME Guarav Mangalick wrote: > Hi, > > I am using ANT build scripts to install my applications as NT service > using this WRAPPER. I can do this currently by running the statement > "wrapper -i wrapper.conf". > > Question is how can i modify this so the WRAPPER can use the classpath > and other properties set in ANT scripts. (I don't want to set the > classpath and other general properties in wrapper.conf AGAIN. > > Is there a way NOT to use the wrapper.conf at all and use ANT script > parameters instead???. > > Thanks in advance. > > gmangali |