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 22:24:55 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 23:24 -------
We modified the code used to execute the Ant from Java:

public static boolean createInfrastructureJar(
	String sandboxLocation,
	String destinationFileLocation,
	String sourceSandboxLocation,
	String stagingProjectMemberName) {

	//set the value of other properties....
	Project project = new Project();
	project.init();
	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);

	File buildFile =
		new File(
			UtilityConstants.UTILITY_LOCATION
				+ "\\infrastructure_jar_build.xml");
	ProjectHelperImpl projectHelper = new ProjectHelperImpl();
	boolean successfulBuild = true;
	try {
		projectHelper.parse(project, buildFile);
		project.executeTarget("all");
	} catch (BuildException e) {
		successfulBuild = false;
	}

	return successfulBuild;
}



It appears this issue is closed.  I haven't taken the time to analyze our 
changes, but I know we quit using the Ant class entirely.

Thanks for your help in leading us down the right path.

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