OK - convoluted nastiness but it works to make a quoted space
delimited list of file names.
The two "commands" below are needed to translate all the '/' to
${file.separator} s in the
original property which are coded with '/' separators. and expand it to
the full path so it will compare charac
Hi julying,
My jdbc driver is in lib directory there is no problem.
My main problem is the simple build.xml script doesn't work at all
To specify the classpath :
main project with many futures
Hi.
I’ve got a build file that’s structured like this:
If I run "ant one" I get:
jet:/tmp $ ant one
Buildfile: build.xml
init:
[echo] something
something:
one:
init:
[echo] something
two-other:
BUIL
Steve Loughran apache.org> writes:
>
> Mike.Horn wincanton.co.uk wrote:
> > Hello
> >
> > HP-UX11i
> > Java 1.3
> > ANT v.1.7.0
> >
>
> >
> > $ ant -f Unix_Build.xml
> > Buildfile: Unix_Build.xml
> > [property] java.lang.reflect.InvocationTargetException:
> > java.lang.IllegalArgume
> > n
The task does not automaticylly use any
classpath reference defined in the build file, you
need to tell it about the classpath using in
this case the attribute classpathref
Peter
On 1/20/07, Farid Izem <[EMAIL PROTECTED]> wrote:
Hi julying,
My jdbc driver is in lib
You can do it via scripting. See this thread...
http://marc.theaimsgroup.com/?t=10758568804&r=1&w=2
...and specifically, this message...
http://marc.theaimsgroup.com/?l=ant-user&m=107589782422983&w=2
I added my own twist on it and made dependency
following configurable (follows dependenc
Jacob Kjome:
> I added my own twist on it and made dependency
> following configurable (follows dependencies by
> default if not specified) along with optional
> "if" and "unless" attributes. Actually, all the
> attributes are optional, even "target". If
> "target" is either not defined or d
Yes,
The behavior you see is correct...there is an inherent limition of the
task becuase it starts a new ANT "cycle" and knowlegde of previous
run targets (like your "init" target) are not retained.
You can try many different solutions:
First solution:
1) Create a "property setting" targe
Hi Ninju.
Ninju Bohra:
> The behavior you see is correct...there is an inherent limition of the
> task becuase it starts a new ANT "cycle" and knowlegde of
> previous run targets (like your "init" target) are not retained.
>
> You can try many different solutions:
>
> First solution:
> 1) Crea
At 09:49 PM 1/20/2007, you wrote:
>Jacob Kjome:
>> I added my own twist on it and made dependency
>> following configurable (follows dependencies by
>> default if not specified) along with optional
>> "if" and "unless" attributes. Actually, all the
>> attributes are optional, even "target". If
>
10 matches
Mail list logo