Re: native2ascii classpath woes

2007-06-25 Thread Alexander Sack
Can someone give me an example of using the antrun plugin to call native2ascii directly? I searched the archive, found a thread, but its not working. antrun claims it can't find native2ascii as a task and I DID include the ant-nodeps, 1.6.5 in my dependency tree (as provided). -aps On 6/25/07,

Re: native2ascii classpath woes

2007-06-25 Thread Alexander Sack
Uggh, on a side note the plugin is breaking because of the profile used to add tools.jar. The FAQ for adding tools.jar is a very bad idea: http://maven.apache.org/general.html#tools-jar-dependency This assumes a JDK by Sun which may not be the case on many platforms. It would be better to real

Re: native2ascii classpath woes

2007-06-25 Thread Alexander Sack
I'm confused Niraj. I understand that is the normal way I would do it in Java, how would I do that within my Maven pom file? -aps On 6/25/07, Alok, Niraj <[EMAIL PROTECTED]> wrote: You could use Thread.currentThread().getContextLoader() and then iterate through the urls list which are locatio

RE: native2ascii classpath woes

2007-06-25 Thread Alok, Niraj
You could use Thread.currentThread().getContextLoader() and then iterate through the urls list which are locations of jar files. -Original Message- From: Alexander Sack [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 1:37 AM To: Maven Users List Subject: native2ascii classpath woe