[jboss-svn-commits] JBL Code SVN: r23884 - in labs/jbossrules/trunk/drools-eclipse: drools-eclipse-build and 2 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sat Nov 15 14:39:57 EST 2008


Author: mark.proctor at jboss.com
Date: 2008-11-15 14:39:57 -0500 (Sat, 15 Nov 2008)
New Revision: 23884

Added:
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/allElements.xml
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.properties
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.xml
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/customTargets.xml
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/genericTargets.xml
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/package.xml
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/pom.xml
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/setupEclipse.xml
   labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse.task/pom.xml
Modified:
   labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/plugin.xml
   labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/pom.xml
Log:
-add guvnor and task eclipse tools to build


Property changes on: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build
___________________________________________________________________
Name: svn:ignore
   + target
local-eclipse-drop-mirror


Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/allElements.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/allElements.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/allElements.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,71 @@
+<project name="allElements Delegator">
+ 	<!-- ===================================================================== -->
+ 	<!-- Run a given ${target} on all elements being built                     -->
+ 	<!-- Replace element.id with the id of the top level element being built.    -->
+	<!-- If element.id does not exist in ${buildDirectory}/features/element.id   -->
+	<!-- or ${baseLocation}/features/element.id, then you must provide the       -->
+	<!-- location by setting the property "pluginPath"                           -->
+ 	<!-- Add on <ant> task for each top level element being built.             -->
+ 	<!-- ===================================================================== -->
+ 	<target name="allElementsDelegator">
+    <antcall target="org.drools.eclipse.feature"  />
+    <antcall target="org.drools.eclipse.test.feature"  />
+    <antcall target="org.drools.eclipse.task.feature"  />
+    <antcall target="org.guvnor.tools.feature"  />
+ 	</target>
+
+ 	<target name="org.drools.eclipse.feature" if="mavenCompilePhase">
+ 		<ant antfile="${genericTargets}" target="${target}">
+	 		<property name="type" value="feature" />
+	 		<property name="id" value="org.drools.eclipse.feature" />
+ 		</ant>
+ 	</target>    
+
+ 	<target name="org.drools.eclipse.test.feature" if="mavenTestPhase">
+ 		<ant antfile="${genericTargets}" target="${target}">
+	 		<property name="type" value="feature" />
+	 		<property name="id" value="org.drools.eclipse.test.feature" />
+ 		</ant>
+ 	</target>  
+    
+ 	<target name="org.drools.eclipse.task.feature" if="mavenCompilePhase">
+ 		<ant antfile="${genericTargets}" target="${target}">
+	 		<property name="type" value="feature" />
+	 		<property name="id" value="org.drools.eclipse.task.feature" />
+ 		</ant>
+ 	</target>     
+    
+    <target name="org.guvnor.tools.feature" if="mavenCompilePhase">
+ 		<ant antfile="${genericTargets}" target="${target}">
+	 		<property name="type" value="feature" />
+	 		<property name="id" value="org.guvnor.tools.feature" />
+ 		</ant>
+ 	</target>     
+    
+ 	<!-- ===================================================================== -->
+ 	<!-- Targets to assemble the built elements for particular configurations  -->
+ 	<!-- These generally call the generated assemble scripts (named in         -->
+ 	<!-- ${assembleScriptName}) but may also add pre and post processing       -->
+ 	<!-- Add one target for each root element and each configuration           -->
+ 	<!-- Replace element.id with the id of the top level element being built   -->
+ 	<!-- ===================================================================== -->
+ 	<target name="assemble.org.drools.eclipse.feature">
+ 		<property name="archiveName" value="${org.drools.eclipse.zipFile}"/>
+ 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
+ 	</target>
+    
+ 	<target name="assemble.org.drools.eclipse.test.feature">
+ 		<property name="archiveName" value="${org.drools.eclipse.test.zipFile}"/>
+ 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
+ 	</target>   
+
+    <target name="assemble.org.drools.eclipse.task.feature">
+ 		<property name="archiveName" value="${org.drools.eclipse.task.zipFile}"/>
+ 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
+ 	</target>  
+
+    <target name="assemble.org.guvnor.tools.feature">
+ 		<property name="archiveName" value="${org.guvnor.tools.zipFile}"/>
+ 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
+ 	</target>
+</project>

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.properties
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.properties	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.properties	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,74 @@
+#product=/plugin or feature id/path/to/.product
+runPackager=true
+droolsVersion=5.0.0.SNAPSHOT
+
+# The prefix that will be used in the generated archive.
+archivePrefix=
+# The location underwhich all of the build output will be collected.
+collectingFolder=${archivePrefix}
+
+##sets the zip name
+org.drools.eclipse.zipFile=org.drools.eclipse-${droolsVersion}.zip
+org.drools.eclipse.test.zipFile=org.drools.eclipse.test-${droolsVersion}.zip
+org.drools.eclipse.task.zipFile=org.drools.eclipse.task-${droolsVersion}.zip
+org.guvnor.tools.zipFile=org.guvnor.tools-${droolsVersion}.zip
+
+#Set to true if you want the output to be ready for an update jar (no site.xml g
+
+# Timestamp for the build.  Used in naming the build output
+timestamp=007
+
+# Type of build.  Used in naming the build output.  Typically this value is
+# one of I, N, M, S, ...
+buildType=N
+
+# ID of the build.  Used in naming the build output.
+buildId=drools-build
+
+# Label for the build.  Used in naming the build output
+buildLabel=${buildType}.${buildId}
+
+#Where the customised scripts live
+builder=.
+base=${builder}/target
+buildDirectory=${base}/eclipse.build
+baseLocation=${base}/eclipse
+
+
+#Os/Ws/Arch/nl of the eclipse specified by baseLocation
+#baseos=win32
+#basews=win32
+#basearch=x86
+
+eclipseGefURL=http://download.eclipse.org/tools/gef/downloads/drops
+eclipseURL=http://download.eclipse.org/eclipse/downloads/drops
+eclipseBuildRevision=R-3.4-200806172000
+eclipseGefBuildRevision=R200806091334
+eclipseBuildId=3.4
+eclipseGefBuildId=3.4.0
+
+# We don't want any SCM automation
+skipFetch=true
+
+# Specify the output format of the compiler log when eclipse jdt is used
+logExtension=.log
+
+# Whether or not to include debug info in the output jars
+javacDebugInfo=false
+
+# Whether or not to fail the build if there are compiler errors
+javacFailOnError=true
+
+# Enable or disable verbose mode of the compiler
+javacVerbose=true
+
+# Extra arguments for the compiler. These are specific to the java compiler being used.
+#compilerArg=
+
+# Default value for the version of the source code. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacSource in build.properties
+javacSource=1.5
+
+# Default value for the version of the byte code targeted. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties.
+javacTarget=1.5
+
+

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/build.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,126 @@
+<project name="Build All Elements" default="main">
+
+<!-- ===================================================================== -->
+<!-- Global properties.  See the build.properties for information on -->
+<!-- the properties which callers can control. -->
+<!-- ===================================================================== -->
+<property name="builder" location="${user.dir}"/>
+<property name="builderDirectory" location="${builder}"/>
+<property name="buildProperties" location="${builder}/build.properties"/>
+<property file="${buildProperties}"/>
+<available property="customTargets" file="${builder}/customTargets.xml" value="${builder}/customTargets.xml"/>
+<property name="customTargets" location="${eclipse.pdebuild.templates}/headless-build/customTargets.xml"/>
+<property name="genericTargets" location="${eclipse.pdebuild.scripts}/genericTargets.xml"/>
+
+<!-- ===================================================================== -->
+<!-- main entry point to setup, fetch, generate, build etc. Use -->
+<!-- the customTargets.xml to modify the build behaviour. -->
+<!-- ===================================================================== -->
+
+<!-- ******* add in the descriptions for each of the top level targets to teh target decl -->
+<target name="main" description="the main build target">	
+  	<antcall target="preBuild" /> 
+ 	<antcall target="fetch" />
+	<antcall target="generate" /> 
+	<antcall target="process" /> 
+	<antcall target="assemble" />
+	<antcall target="package" />
+	<antcall target="postBuild" />
+</target>
+
+<!-- ===================================================================== -->
+<!-- Steps to do before starting the build.  Typical setup includes -->
+<!-- fetching the map files and building the directory.  -->
+<!-- ===================================================================== -->
+<target name="preBuild">
+	<mkdir dir="${buildDirectory}" />
+	<ant antfile="${customTargets}" target="preSetup" /> 
+	<ant antfile="${customTargets}" target="getMapFiles" /> 
+	<concat destfile="${buildDirectory}/directory.txt" fixlastline="yes">
+		<fileset dir="${buildDirectory}" includes="maps/**/*.map"/>
+	</concat>
+	<ant antfile="${customTargets}" target="postSetup" />
+</target>
+
+<!-- ===================================================================== -->
+<!-- Fetch the elements identified in the customTargets -->
+<!-- ===================================================================== -->
+<target name="fetch" unless="skipFetch">
+	<ant antfile="${customTargets}" target="preFetch"/>
+	<!-- Generates and then execute the fetch scripts for each build element-->
+	<ant antfile="${customTargets}" target="allElements">
+		<property name="target" value="fetchElement" />
+	</ant>
+	
+	<ant antfile="${customTargets}" target="postFetch"/>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Generate the build scripts for each element identified in the customTargets -->
+<!-- ===================================================================== -->
+<target name="generate">
+	<ant antfile="${customTargets}" target="preGenerate"/>
+	<!-- Generate the build.xml for each build element-->
+	<ant antfile="${customTargets}" target="allElements">
+		<property name="target" value="generateScript" />
+	</ant>
+	<ant antfile="${customTargets}" target="postGenerate"/>	
+</target>
+
+<!-- ===================================================================== -->
+<!-- Run the build scripts for each element identified in the customTargets -->
+<!-- ===================================================================== -->
+<target name="process">
+	<!-- Run custom tasks before processing, i.e. creating source build zip files -->
+	<ant antfile="${customTargets}" target="preProcess" />
+
+	<!-- Process all of the build elements-->
+	<ant antfile="${customTargets}" target="allElements">
+		<property name="target" value="processElement" />
+	</ant>
+
+	<!-- Run custom tasks after compiling, i.e. reporting compile errors -->
+	<ant antfile="${customTargets}" target="postProcess" />
+</target>
+
+<!-- ===================================================================== -->
+<!-- Assemble the build elements into final distributions -->
+<!-- ===================================================================== -->
+<target name="assemble">
+	<ant antfile="${customTargets}" target="preAssemble"/>
+	<ant antfile="${customTargets}" target="allElements">
+		<property name="target" value="assembleElement"/>
+	</ant>
+	<ant antfile="${customTargets}" target="postAssemble"/>	
+</target>
+
+<!-- ===================================================================== -->
+<!-- Package the build elements into final distributions -->
+<!-- ===================================================================== -->
+<target name="package" if="runPackager">
+	<ant antfile="${customTargets}" target="prePackage"/>
+	<ant antfile="${customTargets}" target="allElements">
+		<property name="target" value="packageElement"/>
+	</ant>
+	<ant antfile="${customTargets}" target="postPackage"/>	
+</target>
+
+<!-- ===================================================================== -->
+<!-- Do any steps required after the build (e.g., posting, testing, ...) -->
+<!-- ===================================================================== -->
+<target name="postBuild">
+	<ant antfile="${customTargets}" target="postBuild" />
+</target>
+
+<!-- ===================================================================== -->
+<!-- Clean the build elements.  This target is here as an entry -->
+<!-- point to the customTargets.  It is not called directly in the normal -->
+<!-- course of events. -->
+<!-- ===================================================================== -->
+<target name="clean">
+  <ant antfile="${customTargets}" target="allElements">
+     <property name="target" value="cleanElement"/>
+  </ant>
+</target>
+
+</project>

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/customTargets.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/customTargets.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/customTargets.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,228 @@
+<project name="Build specific targets and properties" default="noDefault">
+	<!-- ===================================================================== -->
+	<!-- Run a given ${target} on all elements being built -->
+	<!-- Add on <ant> task for each top level element being built. -->
+	<!-- ===================================================================== -->
+	<property name="allElementsFile" value="${builder}/allElements.xml"/>
+	<import file="${allElementsFile}" />
+	<target name="allElements">
+		<antcall target="allElementsDelegator" />
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- ===================================================================== -->
+	<!-- Check out map files from correct repository -->
+	<!-- Replace values for mapsCheckoutTag as desired. -->
+	<!-- ===================================================================== -->
+	<target name="getMapFiles" depends="checkLocalMaps" unless="skipMaps">
+		<property name="mapsCheckoutTag" value="HEAD" />
+		<cvs cvsRoot="${mapsRepo}" package="${mapsRoot}" dest="${buildDirectory}/maps" tag="${mapsCheckoutTag}" />
+	</target>
+
+	<target name="checkLocalMaps">
+		<available property="skipMaps" file="${buildDirectory}/maps" />
+	</target>
+
+	<target name="tagMapFiles" if="tagMaps">
+		<cvs dest="${buildDirectory}/maps/${mapsRoot}" command="tag ${mapsTagTag}" />
+	</target>
+
+	<!-- ===================================================================== -->
+
+	<target name="clean" unless="noclean">
+		<antcall target="allElements">
+			<param name="target" value="cleanElement" />
+		</antcall>
+	</target>
+
+	<target name="gatherLogs">
+		<mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
+		<antcall target="allElements">
+			<param name="target" value="gatherLogs" />
+		</antcall>
+		<unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
+			<fileset dir="${buildDirectory}/features">
+				<include name="**/*.log.zip" />
+			</fileset>
+		</unzip>
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do before setup -->
+	<!-- ===================================================================== -->
+	<target name="preSetup">
+	  <echo>preSetup</echo>	  
+    <!--cleanup -->
+    <delete failonerror="false" file="${baseLocation}/org.drools.eclipse*.xml" />
+    <delete failonerror="false" dir="${base}/workspace"/>
+    <delete failonerror="false" dir="${base}/test-workspace"/>
+    
+    <delete failonerror="false" includeemptydirs="true">
+      <fileset dir="${base}/eclipse/features/" includes="org.drools.*"/>
+      <fileset dir="${base}/eclipse/features/" includes="org.guvnor.*"/>
+      <fileset dir="${base}/eclipse/features/" includes="org.eclipse.webdav.*"/>
+      
+      <fileset dir="${base}/eclipse/plugins/" includes="org.drools.*"/>
+      <fileset dir="${base}/eclipse/plugins/" includes="org.guvnor.*"/>
+      <fileset dir="${base}/eclipse/plugins/" includes="org.eclipse.webdav.*"/>
+    </delete>           
+	</target>
+	
+	<!-- ===================================================================== -->
+	<!-- Steps to do after setup but before starting the build proper -->
+	<!-- ===================================================================== -->
+	<target name="postSetup">		
+		<mkdir dir="${buildDirectory}/features"/>
+		<mkdir dir="${buildDirectory}/plugins"/>
+		
+		<antcall target="compilePostSetup" />
+		<antcall target="testPostSetup" />
+	</target>
+	
+	<target name="compilePostSetup" if="mavenCompilePhase">
+		<copy todir="${buildDirectory}/features/org.drools.eclipse.feature">
+			<fileset dir="${builder}/../org.drools.eclipse.feature"/>
+		</copy>
+
+		<copy todir="${buildDirectory}/plugins/org.drools.eclipse">
+				<fileset dir="${builder}/../org.drools.eclipse"/>
+		</copy>		     
+
+        <copy todir="${buildDirectory}/features/org.drools.eclipse.task.feature">
+			<fileset dir="${builder}/../org.drools.eclipse.task.feature"/>
+		</copy>
+
+		<copy todir="${buildDirectory}/plugins/org.drools.eclipse.task">
+				<fileset dir="${builder}/../org.drools.eclipse.task"/>
+		</copy>		        
+        
+        
+        <copy todir="${buildDirectory}/plugins/org.eclipse.webdav">
+			<fileset dir="${builder}/../org.eclipse.webdav"/>
+		</copy>         
+        
+		<copy todir="${buildDirectory}/features/org.guvnor.tools.feature">
+			<fileset dir="${builder}/../org.guvnor.tools.feature"/>
+		</copy>          
+
+		<copy todir="${buildDirectory}/plugins/org.guvnor.tools">
+			<fileset dir="${builder}/../org.guvnor.tools"/>
+		</copy>          
+	</target>
+
+	<target name="testPostSetup" if="mavenTestPhase">
+		
+		<copy todir="${buildDirectory}/features/org.drools.eclipse.test.feature">
+			<fileset dir="${builder}/../org.drools.eclipse.test.feature"/>
+		</copy>           
+
+		<copy todir="${buildDirectory}/plugins/org.drools.eclipse.test">
+				<fileset dir="${builder}/../org.drools.eclipse.test"/>
+		</copy>	           
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do before fetching the build elements -->
+	<!-- ===================================================================== -->
+	<target name="preFetch">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do after fetching the build elements -->
+	<!-- ===================================================================== -->
+	<target name="postFetch">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do before generating the build scripts. -->
+	<!-- ===================================================================== -->
+	<target name="preGenerate">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do after generating the build scripts. -->
+	<!-- ===================================================================== -->
+	<target name="postGenerate">
+		<antcall target="clean" />
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do before running the build.xmls for the elements being built. -->
+	<!-- ===================================================================== -->
+	<target name="preProcess">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do after running the build.xmls for the elements being built. -->
+	<!-- ===================================================================== -->
+	<target name="postProcess">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do before running assemble. -->
+	<!-- ===================================================================== -->
+	<target name="preAssemble">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do after  running assemble. -->
+	<!-- ===================================================================== -->
+	<target name="postAssemble">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do before running package. -->
+	<!-- ===================================================================== -->
+	<target name="prePackage">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do after  running package. -->
+	<!-- ===================================================================== -->
+	<target name="postPackage" if="mavenCompilePhase">
+        <copy todir="${base}">
+            <fileset dir="${buildDirectory}/${buildLabel}">
+                <include name="*.zip"/>
+            </fileset>
+        </copy>
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do after the build is done. -->
+	<!-- ===================================================================== -->
+	<target name="postBuild">
+		<antcall target="gatherLogs" />
+		<antcall target="test" />
+	</target>	
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do to test the build results -->
+	<!-- ===================================================================== -->
+  <target name="test" if="mavenTestPhase">  
+    <unzip src="${buildDirectory}/${buildLabel}/${org.drools.eclipse.zipFile}"
+           dest="${base}/eclipse"/>
+    <unzip src="${buildDirectory}/${buildLabel}/${org.drools.eclipse.test.ZipFile}" 
+           dest="${base}/eclipse"/>    
+
+
+    <ant antfile="${base}/eclipse/plugins/org.drools.eclipse.test_${droolsVersion}/test.xml">        
+      <property name="os" value="${baseos}" />
+      <property name="ws" value="${basews}" />
+      <property name="arch" value="${basearch}" />
+    </ant>
+  </target>
+
+	<!-- ===================================================================== -->
+	<!-- Steps to do to publish the build results -->
+	<!-- ===================================================================== -->
+	<target name="publish">
+	</target>
+
+	<!-- ===================================================================== -->
+	<!-- Default target                                                        -->
+	<!-- ===================================================================== -->
+	<target name="noDefault">
+		<echo message="You must specify a target when invoking this file" />
+	</target>
+
+</project>

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/genericTargets.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/genericTargets.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/genericTargets.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,175 @@
+<project name="Generic Build Targets" default="noDefault">
+
+<!-- Properties that must be passed to this script:
+	buildDirectory
+	id
+	type
+	ignoreTagInfo
+	recursiveGeneration
+	workingDirectory
+	configInfo
+-->
+
+<!-- ===================================================================== -->
+<!-- Setup default values -->
+<!--   configs : by default build a platform-independent configuration -->
+<!--   fetchTag : by default use the CVS tags as spec'd in directory.txt -->
+<!-- ===================================================================== -->
+<property name="configs" value="*,*,*"/>
+<property name="fetchTag" value=""/>
+<property name="buildingOSGi" value="true"/>
+<property name="generateJnlp" value="false"/>
+<property name="signJars" value="false"/>
+<property name="generateFeatureVersionSuffix" value="false" />
+<property name="generateVersionsLists" value="true" />
+<property name="groupConfigurations" value="false"/>
+<property name="pluginPath" value=""/>
+<property name="filteredDependencyCheck" value="false"/>
+
+<!-- ===================================================================== -->
+<!-- Fetch a single element (feature, plugin, fragment) -->
+<!-- ===================================================================== -->
+<target name="fetchElement" description="Checking out source from repository..." depends="init">
+	<mkdir dir="${buildDirectory}/features"/>
+	<mkdir dir="${buildDirectory}/plugins"/>
+	<eclipse.fetch
+		elements="${type}@${id}"
+		buildDirectory="${buildDirectory}"
+		directory="${buildDirectory}/directory.txt"
+		fetchTag="${fetchTag}"
+		configInfo="${configs}"
+		baseLocation="${baseLocation}"
+	/>
+	
+	<!-- Run generated fetch script -->
+	<ant antfile="${buildDirectory}/fetch_${id}.xml">
+		<!-- ************  should not have to spec these  *************** -->
+		<property name="featureOnly" value="true"/>
+		<property name="featureAndPlugins" value="true"/>
+		<property name="featuresRecursively" value="true"/>
+	</ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Clean previously built elements -->
+<!-- ===================================================================== -->
+<target name="cleanElement" description="Scrubbing features and plugins of old jars..." depends="init">
+<echo message="${elementPath}"/>
+	<ant antfile="build.xml" dir="${elementPath}" target="clean"/>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Generate a build.xml file for an element -->
+<!-- ===================================================================== -->
+<target name="generateScript" description="Generating build scripts..." depends="init">
+	<eclipse.buildScript 
+		elements="${type}@${id}" 
+		buildDirectory="${buildDirectory}"
+		configInfo="${configs}"
+		baseLocation="${baseLocation}"
+		buildingOSGi="${buildingOSGi}"
+		outputUpdateJars="${outputUpdateJars}"
+		archivesFormat="${archivesFormat}"
+		product="${product}"
+		forceContextQualifier="${forceContextQualifier}"
+		generateJnlp="${generateJnlp}"
+		signJars="${signJars}"
+		generateFeatureVersionSuffix="${generateFeatureVersionSuffix}"
+		significantVersionDigits="${significantVersionDigits}"
+		generatedVersionLength="${generatedVersionLength}"
+		generateVersionsLists="${generateVersionsLists}"
+		groupConfiguration="${groupConfigurations}"
+		pluginPath="${pluginPath}"
+		filteredDependencyCheck="${filteredDependencyCheck}"
+		platformProperties="${platformProperties}"
+	/>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Run build.xml for a single element-->
+<!-- ===================================================================== -->
+<target name="processElement" description="Processing build scripts..." depends="init">
+	<ant antfile="build.xml" dir="${elementPath}" target="build.jars">
+		<property name="target" value="build.jars"/>
+	</ant>
+</target>
+
+<!-- **********************
+1) the gather targets do more than just gather.  These are packaging targets.
+We need to continue ot separate the two concepts (gather and package) as 
+the packaging is different if we wanted to create an update site packaging
+(for example).  The gathers are commented out for now as the new generated
+scripts do not seem to have them.
+
+2) do we really need the ws and os properties?  In all cases?  Do they have to be 
+set here?
+-->
+
+<!-- ===================================================================== -->
+<!-- Gather items listed in bin.includes -->
+<!-- ===================================================================== -->
+<target name="gatherBinaries" description="Gathering binary distribution..." depends="init">
+	<!-- ant antfile="build.xml" dir="${elementPath}" target="gather.bin.parts"/ -->
+	<ant antfile="build.xml" dir="${elementPath}" target="zip.distribution">
+		<property name="os" value="${os}" />
+		<property name="ws" value="${ws}" />	
+	</ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Gather source for a build element -->
+<!-- ===================================================================== -->
+<target name="gatherSources" description="Gathering source distribution..." depends="init">
+	<!--suspect:  this call is required to create the *.src.zip inside each plugin-->
+	<ant antfile="build.xml" dir="${elementPath}" target="build.sources">
+		<property name="os" value="${os}" />
+		<property name="ws" value="${ws}" />	
+	</ant>
+	<ant antfile="build.xml" dir="${elementPath}" target="zip.sources">
+		<property name="os" value="${os}" />
+		<property name="ws" value="${ws}" />	
+	</ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Gather log files for an element -->
+<!-- Suspect: We just unzip these right away -->
+<!-- ===================================================================== -->
+<target name="gatherLogs" description="Gathering build logs..." depends="init">
+	<ant antfile="build.xml" dir="${elementPath}" target="zip.logs" >
+		<property name="buildDirectory" value="${buildDirectory}" />
+	</ant>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Default target                                                        -->
+<!-- ===================================================================== -->
+<target name="noDefault">
+	<echo message="This file must be called with explicit targets" />
+</target>
+
+<!-- ===================================================================== -->
+<!-- Assemble one build element -->
+<!-- ===================================================================== -->
+<target name="assembleElement" description="Assembling the build..." depends="init">
+	<ant antfile="assemble.${id}.all.xml" dir="${buildDirectory}"/>
+</target>
+
+<!-- ===================================================================== -->
+<!-- Package one build element -->
+<!-- ===================================================================== -->
+<target name="packageElement" description="Packaging the build..." depends="init">
+	<ant antfile="package.${id}.all.xml" dir="${buildDirectory}"/>
+</target>
+	
+<!-- ===================================================================== -->
+<!-- Miscellaneous helper targets -->
+<!-- ===================================================================== -->
+<target name="init">
+	<condition property="elementPath" value="${buildDirectory}/plugins/${id}">
+		<equals arg1="${type}" arg2="fragment" />
+	</condition>
+	<property name="elementPath" value="${buildDirectory}/${type}s/${id}" />
+</target>
+
+</project>

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/package.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/package.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/package.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,88 @@
+<project name="packager" default="main" basedir=".">
+	<target name="init">
+		<mkdir dir="${workingDirectory}"/>
+		<mkdir dir="${downloadDirectory}"/>
+		<mkdir dir="${tempDirectory}"/>
+	</target>
+
+	<target name="retrieveMapFiles" unless="skipMaps">
+		<available property="mapsFetched" file="${workingDirectory}/all.maps"/>
+		<ant antfile="${customTargets}" target="getMapFiles" />
+		<concat destfile="${workingDirectory}/all.maps">
+			<fileset dir="${downloadDirectory}" includes="**/*.map"/>
+		</concat>
+	</target>
+
+	<!-- take the content of all.maps, retrieve the files according to the filtering options (config, content), 
+	and generate a directory.txt for the rest of the process using config as a key, and containing the name of the zip and the directory -->
+	<target name="retrieveFiles" unless="skipFetch">
+		<eclipse.fetchFilesGenerator map="${workingDirectory}/all.maps"
+									workingDirectory="${workingDirectory}"
+									configInfo="${config}"
+									contentFilter="${contentFilter}"
+									componentFilter="${componentFilter}"/>
+		<ant antfile="fetch.xml" dir="${workingDirectory}" />
+	</target>
+
+	<!-- Process the directory.txt to create unzipper.xml, and run unzipper.xml-->
+	<target name="prepareResources" unless="skipUnzip">
+		<eclipse.unzipperBuilder 	workingDirectory="${workingDirectory}" 
+											configInfo="${config}"
+											packagePropertyFile="${packagingPropertyFile}"/>
+		<ant antfile="${workingDirectory}/unzipper.xml"/>
+	</target>
+
+	<!-- Generate an assemble script (assemble.xml) for the given features -->
+	<target name="generateAssembleScripts">
+		<echo message="${target}"/>
+		<eclipse.assembler featureList="${featureList}" 
+									workingDirectory="${workingDirectory}" 
+									configInfo="${config}" 
+									baseLocation="${target}" 
+									packagePropertyFile="${packagingPropertyFile}" 
+									deltaPack="${deltaPack}"
+									archivesFormat="${archivesFormat}"
+									filteredDependencyCheck="${filteredDependencyCheck}"
+									normalize="${normalizeWhilePackaging}"/>
+	</target>
+
+	<!-- Call the assemble.xml script -->
+	<target name="callAssembleScripts">
+		<ant antfile="package.all.xml" dir="${workingDirectory}"/>
+	</target>
+
+	<target name="main" description="Start the packager for a given config">
+		<property file="${packagingInfo}/packager.properties" />
+		<property name="customTargets" location="${packagingInfo}/customTargets.xml" />
+		<property name="packagingPropertyFile" location="${packagingInfo}/${packagingProperties}" />
+		
+		<condition property="skipMaps" value="true">
+			<isset property="prefilledTarget" />
+		</condition>
+		<condition property="skipFetch" value="true">
+			<isset property="prefilledTarget" />
+		</condition>
+		<condition property="skipUnzip" value="true">
+			<isset property="prefilledTarget" />
+		</condition>
+		
+		<!-- Compatibility -->
+		<property name="filteredDependencyCheck" value="false"/>
+		<condition property="skipMaps" value="true">
+			<isset property="localMaps"/>
+		</condition>
+		<condition property="target" value="${tempDirectory}/${featurePaths}">
+			<isset property="featurePaths"/>
+		</condition>
+		<property name="normalizeWhilePackaging" value="true"/>
+		
+		<!-- End of compatibility -->
+			
+		<antcall target="init" />
+		<antcall target="retrieveMapFiles"/>
+		<antcall target="retrieveFiles"/>
+		<antcall target="prepareResources"/>
+		<antcall target="generateAssembleScripts"/>
+		<antcall target="callAssembleScripts"/>
+	</target>
+</project>
\ No newline at end of file

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/pom.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+  <parent>
+    <artifactId>drools-eclipse</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.0.0.SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>drools-eclipse-build</artifactId>
+  <packaging>pom</packaging>
+
+  <name>Drools :: Eclipse :: Build</name>
+  <build>
+    <plugins>    
+     <plugin>
+       <artifactId>maven-antrun-plugin</artifactId>
+       <inherited>false</inherited>
+       <executions>
+         <execution>
+           <id>compile-plugin</id>
+           <phase>compile</phase>
+           <configuration>
+             <tasks>                              
+                <property name="eclipse.home" value="target/eclipse" />             
+                
+                <property name="localEclipseDrop" value="${basedir}/local-eclipse-drop-mirror" />   
+
+                <delete failonerror="false" dir="target/eclipse.build"/>     
+
+                <delete failonerror="false" includeemptydirs="true">
+                  <fileset dir="target" includes="*.zip"/>
+                </delete>                 
+                
+                <ant target="setupLocalEclipse" antfile="setupEclipse.xml">
+                  <property name="localEclipseDrop" value="${localEclipseDrop}" />
+                </ant>                
+                 
+                <java jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar"
+                      fork="true"
+                      failonerror="true"
+                      maxmemory="128m">
+                     <arg line="-application org.eclipse.ant.core.antRunner -consoleLog -data '${basedir}/target/workspace' -DmavenCompilePhase=true"/>
+                </java>                 
+             </tasks>
+           </configuration>
+           <goals>
+             <goal>run</goal>
+           </goals>
+         </execution>
+         
+         <execution>
+           <id>test-plugin</id>
+           <phase>test</phase>
+           <configuration>
+             <tasks>            
+               <!-- Determine OS -->
+               <condition property="baseos" value="win32">
+                   <contains string="${os.name}" substring="Windows" />
+               </condition>
+             
+               <condition property="baseos" value="linux">
+                   <contains string="${os.name}" substring="Linux" />
+               </condition>
+               
+               <condition property="baseos" value="macosx">
+                   <contains string="${os.name}" substring="Mac OS X" />
+               </condition>
+               
+               <condition property="baseos" value="win32">
+                   <contains string="${os.name}" substring="Windows" />
+               </condition>        
+             
+               <condition property="baseos" value="aix">
+                   <contains string="${os.name}" substring="AIX" />
+               </condition>    
+               
+               <condition property="baseos" value="hpux">
+                   <contains string="${os.name}" substring="HP-UX" />
+               </condition> 
+               
+               <condition property="baseos" value="solaris">
+                   <contains string="${os.name}" substring="Solaris" />
+               </condition>  
+               
+               <condition property="baseos" value="qnx">
+                   <contains string="${os.name}" substring="QNX" />
+               </condition>                        
+               
+               <!-- Determine WS -->
+               <condition property="basews" value="win32">
+                   <contains string="${os.name}" substring="Windows" />
+               </condition>    
+               
+               <condition property="basews" value="gtk">
+                   <contains string="${os.name}" substring="Linux" />
+               </condition>    
+               
+               <condition property="basews" value="carbon">
+                   <contains string="${os.name}" substring="Mac OS X" />
+               </condition>        
+                   
+               <!-- Determine ARCH -->
+               <condition property="basearch" value="x86">
+                 <or>
+                   <contains string="${os.arch}" substring="i386" />
+                   <contains string="${os.arch}" substring="i686" />
+                   <contains string="${os.arch}" substring="x86" />
+                   <contains string="${os.arch}" substring="Pentium" />
+                 </or>
+               </condition>
+             
+               <condition property="basearch" value="linux">
+                   <contains string="${os.name}" substring="Linux" />
+               </condition>
+               
+               <condition property="basearch" value="ppc">
+                   <contains string="${os.name}" substring="ppc" />
+               </condition>                     
+               
+               <condition property="basearch" value="sparc">
+                   <contains string="${os.name}" substring="sparc" />
+               </condition>                   
+               
+               <condition property="mavenTestPhase" value="" else="-DmavenTestPhase=true">
+                   <isset property="maven.test.skip" />
+               </condition>                
+              
+                <property name="eclipse.home" value="target/eclipse" />                             
+                
+                <echo>-application org.eclipse.ant.core.antRunner -Dbaseos=${baseos} -Dbasews=${basews} -Dbasearch=${basearch} ${mavenTestPhase}</echo>
+                 
+                <java jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar"
+                      fork="true"
+                      failonerror="true"
+                      maxmemory="128m">
+                     <arg line="-application org.eclipse.ant.core.antRunner -consoleLog -data '${basedir}/target/workspace' -Dbaseos=${baseos} -Dbasews=${basews} -Dbasearch=${basearch} ${mavenTestPhase}"/>
+                </java>                 
+             </tasks>
+           </configuration>
+           <goals>
+             <goal>run</goal>
+           </goals>
+         </execution>    
+
+         <execution>
+           <id>unzip</id>
+           <phase>package</phase>
+           <configuration>
+             <tasks>                
+                <unzip src="target/org.drools.eclipse-${project.version}.zip" dest="../../target/eclipse"/>                         
+                <unzip src="target/org.drools.eclipse.task-${project.version}.zip" dest="../../target/eclipse"/>                         
+                <unzip src="target/org.guvnor.tools-${project.version}.zip" dest="../../target/eclipse"/>    
+                <copy todir="../../target">
+                    <fileset dir="target/">
+                      <include name="*.zip"/>
+                    </fileset>                    
+		        </copy>
+             </tasks>
+           </configuration>
+           <goals>
+             <goal>run</goal>
+           </goals>
+         </execution> 
+                 
+       </executions>
+     </plugin>
+       
+    </plugins>
+  </build>
+
+  <dependencies>
+    <!-- this should include core and compiler -->
+    <!--dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-eclipse-plugin</artifactId>
+    </dependency-->
+</dependencies>
+
+</project>

