Hello,
--- Venkat Kotu <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I have a situation where in I need to find all the
> .jar files in a
> directory and write it to a temp file.
You can use a pure Ant solution using and
:
${jar.files}
> The command from the prompt is : find myDir/*.jar
>
Hello,
--- Narahari 'n' Savitha <[EMAIL PROTECTED]> wrote:
> Consider this scenario friends.
>
> build.xml
> |
> |lib
> |
>
> |--averyveryverylong.jar
>
> |--anotherlongjarfile.jar
>
> now when I
I have the following situation:
Build file 1:
...
...
Build file 1 in directory subproject:
I'd like the property, "junit.fail" to be visible in the first build
file. In other words, I want the property to propagate upwards. Is
this possible?
Thank you
Hi,
I have a situation where in I need to find all the .jar files in a
directory and write it to a temp file.
The command from the prompt is : find myDir/*.jar and it lists all the
.jar files from myDir directory.
The ant target defined for the purpose is:
Hi savitha,
have u ever tried antelope jar. It's very good extention of ant and has a
lot of interesting tasks. (eg. if -else etc.)
now for ur problem. It can be done very easily using fileutil task in
antelope.jar
something like this:
include path is the key
Consider this scenario friends.
build.xml
|
|lib
|
|--averyveryverylong.jar
|--anotherlongjarfile.jar
now when I want to build a list of files in the lib folder I am using
I then use pathconvert
But wouldn't that imply one could do so with a vanilla jar command (as
in from the command line)? I haven't looked at the java.util.jar API in
sometime...but I don't recall that being available. Of course, I
suppose an implementation could see the resource as a jar and do some
appropriate wor
--- "Burgess, Benjamin" <[EMAIL PROTECTED]>
wrote:
> Correct me if I am wrong,
Okay... ;)
> but I believe that in Ant
> 1.7 you will be able
> to do this because the delete task will allow any
> resource, such as a
> file in an archive.
>
It'd be nice, but is one of those tasks that
is so
what
Correct me if I am wrong, but I believe that in Ant 1.7 you will be able
to do this because the delete task will allow any resource, such as a
file in an archive.
Ben
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 10:20 AM
To: user@ant.apa
Hi all,
I have written an ant custom task..
something like..
.
What is the usual practice for checking if NestedTask and NestedNestedTask
value is not null.
Do i do it in the execute method of MyCustomTask and loop through the
vectorsand get the NestedTask obj
>I don't think you can delete the class file...but you can
>certainly update the jar file with a new class or modified
>class. To delete, you will probably need to unjar, delete the
>file in question and rejar...
>
>Leomar Costa wrote:
>> Hi !
>>
>> How I can remove a file from a jar ?
When I say rejar - I don't mean updating the jar you unpacked...I mean
literally creating a new jar file after the class file in question has
been deleted from the file system. Otherwise, you will be just be doing
an update...and the old class file will still be maintained...
Scot P. Floess w
Leomar:
I don't think you can delete the class file...but you can certainly
update the jar file with a new class or modified class. To delete, you
will probably need to unjar, delete the file in question and rejar...
Leomar Costa wrote:
Hi !
How I can remove a file from a jar ?
Hi,
I have a problem with cvs from Ant.
Connecting to cvs directly from the commandline works as expected.
When I attempt the same cvs incantation running the cvs task from Ant it
just seems to hang.
I have following error :
cvs exited with error code -1
Command line was [Ex
14 matches
Mail list logo