The environment is Ant 1.4Beta2, RedHat Linux 7.0, Sun JDK 1.3.1, jikes
1.14 installed from the RPM and is in the path.
When I do this:
property name=build.compiler value=jikes/
in my build file, I'm getting this (ant -v):
-
[javac]
Does it work without the antcall in between?
Stefan
Yeah, it seems to. What's with antcall?
Bojan
Stefan Bodewig wrote:
Does it work without the antcall in between?
Stefan
Stefan Bodewig wrote:
Does it work without the antcall in between?
Stefan
BTW, jikes dumps core when this happens... And compiles this file easy
when called from the shell.
Bojan
On Mon, 20 Aug 2001, Bojan Smojver [EMAIL PROTECTED] wrote:
Yeah, it seems to. What's with antcall?
To be honest, I have no idea, I just saw it in your stack trace and
thought this may have been related.
I'll see whether I can come up with something.
Stefan
I am on a Windows 98 box. I am having trouble executing an EXE file from
a directory other than the current directory I am in.
For Example: I am in a C:\TestAnt subdirectory where I have the
following latest.xml file (between lines with equal signs):
Scott,
What happens if you change the line:
exec dir=c:\testit executable=test/
to:
exec dir=c:\testit executable=test.exe/
Felice
-Original Message-
From: Scott Matthews [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 9:52 AM
To: [EMAIL PROTECTED]
Subject: exec dir
Scott,
Silly question but do you have your ANT_HOME, JAVA_HOME and PATH environment
variables set up right? I have the following batch file that I use:
set ANT_HOME=D:\Ant1.3
set JAVA_HOME=D:\jdk1.2.2
set PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\lib
HTH,
Felice
-Original
I'm getting a deprecation warning from javac when I use ant to compile a project. How
do I pass the
-deprecation flag to ant?
Thanks
--Michael
--
==
Michael Molloy ResortQuest International
Java Developer
Scott,
I just tried this on Win2000. I got an error from CreateProcess as well.
So, I tried setting the dir to the parent and then including the commands
directory in the executable - that worked. So try changing to this:
target name=Latest Test
echo message=Testit is executing now /
I am trying to run ant through the Main class
interface instead of the binary. When I do this the
javac task fails with this error...
javac: invalid flag: -sourcepath
Has anyone seen something like this. Thaks for any help.
=
Regards,
Cornellious Mann
Michael Molloy wrote:
I'm getting a deprecation warning from javac when I use ant to compile a project.
How do I pass the
-deprecation flag to ant?
Thanks
--Michael
--
==
Michael Molloy ResortQuest International
On Tue, 21 Aug 2001 01:16, Michael Molloy wrote:
I'm getting a deprecation warning from javac when I use ant to compile a
project. How do I pass the -deprecation flag to ant?
First you got to the ant documentation, then you look up the javac task and
then follow directions ;)
--
Cheers,
Set the deprecation attribute of the javac task to on.
-- Don
--- Michael Molloy [EMAIL PROTECTED] wrote:
I'm getting a deprecation warning from javac when I use ant to
compile a project. How do I pass the
-deprecation flag to ant?
Thanks
--Michael
--
http://jakarta.apache.org/ant/manual/CoreTasks/javac.html
deprecation=on is what you're looking for.
- Original Message -
From: Michael Molloy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 20, 2001 8:16 AM
Subject: Finding Deprecated methods?
I'm getting a deprecation
Javadoc will add links to third party API's on the web, which is really
nice. Just add link statements like this to your Javadoc task:
link href=http://java.sun.com/j2se/1.3/docs/api//
Mark
It is normal. Javadoc searches for links related to the mentioned
classes
but cannot find them.
Another possible way to do this in version 1.3 would
be to set up a different property for each OS, and
then test for the existence of that property.
Your command line would read...
... -Dlinux=true ...
or
... -Dwindows=true ...
The value after the property (true) would only exist
for
Actually you can do something more automatic than having to manually set a
property. You can define a property like this:
property name=is${os.name} value=whatever/
And replace your 'if' statement below with things like:
if=isWindows 2000
- Original Message -
From:
Title: RE: Setting a property based on the OS
Here's a fragment from one of my files:
!-- set a property whose name is based on what OS we are --
property name=${os.name}.install value=dummy/
...
!-- a set of install targets, that does host-dependent things --
target name=install
Conor MacNeill wrote:
Can we see the debug line where Jikes is invoked please? It may give a clue
Conor
Not sure what you mean by 'debug line' here...
This is gdb where dump (unfortunately no symbols for now):
-
GNU gdb 5.0
Copyright 2000 Free
On Tue, 21 Aug 2001 07:30, Bojan Smojver wrote:
Conor MacNeill wrote:
Can we see the debug line where Jikes is invoked please? It may give a
clue
Conor
Not sure what you mean by 'debug line' here...
I think he means the command line for jikes as described in ants debug log ...
The
Hello Stephane,
Not sure about the best place to report this, be sure and let me know if
there is somewhere better
Anyway I an using Ant 1.4 beta (with optional tasks) and I just spent quite
a while tracking down a subtle bug sort of.
Anyway if I use batchtest in the form :
junit
Hello,
I am having a problem setting up my paths on a Win 2000 machine. Any help
would be greatly appreciated.
I get the following error when running ant...
Exception in thread main java.lang.NoClassDefFoundError:
Files\Sybase\Shared\PowerBuilder\classes/zip;/;D:\Oracle\Ora8\orb\classes\yo
The classpath of D:\Program
Files\Sybase\Shared\PowerBuilder\classes.zip; is what is hosing you.
Try d:\progra~1 (assuming you have nothing else on d:\ that violates
the 8.3 convention that was installed prior to creating program files)
You might find alternate solutions at
you are the man!! Thanks for your help.
Shawn
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 5:43 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbie question
The classpath of D:\Program
Files\Sybase\Shared\PowerBuilder\classes.zip; is
Peter Donald wrote:
On Tue, 21 Aug 2001 07:30, Bojan Smojver wrote:
Conor MacNeill wrote:
Can we see the debug line where Jikes is invoked please? It may give a
clue
Conor
Not sure what you mean by 'debug line' here...
I think he means the command line for jikes as
Nah, if I were da man I'd figure out what Unsupported SSL message
version meant and who (IRL, not Ant) was throwing it... ;)
/bill
-Original Message-
From: s.sandy [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 5:45 PM
To: ant-user
Subject: RE: Newbie question
you are the
Peter Donald wrote:
The confusing part here is that when jikes complied for glibc-2.2 is
used, standalone compilations are fine. But when called from Ant, it
dumps the core. So, there must be something different in the way jikes
is called from Ant then from the shell... And yet, the
Shawn,
Please try Ant 1.4 Beta. This version should handle classpaths with spaces
without needing to resort to the Program~#@%#%@!~1 notation.
Conor
-Original Message-
From: Shawn Sandy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 August 2001 8:37 AM
To: [EMAIL PROTECTED]
Daniel,
Dear all,
I have a little problem with my EJB JAR file creation, using the ejbjar
tag. Some of my EJB have their own exception (derived obviously from
EJBException), but the corresponding exception class is not included
automatically in the EJB JAR file :
!-- Create the EJB JAR
Cornellious,
What is happening here is that you are running Ant under a 1.2 or later JDK
but it is finding the javac library form a 1.1 JDK. You will need to examine
your classpaths, Java executables, etc.
BTW, have you read the javadoc comment for the Main class :-)?
Conor
-Original
Hi all,
If you've read the subject line, you'll understand that I'm a
glutton for punishment.
I've got a requirement for having JDK1.1, JDK1.2, JDK1.3 (and
soon JDK1.4) installed to create releases specific for the
particular platforms.
So, this should be fairly simple, but JavaSoft caught
In my ant files, i have the following property definitions;
property name=windoze value=Windows NT,Windows 2000,Windows 98/
property name=unix value=Linux, SunOS, UNIX/
and implement running perl scripts within targets as follows (where
p45.pp is your perl program/script of choice);
On Tue, 21 Aug 2001 08:51:17 +0800 dave
(dave young [EMAIL PROTECTED]) wrote:
it'd be nice to find a comprehensive list of os id strings somewhere :-)
http://www.tolstoy.com/samizdat/sysprops.html
Might be of interest
- Rob
We have several projects which we would like to be able to build as one
large project.
This can easily be accomplished by using the ant task to call the
build.xml files of the individual sub projects.
The problem that we are having is that the main project defines a property
On Mon, 20 Aug 2001, T. Master [EMAIL PROTECTED] wrote:
How would this then be used in a target?
conditon? Like any other task. Or do you mean the property? Like
any other property.
Stefan
36 matches
Mail list logo