[daisy] [JIRA] Commented: (DSY-348) build fails if daisy sources
and cocoon sources are located on different drives (windows only)
Marc Portier (JIRA)
issues at cocoondev.org
Fri Sep 15 05:10:08 CDT 2006
[ http://issues.cocoondev.org//browse/DSY-348?page=comments#action_12910 ]
Marc Portier commented on DSY-348:
----------------------------------
use the /d switch to cd on windows to also change the drive-letter
so change:
cd %COCOON_HOME%
to:
cd /d %COCOON_HOME%
I remember applying this fix a long time ago to the original 'your-cocoon-based-project' approach that influenced the maven translation in use in the daisy-build. I guess this maven fork never got that update.
Please try out, report back, and maybe patch.
You might want to check the latest version of that approach for other fixes:
- Description of technique
http://cocoon.zones.apache.org/daisy/cocooninaction/14.html
- Latest version of script: http://cocoon.zones.apache.org/daisy/cocooninaction/17/version/1/part/4/data/build-cocoon-targets.xml
> 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