Stefan Bodewig wrote:
On Mon, 13 Jan 2003, Christopher Lenz <[EMAIL PROTECTED]> wrote:
But there's another problem with the <cvschangelog> task,
certainly possible, I must admit that I've never used it myself.

That's when running Ant on Windows, of course.
and I don't use Windows either 8-)

Can you run Ant with -debug to see what gets passed to the cvs
executable?  We can take this over to ant-user or bugzilla, if you
want to.
Here's the full debug output:

----------------------------------------------------------------------------------

doc.cvschangelog:
[mkdir] Created dir: C:\Programme\Eclipse\workspace\jakarta-cactus\documentation\target\xdocs\cvslog
fileset: Setup scanner in dir C:\Programme\Eclipse\workspace\jakarta-cactus\documentation\docs\xdocs with patternSet{ includes: [**/*.xml] excludes: [**/navigation.xml, sitemap.xml, todo.xml, changes.xml, **/cvslog.xml] }
[cvschangelog] ChangeLog command: [cvs log "-d >=2002-12-29" build_result.xml cactusname.xml downloads.xml faq.xml features.xml getting_started.xml goals.xml howto_migration.xml howto_sample.xml how_it_works.xml how_it_works_uml.xml index.xml javadoc.xml javadoc_12.xml javadoc_13.xml license.xml mailinglist.xml mock_vs_cactus.xml news.xml participating\coding_conventions.xml participating\contributing.xml participating\contributors.xml participating\coverage.xml participating\coverage_12.xml participating\coverage_13.xml participating\coverage_empty.xml participating\howto_build.xml participating\logos.xml participating\release_checklist.xml participating\todo.xml participating\users.xml resources.xml spines\ant\howto_ant.xml spines\ant\howto_ant_cactus.xml spines\ant\howto_ant_install.xml spines\ant\howto_ant_primer.xml spines\browser\howto_junitee.xml spines\browser\howto_tomcat.xml spines\eclipse\eclipse_plugin.xml spines\howto_runner.xml spines\manual\howto_classpath.xml spines\manual\howto_config.xml spines\manual\howto_ide.xml spines\manual\howto_ide_jbuilder4.xml spines\manual\howto_ide_jbuilder5.xml spines\manual\howto_ide_vajava_tomcat.xml spines\manual\howto_ide_vajava_wte.xml testedon.xml webalizer.xml writing\howto_ejb.xml writing\howto_ejb_j2eeri.xml writing\howto_httpunit.xml writing\howto_jsp.xml writing\howto_security.xml writing\howto_testcase.xml writing\howto_testcase_filter.xml writing\howto_testcase_jsp.xml writing\howto_testcase_servlet.xml]
Execute:Java13CommandLauncher: Executing 'cvs' with arguments:
'log'
'-d >=2002-12-29'
'build_result.xml'
'cactusname.xml'
'downloads.xml'
'faq.xml'
'features.xml'
'getting_started.xml'
'goals.xml'
'howto_migration.xml'
'howto_sample.xml'
'how_it_works.xml'
'how_it_works_uml.xml'
'index.xml'
'javadoc.xml'
'javadoc_12.xml'
'javadoc_13.xml'
'license.xml'
'mailinglist.xml'
'mock_vs_cactus.xml'
'news.xml'
'participating\coding_conventions.xml'
'participating\contributing.xml'
'participating\contributors.xml'
'participating\coverage.xml'
'participating\coverage_12.xml'
'participating\coverage_13.xml'
'participating\coverage_empty.xml'
'participating\howto_build.xml'
'participating\logos.xml'
'participating\release_checklist.xml'
'participating\todo.xml'
'participating\users.xml'
'resources.xml'
'spines\ant\howto_ant.xml'
'spines\ant\howto_ant_cactus.xml'
'spines\ant\howto_ant_install.xml'
'spines\ant\howto_ant_primer.xml'
'spines\browser\howto_junitee.xml'
'spines\browser\howto_tomcat.xml'
'spines\eclipse\eclipse_plugin.xml'
'spines\howto_runner.xml'
'spines\manual\howto_classpath.xml'
'spines\manual\howto_config.xml'
'spines\manual\howto_ide.xml'
'spines\manual\howto_ide_jbuilder4.xml'
'spines\manual\howto_ide_jbuilder5.xml'
'spines\manual\howto_ide_vajava_tomcat.xml'
'spines\manual\howto_ide_vajava_wte.xml'
'testedon.xml'
'webalizer.xml'
'writing\howto_ejb.xml'
'writing\howto_ejb_j2eeri.xml'
'writing\howto_httpunit.xml'
'writing\howto_jsp.xml'
'writing\howto_security.xml'
'writing\howto_testcase.xml'
'writing\howto_testcase_filter.xml'
'writing\howto_testcase_jsp.xml'
'writing\howto_testcase_servlet.xml'

The ' characters around the executable and arguments are
not part of the command.

Password:

BUILD FAILED
file:c:/Programme/Eclipse/workspace/jakarta-cactus/documentation/build.xml:159: Error running cvs log
at org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask.execute(ChangeLogTask.java:290)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 10 seconds

----------------------------------------------------------------------------------

Too bad the error message doesn't contain any details :-(

Anyway, you can see that cvs is getting windows-style relative paths. As long as the referenced files are not in sub-directories, everything works okay.

Anyway, this is on Windows + Cygwin, and I'm not sure what the correct behaviour *should* be in this case. :-P

--
Christopher Lenz
/=/ cmlenz at gmx.de


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to