Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [Fwd: compile plugins using commandline]
[Fwd: compile plugins using commandline] [message #327797] Thu, 01 May 2008 18:18
Eclipse UserFriend
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: Wed Apr 16 08:45:33 EDT 2025

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

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

Back to the top