Reputation: 1482
I want to know if it is possible to build an eclipse plugin without using the IDE and without specifiying a eclipse workspace.
Currently I have the following setup
Build file for the plugin
<?xml version="1.0" encoding="UTF-8"?>
<project default="plugin_export" name="build">
<target name="plugin_export">
<pde.exportPlugins destination="\export\" exportSource="false" exportType="directory" plugins="com.my.plugin" useJARFormat="true"/>
</target>
</project>
Building plugin from console
java.exe -jar
"C:\Program Files\Eclipse_3.7.2_WIN32\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar"
-application org.eclipse.ant.core.antRunner
-f "D:\source\com.new.plugin\build.xml"
-data "D:\elipse_workspace"
I basically want to build the plugin WITHOUT specifying the -data parameter. Instead I would like to specify directly where the source is located...
Upvotes: 0
Views: 239
Reputation: 111218
You must specify a workspace location. There is lots of information in the workspace metadata that is required during any build operation.
Upvotes: 1