There are a number of projects for this as well. Here's one I know of:
https://github.com/ReadyTalk/staccato
There are a number of others out there as well. I'd suggest trying on of these
projects to do your migrations and version checking because you'll run into
maintenance nightmares otherwis
ple, how the target would look like,
>
> Consider only the log4j need to be in my classpath and the nature of my
> project is just JAVA nature.
>
> Thanks
> Prakash S
>
> -Original Message-----
> From: Brian Pontarelli [mailto:br...@pontarelli.com]
> Sent: Wednesd
ian, but we are using apache ant to build our
> projects.
>
> Is there any way in getting those files when building the project using
> apache ant.
>
> Thanks
> Prakash S
>
> -Original Message-
> From: Brian Pontarelli [mailto:br...@pontarelli.com]
> Sent:
This depends on your dependency management tool. If you are using Savant, Ivy
or Maven, it is pretty simple to write a target that generates these files.
-bp
On Oct 13, 2010, at 3:36 AM,
wrote:
>
>
> "mvn clean compile install eclipse:eclipse"
>
> Generates the following eclipse configu
Depending on what you need, you might not be able to do this. Last time I
checked there wasn't a way in Java to change the directory of the JVM. The new
file APIs in JDK 7 might fix this.
-bp
On Mar 29, 2010, at 1:49 AM, Irfan Sayed wrote:
> Hi all,
>
> i need to change the directory while e
Looks cool . Very similar to what Savant currently provides with plugins and
dependency management.
We have a new set of plugins coming soon that provide a new way of handling pre
and post hooks for targets. I'll send out an email once it is ready to go.
-bp
On Feb 9, 2010, at 3:52 PM, Jean-
On Nov 25, 2009, at 3:06 AM, robert lazarski wrote:
> On Wed, Nov 25, 2009 at 6:49 AM, Harry_ wrote:
>>
>> And one more thing I would like to ask is about how to get the list of
>> processes created by a process. I want this to make sure that all the
>> processes created by parent ant process a
It will depend on the OS that you are running and grabbing the PID. In most
unix systems, the PID of the last executed process is in the variable $!. You
can store this in a file for later retrieval if necessary. You can also add a
very specific -D property and then use a combination of the ps,
I would think it would produce the exact same output each time unless it is
using some type of system dependent code or timestamps.
-bp
On Nov 21, 2009, at 6:41 AM, Ziggy wrote:
> I would have thought that the decompiling is the reason they are different.
> Do you get the same result when you
Savant 1.5.4 has been released. I completely forgot to include the
latest change log, but this is just a simple patch release that fixes
the issue with running Savant outside of a project and using the
global plugins. Most users won't notice the change unless you are
using Savant this way o
On Nov 3, 2009, at 9:44 PM, Raja Nagendra Kumar wrote:
I generally only generate .classpath files
Could you tell me how you archive this with ant
The .classpath format is an extremely simple XML format that tells the
IDE where the source paths are and the JAR files for the project. This
I generally only generate .classpath files and then use them in both
Eclipse and IntelliJ. Savant also has a plugin for generating files
and since it is an Ant script , you can use that. The best approach is
to use a stock XML file that contains most everything and then a
simple script to a
Prego!
-bp
On Oct 5, 2009, at 9:39 AM, Martin Gainty wrote:
molte grazie brian!
Martin Gainty
__
Prego non alteri/modifichi o interrompa questa trasmissione. Grazie
From: br...@pontarelli.com
Subject: Savant 1.5.3
Date: Mon, 5 Oct 2009 09:34:
Savant 1.5.3 was released today.
This was a patch release that fixes the colorized output on Linux and
Unix systems. Some users where having problems with Savant changing
the colors of their display terminal and not reseting them. I pulled
the colorizing code out of Savant completely.
You
Savant 1.5.2 has just been released. It fixes the Windows batch script
issues that some folks were having when Java was located in a folder
that contained spaces and also a transitive dependency pruning error
that was causing incorrect transitive dependencies to be included if
an artifact's
havior you are seeing? Its almost certainly some
sort
of file path problem.
On Tue, Aug 18, 2009 at 7:03 PM, Brian Pontarelli
wrote:
Another option is using Savant. Savant provides a nice wrapper around
Ant that allows you to create plugins which can be used between
projects. The plugins a
Another option is using Savant. Savant provides a nice wrapper around
Ant that allows you to create plugins which can be used between
projects. The plugins are simply Ant build scripts which are
downloaded prior to executing Ant. It also allows you to create
targets specific to your proje
esourceBundle bundle =
ResourceBundle.getBundle(bundleName, Locale.ENGLISH);
So how could we possibly load the classes dynamically, based on their
fully-qualified class name, without having some sort of classpath
attribute
defined in Ant?
Best Regards,
Tiago Espinha
Brian Pontarelli wrote:
I would definitely a
I would definitely avoid the environment variable if possible. In 12
years of Java work, I've never used that variable. Try to be very
explicit about the classpath for each thing you are doing and very
very specific about versions of all the JARs on the classpath. Once
you have removed the
It works fine on my box. I do have the gray background issue on Linux
terminals and Savant though. However, ant and Savant work fine on Mac.
Here's my ~/.antrc:
ANT_OPTS="-Xmx256M"
ANT_ARGS="-logger org.apache.tools.ant.listener.AnsiColorLogger"
You might also check out your
774) wrote:
Yes. These lib are added in ANT_HOME/lib.
Regards,Rajesh
-Original Message-----
From: Brian Pontarelli [mailto:br...@pontarelli.com]
Sent: Wednesday, May 13, 2009 7:33 PM
To: Ant Users List
Subject: Re: taskdef class org.tigris.subversion.svnant.SvnTask
cannot be found
Did you ad
Did you add these to the ANT_HOME/lib directory?
-bp
On May 13, 2009, at 1:24 AM, Rajesh Kumar (IN4774) wrote:
I got following error in when I execute one target in ant...
file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class
org.tigris.subversion.svnant.SvnTask cannot be found
I have f
You can invoke macros easily from Java or Groovy. Groovy is easier,
but if you want to write a task, it isn't too difficult. You can check
out the various macroforeach tasks around to get an idea of what you
need to do. Or just invoke it from groovy like:
ant."${x}"(...)
Pretty certain t
How large is your codebase that you are looking to use incremental
compilation. Most java compilers are pretty fast and re-compiling 1000
classes doesn't take very long (couple seconds).
The issue is that the tool that determines if a class needs to be re-
compiled must fully understand the
Just wanted to drop a quick note to all the Ant users that Savant 1.5
has been released. Although the version implies that it is compatible
with 1.0, it is a complete rewrite and it adds a number of new
features. In fact, 1.0 has been removed and is no longer really
supported or actively de
Use ;)
That brings me to ask: Does the new (?)
Use ;)
On Mar 6, 2009, at 1:39 AM, NR031 wrote:
Hi,
How do I use nested tag in ant script. I want to check 2
strings
and if both are true then it has to do some action. I did like this
but
getting You must not nest more than one condition into if
The way to accomplish this with Ant is to use statements to
include common build files or use the -f flag to specify a common
build file for all the projects. However, if these solutions don't
meet your needs you can also take a look at other solutions like these:
- Gradle
- Maven
-
I noticed the task automates a remote telnet session, using
and to indicate strings to wait for and specify text to send.
Is there any more generic task that can do this? I'm trying to
access a
remote db system that prompts for a password. (Actually it's
Perforce, but
I didn't see any
29 matches
Mail list logo