ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33257] - javac debug options are not recognized
Date Thu, 27 Jan 2005 15:14:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33257





------- Additional Comments From bjhess@fedins.com  2005-01-27 16:14 -------
1.

The javac task is (since I don't think you are really looking for this, I'm not 
going to blow out all the variables):

<javac destdir="${build}" compiler="modern" debug="on">
	<src path="${source_dir}" />
	<src path="${src_dir}" />
	<classpath>
		<fileset dir="${ear_app}">
			<include name="**/*.jar" />
		</fileset>
		<fileset dir="${dependent_jars}">
			<include name="**/*.jar" />
		</fileset>
		<fileset dir="${server_v5_jars}">
			<include name="**/*.jar" />
		</fileset>
		<fileset dir="${server_v51_jars}">
			<include name="**/*.jar" />
		</fileset>
		<fileset dir="${server_v51_ext_jars}">
			<include name="**/*.jar" />
		</fileset>
	</classpath>
</javac>


The javac command is (I'm not 100% sure of the syntax since I'm pulling this 
out of parts of the ant logs):

javac -d 'C:\Java Deployment Utility\SIE Projects\Java Infra\TEST\test 
java\classes' -classpath 'a very large list of directories' -
sourcepath 'C:\Java Deployment Utility\SIE Projects\Java Infra\TEST\test 
java\source;C:\Java Deployment Utility\SIE Projects\Java Infra\TEST\test 
java\src' -g:none

2.

Besides seeing the ant log that shows -g:none, I am also trying to debug within 
WSSD (WebSphere Studio and receiving an error that generally says "The 
breakpoint cannot be installed.  Class files must be generated with the line 
number attributes."

If I export the JAR from WSSD rather than using Ant to build it, this error 
does not occur.

3.

WSSD comes with its own version of javac.  From what I can see the version is 
1.4.1.0 and it _appears_ to be provided by IBM.  Unfortunately I'm not sure how 
to determine what its "options" are.

I downloaded J2SE5 (javac 1.5.0-b64) from Sun with the same results.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message