[jboss-cvs] jboss-seam ...

Peter Muir peter at bleepbleep.org.uk
Sun Nov 18 15:00:55 EST 2007


  User: pmuir   
  Date: 07/11/18 15:00:55

  Modified:    jboss-seam  build.xml
  Log:
  Move eclipse classpath generation to java class and support attaching of sources from maven repo
  
  Revision  Changes    Path
  1.304     +36 -3     jboss-seam/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/build.xml,v
  retrieving revision 1.303
  retrieving revision 1.304
  diff -u -b -r1.303 -r1.304
  --- build.xml	22 Oct 2007 20:07:48 -0000	1.303
  +++ build.xml	18 Nov 2007 20:00:55 -0000	1.304
  @@ -243,7 +243,7 @@
   
   	<!-- ########################### GEN TARGETS ###########################-->
   
  -	<target name="initgen" depends="init, jarcore">
  +	<target name="initgen" depends="init">
   		<init classesdir="${classes.gen.dir}" srcdir="${src.gen.dir}" modulename="gen" pom="${gen.pom}" />
   	</target>
   
  @@ -863,9 +863,42 @@
   		</sequential>
   	</macrodef>
   
  -	<target name="initallmodules" depends="initcore, initdebug, initgen, initioc, initmail, initpdf, initremoting, initui" />
  -
  -	<target name="eclipseclasspath" depends="initallmodules" description="Update eclipse classpath">
  +	<target name="downloadDependenciesSources" description="Download source jars for all dependencies" depends="init">
  +		<dependenciesWithSources id="core" scope="compile" pom="${core.pom}" />
  +		<dependenciesWithSources id="debug" scope="compile" pom="${debug.pom}" />
  +		<dependenciesWithSources id="gen" scope="compile" pom="${gen.pom}" />
  +		<dependenciesWithSources id="ioc" scope="compile" pom="${ioc.pom}" />
  +		<dependenciesWithSources id="mail" scope="compile" pom="${mail.pom}" />
  +		<dependenciesWithSources id="pdf" scope="compile" pom="${pdf.pom}" />
  +		<dependenciesWithSources id="remoting" scope="compile" pom="${remoting.pom}" />
  +		<dependenciesWithSources id="ui" scope="compile" pom="${ui.pom}" />
  +	</target>
  +	
  +	<!--<target name="downloadDependenciesJavadoc" depends="init">
  +		<dependenciesWithJavadoc id="core" scope="compile" pom="${core.pom}" />
  +		<dependenciesWithJavadoc id="debug" scope="compile" pom="${debug.pom}" />
  +		<dependenciesWithJavadoc id="gen" scope="compile" pom="${gen.pom}" />
  +		<dependenciesWithJavadoc id="ioc" scope="compile" pom="${ioc.pom}" />
  +		<dependenciesWithJavadoc id="mail" scope="compile" pom="${mail.pom}" />
  +		<dependenciesWithJavadoc id="pdf" scope="compile" pom="${pdf.pom}" />
  +		<dependenciesWithJavadoc id="remoting" scope="compile" pom="${remoting.pom}" />
  +		<dependenciesWithjavadoc id="ui" scope="compile" pom="${ui.pom}" />
  +	</target>-->
  +	
  +	<target name="eclipseclasspath" depends="init, jargen" description="Update eclipse classpath">
  +		<path id="seam-gen.path" path="${seam.dir}/lib/jboss-seam-gen.jar" />
  +
  +	    <taskdef name="eclipseClasspath" 
  +	        classname="org.jboss.seam.tool.EclipseClasspathTask" 
  +	        classpathref="seam-gen.path"/>
  +		<dependencies id="core" scope="compile" pom="${core.pom}" />
  +		<dependencies id="debug" scope="compile" pom="${debug.pom}" />
  +		<dependencies id="gen" scope="compile" pom="${gen.pom}" />
  +		<dependencies id="ioc" scope="compile" pom="${ioc.pom}" />
  +		<dependencies id="mail" scope="compile" pom="${mail.pom}" />
  +		<dependencies id="pdf" scope="compile" pom="${pdf.pom}" />
  +		<dependencies id="remoting" scope="compile" pom="${remoting.pom}" />
  +		<dependencies id="ui" scope="compile" pom="${ui.pom}" />
   		<eclipseClasspath tofile=".classpath" file="${build.dir}/classpath.tmpl" filterProperty="automagic.classpath.entries">
   			<path refid="compile.core.path" />
   			<path refid="compile.debug.path" />
  
  
  



More information about the jboss-cvs-commits mailing list