| [Fwd: compile plugins using commandline] [message #327797] | 
Thu, 01 May 2008 18:18  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03156 seconds