The Artima Developer Community
Sponsored Link

Java Buzz Forum
Watch out for the <arg> tag in ant

1 reply on 1 page. Most recent reply: Nov 25, 2008 6:05 AM by Moises Rodrigues

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Mats Henricson

Posts: 55
Nickname: matsh
Registered: May, 2003

Mats Henricson is interested in too much
Watch out for the <arg> tag in ant Posted: Jun 26, 2003 10:53 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Mats Henricson.
Original Post: Watch out for the <arg> tag in ant
Feed Title: Code:Q
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: Mats Henricson's weblog
Latest Java Buzz Posts
Latest Java Buzz Posts by Mats Henricson
Latest Posts From Code:Q

Advertisement


So, I figured out the problem I had with passing in "-i x/y/z/upl.xsd" to Castor. It turned out to be me, using the <arg> tag incorrectly. In all examples in the ant docs the <arg> tag is used like this:

   <arg value="-h"/>
So, I was naturally doing this:

   <arg value="-i x/y/z/upl.xsd"/>
Ooops. This will only pass in "-i", nothing else. What you need to do is:

   <arg line="-i x/y/z/upl.xsd"/>
Now it will pass in "-i x/y/z/upl.xsd".

I would have figured it out quicker if Castor had given me a better error message, but yeah yeah, I'm just whining... :-)

Read: Watch out for the <arg> tag in ant


Moises Rodrigues

Posts: 1
Nickname: moisesber
Registered: Nov, 2008

Re: Watch out for the <arg> tag in ant Posted: Nov 25, 2008 6:05 AM
Reply to this message Reply
Thanks a lot man! This was a great help for me :P

8)

Flat View: This topic has 1 reply on 1 page
Topic: JSF Tutorial- first step Previous Topic   Next Topic Topic: Poll : Usage of web services (SOAP / REST / HTTP)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use