LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-12-2004, 11:14 AM   #1
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
Ant & args for java


I'm trying to build my ant file and I want to pass the start class arguments, so this is what I get:

Code:
[java] The args attribute is deprecated. Please use nested arg elements.
So, I change it and do what it says, and get this!
Code:
BUILD FAILED
file:/data/development/java/142153/build.xml:139: The <java> task doesn't support the nested "args" element.
So I'm a little confuzzled
Anyone know the answer?
 
Old 04-25-2004, 01:01 AM   #2
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint Debian Edition (LMDE)
Posts: 215

Rep: Reputation: 31
Without your build.xml file I can't be certain, but I think you need to use an
Code:
<arg>
element for each of your arguments rather than an
Code:
<args>
element.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emerge problem for dev-java/ant melinda_sayang Linux - Distributions 3 09-02-2005 10:44 AM
ant limewire and java kevner Slackware 3 06-29-2005 08:48 AM
Java & JOGL & udev install on Fedora probs! striderwho Linux - Newbie 0 01-30-2005 04:44 AM
auto-completion - how does it work & can my script args auto-complete? BrianK Programming 1 06-11-2004 05:51 PM
java ant tomcat j-ray Linux - Software 1 09-12-2002 12:59 PM


All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration