Hi,

I am trying to build plugins thanks to the pde-maven-plugin.
I have a features project and any plugins projects, referenced in the feature.xml file. I created a pom.xml file in my features project repository. For most of my plugins projects, it is ok.
But for one I have a compilation error :
-------------
1. ERROR in C:\dev\scm_test\luntbuild\work\Plugin_Hors_Eclipse_Maven\plugins\FR - Plugin Core\src\main\java\com\arcadsoftware\core\ArcadCorePlugin.java (at line 0)
   package com.arcadsoftware.core;
   ^
The type org.eclipse.swt.graphics.Image cannot be resolved. It is indirectly referenced from required .class files
----------


A build.xml file is automatically generated in the concerned plugin repository. The classpath is ok, and the org.eclipse.swt.graphics.Image of the swt.jar should be found. The only particularity of the classpath, is that it refers to a ${basews} property. This property is the same as the ${ws} property. Is this property correctly set ? The generated build.xml file in the features project repository set this property to "*", but I am afraid this is done to late, after the call of the plugin build.xml file.

Can anyone help me ?

I try to set the property explicitly in my pom.xml but this changes nothing.

Thank you

Magali Helene

____________________________
my features project pom.xml :
____________________________
<project xmlns="http://maven.apache.org/POM/4.0.0";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>

   <groupId>com.arcadsoftware</groupId>
   <artifactId>core.features</artifactId>
   <packaging>zip</packaging>
   <name>Core Feature</name>
   <version>2.0.0.2-SNAPSHOT</version>
   <description>Feature du Plugin Core d'Arcad Software</description>

     <repositories>
       <repository>
           <id>Codehaus Snapshots</id>
           <url>http://snapshots.repository.codehaus.org/</url>
           <snapshots>
               <enabled>true</enabled>
           </snapshots>
           <releases>
               <enabled>false</enabled>
           </releases>
       </repository>
   </repositories>
   <pluginRepositories>
       <pluginRepository>
           <id>Codehaus Snapshots</id>
           <url>http://snapshots.repository.codehaus.org/</url>
           <snapshots>
               <enabled>true</enabled>
           </snapshots>
           <releases>
               <enabled>false</enabled>
           </releases>
       </pluginRepository>
  <pluginRepository>
     <id>snapshot</id>
     <name>Maven Central Development Repository</name>
     <url>http://snapshots.repository.codehaus.org</url>
     <releases>
       <enabled>false</enabled>
     </releases>
   </pluginRepository>
 </pluginRepositories>



   <build>
       <plugins>
           <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>pde-maven-plugin</artifactId>
               <version>1.0-alpha-1-SNAPSHOT</version>
               <extensions>true</extensions>
               <configuration>
<eclipseInstall>C:\Program Files\eclipse 3.0.2\eclipse</eclipseInstall>
                   <buildProperties>
                       <ws>"*"</ws>
                       <basews>"*"    </basews>
                   </buildProperties>
               </configuration>
               <executions>
                   <execution>
                       <id>clean-pde</id>
                       <phase>clean</phase>
                       <goals>
                           <goal>clean</goal>
                       </goals>
                   </execution>
</executions> </plugin>
       </plugins>
   </build>
</project>



____________________________________________________
the generated build.xml file of my features project :
(See the target"build.update.jar" : antcall all.clhildren before the ws property initialisation)
________________________________________________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<project name="com.arcadsoftware.core.features" default="build.update.jar" basedir=".">

   <target name="init">
<property name="feature.temp.folder" value="${basedir}/feature.temp.folder"/>
       <property name="feature.destination" value="${basedir}"/>
   </target>

   <target name="all.plugins" depends="init">
<ant antfile="build.xml" dir="../../plugins/com.arcadsoftware.toolbox" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/FR - Doc - Core Documentation" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/NL - Doc - Core Documentation" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/FR - Plugin Core" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/org.vafada.swtcalendar" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/NL - Plugin Core" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/FR - Plugin Core UI" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/org.vafada.swtcaldendar.fr" target="${target}">
       </ant>
<ant antfile="build.xml" dir="../../plugins/NL - Plugin Core UI" target="${target}">
       </ant>
   </target>
   <target name="all.features" depends="init">
   </target>
   <target name="update.feature" depends="init">
   </target>

<target name="all.children" depends="init,all.features,all.plugins,update.feature">
   </target>

   <target name="children" if="include.children">
       <antcall target="all.children"/>
   </target>

