Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-11-2012, 10:45 AM   #1
Registered: Oct 2012
Posts: 43

Rep: Reputation: Disabled
java build.xml running code

hi. I am trying to run a code from build file. is this right

<project default="compile">
  <target name="compile" depends='prob1,prob2'/>
  <target name="prob1" >
    <javac srcdir='./' includes='' includeantruntime="false"/>
  <target name="run" depends='compile'>
     <java classname='prob1'/>
  </target> </project>
Old 12-10-2012, 04:41 PM   #2
Registered: Jan 2005
Location: Munich, Germany
Distribution: SuSE
Posts: 186

Rep: Reputation: 25
does not look so bad at first glance.
what is the question ? do you get an error message ?


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
[SOLVED] ant build.xml file for eclipse rmknox Programming 3 03-27-2011 03:12 AM
XML Schemas and Java XML Parsers manolakis Programming 1 03-20-2009 08:51 PM
mysql db running on SUSE 10. Java code fails to connect from localhost Carlos2dub SUSE / openSUSE 1 07-04-2008 09:23 AM
suse10.2 50% slower than suse10.0 running Maven - The java build manager. bagpussnz SUSE / openSUSE 0 04-11-2007 09:54 PM
Java code to compare XML like ExamXML alapick Programming 1 06-29-2006 05:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 PM.

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