I would like to use loadref attribute of taskdef to load a given task
into Ant's Core classloader. Is this possible? I've gone through Ant's
manual and also some Google search results, but none of them talk about
any predefined loadref for Ant's core loader.
Thanks,
--Vishal
Notice: This ema
Here's a snippet (from a macrodef and hence @{..}) of what I do when I
need to exec Ant
--Vishal
thomaslarsson wrote:
Thanks Jan but you misunderstand me.
Its not java or javac task that I wan
___
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally
I used to be in the same boat sometime back, where I thought using
ant-contrib is building too many external dependency.
Over time I've realized that Ant-contrib is very stable and complements
Ant very well. If you need to use 'if', then use 'if'. Don't fight it,
otherwise you will end up with
Have you considered using Ant-contrib's
(http://ant-contrib.sourceforge.net/tasks/tasks/index.html) runtarget
task (http://ant-contrib.sourceforge.net/tasks/tasks/runtarget.html)
which is similar to AntCall but with the big difference where the target
is run as part of the same project.
--Vis
Martin,
FYI: Checkout http://ant.apache.org/manual/CoreTasks/javac.html for all
information about Javac task.
--Vishal
Ant manual -> http://ant.apache.org/manual/index.html
Martin Gainty wrote:
yes that worked
Asante-
Martin
***
I'm a very satisfied customer of ant-contrib task for the type of
use case defined in this thread.
While I understand what Ant was originally written for, but the reality
is it has grown and thankfully
ant-contrib(http://ant-contrib.sourceforge.net/tasks/tasks/index.html)
takes care of ad
Use sysproperty nested element in
http://ant.apache.org/manual/OptionalTasks/junit.html. In Java access
them using System.getProperty
--Vishal
ahehheh wrote:
Hi, i am now working with ant to test several Junit classes.
One of Junit classes is Log In command, and this uses a specific id and
p
Nick,
If you want to call a target within the same project. Use Ant-contrib's
runtarget task
(http://ant-contrib.sourceforge.net/tasks/tasks/index.html). Since the
call is in the same project, any property you set in the called target
is also visible to caller
If you want AntCall like behav
For the case of prompting user for password, you can also consider
using AntForm (http://antforms.sourceforge.net/index.html) to have
simple swing ui in which use can enter password.
--Vishal
Petar Tahchiev wrote:
On 20/06/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
But remember, if
I just want to write a Ant utility method, which given a target will
figure its location correctly. No change will be made to the ant
implementation.
--Vishal
Steve Loughran wrote:
Vishal Vishnoi wrote:
I'll look into updating, but that can be a painfully long process, as
it would re
I'll look into updating, but that can be a painfully long process, as it
would require a long certification process.
I don't mind writing a helper utility method that will do the needful
for me. Can you point me to the source code where the fix was made in 1.6.5
I'm thing of one workaround, w
In Ant 1.6.2, the location of an imported target (target.getLocation) is
not set. Is there some workaround that I can use to get the location.
I verified that above problem is fixed in 1.6.5, but I need to get this
working in 1.6.2
--Vishal
___
Look at http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html
--V
Petar Tahchiev wrote:
On 28/04/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote:
If there is such a task, it is not part of the standard Ant
distribution. Check with BEA or search the weblogic documentation.
-Rob
Stefan Bodewig wrote:
On Thu, 23 Feb 2006, Vishal Vishnoi <[EMAIL PROTECTED]> wrote:
Thus, the above can be the default, as it's simple and work for most
people. AntUnit should consider providing an attribute which make
naming a combination of project and target name. Here
Vladimir Egorov wrote:
Stefan, thanks for your reply. Yes, printing the build file makes things
clear for an isolated run. But if you want to compare runs across
various systems, you need a fully-qualified test name that does not
depend on the system. The absolute path to build file depends on t
16 matches
Mail list logo