Author: alessio.soldano(a)jboss.com
Date: 2011-07-08 09:20:24 -0400 (Fri, 08 Jul 2011)
New Revision: 14670
Modified:
stack/native/trunk/modules/dist/src/main/distro/build-project-gen.xml
stack/native/trunk/modules/dist/src/main/distro/user-project-build.xml
Log:
[JBWS-3326] Fixing scripts
Modified: stack/native/trunk/modules/dist/src/main/distro/build-project-gen.xml
===================================================================
--- stack/native/trunk/modules/dist/src/main/distro/build-project-gen.xml 2011-07-08
10:50:42 UTC (rev 14669)
+++ stack/native/trunk/modules/dist/src/main/distro/build-project-gen.xml 2011-07-08
13:20:24 UTC (rev 14670)
@@ -101,7 +101,10 @@
</fail>
</target>
- <target name="configure-project">
+ <target name="configure-project"
depends="configure-project-6,configure-project-7">
+ </target>
+
+ <target name="configure-project-7"
if="jbossws.integration.jboss70">
<mkdir dir="${project.home}/src/main/java"/>
<mkdir dir="${project.home}/src/main/resources"/>
<copy tofile="${project.home}/build.xml"
file="${basedir}/build/user-project-build.xml">
@@ -109,6 +112,33 @@
</copy>
<copy tofile="${project.home}/build.properties"
file="${basedir}/user-project.properties"/>
<path id="project.classpath">
+ <fileset
dir="${jboss.home}/modules/javax/xml/bind/api/main/">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset
dir="${jboss.home}/modules/com/sun/xml/bind/main/">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${jboss.home}/modules/org/jboss/ws">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset
dir="${jboss.home}/modules/javax/jws/api/main/">
+ <include name="*.jar"/>
+ </fileset>
+ <path refid="integration.target.javac.classpath" />
+ </path>
+ <eclipseClasspathGenerator pathId="project.classpath"
outputFile="${project.home}/.classpath" srcPath="src/main/java"
srcOutput="bin/main" />
+ <eclipseProjectGenerator projectName="${project.name}"
outputFile="${project.home}/.project" />
+ <pathWriter pathId="project.classpath"
outputFile="${project.home}/libraries.xml"
variables="project.jboss.home" />
+ </target>
+
+ <target name="configure-project-6"
if="jbossws.integration.jboss60">
+ <mkdir dir="${project.home}/src/main/java"/>
+ <mkdir dir="${project.home}/src/main/resources"/>
+ <copy tofile="${project.home}/build.xml"
file="${basedir}/build/user-project-build.xml">
+ <filterset refid="project"/>
+ </copy>
+ <copy tofile="${project.home}/build.properties"
file="${basedir}/user-project.properties"/>
+ <path id="project.classpath">
<pathelement location="${jboss.client}/jaxws-api.jar"/>
<pathelement location="${jboss.client}/jsr181-api.jar"/>
<pathelement location="${jboss.client}/jaxb-api.jar"/>
Modified: stack/native/trunk/modules/dist/src/main/distro/user-project-build.xml
===================================================================
--- stack/native/trunk/modules/dist/src/main/distro/user-project-build.xml 2011-07-08
10:50:42 UTC (rev 14669)
+++ stack/native/trunk/modules/dist/src/main/distro/user-project-build.xml 2011-07-08
13:20:24 UTC (rev 14670)
@@ -7,7 +7,12 @@
<!-- set global properties for this build -->
<property name="project.name" value="@projectName@" />
<property name="dist.dir" value="dist" />
- <property name="deploy.dir"
value="${project.jboss.home}/server/${project.jboss.conf}/deploy" />
+ <condition property="deploy.dir"
value="${project.jboss.home}/server/${project.jboss.conf}/deploy">
+ <available file="${project.jboss.home}/server" type="dir"/>
+ </condition>
+ <condition property="deploy.dir"
value="${project.jboss.home}/${project.jboss.conf}/deployments">
+ <available file="${project.jboss.home}/${project.jboss.conf}"
type="dir"/>
+ </condition>
<property name="output.dir" value="output" />
<property name="src.main.dir" value="src/main/java" />
<property name="resources.main.dir" value="src/main/resources"
/>
Show replies by date