Added: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/setupEclipse.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/setupEclipse.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-build/setupEclipse.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,125 @@
+<project name="Setup Local  Eclipse" default="setupLocalEclipse">   
+  
+  <property file="build.properties"/>
+
+  <property name="localEclipseDrop" value="${basedir}/local-eclipse-drop-mirror" />   
+ 
+  <!-- set the OS name, make sure each condition is mutally exclusive -->
+	<condition property="download.type" value="win32">
+		<os family="windows" />
+	</condition>	
+			
+	<condition property="download.type" value="macosx-carbon">
+		<and>
+			<os family="mac" />
+			<os family="unix" />
+		</and>
+	</condition>
+	
+	<condition property="download.type" value="linux-gtk">
+		<and>
+			<not>
+				<os family="mac" />
+			</not>
+			<os family="unix" />
+		</and>
+	</condition>		
+	
+	<condition property="download.extension" value="zip">
+		<os family="windows" />
+	</condition>		
+	
+	<condition property="download.extension" value="tar.gz">
+		<or>
+			<os family="mac" />
+			<os family="unix" />
+		</or>
+	</condition>	
+		  		        
+   <condition property="expandTypeZip" value="true">
+       <equals arg1="${download.extension}" arg2="zip" />
+   </condition>   
+
+   <condition property="expandTypeTarGz" value="true">
+       <equals arg1="${download.extension}" arg2="tar.gz" />
+   </condition>   
+   
+  <!-- make sure the directory exists -->   
+  <target name="makeLocalEclipseDropDir">
+    <mkdir dir="${localEclipseDrop}" />    
+  </target>   
+   
+  <target name="getEclipseJar" depends="checkEclipseJar" unless="skipGetEclipseJar">
+    <mkdir dir="${localEclipseDrop}/eclipse/${eclipseBuildRevision}" />    
+    
+    <get usetimestamp="true" src="${eclipseURL}/${eclipseBuildRevision}/eclipse-SDK-${eclipseBuildId}-${download.type}.${download.extension}" 
+         dest="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-SDK-${eclipseBuildId}-${download.type}.${download.extension}" /> 
+  </target>  
+  
+  <target name="getTestJar" depends="checkTestJar" unless="skipGetTestJar">
+    <mkdir dir="${localEclipseDrop}/eclipse/${eclipseBuildRevision}" />    
+    <get usetimestamp="true" src="${eclipseURL}/${eclipseBuildRevision}/eclipse-test-framework-${eclipseBuildId}.zip"
+         dest="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-test-framework-${eclipseBuildId}.zip"/>    
+  </target>
+
+  <target name="getGefJar" depends="checkGefJar" unless="skipGetGefJar">
+    <mkdir dir="${localEclipseDrop}/tools/gef/${eclipseGefBuildRevision}" />    
+    <get usetimestamp="true" src="${eclipseGefURL}/${eclipseGefBuildId}/${eclipseGefBuildRevision}/GEF-runtime-${eclipseGefBuildId}.zip" 
+         dest="${localEclipseDrop}/tools/gef/${eclipseGefBuildRevision}/GEF-runtime-${eclipseGefBuildId}.zip" />
+  </target>      
+
+	<target name="checkEclipseJar">	
+		<available file="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-SDK-${eclipseBuildId}-${download.type}.zip" property="skipGetEclipseJar" />
+	</target>
+	
+	<target name="checkTestJar">	
+		<available file="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-test-framework-${eclipseBuildId}.zip" property="skipGetTestJar" />
+	</target>	
+		
+	<target name="checkGefJar">	
+		<available file="${localEclipseDrop}/tools/gef/${eclipseGefBuildRevision}/GEF-runtime-${eclipseGefBuildId}.zip" property="skipGetGefJar" />
+	</target>	  
+
+  <target name="setupLocalEclipseDrop"  depends="checkEclipseDir" unless="skipUnzipEclipseJars">
+    <antcall target="makeLocalEclipseDropDir" />
+    <antcall target="getEclipseJar" />
+    <antcall target="getTestJar" />    
+    <antcall target="getGefJar" />      
+  </target>
+  
+  <target name="expandEclipseJars">   
+    <antcall target="unzipEclipse" />	
+    <antcall target="untarEclipse" />
+    
+    <unzip dest="${base}" overwrite="true"
+           src="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-test-framework-${eclipseBuildId}.zip" />   				
+				
+	<unzip dest="${base}" overwrite="true" 
+	       src="${localEclipseDrop}/tools/gef/${eclipseGefBuildRevision}/GEF-runtime-${eclipseGefBuildId}.zip" />				         
+  </target>    
+  
+  <target name="unzipEclipse" if="expandTypeZip">
+  	<unzip dest="${base}" overwrite="true" 
+  	       src="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-SDK-${eclipseBuildId}-${download.type}.${download.extension}" />  
+  </target>
+
+  <target name="untarEclipse" if="expandTypeTarGz">
+	<gunzip src="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-SDK-${eclipseBuildId}-${download.type}.tar.gz"/>
+	<untar dest="${base}" src="${localEclipseDrop}/eclipse/${eclipseBuildRevision}/eclipse-SDK-${eclipseBuildId}-${download.type}.tar" />
+  </target>
+  
+  <target name="checkEclipseDir">
+    <available file="${base}/eclipse" property="skipUnzipEclipseJars" />
+  </target>
+    
+  <target name="setupLocalEclipse" depends="checkLocalEclipse" unless="skipSetupLocalEcipse">  
+    <echo>local eclipse drop mirror - ${localEclipseDrop}</echo>
+    <antcall target="setupLocalEclipseDrop" />
+    <antcall target="expandEclipseJars" />
+  </target>	
+  
+  <target name="checkLocalEclipse">
+      <available type="dir" file="${base}/eclipse" property="skipSetupLocalEcipse" />
+  </target>
+  
+</project>

