LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-11-2012, 10:45 AM   #1
NickPats
Member
 
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

Code:
<project default="compile">
  <target name="compile" depends='prob1,prob2'/>
  <target name="prob1" >
    <javac srcdir='./' includes='prob1.java' includeantruntime="false"/>
  </target>   
  <target name="run" depends='compile'>
     <java classname='prob1'/>
  </target> </project>
 
Old 12-10-2012, 04:41 PM   #2
cheesus
Member
 
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 ?
 
  


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
[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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 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
Open Source Consulting | Domain Registration