This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Invoking Castor via Ant Task, w/in WebSphere
 
Similar Threads
Response Contained No Data Exception
Ant for Junit Test cases using annotation.
Junit reports for Hudson
FileNotFound Exception
In Eclipse 3.0, Ant not finding javac