<target name="build.jars" depends="init" description="Build all the jars for the feature: com.arcadsoftware.core.features.">
       <antcall target="all.children">
           <param name="target" value="build.jars"/>
       </antcall>
   </target>

   <target name="build.sources" depends="init">
       <antcall target="all.children">
           <param name="target" value="build.sources"/>
       </antcall>
   </target>

   <target name="build.zips" depends="init">
       <antcall target="all.children">
           <param name="target" value="build.zips"/>
       </antcall>
   </target>

<target name="build.update.jar" depends="init" description="Build the feature jar of: com.arcadsoftware.core.features for an update site.">
       <antcall target="all.children">
           <param name="target" value="build.update.jar"/>
       </antcall>
       <property name="feature.base" value="${feature.temp.folder}"/>
       <delete dir="${feature.temp.folder}"/>
       <mkdir dir="${feature.temp.folder}"/>
       <antcall target="gather.bin.parts" inheritAll="false">
           <param name="arch" value="*"/>
           <param name="ws" value="*"/>
           <param name="nl" value="*"/>
           <param name="os" value="*"/>
           <param name="feature.base" value="${feature.temp.folder}"/>
       </antcall>
<jar jarfile="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.jar" basedir="${feature.temp.folder}/features/com.arcadsoftware.core.features_2.0.0.2"/>
       <delete dir="${feature.temp.folder}"/>
   </target>

   <target name="gather.bin.parts" depends="init" if="feature.base">
       <antcall target="children">
<param name="destination.temp.folder" value="${feature.base}/plugins"/>
           <param name="target" value="gather.bin.parts"/>
       </antcall>
<copy todir="${feature.base}/features/com.arcadsoftware.core.features_2.0.0.2" failonerror="true"> <fileset dir="${basedir}" includes="feature.xml,feature.properties,feature_en.properties,icons/,license.txt" />
       </copy>
<eclipse.idReplacer featureFilePath="${feature.base}/features/com.arcadsoftware.core.features_2.0.0.2/feature.xml" selfVersion="2.0.0.2" featureIds="" pluginIds="com.arcadsoftware.toolbox,1.0.0,org.vafada.swtcalendar,1.0.1,org.vafada.swtcalendar.nl,1.0.1,com.arcadsoftware.core,2.0.0.2,com.arcadsoftware.core.nl,2.0.0.2,com.arcadsoftware.core.ui,2.0.0.2,com.arcadsoftware.core.ui.nl,2.0.0.2,com.arcadsoftware.doc,2.0.0.0,com.arcadsoftware.doc.nl,2.0.0.0,"/>
       <antcall target="rootFiles${os}_${ws}_${arch}"/>
   </target>
   <target name="rootFiles*_*_*">
   </target>

<target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: com.arcadsoftware.core.features.">
       <delete dir="${feature.temp.folder}"/>
       <mkdir dir="${feature.temp.folder}"/>
       <antcall target="gather.bin.parts">
           <param name="arch" value="*"/>
           <param name="ws" value="*"/>
           <param name="nl" value="*"/>
           <param name="include.children" value="true"/>
           <param name="feature.base" value="${feature.temp.folder}"/>
           <param name="os" value="*"/>
       </antcall>
<zip zipfile="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.bin.dist.zip" basedir="${feature.temp.folder}" filesonly="false" whenempty="skip" update="false"/>
       <delete dir="${feature.temp.folder}"/>
   </target>

   <target name="zip.sources" depends="init">
       <delete dir="${feature.temp.folder}"/>
       <mkdir dir="${feature.temp.folder}"/>
       <antcall target="all.children">
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins/com.arcadsoftware.core.features.source_2.0.0.2/src"/>
           <param name="include.children" value="true"/>
           <param name="target" value="gather.sources"/>
       </antcall>
<zip zipfile="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.src.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/>
       <delete dir="${feature.temp.folder}"/>
   </target>

   <target name="zip.logs" depends="init">
       <delete dir="${feature.temp.folder}"/>
       <mkdir dir="${feature.temp.folder}"/>
       <antcall target="all.children" inheritAll="false">
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
           <param name="include.children" value="true"/>
           <param name="target" value="gather.logs"/>
       </antcall>
<zip zipfile="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.log.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/>
       <delete dir="${feature.temp.folder}"/>
   </target>

