[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Using publisher ant tasks...
Most of the Ant task defined by eclipse can only be run if you are running Ant in the context of an eclipse process. This means that rather invoking Ant straight, you would run the org.eclipse.ant.core.antRunner.
Eric Gwin ---26/01/2010 01:33:35 PM---Hello,
Eric Gwin <eric.gwin@xxxxxxxxxx>
26/01/2010 01:33 PM
[p2-dev] Using publisher ant tasks...
EclipseLink's build process is centered around the use of Ant from the
command-line. I am in the process of switching from using
metadata.generator to publisher for generating our p2 repositories, and
am trying again to utilize the ant tasks rather than a direct java call,
however, I am having difficulty getting Ant to recognize the tasks
defined in "publisher-ant.jar" embedded within the
Can you give an example of the taskdef statement you are expecting? The
variations I've tried using refids, and defined classpath references
simply aren't working. It is looking like expanding the bundle is the
way to go, but frankly reverting to java invocations would be easier.
Eric Gwin | Senior Software Developer
Phone: +613 288 4622 <tel:+613%20288%204622> | | Fax: +613 2382818
<fax:+613%202382818> | | Mobile: +613 8582347 <tel:+613%208582347>
Oracle Java Server Technologies
ORACLE Canada | 45 O'Connor St., Ottawa, Ontario | K1P 6L2
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment
p2-dev mailing list