Matt,
That's a good suggestion. I've upgraded to 1.6.5, but it didn't help.
Any other ideas?
Thanks,
Ben Pracht
Matt Benson wrote:
You should probably start by making sure that
upgrading to Ant 1.6.5 (the current version) doesn't
fix the problem.
-Matt
--- Ben Pracht <[EMAIL PROTECTED]> wr
Hi Gilbert,
Many many thanks for your clear and easy to follow help! Very much
appreciated.
Thanks,
Timujain
Rebhan, Gilbert wrote:
>
>
> Hi,
>
> 1. ant-contrib has a ... task
>
> see http://ant-contrib.sourceforge.net/tasks/tasks/index.html
> and Logic Tasks / Trycatch
>
> 2. some t
You can govern who touches what, what is touched and more specifically how Java
Processes touches directories via the policy files
But then again you already knew that right?
Viel Gluck
*
This email message and any files transmit
Usually when a file is overwritten, its permissions are not changed.
Executable permission can be lost when the file first deleted, then
created again.
Carlton, if you have a special file extension or folder, you can run
task after newlines are fixed.
- Alexey.
Dominique Devienne wrote:
I'm a
Usually when a file is overwritten, its permissions are not changed.
Executable permission can be lost when the file first deleted, then
created again.
Carlton, if you have a special file extension or folder, you can run
task after newlines are fixed.
- Alexey.
Dominique Devienne wrote:
I
I have some servlet and I am trying to call an Ant script within the class
to compile a "project". All of the references in the build script are not
relative, therefore some of the classpath references are not correct. I
know I can change the properties, etc to fix this. However, due to the
nat
That's not a terribly attractive option because it would require storing
a list of the desired permissions of every file in my source tree, and
it also becomes nonportable due to its dependence on chmod.
Normally when I get that recommendation, I rely on the powers of
to set permissions. It woul
I'm afraid there's no fix, as Java is not permission-aware.
probably creates a new file when it does something, and there's no way
in Java to preserve the permissions. You could 'fix' the permissions
after the fact, using which simply forks to the command line
chmod executable, assuming you know
Recently I started observing some very undesirable behavior in my Ant
scripts. Specifically, when does its fixing, it also changes
the file permissions to be non-executable. Now, I recognize this might
be a very Clever Thing because binaries could be corruped by .
But with regard to shell scrip
Hi Peter,
thanks a lot for your snippets !!, that
helps me starting with jruby+ant
> Check the ant manual!
>
> Example:
>
>
> xmlfiles = Dir.new(".").entries.delete_if { |i| ! (i =~ /\.xml$/) }
> xmlfiles.sort.each { |i| $self.log(i) }
>
i already saw that, but doesn't deal w
Thank you all for the advices,
I'll do a research (see if I can find some examples) on how can
I work with fileset, for, ant-contrib and antcall and I'll tell you the
results. Thanks again!!
Olavo Lira
-Original Message-
From: glenn opdyc
Check the ant manual!
Example:
xmlfiles = Dir.new(".").entries.delete_if { |i| ! (i =~ /\.xml$/) }
xmlfiles.sort.each { |i| $self.log(i) }
However, jruby is still new and a (large) number of things do not work, for
example I could not get (java.io.)File to work - it seems to c
You should probably start by making sure that
upgrading to Ant 1.6.5 (the current version) doesn't
fix the problem.
-Matt
--- Ben Pracht <[EMAIL PROTECTED]> wrote:
> I'm receiving a "Failed to copy " "due to
> null" message. I'm
> using ant 1.6.2, and the task is:
>
>
I agree with the comment that ant-contrib can be useful here.
I believe this an appropriate place to use antcall, for these reasons.
1. antcall takes a param element that can be used to specify the name
of the .properties file you want processed.
2. properties that are assigned in the targe
I'm receiving a "Failed to copy " "due to null" message. I'm
using ant 1.6.2, and the task is:
Hi,
just learning ruby and i like it :-)
Until now i used javascript and groovy for scripting
I'm searching examples of ruby in ant.
f.e. what's the equivalent of =
I think Ant-Contrib would be the best answer here. A fileset containing
the properties files would be passed to the 'for' task which would do
the appropriate thing.
Ben
-Original Message-
From: LIRA Olavo [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 10:34 AM
To: Ant Users Lis
I have just tried ant 1.6.5, which also fails but with a null pointer
exception
build.xml:215: java.lang.NullPointerException
Note: the error only occurs when running ant from the API, when running
ant in command line it works as expected.
--Gerry
David Corley (AT/LMI) wrote:
Have you tr
Hi Ben,
Did you had a chance to look into my Build.xml? I understand
what you have said about passing the .properties dynamically, this I can
do, what I don't know how to do is to run "n" times the same ANT with
different .properties each time...
Is it possible? In Eclipse for in
you don need to modify it. just define for subprojects a folder called
libs and incluse in your classpath the content of all these folders.
I using this method to work on 10 project depending on each other with
sub projects.
an example you can find under:
https://sourceforge.net/projects/bbcs/
Hi,
I can't because the application is buildup from several sub projects and
I would a avoid to modify the script when someone add a jars.
Thanks
Willy
>>> On Mon, Aug 14, 2006 at No 4:05 PM, in message
<[EMAIL PROTECTED]>,
wohlgemuth <[EMAIL PROTECTED]> wrote:
just define a normal classpath
just define a normal classpath on this directory after you moved your
stuff there.
or you want todo this during the runtime of your programm?
/gert
On 8/14/06, Willy Reinhardt <[EMAIL PROTECTED]> wrote:
Hi,
I have an ant task which create and copy jar files into a structure of
directories. Nex
Hi,
I have an ant task which create and copy jar files into a structure of
directories. Next to this task I would create dynamically a property
which is the classpath use as token for the script to start the
application.
Use like:
java -cp @unix-classpath@ -jar org.toto.Main
Is an ant task hel
Have you tried running the task with ant 1.6.5?
And are you using the latest ant-contrib version (1.0b2)?
/Dave
-Original Message-
From: Gerry Healy [mailto:[EMAIL PROTECTED]
Sent: 14 August 2006 12:53
To: user@ant.apache.org
Subject: Task doesn't support the nested * element
Hi there,
Hi there,
I am having trouble using third party ant tasks with nested elements, from the
Ant API. For example the ant-contrib IfTask and the svnant SvnTask.
I am able to use both of these tasks in build scripts without a problem, when
running ant from the command line. But I want to use them f
25 matches
Mail list logo