You probably have to check the documentation for the application server you're using to find out how to set the classpath. For instance, Weblogic has a WLCLASSPATH variable that can be set as part of the server start up process.
I reckon you should have a look at deploying as a WAR file. It...
Hi Dora,
Are you talking about making classes available inside a deployed web application, or making them available when you compile classes using the build file before deploying the web app?
Is your web application deployed as a WAR file?
If you want to add java classes to a classpath in Ant...
Has anyone ever managed to write their own subclass of java.io.FilterReader and use it in the filterchain task?
Ant debugging output shows that Ant is loading my class but there is no indication that it is actually using it.
Thanks for your input guys. Converting the String is not a problem. The following code does the trick nicely:
String newString = oldString.replace('/', '.');
The problem is that I have to create a subclass of FilterReader so that Ant can use it to read a text file and replace the token...
I want to use Ant to replace a token @PACKAGE@ with a String stored in a property called ${package}. But the value of the package property would be in the format "com/company/package" and needs to be converted to the format com.company.package. I need to create a subclass of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.