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 17:39:56 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 18:39 -------
I created a simple example to attempt to get my -g options working.  In this 
simple example I was able to create the various debug options, judging by the 
recorder's output.  I'm sure this comes as no surprise to you.

Is it possible that there is a problem executing ant via Java with the 
org.apache.tools.ant.* classes?  Not sure if this will make any sense to you, 
but here's the code we use to execute the build:
	
public static boolean createInfrastructureJar(
	String sandboxLocation,
	String destinationFileLocation,
	String sourceSandboxLocation,
	String stagingProjectMemberName) {

Ant task = new Ant();
task.setInheritAll(true);
task.setAntfile(
	UtilityConstants.UTILITY_LOCATION
		+ "\\infrastructure_jar_build.xml");

//set the value of other properties....
Project project = new Project();
project.setProperty("work_area", UtilityConstants.UTILITY_LOCATION);
project.setProperty("sandbox_location", sandboxLocation);
project.setProperty("destination_file_location", destinationFileLocation);
project.setProperty("source_sandbox_location", sourceSandboxLocation);
project.setProperty(
	"staging_project_member_name",
	stagingProjectMemberName);

boolean successfulBuild = executeAnt(task, project);

return successfulBuild;
}

-- 
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