hi all, this is a must-see for all beginners with ant
http://wiki.apache.org/ant/TheElementsOfAntStyle
Regards
JS
Thanks Ivan and Bill,
javadoc for entire src.zip worked :-))) but had to break down the task into
handling each sub folder - com, org, sunw, java, javax and had to set maxmemory
for javadoc task
useexternalfile="true" is a lifesaver
Regards and Best wishes
JS
system config:
Win Xp Pro SP2,
Hi,
I am currently using ANT in my project. I have following queries -
1) I have the requirement to build a C++ project( .dsw file ).
How can I do this, as I didn't find any direct support in ANT Task list?
2) Can I publish an HTML page on a web page using ANT?
Thanks,
Karunakar Chatla
Andrew Perez-Lopez wrote:
> Hey all,
>
> I'm working with EJBs using JBoss 4.x and Ant 1.6.5. I'm trying to set
> the Class-Path of the manifests of a big bunch of EJBs to a set of
> libraries that I've included in my EAR file. I can get ejbjar to
> generate all my jars, which is very nice, but
Hello,
i have a short questions to the task in ANT.
I create changelogs of some packages ... can i store this changelogs in 1 !!!
XML file ?
Here my task ...
The problem is that the task overwrite the changelog.xml for every package. :(
Can anybody help ?
Greets Michael
Hmm... after with the same name is not supposed to
work. The first task in the build script always wins.
- Alexey.
Christine Gerstenmayer wrote:
Hello Alexey
Thanks very much for your help but I have another problem:
Loadfile works fine:
But if I want to replace the placeholder with t
It is XML. You will need to put "&database;".
- Alexey.
Christine Gerstenmayer wrote:
Hello Alexey
Thanks very much for your help but I have another problem:
Loadfile works fine:
But if I want to replace the placeholder with the property like this (the
placeholder in repository.xml is "
Hey all,
I'm working with EJBs using JBoss 4.x and Ant 1.6.5. I'm trying to set
the Class-Path of the manifests of a big bunch of EJBs to a set of
libraries that I've included in my EAR file. I can get ejbjar to
generate all my jars, which is very nice, but since the ejbjar task
doesn't all
Here is a target that does the entire tree beginning at ${src.dir}. It
includes all the files in the directories that begin with the
${pkg.base.dir} directory. The classpath.javadoc property is set in the init
target and is shown following the javadoc target.
If you fiddle around with this you can
You might want to ask the tomcat-users mailing list, and not ant's user
list.
http://jakarta.apache.org/site/mail2.html#Tomcat
> -Original Message-
> From: Rich Harris [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 12, 2005 3:13 PM
> To: Ant Users List
> Subject: Tomcat 5.5.9 w/Admin in
I've installed
OS: FC4 (RH Linux)
Tomcat 5.5.9
Java 1.5
Tomcat comes up fine. I click on the administration link try to login with the
defaul login and get this:
"SEVERE: Invalid path /login was requested"
in the catalina.out
I google'd it and didn't get much. Anyone else have this issue?
-
The manual ships with Ant. Look in $ANT_HOME/doc/manual.
-Rob A
> -Original Message-
> From: Christine Gerstenmayer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 12, 2005 1:44 PM
> To: 'Alexey N. Solofnenko'
> Cc: 'Ant Users List'
> Subject: WG: Howto do this in Ant: Replace a placehold
Hi Alexey,
sorry, I have to revoke my last answer.
Loadfile does not work, it does nothing.
I use Ant 1.6.2. Can this be the reason ? For all ? Do you have a manual for
Ant 1.6.2 ?
Please help.
Regards
Christine
-Ursprüngliche Nachricht-
Von: Christine Gerstenmayer [mailto:[EMAIL PROTECT
Hello Alexey
Thanks very much for your help but I have another problem:
Loadfile works fine:
But if I want to replace the placeholder with the property like this (the
placeholder in repository.xml is "&database;":
Ant says: The entity "database" was referenced but not declared.
Ok, I think I figured this out myself. I can replace all antcall's
with macrodef's like the following (assumes antcontrib installed):
..
..
..
..
- would translate to
..
..
..
---
I would discourage you from persuing a patch build solution. I would suggest
that a patch build be treated as an entire new build. There are several
advantages to this approach.
1. The build and deployment process is always the same.
2. The person doing the build and deploy does not need to know
Hello,
I've gotten some help from this list in setting up antcontrib's
RemoteAnt task, and have it mostly working (for which I am greatly
indebted.) Now, however, I'm up against another issue.
I have a build script on an XP box that kicks off (using RemoteAnt)
a build file on a Linux box. But
Ok, in that case alt.3 is not very attractive afterall. I don't know
if it is just me but I prefer do embed this type of behaviour in the
build.xml and project itself.
I have had similar problems with system environment variables in
particular charset encodings which need to be set outside of the
Hello,
--- JS developer <[EMAIL PROTECTED]> wrote:
> hi,
> i'm a beginner with ant, i want to generate the
> javadoc for the entire src.zip that comes with the
> sun jdk download.
Quite an ambitious undertaking :). Why don't you just
download it from[1]. Anyway, it you want it for
educational p
hi,
i'm a beginner with ant, i want to generate the javadoc for the entire src.zip
that comes with the sun jdk download. I've tried a lot of standard options with
the build.xml, sourcepathref, filesets etc. but i get "build failed". Also, it
tries to add all the .java source files to the javado
Asle,
--- Asle Pedersen <[EMAIL PROTECTED]> wrote:
> I prefer alt.3 and try using taskdefs before without
> success. I did
> try it again now also not successfully. Could you
> please supply me
> with a complete working example?
I've implemented this approach only once for ,
because I was only cu
On Tue, 12 Jul 2005 18:11:21 +1000, Kai Hendry wrote:
>Ok ${man2} has what I want. Though the JAR take wants a FILE for the
>manifest. So how do I dump ${man2} temporarily to a file for the task. I
>don't want
>to overwrite MANIFEST1.MF or MANIFEST2.MF
then do not use loadfile, but concat or co
Asle Pedersen wrote:
I prefer alt.3 and try using taskdefs before without success. I did
try it again now also not successfully. Could you please supply me
with a complete working example?
This is how my (non-working) build.xml looks like now:
(both .jar files are placed in the lib directory un
I prefer alt.3 and try using taskdefs before without success. I did
try it again now also not successfully. Could you please supply me
with a complete working example?
This is how my (non-working) build.xml looks like now:
(both .jar files are placed in the lib directory under the basedir)
Asle,
You have several other alternatives to keep your ant
distribution clean of external libs:
1) Put commons-net-1.1.0.jar in $HOME\.ant\lib (my
favourite way)
2) Place it an arbitrary directory say
/path/to/thirdparty/jars and use -lib option of ant
launching script.
3) (Requires more coding a
Hi
I was hoping someone could put me on the right track please.
I finally automated my whole build and deployment as well as writing code to
handle branch builds. Now I need to write code to handle patch builds.
This is when the developers hand over couple of modified files which need to
be
Is it possible to "embed" the ant ftp task in a project. I would like
to just depend on a standard ant-installation to use the ftp task and
have the commons-net-1.1.0.jar in my project instead of under /ant/lib
which is suggested by the documentation. I have tried different
methods to do this but n
> -Original Message-
> From: Martin Olsson [mailto:[EMAIL PROTECTED]
> I already have an ANT target that creates myprogram.jar but I also need it
> to create a manifest with a proper Class-Path pointing to
> ./lib/commons/commons-net.jar etc etc
>
> I managed to implement this using _absol
This is something I will have to try, since I still cant get the
classloader issue sorted out. I was reading the loaderRef description
in the documentation and it is mentionned that the loaderRef name is
"constructed from the specified classpath". How is this to understand?
Thanks.
On 6/13/05, [E
Ok ${man2} has what I want. Though the JAR take wants a FILE for the
manifest. So how do I dump ${man2} temporarily to a file for the task. I
don't want
to overwrite MANIFEST1.MF or MANIFEST2.MF
Thanks!
First:
${man1}
Second:
${man2}
Juergen Hermann wrote:
On Fri, 08 Jul
30 matches
Mail list logo