>What should i do..??
Provide more information :-)
What do "ant -v" and "ant -diagnostics" say?
What are your environment variables PATH, CLASSPATH, ANT_HOME,
JAVA_HOME?
What is the error message?
Jan
-
To unsubscribe, e-mail: [
On Fri, 17 Feb 2006, KoloSSo <[EMAIL PROTECTED]> wrote:
> When I tried to initiate Ant, he does not recognize the build.xml
> file who is located in %ANT_HOME%\bin directory. Instead, I receive
> the following output when i tried to initiate Ant:
>
> C:\ant\bin>ant
> Usage: java [-options] class
On Thu, 16 Feb 2006, Jeffrey E. Care <[EMAIL PROTECTED]> wrote:
> The only 100% safe way I know of to make sure you aren't using
> improper APIs is to make sure you are compiling against the class
> library from the *lowest common denominator* JDK version you need to
> support.
This is what happe
On Thu, 16 Feb 2006, Jan Materne <[EMAIL PROTECTED]> wrote:
> I tried with -v and -d. I think with -d we could print the skipping
Oops, I assumed Ant did without checking the source.
+1
Stefan
-
To unsubscribe, e-mail: [EMAIL
On Thu, 16 Feb 2006, Martin Gainty <[EMAIL PROTECTED]> wrote:
> I guess Im confused why doesnt mkdir show 2 success messages instead
> of the just the first success message?
because the second task doesn't do anything. It does print something
like "not creating foo since it already exists" in ve
On Thu, 16 Feb 2006, Patrick Martin <[EMAIL PROTECTED]> wrote:
> I am surprised to read that can override properties. Is
> there a reason for it?
Matt got it almost right.
Up to Ant 1.3 (I think) the check whether a property existed was
inside of the task and not inside the setProperty method.
Hello again!!!
When I tried to initiate Ant, he does not recognize the build.xml file who is
located in %ANT_HOME%\bin directory. Instead, I receive the following output
when i tried to initiate Ant:
C:\ant\bin>ant
Usage: java [-options] class [args...]
(to execute a class)
or
Thank you Alexey... I will chek immediately everything what you say to me
in this mail
Deyner
- Original Message -
From: "Alexey N. Solofnenko" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Thursday, February 16, 2006 4:49 PM
Subject: Re: Troubles with Ant's configuration
> The
Hi again,
Somehow my build is running tests again. I don't know what I did. I was
asking questions on ##java, and a flame war started and then somehow
everything worked. There is no moral or antidote, but I just wanted to
thank you for your help.
Peter, Jan, and especially Steve, thank you
The word "sometimes" hints on a third party software that breaks the
system. There are few candidates to look for - antiviruses and software
firewalls. I have seen them affecting Java application (and only them!)
in very strange ways. Personally I always disable them and for a long
time I have
Hi Deyner,
KoloSSo wrote:
> Hi!!!
>
> My name is Deyner López Fernández, i´m new in this list and i´m new using Ant
> too. I download Ant(binary version) from it´s home page and read the manual.
> I follow all the steps to configure Ant as the Manual said but Ant sometimes
> works and sometime
My goal is do a checkout of each project and then do a build. For my
first project when I run individually,I call ant so it works but for my
2nd project ...I had to ant -lib .\lib . it works too. How to pass this
information to the 2nd build...using the ant task. The below mentioned
doesn't work..s
Your assumptions are incorrect; @target & @source have to do with language
features and class file formats, not APIs.
The only 100% safe way I know of to make sure you aren't using improper
APIs is to make sure you are compiling against the class library from the
*lowest common denominator* JDK
It was my understanding that the target/source attributes in the javac
task forced the compiled classes to be compatible with old versions.
What I also assumed was that it wouldn't let me compile something if I
was using an API that was newer than the 'target' attribute. For
example, my task
I once researched this... I think what happened was
just that the author of used the wrong
method call. I can say this without sounding too
terrible because I did it once myself in Ant's code,
except that my mistake was discovered soon enough to
avoid compromising the API. Regarding ,
backward c
If I were going to do this (and I probably wouldn't),
I would DL www.sysinternals.com's JUNCTION utility and
conditionally create a macro to call or
based on the OS.
That takes care of Windows and Unix-compatible
environments... can't say about the rest. But I would
expect this approach to nece
IMHO. I don't think it is a matter of whether the second mkdir "completed"
or not here. As Jan said, mkdir has the responsibility to make sure the
directory exists when it ends. In the case of the first mkdir, the directory
had to be created so mkdir said it did it. In the case of the second mkdir,
Thanks, I would prefer a solution working on all operating systems like
"copy" or "delete" do.
Le Thu, 16 Feb 2006 15:48:48 +0100, glenn opdycke-hansen
<[EMAIL PROTECTED]> a écrit:
I would use the exec task
Executes a system command. When the os attribute is specified, the
comm
There is the task, which only works on Unix
systems (IIRC it works to a slight degree on Cygwin
but I wouldn't recommend it). calls the ln
executable, but be sure to read the manual and
experiment thoroughly if you choose to use this task
as its behavior is a little special and seems to give
use
I would use the exec task
Executes a system command. When the os attribute is specified, the
command is only executed when Ant is run on one of the specified
operating systems.
http://ant.apache.org/manual/CoreTasks/exec.html
On 2/16/06, ar <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Do
Welcome Deyner,
Please read http://www.catb.org/~esr/faqs/smart-questions.html on how to ask
questions on a mailing list...at the top of the page (after the Table of
Contents) it offers links for translated versions of the file (in case you are
not fluent in English)
Please provide some basi
If I understand correctly The objective (in this case the directory) was
created by the first mkdir task
but the 2nd mkdir task did not complete its task as the condition that the
folder had already existed
even though the 2nd mkdir task would be doing the same thing as the first task
essential
Bejoy this is what I could try but its difficult to omit certain dir's if
the same you apply on file it works and on dir'
Hi!!!
My name is Deyner López Fernández, i´m new in this list and i´m new using Ant
too. I download Ant(binary version) from it´s home page and read the manual. I
follow all the steps to configure Ant as the Manual said but Ant sometimes
works and sometimes not works in the same computersom
> -Original Message-
> From: Taemin Cim [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 16 February 2006 1:22 PM
> To: user@ant.apache.org
> Subject: RE: AW: Broken Junit targets
>
> Hi All,
>
> Thanks so much for your help so far! But the saga continues...
> I tried Jans approach, as we
> Stefan-
> I guess Im confused
> why doesnt mkdir show 2 success messages instead of the just the first
> success message?
> Martin-
> - Original Message -
> From: "Stefan Bodewig" <[EMAIL PROTECTED]>
> To:
> Sent: Thursday, February 16, 2006 12:18 AM
> Subject: Re: test for directory exi
manual?
Jan
>-Ursprüngliche Nachricht-
>Von: bejoy [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 16. Februar 2006 14:22
>An: user@ant.apache.org
>Betreff: Filesets
>
>
>Hi,
>
>
>Please give some examples on fileset and nested fileset.
>
>Thanks & Regards,
>Bejoy
>
>
>
>This e-mail a
Hello,
You can have a look at
http://ant.apache.org/manual/CoreTypes/fileset.html
Rgds,
Patrick M.
On 2/16/06, bejoy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
> Please give some examples on fileset and nested fileset.
>
> Thanks & Regards,
> Bejoy
>
>
>
> This e-mail and any files transmitted with
Why should? is responsible that the dir is present after its run. The
first has to create it - so it sais that. The second not. Why printing?
I tried with -v and -d. I think with -d we could print the skipping ...
>-Ursprüngliche Nachricht-
>Von: Martin Gainty [mailto:[EMAIL PROTECTED]
Hi,
Please give some examples on fileset and nested fileset.
Thanks & Regards,
Bejoy
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient or received i
Stefan-
I guess Im confused
why doesnt mkdir show 2 success messages instead of the just the first success
message?
Martin-
- Original Message -
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 16, 2006 12:18 AM
Subject: Re: test for directory existence
> On Wed,
Yup it is possible
And use exclude ant tag
All the best..
Dinesh
-Original Message-
From: bejoy [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 5:41 PM
To: user@ant.apache.org
Subject: File Copy issue
Hi All,
I want to copy a directory into another one.And I want to omi
Here Bejoy
Go like this and there is task from Ant
Using this you can include or exclude certain files.
You will get it on net.
Hope this helps you
Hi All,
I want to copy a directory into another one.And I want to omit certain folders
in my source directory.How can I do this task
Src dir:
ABC
MyFolder
YourFolder
MyFile
And in the destination dir I want this structure
Dest dir
Hi all,
Does anybody know if there is an equivalent to the "ln" Unix command in
Ant or others projects built over Ant ?
My goal is to get a directory referenced through 2 different names.
Regards
--
A. ROY
-
To unsubscribe
Hi all,
I’m having a very odd problem concerning the used classpath in ant targets.
I have target1 and target2 like this:
Thanks a lot for this very useful and clear information.
I am surprised to read that can override properties. Is
there a reason for it?
Patrick M.
On 2/16/06, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On Wed, 15 Feb 2006, Patrick Martin <[EMAIL PROTECTED]> wrote:
>
> > Could you explain the "ev
37 matches
Mail list logo