Ant uses this technique for handling optional stuff
- set a property if needed jars are there:
- include the classes only if that property is set:
So you could the copying stuff with
But dont forget: as the same as in target´s i
The antigen team is pleased to announce the Antigen - Ant Installer Generator
0.2 release!
http://antigen.sourceforge.net
Antigen is a tool and a java library for wrapping up Ant scripts in a GUI. You
are, no doubt, familiar with the power of Ant for writing build scripts,
deployment scripts
hi,
thnx James and Sujeet for giving me your comments.
i tried all of your suggestions but they didnt work. same
compilation error occurs... im sure that javac task execute javac
with arguments which i expect, srcpath, classpath and destination
dir.
i realized one more thing.
when i set verbos
Hi Jeff,
It seems, something needs to be available in the SystemClassloader.
I'm not familiar with ssl in special but typically security sensitive
service-activation is either done explicitely by a System property or (by
default) from the first specially named resource in a META-INF directory
that
--- Edward Ciramella <[EMAIL PROTECTED]> wrote:
> Hmmm, doesn't seem to matter. In my example below,
> if the "test-link"
> directory exists, and regardless of if it is a
> symlink, ant creates
> another symlink dir, one level deeper. The second
> time this is run
> with overwrite="true" (and
Hmmm, doesn't seem to matter. In my example below, if the "test-link"
directory exists, and regardless of if it is a symlink, ant creates
another symlink dir, one level deeper. The second time this is run
with overwrite="true" (and with failonerror="false") I get "BUILD
FAILED" and a message
EJ, what you are seeing, AFAICT, is the by-design
behavior of the ln executable. We can debate whether
allowing this is a bug in Ant, since the documentation
of the symlink task makes no mention of this alternate
interpretation of the link entity specified as a
parameter to ln, but in the meantime
Hello ant world - I'm attempting to create a symlink regardless if a
directory exists where the symlink is or if the symlink already exists.
What I'm seeing is kind of interesting.
Say I'm creating a symlink from /Users/username/test-link to
/Users/username/someotherdir/test-link
If the "to"
Thanks Dominique for the reply.
> So to summarize, if you put your 3 jars on the Application ClassLoader or
the
> Extension ClassLoader, it works fine, but when the jars on in the Ant
ClassLoader,
> it doesn't.
Correct.
> What do you mean that the provider is not getting picked up? Does the ne
So to summarize, if you put your 3 jars on the Application ClassLoader
or the Extension ClassLoader, it works fine, but when the jars on in the
Ant ClassLoader, it doesn't.
What do you mean that the provider is not getting picked up? Does the
new ...Provider() call fail with a ClassNotFoundExcepti
I would say that lunt build that I looked at was very good with presentation
and build management. However, if you need any type of customization to the
build process (we capture build information to a database), then I would
recommend going to CruiseControl 2.2.1 http://cruisecontrol.sourceforge.n
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
"Madhu ." <[EMAIL PROTECTED]> wrote on 02/22/2005 02:48:46 PM:
>
> I am trying to create a symbolic link usin
--- "Madhu ." <[EMAIL PROTECTED]> wrote:
>
> I am trying to create a symbolic link using the
> target below;
>
>
>
>
>
>
>
>
Do you have a file in /bin named "ln -s"? The
executable is "ln" and "-s" is an argument. Also,
check out the symlink task in the option
> I am trying to create a symbolic link using the target below;
>
>
>
>
>
>
>
>
Try :
Hope it works
Nicolas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I am trying to create a symbolic link using the target below;
However it is throwing the exception below.
BUILD FAILED
file:/ms/.global/ny.w/user/m/madhue/build.xml:15: Execute failed:
java.io.IOException: /bin/ln -s: not found
Do i need to set any shell paths for the buil
I would go for luntbuild (http://www.luntsys.com/luntbuild/index.html).
The main disadvantage with lunt build is poor project dependencies, besides
from that, it's very good.
Highly recommended!
Ulf Karlsson
- Original Message -
From: "Jürgen Schlierf" <[EMAIL PROTECTED]>
To:
Sent: Tues
Greetings,
I'm using Ant 1.6.1 under WinXP SP2.
I wrote a custom task, deployToCache, that reads from a URL; the URL can
sometimes be https. Here's the taskdef definition:
The custom task requires jnet.jar, jsse.jar, and jcert.jar. The relevant
code:
S
You can use the task (part of the ant-contrib project).
// Things to do if destination==stage
// Things to do if destination==stage
Or you can use the task :-)
Daniel Kalcevich <[EMAIL PROTECTED]> wrote:
All,
I have a situation where I need to perform a
> -Original Message-
> From: Daniel Kalcevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 23 February 2005 3:21 AM
> To: user@ant.apache.org
> Subject: Conditional Question for Build Script
>
> All,
>
> I have a situation where I need to perform a check as to
> whether or not a file
http://luntbuild.sourceforge.net. The next version will also include security,
simpler project setup and more.
> -Original Message-
> From: Jürgen Schlierf [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 22, 2005 5:37 PM
> To: user@ant.apache.org
> Subject: webbased build and deplo
All,
I have a situation where I need to perform a check as to whether or not
a file needs to be included in build based upon a property. The
property would represent the environment, either "stage" or "prod".
Based upon the value of that property, I would need to rename a file and
move it to a di
hi all,
How I can in ANT verify multiple jar-files
that files packed in it are unique?
(In another words I have not duplicated files in jars)
With best regards,
Andrey solonchuk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Im looking for a good webbased build and deployment tool. Open Source if
possible. I've found Anthill for example. But the
commercial version is very expensive. Did somebody get experiences with other
tools?
Jürgen
-
To un
Thank you Stefan, that did the trick!
I read the logger/listener part of the docs, but I misunderstood it... I
thought that listeners didn't recieve all the same input as do loggers, so
I didn't think I would get everything in the log file as I do in the
console window. I tried it as you said tho
The name for "variables" in Ant is "property".
Properties are immutable - once set their value doesnt change.
The value can be set
a) via command line
ant -Dname=value
ant -Dsrc=C:/j2eetutorial14/examples/jaxrpc/src
b) in an external properties file (standard java prop-format) which is
loaded
On Tue, 22 Feb 2005, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Is it possible to specify more than one logger on the command line?
Only one -logger, but multiple -listeners.
> Specifically, I want to see the build output in the console as I do
> when no logger is specified, but I'd IN ADDIT
Hello...
Is it possible to specify more than one logger on the command line?
Specifically, I want to see the build output in the console as I do when
no logger is specified, but I'd IN ADDITION like to have the output saved
to an XML file using XmlLogger.
Is this possible? Thanks all!
--
Fran
My first suspicion would be that some environment variable (JAVA_HOME,
BIN, ANT_HOME, etc...) is defined for your user, but not for the system
as a whole. Try looking this up and double check your configuration.
Also see if there are any logs which say why it isn't working
ssk 2001 wrote:
Hi
iam using tomcat 5.5 ,jdk1.5 and ant 1.5 with enterprise version linux 3.0. I
run the shell script which contian ant javaclass name in the command prompt
it is excuting properly the java class . The same shell script when i was it is
running in the cronjob, ant is not executing the java c
Hello Shigemoto
Yeah, that's a weird problem I faced a lot. You can try the following:
1. add the complete path of aaa.jar and bbb.jar in your environment
CLASSPATH.
2. Make it as
- Sujeet
- Original Message -
From: "Shigemoto FUJIKURA" <[EMAIL PROTECTED]>
To:
Sent: Tuesd
Just starting to use ant/asant to build examples for web services from
sun tutorial. Running into a problem when I run the "asant build" get
the following error:
compile-client:
[echo] Compiling the client source code
[echo] src=src destdir=build
[javac] Compiling 1 source file to
On Tue, 2005-02-22 at 11:30, Shigemoto FUJIKURA wrote:
> hi all,
>
> im stacking on an error which produced by javac task.
> when i use javac task like this:
>
>
>
>
>
>
>
>
>
> the following error occurs.
>
> compile:
> [javac] Compiling 241 source files to
hi all,
im stacking on an error which produced by javac task.
when i use javac task like this:
the following error occurs.
compile:
[javac] Compiling 241 source files to /home/classes
[javac] /home/src/Test.java:162: cannot access xxx.yyy.Zzz
[javac] fil
Jan
> -Ursprüngliche Nachricht-
> Von: Ronen Mashal [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 22. Februar 2005 10:21
> An: user@ant.apache.org
> Betreff: How can I dump a fileset to a file?
>
> I want to create a file listing files in a fileset, like the
> response file
> cr
> Andrew, from my not so extensive usage of I
> know that targets in the importee overload targets in
> imported. It is like extending a class in Java and
> calling a method defined in the base class results in
> a call to a method in the child class. (The imported
> is like a base class and the
I want to create a file listing files in a fileset, like the response file
created for the javac task.
How can I do that?
Ronen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 conflict operations. If yes,
> send a mail, if no repe
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' !
Hope this helps
--
Yves M
38 matches
Mail list logo