This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking Castor via Ant Task, w/in WebSphere
 
Similar Threads
FileNotFound Exception
Response Contained No Data Exception
Junit reports for Hudson
In Eclipse 3.0, Ant not finding javac
Ant for Junit Test cases using annotation.