[daisy] [JIRA] Created: (DSY-348) build fails if daisy sources and cocoon sources are located on different drives (windows only)

Andreas Deininger (JIRA) issues at cocoondev.org
Fri Sep 15 03:54:08 CDT 2006


build fails if daisy sources and cocoon sources are located on different drives (windows only)
----------------------------------------------------------------------------------------------

         Key: DSY-348
         URL: http://issues.cocoondev.org//browse/DSY-348
     Project: Daisy
        Type: Bug
    Versions: public - 1.5    
 Reporter: Andreas Deininger
    Priority: Minor


The "maven cocoon get" goal creates a file getc2clean.bat, with some content like:

@echo off  
set COCOON_HOME=G:\DaisySVN\cocoon-2.1.9
set multiple other properties 
cd %COCOON_HOME%
build.bat -propertyfile "%PROJECT_PROPERTIES%" clean webapp "-Dbuild.webapp=%PROJECT_WEBAPP%" "-Dtools.tasks.dest=%PROJECT_TASKDEFS%" "-Dlib.core=%CUSTOM_LIB_CORE%"

If this batch file is located on drive c:, the command cd %COCOON_HOME% changes the path on drive g:, however the drive itself is not changed, so the command is issued from drive c: and fails. Could be probably solved by adressing build.bat with an abolute path.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list