Browse files

added dependencies directory which can hold jars to be copied to the …

…AS shared lib
  • Loading branch information...
1 parent e86230a commit c00a036d2f4eaf6c20c4bb8d538c1b2ada81aa69 @tsurdilo tsurdilo committed Dec 18, 2011
Showing with 28 additions and 3 deletions.
  1. +27 −3 jbpm-installer/build.xml
  2. +1 −0 jbpm-installer/dependencies/readme.txt
View
30 jbpm-installer/build.xml
@@ -392,7 +392,31 @@
tofile="${jboss.server.conf.dir}/roles.properties"
overwrite="true" />
</target>
-
+
+ <!-- Install dependencies -->
+ <target name="install.dependencies.into.jboss">
+ <antcall target="install.dependencies.into.jboss7" />
+ <antcall target="install.dependencies.into.jboss5" />
+ </target>
+
+ <!-- Install dependencies AS7 -->
+ <target name="install.dependencies.into.jboss7" depends="check.jboss.version" if="jboss.version.is.7">
+ <copy todir="${jboss.home}/standalone/lib">
+ <fileset dir="${install.home}/dependencies">
+ <include name="**/*.jar"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Install dependencies AS5 -->
+ <target name="install.dependencies.into.jboss5" depends="check.jboss.version" unless="jboss.version.is.7">
+ <copy todir="${jboss.home}/server/${jboss.server.configuration}/lib">
+ <fileset dir="${install.home}/dependencies">
+ <include name="**/*.jar"/>
+ </fileset>
+ </copy>
+ </target>
+
<!-- Install reporting AS7 -->
<target name="install.reporting.into.jboss7" depends="check.birt.as7" if="birt.download" >
<mkdir dir="${install.home}/birt"/>
@@ -498,13 +522,13 @@
</target>
<!-- Install Demo -->
- <target name="install.demo" depends="install.jboss,install.guvnor.into.jboss,install.designer.into.jboss,install.jBPM-gwt-console.into.jboss,install.eclipse,install.jBPM.runtime,install.droolsjbpm-eclipse.into.eclipse" />
+ <target name="install.demo" depends="install.jboss,install.dependencies.into.jboss,install.guvnor.into.jboss,install.designer.into.jboss,install.jBPM-gwt-console.into.jboss,install.eclipse,install.jBPM.runtime,install.droolsjbpm-eclipse.into.eclipse" />
<!-- Install Demo (Eclipse) -->
<target name="install.demo.eclipse" depends="install.eclipse,install.jBPM.runtime,install.droolsjbpm-eclipse.into.eclipse" />
<!-- Install Demo (No Eclipse) -->
- <target name="install.demo.noeclipse" depends="install.jboss,install.guvnor.into.jboss,install.designer.into.jboss,install.jBPM-gwt-console.into.jboss,install.jBPM.runtime" />
+ <target name="install.demo.noeclipse" depends="install.jboss,install.dependencies.into.jboss,install.guvnor.into.jboss,install.designer.into.jboss,install.jBPM-gwt-console.into.jboss,install.jBPM.runtime" />
<!-- ############ START/STOP ############ -->
View
1 jbpm-installer/dependencies/readme.txt
@@ -0,0 +1 @@
+Place dependencies here, such as workitem implementation jars, fact model jars, etc.

0 comments on commit c00a036

Please sign in to comment.