Modified: labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/plugin.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/plugin.xml	2008-11-15 03:03:26 UTC (rev 23883)
+++ labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/plugin.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -200,8 +200,13 @@
    </extension>
 
    <extension point="org.eclipse.help.toc">
-      <toc file="help/eclipse/toc.xml" primary="true" />
+      <toc file="help/expert/toc.xml" primary="true" />
    </extension>
+   
+   <extension point="org.eclipse.help.toc">
+      <toc file="help/fusion/toc.xml" primary="true" />
+   </extension>
+   
 
    <extension point = "org.eclipse.ui.preferencePages">
       <page id="org.drools.eclipse.preferences.DroolsPreferencePage"

Modified: labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/pom.xml	2008-11-15 03:03:26 UTC (rev 23883)
+++ labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/pom.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -36,29 +36,31 @@
            </goals>
          </execution>    
          
-         <!--execution>
+         <execution>
            <id>unzip manual</id>
            <phase>process-resources</phase>
            <configuration>
              <tasks>     
-               <unzip src="drools-eclipse-plugin/lib/drools-docs-introduction-eclipse.war" dest="drools-eclipse-plugin/help/introduction" />
-               <unzip src="drools-eclipse-plugin/lib/drools-docs-expert-eclipse.war" dest="drools-eclipse-plugin/help/expert" />
-               <unzip src="drools-eclipse-plugin/lib/drools-docs-fusion-eclipse.war" dest="drools-eclipse-plugin/help/fusion" />
-               <unzip src="drools-eclipse-plugin/lib/drools-docs-flow-eclipse.war" dest="drools-eclipse-plugin/help/flow" />
-               <unzip src="drools-eclipse-plugin/lib/drools-docs-guvnor-eclipse.war" dest="drools-eclipse-plugin/help/guvnor" />
+               <!--unzip src="lib/drools-docs-introduction-eclipse.war" dest="help/introduction" /-->
+               <unzip src="lib/drools-docs-expert-eclipse.war" dest="help/expert" />
+               <unzip src="lib/drools-docs-fusion-eclipse.war" dest="help/fusion" />
+               <!--unzip src="lib/drools-docs-flow-eclipse.war" dest="help/flow" />
+               <unzip src="lib/drools-docs-guvnor-eclipse.war" dest="help/guvnor" />
                
                
-               <delete dir="drools-eclipse-plugin/lib/drools-docs-introduction-eclipse.war" />     
-               <delete dir="drools-eclipse-plugin/lib/drools-docs-expert-eclipse.war" />     
-               <delete dir="drools-eclipse-plugin/lib/drools-docs-fusion-eclipse.war" />     
-               <delete dir="drools-eclipse-plugin/lib/drools-docs-flow-eclipse.war" />     
-               <delete dir="drools-eclipse-plugin/lib/drools-docs-guvnor-eclipse.war" />     
+               <delete file="lib/drools-docs-introduction-eclipse.war" />     
+               <delete file="lib/drools-docs-expert-eclipse.war" />     
+               <delete file="lib/drools-docs-fusion-eclipse.war" />     
+               <delete file="lib/drools-docs-flow-eclipse.war" />     
+               <delete file="lib/drools-docs-guvnor-eclipse.war" /-->   
+               <delete file="lib/drools-docs-expert-eclipse.war" />     
+               <delete file="lib/drools-docs-fusion-eclipse.war" />                
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>           
-         </execution-->        
+         </execution>        
        </executions>
      </plugin>    
     
