Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Using the PDE eclipse.buildScript ant task


Hi Sam,

for future reference, please ask questions such as this on the newsgroups:

http://www.eclipse.org/newsgroups/index.html

From the information you have provided, I would check these to start:

1.  The directory specified for ${buildDirectory} should contain a "plugins" and "features" directory which contain the source for your build.
2.  "com.timesys.test-feature" is the value for the id attribute in it's feature.xml.  If the id is actually "com.timesys.test" the value for the ${elements} property should be changed.

Sonia



"Robb, Sam" <sam.robb@xxxxxxxxxxx>
Sent by: eclipse-dev-admin@xxxxxxxxxxx

11/03/2004 03:28 PM

Please respond to
eclipse-dev

To
<eclipse-dev@xxxxxxxxxxx>
cc
Subject
[eclipse-dev] Using the PDE eclipse.buildScript ant task





> The document that Pascal refers to may be the how-to
> that you're looking for..
>
> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.releng.basebuilder/readme.html
>
> Kim

Kim & Pascal,

 Thanks very much.  This has helped, but even with
the references, I'm having difficulaty getting the
ant tasks to work properly.  Documentation (online
and in the code) is rather sparse, and I'm hoping
that I'm just missing something obvious...

 I'm trying to use the following build.xml and the
PDE ant tasks to regenerate a build file:

 <project name="Test" default="main">
 <target name="main" description="Generates project build scripts">
         <eclipse.buildScript elements="${elements}" buildDirectory="${buildDirectory}" />
 </target>
 </project>

 I'm running using the Eclipse antRunner application as
shown below:

 C:/j2sdk1.4.2/bin/java.exe \
                -cp c:/Sandbox/component/eclipse/win32/3.0.0/startup.jar \
                org.eclipse.core.launcher.Main \
                -application org.eclipse.ant.core.antRunner \
                -Delements=feature@xxxxxxxxxxxxxxxx-feature \
                -DbuildDirectory=c:/Sandbox/component/ebt/eclipse3/module/test

 No matter what I try, I can't seem to get the task to run
locate the element to build:

 Buildfile: c:\Sandbox\component\ebt\eclipse3\module\ide\build.xml

 main:

 BUILD FAILED
 C:\Sandbox\component\ebt\eclipse3\module\ide\build.xml:3:
 org.eclipse.core.runtime.CoreException: Cannot find feature:
 com.timesys.test-feature.

 Total time: 0 seconds

 Any thoughts or comments?  Is there someplace else I can be
looking for information on this task?

-Samrobb
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top