Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Concering Apache ANT to export Plugin project... (.....It build successfuly and then removes MY build.xml!!!!!!???)
Concering Apache ANT to export Plugin project... [message #690349] Wed, 29 June 2011 12:11
Karan  is currently offline Karan Friend
Messages: 23
Registered: October 2009
Junior Member
Hi,

I have a sample plugin project, I have named it as :
"com.tutorials.worldcup"
I have code in it and it runs successfully as a plugin when I run it from Eclipse.

Now, i wanted to learn exporting this plugin project using Apache ANT. So, I created a 'build.xml' in this project :-

<?xml version="1.0"?>
<project name="exportProjectSample" default="export">
	
    <property name="tgtLoc" location="C:/deploy"/>
	
    <target name="export">
         <pde.exportPlugins destination="${tgtLoc}"
    	 exportsource="true"
    	 exporttype="directory"
    	 plugins="com.tutorials.worldcup"
    	 usejarformat="false"/>
    </target>
</project>


Now, I select Run As Ant Build..... a window opens where I state :
"use the JRE same as the workspace". (The 5th / 6th Tab at the top)

Now, something amazing happens... It runs successfully, no problems there.. but it then deletes my build.xml file!!!! :-S

What does this mean? Why does it do it? What is the file it generates on it's own?
Is it possible for me to view the file it generated on its own? Where is it placed?
Regards,
Karan
Previous Topic:Help with plugin for dynamic web project
Next Topic:PDE automated build
Goto Forum:
  


Current Time: Tue Aug 04 08:50:23 GMT 2020

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

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

Back to the top