I am using ant version 1.6.2.
I have a custom task, com.xxx.ant.abc.GenDDL, which is stored
in a jar file which is in the "lib" directory indicated in the
"fileset" below.
The GenDDL class depends on other jar files
Eric,
This is pretty interesting. Several years I wrote a
similar taglib that showed localized messages in jsps
using the language set in the session. I used
java.util.ResourceBundle and worried about
performance, but ResourceBundle provides a way to
cache the (key,message) pairs so performance wa
See Eclipse bug 34466 comment #7 or see the Eclipse Readme the Platform -
Ant section
or the Eclipse help:
http://help.eclipse.org/help31/index.jsp
?topic=/org.eclipse.platform.doc.isv/guide/ant_contributing_task.htm
"Important rules..." section
HTH
Darins
Mark Russell <[EMAIL PROTECTED]>
12
I'm trying to pass a string of UTF-8 (Japanese) characters via a
property to an xslt task in ant.
If I set the property in the buildfile, with encoding="UTF-8",
everything works fine. If I specify the property on the command-line
(in Windows XP), or via a UTF-8 encoded property file, the charac
Ivan,
I have a Properties Factory where I plan to add the contents of the
manifest. Its ruffed up code to prove it can be done using the
previously mention ant tasks. The tld will invoke the read once and
then add it to the Factory.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PR
Hello Eric,
this is fine. However, don't you think that it might
slow down your web app, since every page you hit
should retrieve the version from the manifest file
again?
Regards
Ivan
--- "Ferrer, Eric" <[EMAIL PROTECTED]> wrote:
> Ivan,
>
> I quickly created this tag provided bellow and it
>
Ivan,
I quickly created this tag provided bellow and it reads the manifest
file. I do deploy to numerous webapps and the deployment directory
differs between tomcat and websphere, I omitted where I handle that
difference.
Using the ant tasks, my manifest looks like this
Manifest-Versi
This is how I do it. I created a separate batch script that configures
environment for VisualStudio.Net and starts ANT (the script allows local
setpath.bat, if local environment is different):
if not "%MSVCDir%" == "" goto build
call "%VS71COMNTOOLS%vsvars32.bat"
:build
call %~dp0ant.bat %*
shreedhar natarajan wrote:
hi guys,
Have anybody used cl/msvc compiler in their build. Visual Studio .Net 2003 internally
executes vsvars.bat that set a different env. variables. Only then it is possible to use
"cl" from command prompt. The task cc requires compiler to be run from the
command
Karthik wrote:
Hi form,
I am a begineer in here.
I have a single application and currently 3 systems,
and need too use ANT to deploy the application on all the 3 systems.
The systems may increase in next quater...
So have to develop the build.xml file in such a way for flexibility
I
Hello Eric,
Using Alexey's code (I was going to provide similar
one) you can easily build a taglib that will extract
the desired version and show it in your JSPs.
Regards
Ivan
--- "Alexey N. Solofnenko" <[EMAIL PROTECTED]>
wrote:
> This is RTFM:
>
> Package pkg = clazz.getPackage(); // the
This is RTFM:
Package pkg = clazz.getPackage(); // there are classes without packages
String version=(pkg==null ? null : pkg.getImplementationVersion());
- Alexey.
Ferrer, Eric wrote:
I had tried that with a version.html and that works great. Has anyone
successfully tried using the mani
I had tried that with a version.html and that works great. Has anyone
successfully tried using the manifest.mf as a source for storing
build/release/version information and successfully reading it at
run-time to display in a jsp?
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECT
Hello,
You can add a token in your web pages, says
@BUILD_NUMBER@ and either replace it with or
with and .
Regards
Ivan
--- "Ferrer, Eric" <[EMAIL PROTECTED]> wrote:
> Maybe this should be a new thread, but once you
> increment your build
> number, what is the best practice to show this
> bui
Maybe this should be a new thread, but once you increment your build
number, what is the best practice to show this build/release in your
applications?
For instance, I would want to see the build/release number on the footer
of my website.
-Original Message-
From: Mark Lybarger [mailto:[E
Hello,
Websphere is shipped with some ant tasks. See [1] for
more details on them. Also Websphere also has the
ability to execute the so called .jacl scripts which
may be easy the configuration of the application, but
I have no special knowledge on them. Perhaps [2] can
give you more details on t
Hello,
See [1] for complete information on task.
Here is an untested snippet regarding cvs import. It
is really *untested*.
By the way why do you want to automate importing a
project in a CVS repository? Importing is done once in
a project's lifetime. It is usually done by onle one
person.
A
There was some one on this list a while back form IBM asking about this
very question. Not sure if he ever released anything. From What I know
there is very little on the websphere side.
In my former job I did an automated deployment system to websphere. it
was allot of custom code and 4000
I can't speak to weblogic, but WebSphere ships ant tasks for these types
of functions; check the InfoCenter for more information.
JEC
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Alan Andrade <[EMAIL PROTECTED]> wrote on
12
Can you explain the steps ? We are using CVS_RSH=ssh
Thanks
srikrishna
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 28, 2005 1:29 PM
To: Ant Users List
Subject: Re: Adding new project into CVS
Hello,
yes there is a way: use task with import
Hi
Are there ant resources to install/deploy and control J2ee Application in
websphere and weblogic Environment?
I need a little help in writing Ant scripts for both environments.
Thanks
Alan
Hello,
yes there is a way: use task with import cvs
command.
Regards
Ivan
--- [EMAIL PROTECTED] wrote:
> Is there a way to add new project into cvs using ant
> .?
>
>
>
> Thanks
>
> srikrishna
>
>
__
Yahoo! DSL Something to
Is there a way to add new project into cvs using ant .?
Thanks
srikrishna
Have you tried invoking the files by using the exec task to call ant,
with the spawn attribute set to true?
This should execute each ant file without waiting to see whether the
file had problems or not.
-Original Message-
From: Steve Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Decemb
hi guys,
Have anybody used cl/msvc compiler in their build. Visual Studio .Net 2003
internally executes vsvars.bat that set a different env. variables. Only then
it is possible to use "cl" from command prompt. The task cc requires compiler
to be run from the command prompt. Not sure what is the
If you can use AntXtras (http://jware.info/) extensions, you could
do something like:
Example 1:
Example 2 (to capture logs per test iff it fails):
At 01:51 PM 12/27/2005, you wrote:
i'm trying to find a function/loop that will r
On Tue, 27 Dec 2005, shreedhar natarajan <[EMAIL PROTECTED]> wrote:
> There was a mention about targets in ANT manual. "It should be
> noted, however, that Ant's depends attribute only specifies the
> order in which targets should be executed - it does not affect
> whether the target that specifie
Take a look at the 'For' task in Ant Contrib -
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
-- Srivathsan
-Original Message-
From: Steve Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 27, 2005 1:52 PM
To: [EMAIL PROTECTED]
Subject: running mutliple ant files
i'm
On Tue, 27 Dec 2005, Bill Winspur <[EMAIL PROTECTED]> wrote:
> bootclasspath ignored since build.sysclasspath has been set.
You can find information about build.sysclasspath in the manual inside
the Concepts and Types section. There are some difficult interactions
between build.sysclasspath and
Not really sure what you mean...
Take a look at http://ant.apache.org/manual/index.html -> Developing with
Ant
I often use this pretty simple pattern:
import java.util.Properties;
import org.apache.tools.ant.types.Parameter;
public class MyTask {
private Properties properties = new Propert
Hi Bill,
Typically one will set the bootclasspath via the extended jvm argument
-Xbootclasspath (see java tool documentation)
If you run ant via the the shell script you have to set jvm arguments via
the environment variable
ANT_OPTS
See http://ant.apache.org/manual/index.html -> Running Ant ->
i'm trying to find a function/loop that will run all ant test files in a
directory that will just run one file after another even if there are errors
i've tried a few things that haven't worked, any ideas or snips of code that
will put me on the right path?
Steven Rogers
Developer at NumberSix,
Thank you!
-Original Message-
From: Varadarajan, Srivathsan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 28, 2005 7:01 AM
To: [EMAIL PROTECTED]
Cc: Ant Users List
Subject: RE: Discussion forum software -- open source
This is a great one - http://www.phpbb.com/
-- Srivathsan
This is a great one - http://www.phpbb.com/
-- Srivathsan
-Original Message-
From: Jonnalagadda, Sumithra [mailto:[EMAIL PROTECTED]
Sent: Monday, December 26, 2005 11:23 PM
To: 'Ant Users List'
Subject: Discussion forum software -- open source
Is there a open source "Discussion Forum So
Hi form,
I am a begineer in here.
I have a single application and currently 3 systems,
and need too use ANT to deploy the application on all the 3 systems.
The systems may increase in next quater...
So have to develop the build.xml file in such a way for flexibility
I have gone thru th
Problem with this solution is that sub-target cumulate with parent target.
I explain, if I sum all time I don't obtain the real total time :
Statistics:
-- Target Results -
z2xcmneditingbm.application.env: 0.000 sec
build.ejb.weblo7.ejbc.classpath: 0.015 sec
z2xcmne
You can check this URL
http://www.mvnforum.com/mvnforumweb/index.jsp
"Jonnalagadda, Sumithra" <[EMAIL PROTECTED]> wrote:
Is there a open source "Discussion Forum Software" ?.
Thanks in advance.
-
To unsubs
37 matches
Mail list logo