Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Fwd: compile plugins using commandline]
[Fwd: compile plugins using commandline] [message #327797] Thu, 01 May 2008 22:18
Derek Lac is currently offline Derek LacFriend
Messages: 19
Registered: July 2009
Junior Member
Hello,
I've done further debugging. Let me summarize the symptom.

When you add projects in the PDE, and compile using command line,
everything works fine. The following ant tasked generated by Eclipse
does not fail:

<ant antfile="${plugin-B}/build.xml" inheritAll="false"
target="build-project">
<propertyset>
<propertyref name="build.compiler"/>
</propertyset>
</ant>


However if you add an extra ant task to call this file from another
place it fails. Even if this file is on the same working directory as
the build.xml. You have to add an extra dir="plugin-B" attribute to the
ant task to get it working.

I don't know why works originally. It should be building the build.xml
in plugin-B, so it should have the dir attribute.



-Der
>the problem is this: I have many plugins in sub-directories and
>build.xml. For example, I have:

>testbuild.xml
>plugin-1/build.xml
>plugin-2/build.xml
Previous Topic:Find deep references
Next Topic:[Databinding] Use converter when binding to TableViewer
Goto Forum:
  


Current Time: Sat Nov 09 05:09:40 GMT 2024

Powered by FUDForum. Page generated in 0.02799 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top