I don't really know enough about jikes, except that it's an alternative to
javac.
Are we comparing like for like? And is it a Java 1.3 compiler?
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2001 07:10
To: [EMAIL PROTECTED]
Subject: RE: Javac not
Hello again,
I'm pretty sure this isn't currently possible, so I'd like to flag it as
feature request.
I'd like patternsets to be nestable, eg:
patternset id=image.files
include name=**/*.gif/
include name=**/*.png/
include name=**/*.jpg/
/patternset
patternset id=binary.files
A more general way of asking this is if patternsets are indeed sets, can one
create unions and differences of patternsets?.
Here's some examples/use cases:
Union (construct a patternset of binary files):
patternset id=image.files
include name=**/*.gif
include name=**/*.png
include
At 05:53 23/4/01 +1000, Jeff Turner wrote:
A more general way of asking this is if patternsets are indeed sets, can one
create unions and differences of patternsets?.
Thats a feature scheduled for Ant2 (or at least I think it got through) ;)
So it is definetly something that will be done ... in
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 23, 2001 8:19 AM
Subject: RE: Javac not generating class files.
I don't really know enough about jikes, except that it's an alternative to
javac.
Are we comparing like for like? And is it a Java
Nico
That's not a bad idea .. jikes for development, javac for release.
I've now had an opportunity to look at the jikes home page and followed the
links for jikes on Solaris .. but that hasn't been written yet. Do people
use jikes on Solaris?
One other point worthy of mention is that I'm
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 23, 2001 9:46 AM
Subject: RE: Javac not generating class files.
I've now had an opportunity to look at the jikes home page and followed
the
links for jikes on Solaris .. but that hasn't been written
The failonerror=false or failonerror=no setting does not appear to
affect generation of classes with 1.3. I've tried both settings and running
ant still does not generate any classes (it does with 1.2.2 running the same
buildfile script).
I'm now going to try splitting the source directories up
--- [EMAIL PROTECTED] wrote:
That's not a bad idea .. jikes for development, javac for release.
Personally, I wouldn't recommend doing that -- you should use the same
compiler for dev builds as you do for nightly/test builds as you do for
releases. I'd recommend running a full build with
I'd recommend running a full build with 'jikes',
then run your
test-suite (I'm assuming you have one :) against the end result and
compare that against the results of what you compiled using
'javac'.
It looks as though jikes is a non-starter. There doesn't appear to be a set
of binaries
Chris Stillwell [EMAIL PROTECTED] wrote:
I am trying to dynamically build a list of package names to
subsequently feed into a javadoc task. Here is the task I am trying
so far:
Any reason packagename=com.wcom.nw.* doesn't work? Couldn't find
spot a problem with it at a first glance over
Lance Peterson [EMAIL PROTECTED] wrote:
Stephane, the link you included is broken.
Up again. We have a little trouble with the FAQ system from time to
time.
Stefan
Marc Portier [EMAIL PROTECTED] wrote:
- don't know how this would work in the 'replace' scenario though...
probably the order of defining your files in the set would be of
importance? (last or first in the list wins the (over)write-deal?)
I think you are going to get an exception as
Jon Skeet [EMAIL PROTECTED] wrote:
Presumably I could extend the jar task itself to do this
automatically?
Before you do so, take a look at the optional jlink task, maybe this
is closer to your needs, I'm not sure. Otherwise, feel free to create
that task and share it 8-)
I've a feeling
I've got round this problem by creating an excludes file. It's not exactly
what I want, but it's a good start.
I'd like to thank Diane and Nico for their help .
Simon
--
Part of the Halifax Group, Halifax plc,
I am trying to get my ant script to telnet into another box and run a
script. It appears to login (I can't be certain) but doesn't run any command
that I enter in a write tag. I've tried simpler things than running my
script, such as touch, without success. The only indication that I have that
Try using a read sub-task to read the prompt you expect (or part of it)
before you write...it may be blocking indefinitely, and may not be
aware that the connection is live...just an idea.
John
-Original Message-
From: gary [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 8:59
Hi,
I want to use ant to deploy my application to JBoss, and then initialize and
test the application. The problem is that JBoss uses a hot deploy method
whereby you just copy the .ear file into a specified directory and it
deploys. Deployment only takes a couple of seconds, but my init and test
Excellent, thank you John, that worked.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2001 15:03
To: [EMAIL PROTECTED]
Subject: RE: Telnet task problem
Try using a read sub-task to read the prompt you expect (or part of it)
before you write...it
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Chris Stillwell [EMAIL PROTECTED] wrote:
I am trying to dynamically build a list of package names to
subsequently feed into a javadoc task. Here is the task I am trying
so far:
Any reason packagename=com.wcom.nw.* doesn't work? Couldn't find
Jim,
Not yet. It has been proposed a few times (I even wrote one once). It will
eventually be available as part of a multithreading solution. For now, you
can pretty quickly whip up your own sleep task which just waits for some
delay.
Conor
- Original Message -
From: Jim Downing [EMAIL
hi all
has anybody integrated cruise control for a continuous integration ?
you have to edit a cruise.properties file in which you set the target you
wish to execute...has anybody got a simple example ? I don't understand yet
which task cruise control expects.
thanks
benoit
Hi,
Is there a way to put a timestamp in the output of the junitreport task? It
would be nice if the html page said what date/time the unit tests were run.
Thanks!
Steve Molitor
[EMAIL PROTECTED]
Is there a cross-platform way to set environment variables in Ant? A task
to set environment variables?
The only platform-specific stuff in my project is setenv.cmd / setenv.sh ;
Ant takes care of the rest. It would be cool if we could put the setenv
stuff in an Ant target. I realize of course
I solved this problem by writing a custom task (for Cactus, a server side
testing framework) that continuously polls a URL until it succeeds. When it
succeeds it means that your app is running. If you're interested, the source
code is available as part of the Cactus source code, you can download
Hi,
I have been working on executing targets with different JDKs for a while
now. If I add
property name=build.compiler value=modern/ to the top of my xml
file, all of the targets in it get executed with JDK1.3 right?. Then what
happens if I put
target name=asi-compile depends=prepare
-Original Message-
From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
Is there a way to put a timestamp in the output of the
junitreport task? It
would be nice if the html page said what date/time the unit
tests were run.
Unfortunately it is not possible.
You can have it
--- Pinar Bicioglu [EMAIL PROTECTED] wrote:
I have been working on executing targets with different JDKs for a while
now. If I add
property name=build.compiler value=modern/ to the top of my
xml file, all of the targets in it get executed with JDK1.3 right?.
Yes -- once you set a property,
Hi,
When I call the ant from a different location then the build file (but with
the -buildfile option in the command line) the parser is failing to
find the dtd file. When I call ant in the directory where the build file is
located the parser is finding the dtd files.
As anyone know something on
--- Molitor, Stephen [EMAIL PROTECTED] wrote:
Is there a cross-platform way to set environment variables in Ant? A
task to set environment variables?
What are you using the env vars for? If it's in exec tasks, you can use
the nested env tag.
Diane
=
([EMAIL PROTECTED])
Hi there,
Parts of our Ant build scripts may need to make HTTP calls to JSPs. What is
the best way to do this? I noticed the 'Get' task, but thought I would ask
anyway.
Thanks,
-Jonathan
So I set JAVA_HOME to d:/jdk1.1.8 and added the part above to one of the
targets in my xml file.
target name=LifeSimulatorApplet-compile depends=prepare
javac srcdir=${src-dir}
destdir=${build-dir}
classpath=${classpath}
deprecation=on
--- [EMAIL PROTECTED] wrote:
It looks as though jikes is a non-starter. There doesn't appear to be a
set of binaries for Solaris and the compilation instructions are non
existent.
I'm guessing that's because there isn't anything special about building on
Solaris. I don't have access to a
Title: 'javadoc' is not recognized as an internal or external command
I have a build.xml
It compiles the code correctly and creates the jar file
but it gives an error while creating the javadoc task.
I get the following error:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
Cool - that might work.
I'm using the environment vars for various things, but setting the
classpath, path, and stuff like JAVA_HOME, ANT_HOME, etc. I launch a
command window that runs the my setenv.cmd script, and then run ant, the
ide, WebLogic server, etc. from within that environment.
It
in my buildfile, i need to create the manifest file as following:
Product: Artemis
Version: 1.0
Build: 19
Date: 20010315
Time: 21:41:36
Builder: jwei@THE-BOY-BLUNDER
Product: Dynamo Integration Server
Config-Path: config
Class-Path: class/classes.jar
Required: DSS
Title: RE: create the menifest file in buildfile
I have a file called manifest.mf(which i write physically outside of ant)
and I use this as the manifest file in the jar task
Also for adding date,time etc in that file
I use a replace task
this does not repalce '=' but keps it as ':'
I'm just using the echo task to create my manifest file:
!-- create the manifest file (contains version info, etc. --
echo file=ClientManifest.mf
Name: com/lgc/infra/
Specification-Title: DecisionSpace client
Specification-Vendor: Landmark Graphics Corporation.
Implementation-Title:
Better to post this to the cruise control list, perhaps.
But, here's an example:
in my .properties file, I have
target=masterbuild
in my build.xml, I have this:
target name=masterbuild depends=modificationset,cleanclasses,all
description=Build used for masterbuild. /
And then I have these
I added the following part to one of the targets in build.xml file.
target name=LifeSimulatorApplet-compile depends=prepare
javac srcdir=${src-dir}
destdir=${build-dir}
classpath=${classpath}
deprecation=on
bootclasspath=${Java118Classes}
I added the part below to one of targets in my build.xml file
target name=LifeSimulatorApplet-compile depends=prepare
javac srcdir=${src-dir}
destdir=${build-dir}
classpath=${classpath}
deprecation=on
bootclasspath=${Java118Classes}
- Original Message -
From: Pinar Bicioglu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 23, 2001 9:59 PM
Subject: RE: Setting the environment varibles and specifying targets in th e
j avac tag ??
I added the part below to one of targets in my build.xml file
target
Without more details, you are probably correct: the get task should be
what you need.
Hope this helps :)
-Original Message-
From: Jonathan Kaplan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 1:03 PM
To: [EMAIL PROTECTED]
Subject: Newbie Ant Question
Hi there,
Parts of our
Title: 'javadoc' is not recognized as an internal or external command
Yeah i
figured that.
But i
was wondering :
I have
set the JAVA_HOME to c:\jdk1.2.2
With
just that ANT can execute javac jar then why not
javadoc?
Why
u need to explicitly add the PATH for javadoc?
Thanks
for your
Title: 'javadoc' is not recognized as an internal or external command
You
shouldn't have to explicitly add it. That's strange. Make sure that javadoc.exe
is in the bin directory?
-Original Message-From: Aarti Chandnani
[mailto:[EMAIL PROTECTED]]Sent: Monday, April 23, 2001 7:59
Title: 'javadoc' is not recognized as an internal or external command
yeah
it is
it
behaved that way on both unix and windows
i had
to explicitly add it in my path
-Original Message-From: Iain Lowe
[mailto:[EMAIL PROTECTED]]Sent: Monday, April 23, 2001 5:08
PMTo: [EMAIL
46 matches
Mail list logo