a
target to be executed according to "no.TARGET" properties for instance.
For the moment, it really sounds like a ugly hack as far as a listener
is not designed to prevent a target execution but it is a way.
Regards
--
Yves Martin
--
s "response", so it has been translated
into "aw", contraction of "antword".
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Wascally Wabbit <[EMAIL PROTECTED]> writes:
> ant -projecthelp gives list of public targets for build.xml in current
> directory. (Use -f to name alternative build script.)
You may also use ant -v -projecthelp
to get all targets (public and internal)
Regards,
--
Yves Martin <[EMAIL PROTECTED]> writes:
> Stefan Bodewig <[EMAIL PROTECTED]> writes:
>
>> On Fri, 04 Nov 2005, Yves Martin <[EMAIL PROTECTED]> wrote:
>>
>>> I have tried add(DataType) but it does not work (or I made a
>>> mistake) with Ant 1
Stefan Bodewig <[EMAIL PROTECTED]> writes:
> On Fri, 04 Nov 2005, Yves Martin <[EMAIL PROTECTED]> wrote:
>
>> I have tried add(DataType) but it does not work (or I made a
>> mistake) with Ant 1.6.5
>
> What does "does not work" mean? Do you get
take) with
Ant 1.6.5
Is it really possible ?
Thank you in advance
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and Ant tasks.
http://sourceforge.net/projects/el4ant/
It is usable (since january) but I'm aware many improvements are possible.
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
written
quickly. Look at the 'demoplugin' in source package and read the developer's
guide.
Do not hesitate to publish on sourceforge forum to get more information
Regards
--
Yves Martin
-
To unsubscribe, e-ma
Soon to come 'el4ant': http://sourceforge.net/projects/el4ant
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
your command line - the command line by itself does
not consume CPU or memory)
On which operating system do you want to monitor processes ?
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
s the file set is empty, the prefix is not stored at all in
the zip as a directory entry.
> -Original Message-
> From: Yves Martin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 30, 2005 2:51 AM
> To: user@ant.apache.org
> Subject: Zip and empty directory
>
>
Thank you in advance.
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t once, e.g. set a property, and have the task always look
> for a property of that name. Is there a convention here?
I'm not sure to have well understand your idea but you may move your 'propery'
task out of the target - so it is common to all targets.
--
Yves Martin
'stop' tasks are designed to
start or stop an application (referred by the context) in a running
Tomcat... not to start or stop the Tomcat server itself.
To be confirmed.
--
Yves Martin
-
To unsubscribe, e-mail: [
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t; Thanks in advance.
The easiest way is to get it from server/default/conf/jboss-service.xml (I
checked in JBoss 3.2 - but in fact jboss open many ports !!). A simple XSLT
may be used...
Regards,
--
Yves Martin
-
To
Yves Martin <[EMAIL PROTECTED]> writes:
> blackwater dev <[EMAIL PROTECTED]> writes:
>
>> How can I have the cvs task email me about merges and not try to do them?
>
> You should use:
>
>
> And then parse "file.txt" to look for merge or c
blackwater dev <[EMAIL PROTECTED]> writes:
> How can I have the cvs task email me about merges and not try to do them?
You should use:
And then parse "file.txt" to look for merge or conflict operations. If yes,
send a mail, if no repeat the command with '-n'
pollywog/A
pollywog-C -d C pollywog/A
Now the following command will work as you expects (I hope so):
But of course, you have maintenance to do on CVSROOT/modules when a directory
appears or goes out. I have no better solution t
of the files under pollywog but not the actual
> root folder of pollywog...can I specify this in the task?
You should invoke cvs that way:
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
needs), you
have to work around the property replacement. You can define your API to ask a
property like inputDate="TODAY" and do the job considering inputDate is a
property name.
Regards,
--
Yves Martin
-
To uns
blackwater dev <[EMAIL PROTECTED]> writes:
> Hello,
>
> I am trying to connect to cvs via ant and am using this line in the cvs task:
> cvsRoot=":extssh:[EMAIL PROTECTED]:/usr/local"
>
> But I get the error:
>
> [cvs] cvs checkout: Unknown method (`extssh') in CVSROOT.
> and then bad cvsRoot
asses, 5 Ant build files (1 bootstrap and 4 plugins) and 1 property
file.
I think it covers really common needs but "negotiation" is in progress to
publish it as open source... I will let you know here when published.
Regards
--
Yves Martin
--
Hello,
Somebody announced here a project that provides a kind of 'input' tasks but
with graphical interface.
Can you remember me the name and the URL of that project ? Thank you in
advance.
Regards
--
Y
,
Win32, ...) - so the chmod does not suit my needs.
Does unzip preserve stored access rights when unpacking ?
Is it possible to set access rights in a zip with 'zip' task ?
Thank you in advance
Regards,
--
Yves Martin
--
that way. 'wscomiple.sh' seems strange to me.
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: when the limit is exceeded, the Runtime.exec method
never returns: the JVM process sleeps for ever and no child comes up ?!?
Hope this helps on day
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
- do your own task to parse the PATH environment variable
- and test if a 'javac' executable file is available in each directory,
- query for its version and select the right one according to your criteria
An interesting menu, isn't it ?
Regards,
--
Yves Martin
Yves Martin <[EMAIL PROTECTED]> writes:
>
>
>
> from="jar:file:*!/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.class"
> to="*"/>
>
>
> Have you got a way to work-around that issue with Windows ?
Finally
ib directory) will be loaded in a dedicated
AntClassLoader by typedef. You will see the Ant JVM classpath, plus the
classpath specified in typedef and that's all.
If needed, your task should have a specific 'classpath' attribute to work with
it. The method signature will
Stefan Bodewig <[EMAIL PROTECTED]> writes:
> On Fri, 17 Dec 2004, Yves Martin <[EMAIL PROTECTED]> wrote:
>
>> My idea is too limit the ClassPath to the strict needed jars - so I
>> do not want to use ${java.class.path} in the forked JVM ClassPath.
>
> has
sLoader and use directly the javax.xml.transform factory !
Warning: I do not test the code myself. I'm interested to know if you
succeeded.
Hope this helps
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ClassPath ?
I would have expected an additionnal attribute in whichresource for instance
ignoreref="true".
Thank you in advance for your help
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
improved.
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
erate messages and check they
were managed correctly.
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
evaluate is too long to
process.
I must see my boss to convince it to open-source it... I'm proud of it ;)
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
callTarget.setProject(project);
By
CallTarget callTarget =
(CallTarget) getProject().createTask("antcall");
and call 'execute' immediately after setting parameters (no 'init' so).
Hope this helps
Regards
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
antcall B
MyTask{getReference X}
target B
MyTask{setReference X}
Is there a better way to implement a global storage ?
Thank you in advance. Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
ce"
files from different directories:
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
7;Ant' name in it. If you have any idea
for a name connected or not to the based concepts of that system: generated
build.xml and plugins, I will be pleased to use it ;)
Regards,
--
Yves Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
neous files that should be removed." ?
Why not.
But I may find useful in that case to be able to disable the timestamp
checking (what update=false does not mean indeed) to force a new file to be
created.
Regards
--
Yves Martin
tly existing in the
> archive, but not matched by the zip task. Maybe we only need to clarify this
> point.
In our case, it concerned the behavior when update="false" - which not clearly
documented.
--
Yves Martin
-
uot; - so to document - or a bug...
But the result is strange:
- if the zip does not exist yet, it only contains file1,file2
- if the zip already exists (maybe with too many files), its content is
unchanged.
In my case, it is really annoying: if you change excludes filters with an
'zip' seems to work in 'append' mode only.
And there is no way to make it create a new empty zip file if the destfile
already exists.
OK, I will do a 'delete' first. It is a work-around.
But I may find it useful to document this behavior and maybe to add
Yves Martin <[EMAIL PROTECTED]> writes:
> Jacob Kjome <[EMAIL PROTECTED]> writes:
>
>> Quoting Matt Benson <[EMAIL PROTECTED]>:
>>
>>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
>>>
>>
>> This is not mentio
quot;);
I have my own Ant task to do the job I'm using everyday long. I called it
"ExtendedProperty". That task works like AntContrib "var", I mean an existing
property is replaced, and the value is interpreted with a stack. So it is not
limited to two l
cess:
>
>
>
>
> What should I specify as includes value? Thx.
You should look in documentation of "FileSet". Section "default excludes". The
pattern "**/*~" is included in default excludes, that's why your fileset is
empty. So you h
47 matches
Mail list logo