[jboss-cvs] jboss-seam/seam-gen/build-scripts ...

Gavin King gavin.king at jboss.com
Tue Nov 7 20:48:43 EST 2006


  User: gavin   
  Date: 06/11/07 20:48:43

  Modified:    seam-gen/build-scripts    .classpath .exploded.launch
                        build.xml
  Log:
  suggest hibernate config
  
  Revision  Changes    Path
  1.2       +1 -1      jboss-seam/seam-gen/build-scripts/.classpath
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .classpath
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/.classpath,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- .classpath	6 Nov 2006 08:51:43 -0000	1.1
  +++ .classpath	8 Nov 2006 01:48:43 -0000	1.2
  @@ -28,5 +28,5 @@
   	<classpathentry kind="lib" path="lib/thirdparty-all.jar"/>
   	<classpathentry kind="lib" path="lib/el-api.jar"/>
   	<classpathentry kind="lib" path="lib/el-ri.jar"/>
  -	<classpathentry kind="output" path="bin"/>
  +	<classpathentry kind="output" path="exploded-archives/@projectName at .jar"/>
   </classpath>
  
  
  
  1.2       +3 -3      jboss-seam/seam-gen/build-scripts/.exploded.launch
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .exploded.launch
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/.exploded.launch,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- .exploded.launch	6 Nov 2006 08:51:43 -0000	1.1
  +++ .exploded.launch	8 Nov 2006 01:48:43 -0000	1.2
  @@ -3,7 +3,7 @@
   	<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
   	<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
   	<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
  -	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="clean,"/>
  +	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="clean,unexplode,restart,"/>
   	<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,"/>
   	<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
   		<listEntry value="1"/>
  @@ -12,9 +12,9 @@
   	<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
   	<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
   	<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
  -	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="restart,"/>
  +	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="clean,unexplode,restart,"/>
   	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="explode,"/>
  -	<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="ExplodeMe"/>
  +	<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="@projectName@"/>
   	<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
   		<listEntry value="/@projectName@/build.xml"/>
   	</listAttribute>
  
  
  
  1.8       +12 -10    jboss-seam/seam-gen/build-scripts/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- build.xml	7 Nov 2006 01:53:57 -0000	1.7
  +++ build.xml	8 Nov 2006 01:48:43 -0000	1.8
  @@ -38,8 +38,13 @@
   		<mkdir dir="${dist.dir}" />
   	</target>
   
  -	<target name="compile" depends="init" description="Compile the Java source code">
  -		<javac classpathref="build.classpath" destdir="${jar.dir}" debug="${javac.debug}" deprecation="${javac.deprecation}" nowarn="on">
  +	<target name="compile" depends="init" description="Compile the Java source code" unless="${eclipse.running}">
  +		
  +		<javac classpathref="build.classpath" 
  +			        destdir="${jar.dir}" 
  +			          debug="${javac.debug}" 
  +			    deprecation="${javac.deprecation}" 
  +			        nowarn="on">
   			<src path="${src.java.dir}" />
   		</javac>
   	</target>
  @@ -149,15 +154,12 @@
   				<exclude name="**/*.jar"/>
   			</fileset>
   		</delete>
  -		<delete failonerror="no">
  -			<fileset dir="${ear.deploy.dir}">
  -				<include name="**/*.jar"/>
  -			</fileset>
  -		</delete>
  +		<delete file="${deploy.dir}/${project.name}-ds.xml" failonerror="no"/>
  +		<delete dir="${ear.deploy.dir}" failonerror="no"/>
   	</target>
   	
  -	<target name="restart" depends="unexplode,explode" description="Restart the exploded archive">
  -		<touch file="${ear.deploy.dir}/application.xml"/>
  +	<target name="restart" depends="explode" description="Restart the exploded archive">
  +		<touch file="${ear.deploy.dir}/META-INF/application.xml"/>
   	</target>
   
   	<target name="deploy" depends="archive,datasource" description="Deploy to JBoss AS">
  
  
  



More information about the jboss-cvs-commits mailing list