Hello Wayne,
you need to set both executable and fork="true"
Regards,
Antoine
Wayne Cannon wrote:
> True, it's just a warning, however, I've found that if you don't
> eliminate 100% of the warnings (and not just by suppressing warnings),
> meaningful warnings are missed that should result in code
Hello Rodrigo,
the basename task does this out of the box.
Open the Ant manual.
Regards,
Antoine
Rodrigo Monteiro wrote:
> Hello all,
>
> I'm new in Ant... so this might be an easy question.
>
> I pass in the command line an parameter
> ant -Dtest=/tmp/tmp2/tmp3 -buildfile teste.xml
> What I need
Hello Adrian,
I do not know where this problem is coming from.
What about filling in a bug report with a simple build.xml, specifying
your environment (OS, JDK version).
Regards,
Antoine
Rodriguez, Adrian wrote:
> Hi. I can't javadoc to generate my documentation using 1.7beta3. Here
> are the me
True, it's just a warning, however, I've found that if you don't
eliminate 100% of the warnings (and not just by suppressing warnings),
meaningful warnings are missed that should result in code changes.
I suspect "executable" is what I'm looking for, but when I set it to the
Java 1.3.1_18 JDK,
I think its just a warning...not that it doesn't compile. I tried it on
my machine (which has JDK 1.5.0_08 installed) and it did compile...
David Jones wrote:
Hi,
Source and target define what compatibility to use, not which JDK is
being
used. So 1.5 probably just will not allow that to com
Hi,
Source and target define what compatibility to use, not which JDK is being
used. So 1.5 probably just will not allow that to compile. However, you
could tell it to use a different JDK (1.3), using the executable option, and
then it would actually be compiling with that version of java.
That
Wayne:
This is just a warning...the compilation should have happened. If you
don't want to see the warning, try using
Wayne Cannon wrote:
I'm attempting to convert a Java 1.3project to Ant that has an
attribute named "enum" (Java 1.3 did not have an Enum class) --
"Enumeration enum;".
I'm attempting to convert a Java 1.3project to Ant that has an attribute
named "enum" (Java 1.3 did not have an Enum class) -- "Enumeration
enum;". I have source and target attributes set to "1.3", but still get
the following error message:
warning: as of release 1.5, 'enum' is a keyword, and
Hi Scot,
On 10/25/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
Ant contrib has a nice propertyregex task if you need to do regular
expressions.
However, if this property contains a path and file name (which I believe
is the case), try the basename task.
It's what I was looking for.
Thanks!
Is there a way to pipe a file to the input and have the process spawned
to the background?
testprogram < test.txt
Thanks
-Original Message-
From: Bret Kumler
Sent: Wednesday, October 25, 2006 10:46 AM
To: Ant Users List
Subject: Question.
How would one execute the following via ant?
Ant contrib has a nice propertyregex task if you need to do regular
expressions.
However, if this property contains a path and file name (which I believe
is the case), try the basename task.
Rodrigo Monteiro wrote:
Hello all,
I'm new in Ant... so this might be an easy question.
I pass in
I agree that it would be nice if subant would be modified to include this
functionality. In the meantime, if you, as you said, prefer not to create
custom Ant tasks, and you don't like my previous suggestion that requires you
to have a "template" build file containing all of the skeleton targets
Hello all,
I'm new in Ant... so this might be an easy question.
I pass in the command line an parameter
ant -Dtest=/tmp/tmp2/tmp3 -buildfile teste.xml
What I need to do is to get only the content of ${test} after the last
"/", in this case "tmp3".
How can I do that?
regards,
Rodrigo.
-
Hi. I can't javadoc to generate my documentation using 1.7beta3. Here
are the messages I constantly receive when I run the javadoc task:
Does anyone have any insight on this?
thanx =)
[javadoc] java.lang.ClassCastException:
com.sun.tools.javadoc.ClassDocImpl
[javadoc] at
com.sun.tools.java
How would one execute the following via ant?
echo 'start lstn' | testprogram
Where testprogram is located say C:/testarea/bin.
Do I use ?
Thanks
This e-mail message and any attachments may contain private, confidential,
proprietary or privileged material of GoldenGate Software, Inc. that
Thanks to you all for your comments. I guess I finally did get my point across
and you all came up with interesting options. I try to avoid writing custom
tasks and such if I can do them using a macrodef or scriptdef, but this one
might require a custom file selector, such as DD suggested (along
On 10/25/06, Mathew Delong <[EMAIL PROTECTED]> wrote:
Like others said, failonerror="false" (someone mistyped this and
said "true" but meant false)
Thanks for the correction.
One very easy solution I see is in every "individual" build file include a line
like:
This fulfills your requiremen
Like others said, failonerror="false" (someone mistyped this and said "true"
but meant false) is a bad idea for the same reason that was already mentioned:
you only want it to not fail if the target doesn't exist in a file, but want it
to still fail for everything else.
One very easy solution I
Yep, is powerful and extremely useful
and I use it all the time. I tried to keep my
example specific and concrete so as not to
complicate the question. But it seems to have
caused the original point of this exercise to be entirely missed.
Indeed. Yet now that I understand what you are after,
SqlExec is full of bugs (see the bugzilla database).
Try using keepformat="true"
Peter
On 10/25/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
Hunter:
OK, I see what you are saying now... Sorry :( Apparently I wasn't
paying attention to what you were saying...
Its odd to me the implementatio
20 matches
Mail list logo