I think I saw something about absolute paths in properties on the ant-dev list a month or two ago, so you might try the latest ant if you arn't using it and search the archive there if that doesn't work (and their bugzilla). I reserve the right to have a faulty memory however :)

-Gus

Tino Sch�llhorn wrote:

Hi,

I have a quite strange problem: I am trying to start an ojb-based application via ant and the commons-laucher tool. I have struggled some time with setting the classpath correctly and it works now fine - except for one ugly thing: I had to pass an ABSOLUTE path in the OJB.properties -file where OJB should look after its repository.xml-file.

So I have somthing like this:

repositoryFile=D:\\develop\\Tomcat-5.0\\webapps\\kos\\WEB-INF\\classes\\repository.xml


But I really want to keep the relative path!
If I use the relative path OJB tries to search the repository.xml-file from the directory where I started ant...


So does anyone have an idea what I missed?
Any help is greatly appreciated

Tino



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to