Hello Michael,

Michael Wohlfart wrote:
Hello,

thanks for your feedback

Markus Angst wrote:
[...]
* Subversion checkout https://svn.apache.org/repos/asf/lenya/trunk
* > build
* migrate to UUIDs:
  > build module.test -Dmodule=org.apache.lenya.modules.migration
>>
I am running Windows XP, Java 1.5. I made a fresh checkout of the trunk
this afternoon and found some problems.

While running build I get the following error:

C:\lenya\lenya-1.4-dev\src\targets\properties-build.xml:155:
taskdef class org.apache.lenya.cms.ant.CopyJavaSourcesTask cannot be found

WinXP and JDK1.5 here too, i just did a fresh checkout but i can't reproduce this problem

When I change line 154 in src/targets/properties-build.xml from

<target name="init-tasks" depends="cocoon-init-tasks">

to

<target name="init-tasks" depends="cocoon-init-tasks, compile-build-tasks">

the build works. My java/ant knowledge is very basic. I am not stating
that this is the right place for the dependency of compile-build-tasks;
the only thing I want to say is that I guess that compile-build-tasks
(or any other task that is compiling CopyJavaSourcesTask) should be
executed somewhere.
(I also got the impression that a build clean-all is not deleting the
files in tools\anttasks\build\classes\org\apache\lenya\cms\ant.
[...]

you are right, the compile-build-tasks target was nowhere used and it
seems like the class files in tools\anttasks\build\classes\org\apache\lenya\cms\ant
came already build from my subversion checkout ?-/

Thanks. That got me one step further. When I browse the SVN repository, I can see the class files, too. I made a fresh checkout again, and... there came the files! I definitely can't find out what went wrong the first time (I am using Subclipse and didn't change any settings between the two runs). Sorry for the noise.

When I run build now, I get exactly the same error that you described in your bugzilla entry: http://issues.apache.org/bugzilla/show_bug.cgi?id=40113. So I start to feel pretty normal now ;-) I will apply your patch and comment in bugzilla after that. BTW: what do you mean by "looks like i got the wrong transformer in my environment"? What would I have to look after to confirm this?

Thanks again!

Markus Angst


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

Reply via email to