<target name="clean" depends="init" description="Clean the feature: com.arcadsoftware.core.features of all the zips, jars and logs created."> <delete file="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.jar"/> <delete file="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.bin.dist.zip"/> <delete file="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.log.zip"/> <delete file="${feature.destination}/com.arcadsoftware.core.features_2.0.0.2.src.zip"/>
       <delete dir="${feature.temp.folder}"/>
       <antcall target="all.children">
           <param name="target" value="clean"/>
       </antcall>
   </target>

<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder."> <eclipse.convertPath fileSystemPath="C:/dev/scm_test/luntbuild/work/Plugin_Hors_Eclipse_Maven/features/com.arcadsoftware.core.features/" property="resourcePath"/>
       <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
       <antcall target="all.children">
           <param name="target" value="refresh"/>
       </antcall>
   </target>
   <target name="gather.sources">
       <antcall target="children">
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins/com.arcadsoftware.core.features.source_2.0.0.2/src"/>
           <param name="target" value="gather.sources"/>
       </antcall>
   </target>

   <target name="gather.logs" depends="init">
       <mkdir dir="${feature.temp.folder}"/>
       <antcall target="all.children" inheritAll="false">
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
           <param name="target" value="gather.logs"/>
       </antcall>
   </target>

</project>


____________________________________________________
the generated build.xml file of my plugin project :
____________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<project name="com.arcadsoftware.core" default="build.jars" basedir=".">

   <property name="bootclasspath" value=""/>
   <property name="basews" value="${ws}"/>
   <property name="baseos" value="${os}"/>
   <property name="basearch" value="${arch}"/>
   <property name="basenl" value="${nl}"/>
   <property name="javacFailOnError" value="false"/>
   <property name="javacDebugInfo" value="on"/>
   <property name="javacVerbose" value="true"/>
   <property name="javacSource" value="1.3"/>
   <property name="javacTarget" value="1.2"/>
   <property name="compilerArg" value=""/>

   <target name="init" depends="properties">
       <condition property="pluginTemp" value="${buildTempFolder}/plugins">
           <isset property="buildTempFolder"/>
       </condition>
       <property name="pluginTemp" value="${basedir}"/>
<condition property="build.result.folder" value="${pluginTemp}/FR - Plugin Core">
           <isset property="buildTempFolder"/>
       </condition>
       <property name="build.result.folder" value="${basedir}"/>
       <property name="temp.folder" value="${basedir}/temp.folder"/>
       <property name="plugin.destination" value="${basedir}"/>
   </target>

   <target name="properties" if="eclipse.running">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
   </target>

<target name="build.update.jar" depends="init" description="Build the plug-in: com.arcadsoftware.core for an update site.">
       <delete dir="${temp.folder}"/>
       <mkdir dir="${temp.folder}"/>
       <antcall target="build.jars"/>
       <antcall target="gather.bin.parts">
           <param name="destination.temp.folder" value="${temp.folder}/"/>
       </antcall>
<zip zipfile="${plugin.destination}/com.arcadsoftware.core_2.0.0.2.jar" basedir="${temp.folder}/com.arcadsoftware.core_2.0.0.2" filesonly="false" whenempty="skip" update="false"/>
       <delete dir="${temp.folder}"/>
   </target>

<target name="arpcore.jar" depends="init" unless="arpcore.jar" description="Create jar: arpcore.jar.">
       <delete dir="${temp.folder}/arpcore.jar.bin"/>
       <mkdir dir="${temp.folder}/arpcore.jar.bin"/>
       <!-- compile the source code -->
<javac destdir="${temp.folder}/arpcore.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}" >
           <compilerarg line="${compilerArg}"/>
           <classpath>
<pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.runtime_3.0.2/runtime.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/core.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/console.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui_3.0.2/ui.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.help_3.0.0/help.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.swt_3.0.2/ws/${basews}/swt.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.swt.win32_3.0.2/ws/${basews}/swt.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.swt.win32_3.0.2"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.jface_3.0.2/jface.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.workbench_3.0.2/compatibility.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.workbench_3.0.2/workbench.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.ide_3.0.2/ide.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.views_3.0.0/views.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.update.core_3.0.2/updatecore.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.update.core.win32_3.0.0/updatecore.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.update.ui_3.0.1.1/updateui.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.help.base_3.0.2/helpbase.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.apache.lucene_1.4.3/parser.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.apache.lucene_1.4.3/lucene-1.4.3.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.help.appserver_3.0.0/appserver.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.forms_3.0.0/forms.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.jface.text_3.0.2/jfacetext.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.text_3.0.1/text.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.0.1/texteditor.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/> <pathelement path="../../../../../../../Program Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.core.filebuffers_3.0.1/filebuffers.jar"/> <pathelement path="${build.result.folder}/../com.arcadsoftware.toolbox/Toolbox.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/jregex1.2_01.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/jt400.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/jhall.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/jui400.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/util400.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/x4j400.jar"/> <pathelement path="../com.arcadsoftware.toolbox/lib/iseriescomm.jar"/>
           </classpath>
           <src path="src/"            />
           </javac>
       <!-- Copy necessary resources -->
       <copy todir="${temp.folder}/arpcore.jar.bin" failonerror="true">
<fileset dir="src/" excludes="**/*.java, **/package.htm*" />
       </copy>
       <mkdir dir="${build.result.folder}"/>
<jar jarfile="${build.result.folder}/arpcore.jar" basedir="${temp.folder}/arpcore.jar.bin"/>
       <delete dir="${temp.folder}/arpcore.jar.bin"/>
   </target>

   <target name="arpcoresrc.zip" depends="init" unless="arpcoresrc.zip">
       <mkdir dir="${build.result.folder}"/>
<zip zipfile="${build.result.folder}/arpcoresrc.zip" filesonly="false" whenempty="skip" update="false">
           <fileset dir="src/" includes="**/*.java"            />
       </zip>
   </target>

<target name="build.jars" depends="init" description="Build all the jars for the plug-in: com.arcadsoftware.core."> <available property="arpcore.jar" file="${build.result.folder}/arpcore.jar"/>
       <antcall target="arpcore.jar"/>
   </target>

   <target name="build.sources" depends="init">
<available property="arpcoresrc.zip" file="${build.result.folder}/arpcoresrc.zip"/>
       <antcall target="arpcoresrc.zip"/>
   </target>

<target name="gather.bin.parts" depends="init" if="destination.temp.folder"> <mkdir dir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2"/> <copy todir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2" failonerror="true"> <fileset dir="${build.result.folder}" includes="arpcore.jar" />
       </copy>
<copy todir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2" failonerror="true"> <fileset dir="${basedir}" includes="plugin.xml,*.jar,arpcore.jar,plugin.properties,lib/,about.*" />
       </copy>
   </target>

   <target name="build.zips" depends="init">
   </target>

<target name="gather.sources" depends="init" if="destination.temp.folder"> <mkdir dir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2"/> <copy file="${build.result.folder}/arpcoresrc.zip" todir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2" failonerror="false"/>
   </target>

   <target name="gather.logs" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2"/> <copy file="${temp.folder}/arpcore.jar.bin.log" todir="${destination.temp.folder}/com.arcadsoftware.core_2.0.0.2" failonerror="false"/>
   </target>

<target name="clean" depends="init" description="Clean the plug-in: com.arcadsoftware.core of all the zips, jars and logs created.">
       <delete file="${build.result.folder}/arpcore.jar"/>
       <delete file="${build.result.folder}/arpcoresrc.zip"/>
<delete file="${plugin.destination}/com.arcadsoftware.core_2.0.0.2.jar"/> <delete file="${plugin.destination}/com.arcadsoftware.core_2.0.0.2.zip"/>
       <delete dir="${temp.folder}"/>
   </target>

<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder."> <eclipse.convertPath fileSystemPath="C:/dev/scm_test/luntbuild/work/Plugin_Hors_Eclipse_Maven/plugins/FR - Plugin Core" property="resourcePath"/>
       <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
   </target>

<target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: com.arcadsoftware.core.">
       <delete dir="${temp.folder}"/>
       <mkdir dir="${temp.folder}"/>
       <antcall target="build.jars"/>
       <antcall target="build.sources"/>
       <antcall target="gather.bin.parts">
           <param name="destination.temp.folder" value="${temp.folder}/"/>
       </antcall>
       <antcall target="gather.sources">
           <param name="destination.temp.folder" value="${temp.folder}/"/>
       </antcall>
       <delete>
<fileset dir="${temp.folder}" includes="**/*.bin.log" />
       </delete>
<zip zipfile="${plugin.destination}/com.arcadsoftware.core_2.0.0.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
       <delete dir="${temp.folder}"/>
   </target>

</project>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to