On Wed, 30 Jan 2002, Zhendi Su [EMAIL PROTECTED] wrote:
for our development it's important that we use jdk 1.1 to compile
all of our java files.
So use JDK 1.1 to run Ant, that's all.
I looked at ant's source code and there seems to be no javac11.java
provided (under taskdef.compilers/).
On Wed, 30 Jan 2002, Zhendi Su [EMAIL PROTECTED] wrote:
Hi,
I tried to send an email using ant's mail task, but it failed. The
error message was:
/home/rsu/prototype/build.xml:10: IO error sending mail: Connection
refused at
This means, that there is no mail server running on the
Well,
My problem is that I can indicate the database url but I also need
to specify the service name and I don't know
how to do this...
(Sorry, I'm not on Oracle expert...)
Regards,
Cyriaque,
Sugandha Shah wrote:
Hi Cyriaque ,
It is not the problem with driver loading .
This error
if i call a batchfile by an exec-task like this:
exec executable=cmd vmlauncher=false os=Windows 2000
failonerror=true timeout=1000
arg value=/c ${env.TOMCAT_HOME}\bin\startup.bat /
/exec
Why is ant hanging after executing the task I set timout to 1 sek and i
think
Hi ,
If this is your database url =jdbc:oracle:thin:@202.54.41.236:1521:abc
Here abc is the service name.
Where is oracle installed ? On the same machine from where you are running
ant ?
If so go this dir structure : ORA_HOME\bin\tnsping
This utility tells whether oracle service is running.
on
- Original Message -
From: Cyriaque Dupoirieux [EMAIL PROTECTED]
To: Ant Users List [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 9:54 AM
Subject: Re: [Target sql]
Well,
My problem is that I can indicate the database url but I also need
to specify the service name and I
How can I reduce the amount (which is 100) of ant-javac error messages ?
Regards
Frode Mjos Johnsen
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fix your code! :)
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 4:34 AM
Subject: How can I reduce the amount (which is 100) of ant-javac error
messages ?
How can I reduce the amount (which is 100) of ant-javac error messages ?
Yes the ANT_HOME env var is set
cut=
ANT_HOME=C:\jakarta-ant-1.4.1\
=cut
here is the verbose output, this is some strange stuff
cut=
Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Detected Java version: 1.3 in: C:\jdk1.3.1_01\jre
Detected OS: Windows 2000
parsing
I realize that I have to restate my question.
The max amount of javac error messages is 100.
Is there a way to set the max amount to a different value?
I thought that this was a relevant question, at least it is to me, because
now I'm faced with a huge amount of classes that is to be put into
if I try that ant just refuses to work alltogether
C:\ichara\buildset ant
ANT_HOME=c:\jakarta-ant-1.4.1\
C:\ichara\buildset ant_home=c:\jakarta-ant-1.4.1
C:\ichara\buildant
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
On Thu, 31 Jan 2002, frode-mjos johnsen
[EMAIL PROTECTED] wrote:
The max amount of javac error messages is 100.
This is a setting of the compiler you use (jikes?) and not of Ant.
You need to find out how you can tell your compiler to show all error
messages (or less than 100), Ant doesn't know
Hunt, Bryan wrote:
if I try that ant just refuses to work alltogether
C:\ichara\buildset ant
ANT_HOME=c:\jakarta-ant-1.4.1\
C:\ichara\buildset ant_home=c:\jakarta-ant-1.4.1
C:\ichara\buildant
Usage: java [-options] class [args...]
(to execute a class)
or java -jar
Conor MacNeill wrote:
Hunt, Bryan wrote:
if I try that ant just refuses to work alltogether
C:\ichara\buildset ant
ANT_HOME=c:\jakarta-ant-1.4.1\
C:\ichara\buildset ant_home=c:\jakarta-ant-1.4.1
C:\ichara\buildant
Usage: java [-options] class [args...]
(to execute a class)
I finally found out what was wrong, you need either Xalan 2.x to do the
optional
junit and juintreport tasks. I installed this xalan and added it to the
classpath.
CLASSPATH=C:\jdk1.3.1_01\lib\tools.jar;c:\tomcat\lib\servlet.jar;C:\xalan-j_
2_2_
0\bin\
however in the bin directory there is
Hello,
Would it be useful to add optional if and unless parameters to the
include name= parameter in the fileset task, similar to the if/unless
argument in include name= when used inside patternset ?
I think this makes the usage if both more consistent.
Mit freundlichen Grüßen / With best
I don't believe there is a way to change it its a JDK javac feature.
You could always manually tweak the files you're including in compilation by
using the patternset include feature of the fileset of javac - and
restrict it to a particular branch of your source code while you're working
on
On Thu, 31 Jan 2002, Juergen Damke [EMAIL PROTECTED] wrote:
Would it be useful to add optional if and unless parameters to
the include name= parameter in the fileset task,
They have if/unless attributes (actually, they are the include
elements of an anonymous patternset inside a fileset).
Check out the Ant API. You can use the Project class as your entry
point.
--- Joseph Teo Chee Ming [EMAIL PROTECTED] wrote:
Hi...
Sorry about the earlier mail...
Does anyone know if I can call Ants from a Java program? If so, how
do I
call? thanks...
Joe
--
To unsubscribe,
I have to write a build script which will copy a folder(XYZ) lying parallel
to another folder say ABC but ABC itself should be ignored.
This ABC folder is lying inside someother folder.
i tried this
fileset dir=${dest}
include name=**/ABC/.. /
exclude name=**/ABC /
/fileset
i only have to pick
hi,
i am using
ant 1.4.1
xalan-j_2_3_D1
xerces-2_0_0
jdk 1.3.1 and jdk 1.4.0-rc
my project does lots of xsl transformation, and I always run into
the following error:
BUILD FAILED
java.lang.OutOfMemoryError
is this problem known?
i am using a styleshet to generate
-Original Message-
From: ul73 [mailto:[EMAIL PROTECTED]]
i am using
ant 1.4.1
xalan-j_2_3_D1
xerces-2_0_0
jdk 1.3.1 and jdk 1.4.0-rc
java.lang.OutOfMemoryError
is this problem known?
I think Shane advice is crystal-clear about xalanj 2.3.d1 and xerces 2.0.0.
ul73 wrote:
hi,
i am using
ant 1.4.1
xalan-j_2_3_D1
xerces-2_0_0
jdk 1.3.1 and jdk 1.4.0-rc
my project does lots of xsl transformation, and I always run into
the following error:
BUILD FAILED
java.lang.OutOfMemoryError
is this problem known?
i am
On 31 Jan, Conor MacNeill wrote:
L,
Download the DTD from the link to a local directory and then add a dtd
element to inform ejbjar where the DTD is.
Check out the documentation
http://jakarta.apache.org/ant/manual/OptionalTasks/ejb.html#ejbjar
In particular, look at the description
--- Stefan Bodewig [EMAIL PROTECTED] wrote:
On Wed, 30 Jan 2002, Zhendi Su [EMAIL PROTECTED] wrote:
for our development it's important that we use jdk 1.1 to compile
all of our java files.
So use JDK 1.1 to run Ant, that's all.
Of course, if you do, and you're running on Winblows, you
On 31 Jan, Landgraf, Thomas GFIDOR wrote:
You can force the ejbjar task to refer to a local file (or to
a webserver you control on your own) by supplying the dtd-tag
within the ejbjar task:
ejbjar ...
dtd publicId=-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN
On Thu, 31 Jan 2002, Diane Holt [EMAIL PROTECTED] wrote:
My approach has always been to use the latestgreatest JDK, so you
get the faster/better Java executables, and if you need to compile
against old crud, just pass it the old classes.
This doesn't work in all circumstances, the depend
Dear Ant users:
How can I unjar all files in build/lib directory into build directory
using unjar? Docs don't say that I can do something like this:
unjar src=?? dest=${build.dest}
fileset dir=./lib
include name=**/*.jar/
include name=**/*.zip/
/fileset
/unjar
Please help!
--
- Original Message -
From: Peter Kesch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 4:32 AM
Subject: How do i get JSPC running
now i tried to compile jsps by ant with ant 1.5-alpha and 1.4.1 by
compiling
it and defining it with the taskdef task ..
in both
RTFAQ: http://jakarta.apache.org/ant/faq.html#xml-entity-include
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 11:30 AM
Subject: Re: ejb-jar and external DTDs
As a general XML question, how can I define an entity with all my
As far as I know there is no such thing as an unjar command. Instead
use jar x filename which will extract all files from the jar.
-Michael
On Thu, Jan 31, 2002 at 11:18:39AM -0600, Igor Fedulov wrote:
Dear Ant users:
How can I unjar all files in build/lib directory into build directory
As far as I know there is no such thing as an unjar command. Instead
use jar x filename which will extract all files from the jar.
There is together with unzip, untar, unjar, unwar and etc in Built-in
Tasks/Core Tasks...
Best regards,
--
HTTP is a stateless protocol, and the Internet is a
You'll be happy to hear that XSLT also allows escaping the curly braces by doubling
them. It might be nicer to write
cvs cvsroot=${{cvs.root}} ...
This is covered in 7.6.2 Attribute Value Templates (http://www.w3.org/TR/xslt)
Cheers!
Scott Ellsworth wrote:
On Wednesday, January 30, 2002,
On Thursday, January 31, 2002, at 10:15 AM, Frank E. Weiss wrote:
You'll be happy to hear that XSLT also allows escaping the curly braces
by doubling them.
I had thought that should be possible, but missed it when looking in my
references. (Good references, inexperienced hand at XSLT.)
I've also been having problems using Xalan 2.2.0 with Ant 1.4.1. In my case everything
works fine with Xalan 2.0.1. But
with Xalan 2.2.0, Ant only completes a few transformations before the build fails with
a Xalan exception. When I
hand-run the failed stylesheet using Xalan 2.2.0, it's OK. I'm
I have sucesfully used the junitreport task in my windoze box, by adding
this jars to the ant/lib directory (I am using ant 1.4.1)
* jakarta-ant-1.4-optional.jar
* xalan.jar
* xerces.jar
Now, I also use a linux box and this is where I have a problem. I have the
same setup and use the same build
I would like to suggest two extensions to ant's use of .properties files
(maybe ant can already do these things, but between reading the doc
and experimenting I didn't see how):
1) Add a '-properties filename' to specify a properties file
which in effect globally for a single ant
Yup. I just changed a Style task with includes to individual Style tasks for each
file with in and out. That seems to work,
at least in my case. I'm going to crack open the Ant source now and look at how Xalan
2.0.1 and Xalan 2.2.0 APIs have
changed.
Frank E. Weiss wrote:
I've also been
If you haven't yet voted for a logo, and (like me) you'd like to see what
the logo will look like on Ant's home page before you vote for it, I've
put together a preview page with the logos:
http://www.tsoft.com/~dianeh/htdocs/preview.htm
(This was just a qd-type thing to get an idea, not
Hi All
Has anyone tried running junit batch tests with jvm forked on ?.Does it
sets different classpaths for each test?.
junit printsummary=no haltonfailure=off
classpath
path refid=junit.classpath /
pathelement path=${classpath} /
-BEGIN PGP SIGNED MESSAGE-
- -BEGIN PGP SIGNED MESSAGE-
hi,
thanks for the replies.
well, i had the same probs with xalan 2.1 and 2.2, that's why i
started
trying the 2.3D1 version (knowing it is not production stable).
i am on a w2k-pro desktop with enough memory.
i tried
Aparently, it is not a xerces problem, but a java machine problem that just
manifested itself today.
I got it fixed (and I am still investigating...) by typing:
ulimit -s 2048
before running ant in the bash shell (on deadrat 7.0). It appers it has
something to do with the default stack size
Is there anyway in ant to specify the the values of a Manifest.mf file using
a task.
ie. something like:
jar jarfile=${dist}/lib/${project}.jar basedir=${build}
manifest
version1/version
main-classcom.something.Driver/main-class
class-path
fileset
Hi,
I specified the mailhost attribute as the name of the mail server (not localhost)
and that fixed the problem! Thanks a lot for those who responded.
Have a great day!
Zhendi
Jon Skeet wrote:
I tried to send an email using ant's mail task, but it failed. The error message
was:
- Original Message -
From: Diane Holt [EMAIL PROTECTED]
If you haven't yet voted for a logo, and (like me) you'd like to see what
the logo will look like on Ant's home page before you vote for it, I've
put together a preview page with the logos:
Robert,
-Original Message-
From: Robert Upshall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 4:52 PM
To: [EMAIL PROTECTED]
Subject: Ant, jars and Manifest
Is there anyway in ant to specify the the values of a Manifest.mf
file using
a task.
Sure there is, I use it
On Thursday, January 31, 2002, at 04:25 PM, Ylan Segal wrote:
I was going to make my first patch for the documentation of this, but I
just
checked the manual in cvs and it is already included there. Oh well!
Just wanted to say THANKS to the ant list for a just amazing tool. Thus
far,
--- Stephane Bailliez [EMAIL PROTECTED] wrote:
I definitely vote for a rework of 42 (I'd like a different font and a
anthill less rectangular with an ant inspired from 16)
How's that sound for a T-shirt or a mousepad ? :-)
I'm with you -- that one definitely seems right for a T-shirt, just
Hi Diane, you can send it my way if you want, I've been using photoshop
for years and do a little work for hp and the like. I'd be happy to play
around with the fonts!
-Vinnie
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 6:00 PM
To: Ant
I've had a look through the source and the docs and I'm no wiser. Does
anyone know how?
--
dIon Gillard, Multitask Consulting
http://www.multitask.com.au/developers
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
At Thu, 31 Jan 2002 16:55:40 -0600,
[EMAIL PROTECTED] wrote:
Aparently, it is not a xerces problem, but a java machine problem that just
manifested itself today.
I got it fixed (and I am still investigating...) by typing:
ulimit -s 2048
I did have similar problem on my linux machine
51 matches
Mail list logo