Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Using publisher ant tasks...

Pascal,

Thank you for the reply. I suspected something like that was the case. I'll try it out, and revert to using direct java calls for the functionality if necessary.

Thanks again.

-Eric

Pascal Rapicault wrote:

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.

PaScaL

Inactive hide details for Eric Gwin ---26/01/2010 01:33:35 PM---Hello,Eric Gwin ---26/01/2010 01:33:35 PM---Hello,


From: 	
Eric Gwin <eric.gwin@xxxxxxxxxx>

To: 	
p2-dev@xxxxxxxxxxx

Date: 	
26/01/2010 01:33 PM

Subject: 	
[p2-dev] Using publisher ant tasks...

------------------------------------------------------------------------



Hello,

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
org.eclipse.equinox.p2.publisher_1.1.0.v20091019.jar.

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.

Thanks.
--
-Eric

Oracle <http://www.oracle.com>
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
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev



------------------------------------------------------------------------

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev

--
-Eric

Oracle <http://www.oracle.com>
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



Back to the top