chrisw 2003/01/13 05:18:26 Modified: src/java/org/apache/tools/ant/gui/core ProjectManager.java Log: Compatibility update. Revision Changes Path 1.5 +6 -4 jakarta-ant-antidote/src/java/org/apache/tools/ant/gui/core/ProjectManager.java Index: ProjectManager.java =================================================================== RCS file: /home/cvs/jakarta-ant-antidote/src/java/org/apache/tools/ant/gui/core/ProjectManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ProjectManager.java 24 Jun 2001 22:35:42 -0000 1.4 +++ ProjectManager.java 13 Jan 2003 13:18:26 -0000 1.5 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2001 The Apache Software Foundation. All rights + * Copyright (c) 2001 - 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -94,7 +94,7 @@ * XXX need to add property change listeners support. * * @version $Revision$ - * @author Simeon Fitch + * @author Simeon Fitch, Christoph Wilhelms */ public class ProjectManager { @@ -381,7 +381,9 @@ // as well as checking the .ant.properties _antProject.setUserProperty( "ant.file" , f.getAbsolutePath()); - ProjectHelper.configureProject(_antProject, f); + ProjectHelper helper = ProjectHelper.getProjectHelper(); + _antProject.addReference("ant.projectHelper", helper); + helper.parse(_antProject, f); } /**
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>