ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 675] New - Using the Javac task doesn't seem to accept <include> tags
Date Thu, 22 Feb 2001 15:16:21 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=675

*** shadow/675	Thu Feb 22 07:16:21 2001
--- shadow/675.tmp.11034	Thu Feb 22 07:16:21 2001
***************
*** 0 ****
--- 1,105 ----
+ +============================================================================+
+ | Using the Javac task doesn't seem to accept <include> tags                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 675                         Product: Ant                     |
+ |       Status: NEW                         Version: 1.2                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority:                           Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: jamie.lawrence@broadcom.ie                                   |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I'm trying to selectively compile a number of files from different parts of a 
+ (local) CVS tree.  Using the Javac task doesn't seem to accept <include> tags - 
+ the task just stops with no errors, it doesn't even attempt the task.  I can 
+ use <exclude> tag fine but this doesn't really accomplish what I want.
+ 
+ Build.xml
+ =========
+ 	<target name="compile-j11x" depends="parsers" description="Compiles the 
+ Java 1.1.x classes">
+ 		<echo>About to compile J11x files</echo>
+ 		<javac 
+ srcdir="${src}/dev/kernel/:${src}/dev/device/j2se/:${src}/dev/device/j2me/:${src
+ }/dev/device/j11x/:${j2se-parser-dir}:${acl-parser-dir}" destdir="${classes}" 
+ debug="${debug-build}" optimize="${optimised-build}" classpath="${core-java-
+ classes}" defaultexcludes="yes">
+ 			<include 
+ name="${src}/dev/j2me/share/jade/core/Agent.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/core/AgentCache.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/domain/AMSServiceCommunicator.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/onto/basic/BasicOntology.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/domain/FIPAAgentManagement/FIPAAgentManagementO
+ ntology.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/domain/FIPAServiceCommunicator.java"/>
+ 			<include name="${src}/dev/j2me/**/jade/util/**"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/acl/MessageTemplate.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/sl/SL0Codec.java"/>
+ 			<include 
+ name="${src}/dev/j2me/share/jade/acl/StringACLCodec.java"/>
+ 			<include name="${src}/dev/j2se/jade/Boot*.java"/>
+ 			<include name="${src}/dev/j2se/jade/gui/GuiAgent.java"/>
+ 			<include name="${src}/dev/j2se/jade/gui/GuiEvent.java"/>
+ 			<include name="${src}/dev/j2se/jade/mtp/JICP/**"/>
+ 			<include 
+ name="${src}/dev/j2se/jade/leap/util/LEAPSerializable.java"/>
+ 			<include 
+ name="${src}/dev/j2se/jade/leap/PropertyType.java"/>
+ 		</javac>
+ 	</target>
+ 
+ Partial Output:
+ ===============
+ ....
+ Build sequence for target `compile-j11x' is [init, parsers, compile-j11x]
+ Complete build sequence is [init, parsers, compile-j11x, delete-duplicate-files,
+  compile-j2se, compile-labtrial-j2se, all, build-quartz, build-palm, deploy-to-P
+ almOS, compile-j2me, compile-midp, build-gui, compile-labtrial-quartz, build-pc,
+  deploy-to-PC, deploy-to-Quartz, document, metrics, clean, compile-cldc, build-p
+ sion, build-labtrial, build-midp]
+    [javacc] Target is already built - skipping (D:\src\dev\device\j2se\jade\lang
+ \sl\SL0Parser.jj)
+    [javacc] Target is already built - skipping (D:\src\dev\device\j2me\share\jad
+ e\lang\sl\SL0Parser.jj)
+    [javacc] Target is already built - skipping (D:\src\dev\kernel\jade\acl\ACLPa
+ rser.jj)
+ Project base dir set to: D:\
+ Project base dir set to: D:\
+  [property] Override ignored for src
+  [property] Override ignored for build
+  [property] Override ignored for docs
+  [property] Override ignored for lib
+  [property] Override ignored for j2se-parser-dir
+  [property] Override ignored for j2me-parser-dir
+  [property] Override ignored for acl-parser-dir
+  [property] Override ignored for java-home
+  [property] Override ignored for javacc-home
+  [property] Override ignored for java-home
+  [property] Override ignored for core-java-classes
+  [property] Override ignored for debug-build
+  [property] Override ignored for optimised-build
+ Build sequence for target `delete-duplicate-files' is [delete-duplicate-files]
+ Complete build sequence is [delete-duplicate-files, init, parsers, compile-j2se,
+  compile-labtrial-j2se, all, build-quartz, build-palm, deploy-to-PalmOS, compile
+ -j2me, compile-midp, compile-j11x, build-gui, compile-labtrial-quartz, build-pc,
+  deploy-to-PC, deploy-to-Quartz, document, metrics, clean, compile-cldc, build-p
+ sion, build-labtrial, build-midp]
+ Skipped because property 'duplicate-files-found' not set.
+ About to compile J11x files
+ 
+ BUILD SUCCESSFUL
+ 
+ Total time: 0 seconds
+ D:\>

Mime
View raw message