File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Invoking Castor via Ant Task, w/in WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Invoking Castor via Ant Task, w/in WebSphere" Watch "Invoking Castor via Ant Task, w/in WebSphere" New topic
Author

Invoking Castor via Ant Task, w/in WebSphere

Bob Peterson
Ranch Hand

Joined: Jul 30, 2004
Posts: 47
We have a Web project set up for a WebService. We are using Castor to generate the java objects from the xsd. A coworker (who has since left, leaving me to support this) wrote an Ant Task to call Castor whenever the project is Rebuilt. All I think I know is he did this by adding it as an External Tool Builder in the project properties.

It was working fine for awhile, now it's not. I have very little experience with Ant. The weird, new problem is that it appears as if it's not writing any of the classes when the project is Rebuilt. But there are no compilation problems reported in the Tasks view.

Included in this project is a JUnit that we use to test the WebService. The problem now is that JUnit is saying that the JUnit class cannot be found.

Has anyone done something similar? Any tips or ideas?

Thanks

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Invoking Castor via Ant Task, w/in WebSphere
 
Similar Threads
In Eclipse 3.0, Ant not finding javac
FileNotFound Exception
Ant for Junit Test cases using annotation.
Response Contained No Data Exception
Junit reports for Hudson