mirceatoma 01/11/13 15:25:59 Modified: src/java/org/apache/avalon/phoenix/components/deployer PersistentDeploymentRecorder.java Log: Change destination directory for installation logs. Revision Changes Path 1.4 +4 -3 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/PersistentDeploymentRecorder.java Index: PersistentDeploymentRecorder.java =================================================================== RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/deployer/PersistentDeploymentRecorder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PersistentDeploymentRecorder.java 2001/11/10 20:39:43 1.3 +++ PersistentDeploymentRecorder.java 2001/11/13 23:25:59 1.4 @@ -33,7 +33,8 @@ ResourceManager.getPackageResources( PersistentDeploymentRecorder.class ); private final static String PHOENIX_HOME = System.getProperty( "phoenix.home", ".." ); - private final static String VAR_PATH = PHOENIX_HOME + File.separator + "var"; + private final static String VAR_PATH = PHOENIX_HOME + File.separator + + "conf" + File.separator + "installs"; private final static String DIGEST_SUFFIX = "install.log"; private final static String SOURCE = "source"; @@ -96,9 +97,9 @@ } configuration.addChild( digests ); - //create 'var' directory if not present + //create 'conf/installs' directory if not present final File var = new File( VAR_PATH ); - if( !var.exists() ) var.mkdir(); + if( !var.exists() ) var.mkdirs(); m_serializer.serializeToFile( file, configuration );
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>