On 6/27/07, Yadav, Akshat Kumar <[EMAIL PROTECTED]> wrote:
Thanks Prashant for reply.
I am talking for the situation where a.java, b.java and c.java are
independent java code files.
Thanks,
does not remove the c.class file if the c.java file does not exist.
- i.e. it has no memory of previo
Thanks Peter for reply.
I think ANT developer should think on extending there "javac" task to
provide such feature.
Thanks,
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: Ant Users List
Subject: Re: Javac task query
On 6/27/
hi Srinivas
I dont think the perforce command(P4 changes) for 1a> is implemented in ant
alternatively you can write this task yourself.check out for P4 api in
perforce site on how to do it
Else you can directly the particular perforce command (P4 Changes)
For 1c> check tasks
(link:http://ant.
Yadav, Akshat Kumar wrote:
Thanks Peter for reply.
I think ANT developer should think on extending there "javac" task to
provide such feature.
Thanks,
I must disagree. You should get into the habit of doing clean builds on
a regular basis, at least first thing every morning when you check
Thanks Steve, I will look into this.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 5:09 PM
To: Ant Users List
Subject: Re: Javac task query
Yadav, Akshat Kumar wrote:
> Thanks Peter for reply.
>
> I think ANT developer should think on
Thank you Jan and Rob for the inputs.
I will attempt more and reply back when I have some working build file.
Thanks,
Parag P. Doke
On 6/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
no
http://ant.apache.org/manual/dirtasks.html#patterns
Jan
>-Ursprüngliche Nachricht-
>Von: Para
The next works for me:
$ ant
Buildfile: build.xml
doit:
[echo] C:\temp\dp\util;C:\temp\dp\util\stack
BUILD SUCCESSFUL
Total time: 0 seconds
Thanks,
Stepan.
On 6/13/07, snenkov <[EMAIL PROTECTED]> wrote:
I am using
w
Hi All,
I am getting one error while running build.xml file. Following is the
error.
D:\Irfan>ant dist
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.6.
0_01\lib\tools.jar
Can somebody please help.
Regards
Irfan.
You may need to set your JAVA_HOME to a JDK install - not a JRE install...
Sayed, Irfan (Irfan) wrote:
Hi All,
I am getting one error while running build.xml file. Following is the
error.
D:\Irfan>ant dist
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.6.
0_0
Slip of the finger. It is 1.7.0. Downloaded from
http://ant.apache.org/bindownload.cgi
Jan.Materne wrote:
>
> 1.7.9 ?
> We never released a 1.7.9. We just have 1.7.0
>
> Could you send the download link?
>
>
> Jan
>
>>-Ursprüngliche Nachricht-
>>Von: Alex Honor [mailto:[EM
Hi I am used the following build script to upload files to remote server
using ANT
I had included jakarta-oro-2.0.8.jar and commons-net-1.4.0.jar to ANT lib.
But still I got the following error.
Invalid byte 1 of 1-byte UTF-8 sequence
Hope this will help to other folks also ...
Please help on this
Have a look at your build.xml and search for non-ASCII characters ...
or
change (set) the xml setting
(maybe another encoding)
Jan
>-Ursprüngliche Nachricht-
>Von: sarancse [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 27. Juni 2007 18:05
>An: user@ant.apache.org
>Betreff: ANT F
I am unable to upload a file using the following ANT script. I am having
commons-net-1.4.0.jar and jakarta-oro-2.0.8.jar in my ANT lib. Please help
to upload successfully
--
View this message in context:
http://www.nab
Does the build succeed, or does it fail?
-Rob A
> -Original Message-
> From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 27, 2007 6:48 AM
> To: user@ant.apache.org
> Subject: Ant help
>
> Hi All,
>
> I am getting one error while running build.xml file.
> F
What is the output of the build? What is the error?
-Rob A
> -Original Message-
> From: sarancse [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 27, 2007 9:09 AM
> To: user@ant.apache.org
> Subject: ANT FTP task
>
>
> I am unable to upload a file using the following ANT script.
> I
Keep in mind that a class file is generated for every Java class, NOT
for every source file. Source files can contain multiple classes
(although I generally don't like the practice, it's very common for
listener classes in GUI code). If B.java defined classes B and C, the
compiler would gener
The error is
Invalid byte 1 of 1-byte UTF-8 sequence.
Anderson, Rob (Global Trade) wrote:
>
> What is the output of the build? What is the error?
>
> -Rob A
>
>> -Original Message-
>> From: sarancse [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, June 27, 2007 9:09 AM
>> To: user@ant.a
I have two directories of source files that I want to compile. One of
them has
A.java
B.java
C.java
the other one has
A.java
The version of A in the second directory is different from the version
in the first directory. Is there set up my javac task so that it always
takes source f
You could always mange your files ahead of compiling. For example, you
could copy everything from the first directory into a temp directory,
then copy everything from the second directory into the temp directory
overwriting existing files, then compile from the temp directory.
Ben
-Original
On 27 jun 2007, at 20.17, David Alves wrote:
I have two directories of source files that I want to compile. One of
them has
A.java
B.java
C.java
the other one has
A.java
The version of A in the second directory is different from the version
in the first directory. Is there set up my
... or simply name them both non-java, such as A.java.source, and then
copy the desired one to A.java in its current directory (removing any
pre-existing A.java copies beforehand). That way, there is only one
A.java, regardless of directory.
If there are two different cases that are compiled,
Clarification, since you usually want the full class name, including
package, for class A to remain the same:
For example:
.../common/com/mycompany/myproject/B.java package.class =
com.mycompany.myproject.B
.../common/com/mycompany/myproject/C.java package.class =
com.mycompany.myp
Hi Friends,
I need some help with "outputproperty" element. I have a properties file, i
want to pass in one of the property to a java program and read the response
back and store it in the same property using ant for eg:
my_property=plain_password
//I want to pass this to a java program and the
An alternate solution is the StringUtils task in Antelope. See
documentation here:
http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html
And download here:
http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.4.2.zip
This task is compatible with Ant 1.6.5.
Dale
[EMAI
Hello,
I made up the following quick test and the 'outputproperty' of the task
worked just fine
Stupid JAVA class to generate the 'new' password and write the value to
System.out (so that it can be captured into the 'outputproperty')
public class GeneratePassword {
public static void ma
Is it possible to use NANT within ANT just like ant-contrib ?
I may need NANT only for,, and tasks. For all other things I
am comfortable using ANT tool.
On Sat, 23 Jun 2007 David Weintraub wrote :
>If you're using Microsoft's .NET framework, you might want to look at
>Nant and not Ant. Nan
Hi Ninju,
I really really want to thank you for that great help. I almost spent 7
hours and was still trying to figure it out when your reply came.I tried
everything from to to and god knows
what else
And you made it sound soo easy...wow..you are genius man.
Thanks again for that great he
Hi again,
I have one small question here,if someone can help please
Ninju, showed how to pass one parameter and get the value but what if I want
to call the same Java file say 20 times passing different parameter value
each time and getting different encrypted result back each time.
So,is th
Hi,
-Original Message-
From: broken connection [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 8:07 AM
To: Ant Users List
Subject: Re: How to make "outputproperty" element work???
/*
Ninju, showed how to pass one parameter and get the value but what if I
want
to call the same
29 matches
Mail list logo