If you are using the ant command-line script then it's setting a
classpath before it invokes ant's main class. This classpath likely
includes the rt.jar you are trying to avoid, a bad idea if you ask me. I
would downgrade my JDK before I removed classes from rt.jar or moved
another jar in front of
Hmm...
Normally I use eclipse to compile and it is able to compile fine as it allows
you to have the jdk libraries at the bottom of your classpath. I don't think
this would be something that is specific to eclipse so there must be someway to
do this in ant as well?
Maybe it is the bootclasspa
I don't think you can "not" use rt.jar, unless you either:
1) Use the Endorsed API override mechanism if it applies to this
particular API, to pick up this particular API from a different jar
than rt.jar
2) Use a different bootclasspath, to use a different "fixed up" rt.jar
Javac otherwise uses
Hi,
I am trying to compile with ant 1.6.5 using jdk150. This jdk ships with rt.jar
that contains a version of org.w3c.com that I don't want to use. I've run ant
with verbose mode but it does not show that it is using rt.jar in the javac
command but when I remove the offending class from rt.
OK, that's good to know. If I can't find a way around it I may give that a
go.
Thanks,
Dhruva
On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Not all tasks can work with nested paths in prior to Ant 1.7.
With 1.7 we are introducing "ResourceCollections" which is a supertype a
,
Hello Stephen,
thanks for your explanations.
I need to build up my culture and understand how other tools or frameworks
related to build position themselves in comparison with ant.
So DPML delegates build tasks to ant.
Maven2 tries to replace ant completely by providing similar functionality
> Loggers are a pain to
> reference on the command line, just like listeners. You almost almost
> end up defining a wrapper script or an ANT_OPTS (or something like
> that) env. var., the latter being a solution I don't like, because
> it's the developer's responsability to do it (follow instructi
Hello,
I have target with a task supporting subtasks
e.g
the content of task may be changed but the rest file is immutable.
I want to store mutable content in seporate file.
What is the best way to do it?
Regards,
Vitaliy S
-
Dominique Devienne wrote:
> Something else I was using, that I need to make public eventually (it
> may be in Bugzilla), was a custom Logger to output the build filename
> after each target header, to keep track of the build progress thru the
> hierarchy of sub-builds, a-la Makefile again.
yes,
> > may be in Bugzilla), was a custom Logger to output the build filename
> > after each target header, to keep track of the build progress thru the
> > hierarchy of sub-builds, a-la Makefile again.
In fact it prints the hierarchy of project names, not the filename. So
calling outputs:
init:
> Something else I was using, that I need to make public eventually (it
> may be in Bugzilla), was a custom Logger to output the build filename
> after each target header, to keep track of the build progress thru the
> hierarchy of sub-builds, a-la Makefile again.
yes, we need this. But I couldnt
Dominique Devienne wrote:
On 6/15/06, Greg Irvine <[EMAIL PROTECTED]> wrote:
Well, I managed to sort this out using the task and
to pass only the required properties along.
No more hard-coded folder lists or duplicated build files now!
Something else I was using, that I need to make public
On 6/15/06, Greg Irvine <[EMAIL PROTECTED]> wrote:
Well, I managed to sort this out using the task and
to pass only the required properties along.
No more hard-coded folder lists or duplicated build files now!
Something else I was using, that I need to make public eventually (it
may be in Bu
>>
>>
>>
>>
would be better
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sorry i think it was silly question.
i can have a default task when user does not enter anything
it is working fine now.
great help JAN and others also
cheers
deepali
On 6/16/06, deepali sharma <[EMAIL PROTECTED]> wrote:
i think the last answer is pretty close.
suposse i gave ant task1 it will
I would play with and selectors.
Jan
>-Ursprüngliche Nachricht-
>Von: Luis Toubes [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 16. Juni 2006 11:56
>An: user@ant.apache.org
>Betreff: dynamic copy of files
>
>
>Hi, i dont know if this question has been responded, sorry. I
>have two di
i think the last answer is pretty close.
suposse i gave ant task1 it will execute all tasks inside target task1.
similarly for task2.
Inside task1 Clean
What about the default parameter???
On 6/16/06, [EMAIL PROTECTED] <[EMAI
Hi, i dont know if this question has been responded, sorry. I have two
directories, one the source of files to copy and the other the destination
of the copy.
My question is if i really want to copy from the source dir only those files
that exist previously in the destination directory... (like a
- bundle your tasks in a HelloWorld
- give that target a name
- call that target from the commandline
ant foo
Jan
>-Ursprüngliche Nachricht-
>Von: deepali sharma [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 16. Juni 2006 11:49
>An: user@ant.apache.org
>Betreff: Command line parame
Hi
We have requirement like this.
I want to give a command line argument and based on this argument I want run
some task.
Can this is possible.
If possible how we can achieve this???
--
cheers
deepali
Stephen McConnell (DPML) wrote:
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
And what about dpml ?
I guess first off is the statement that the DPML content is not aimed at or
equivalent to Maven. Generally speaking the DPML products are focussed on
run
21 matches
Mail list logo