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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to