@@ -131,7 +133,24 @@
         </exclusion>
       </exclusions>
     </dependency>
+    
     <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-docs-expert</artifactId>
+      <version>5.0.0.SNAPSHOT</version>
+      <classifier>eclipse</classifier>
+      <type>war</type>
+    </dependency>      
+    
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-docs-fusion</artifactId>
+      <version>5.0.0.SNAPSHOT</version>
+      <classifier>eclipse</classifier>
+      <type>war</type>
+    </dependency>    
+    
+    <dependency>
       <groupId>com.thoughtworks.xstream</groupId>
       <artifactId>xstream</artifactId>
     </dependency>

Added: labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse.task/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse.task/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse.task/pom.xml	2008-11-15 19:39:57 UTC (rev 23884)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+  <parent>
+    <artifactId>drools-eclipse</artifactId>
+    <groupId>org.drools</groupId>
+    <version>5.0.0.SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>org.drools.eclipse.task</artifactId>
+  <packaging>pom</packaging>
+
+  <name>Drools :: Eclipse :: Task</name>
+  <build>
+    <plugins>    
+    
+     <plugin>
+       <artifactId>maven-antrun-plugin</artifactId>
+       <inherited>false</inherited>
+       <executions>
+         <execution>
+           <id>clean lib</id>
+           <phase>clean</phase>
+           <configuration>
+             <tasks>                              
+                <delete>
+                  <fileset dir="lib" includes="**/*.jar" excludes="**/.svn" />                 
+                </delete>
+                <delete dir="help/shared" />     
+                <delete dir="help/eclipse" />     
+             </tasks>
+           </configuration>
+           <goals>
+             <goal>run</goal>
+           </goals>
+         </execution>    
+         
+         <!--execution>
+           <id>unzip manual</id>
+           <phase>process-resources</phase>
+           <configuration>
+             <tasks>     
+               <unzip src="drools-eclipse-plugin/lib/drools-docs-introduction-eclipse.war" dest="drools-eclipse-plugin/help/introduction" />
+               <unzip src="drools-eclipse-plugin/lib/drools-docs-expert-eclipse.war" dest="drools-eclipse-plugin/help/expert" />
+               <unzip src="drools-eclipse-plugin/lib/drools-docs-fusion-eclipse.war" dest="drools-eclipse-plugin/help/fusion" />
+               <unzip src="drools-eclipse-plugin/lib/drools-docs-flow-eclipse.war" dest="drools-eclipse-plugin/help/flow" />
+               <unzip src="drools-eclipse-plugin/lib/drools-docs-guvnor-eclipse.war" dest="drools-eclipse-plugin/help/guvnor" />
+               
+               
+               <delete dir="drools-eclipse-plugin/lib/drools-docs-introduction-eclipse.war" />     
+               <delete dir="drools-eclipse-plugin/lib/drools-docs-expert-eclipse.war" />     
+               <delete dir="drools-eclipse-plugin/lib/drools-docs-fusion-eclipse.war" />     
+               <delete dir="drools-eclipse-plugin/lib/drools-docs-flow-eclipse.war" />     
+               <delete dir="drools-eclipse-plugin/lib/drools-docs-guvnor-eclipse.war" />     
+             </tasks>
+           </configuration>
+           <goals>
+             <goal>run</goal>
+           </goals>           
+         </execution-->        
+       </executions>
+     </plugin>    
+    
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-dependencies</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>lib</outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <overWriteIfNewer>true</overWriteIfNewer>
+              <stripVersion>true</stripVersion>
+              <includeScope>runtime</includeScope>              
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>     
+    </plugins>
+  </build>
+
+  <dependencies>
+
+    <!-- this should include core and compiler -->
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-process-task</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.drools</groupId>
+          <artifactId>drools-api</artifactId>
+        </exclusion>      
+        <exclusion>
+          <groupId>org.drools</groupId>
+          <artifactId>drools-core</artifactId>
+        </exclusion>
+
+        <exclusion>
+          <groupId>org.drools</groupId>
+          <artifactId>drools-workitems</artifactId>
+        </exclusion>        
+        
+    	<exclusion>
+    		<groupId>org.hibernate</groupId>
+    		<artifactId>hibernate-entitymanager</artifactId>
+    	</exclusion>
+        
+        <exclusion>
+    		<groupId>com.h2database</groupId>
+    		<artifactId>h2</artifactId>
+    	</exclusion>  
+    	
+    	<exclusion>
+			<groupId>org.jboss.seam</groupId>
+			<artifactId>jboss-seam</artifactId>
+		</exclusion>
+      </exclusions>
+    </dependency>
+
+</dependencies>
+
+</project>




More information about the jboss-svn-commits mailing list