Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45688 invoked by uid 500); 18 Aug 2003 16:55:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 45668 invoked from network); 18 Aug 2003 16:55:56 -0000 Received: from mx0.gmx.de (HELO mx0.gmx.net) (213.165.64.100) by daedalus.apache.org with SMTP; 18 Aug 2003 16:55:56 -0000 Received: (qmail 4949 invoked by uid 0); 18 Aug 2003 16:55:58 -0000 Date: Mon, 18 Aug 2003 18:55:58 +0200 (MEST) From: Matthias P. To: user@ant.apache.org MIME-Version: 1.0 Subject: Javac fails w. debuginfo X-Priority: 3 (Normal) X-Authenticated-Sender: #0018399817@gmx.net X-Authenticated-IP: [53.122.34.116] Message-ID: <2888.1061225758@www61.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, running my buildscript on my local maschine works, running it on my buildserver fails. I guess because of the difference javac-versiond local maschine: 1.4 buildserver 1.3 Here is the error message ---snip--- [javac] D:\mif\buildbase\src\main\MIFCommon\de\t_systems\cfas\common\valuemodel\BaseObject.java [javac] D:\mif\buildbase\src\main\MIFCommon\de\t_systems\cfas\common\valuemodel\PropertyChangeable.java [javac] D:\mif\buildbase\src\main\MIFCommon\de\t_systems\cfas\common\valuemodel\ValueReference.java [javac] javac: invalid flag: -g:lines,var,source [javac] Usage: javac [javac] where possible options include: [javac] -g Generate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source} Generate only some debugging info [javac] -O Optimize; may hinder debugging or enlarge class file [javac] -nowarn Generate no warnings [javac] -verbose Output messages about what the compiler is doing [javac] -deprecation Output source locations where deprecated APIs are used [javac] -classpath Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirs Override location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -target Generate class files for specific VM version BUILD FAILED file:D:/MIF/buildbase/build.xml:185: Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:844) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1339) at org.apache.tools.ant.Project.executeTargets(Project.java:1255) at org.apache.tools.ant.Main.runBuild(Main.java:609) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) ---end snip--- Here is the propertyenty: ---snip--- ---end snip--- Here the compiletask ---snip--- ---end snip--- Is there an error because of the different javac-versions? Or something else? Matthias -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualit�tssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org