cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <d...@c-ware.de>
Subject Re: Still challenged with building Cocoon in Eclipse
Date Thu, 16 Dec 2004 11:04:09 GMT
I hope this helps. I ran into the same problems and the problem is in 
fact the Ant version or the settings of it. After a long time of messing 
around with several settings, is changed my build-file to exec-the 
regular cocoon build. Except of some not very pretty [EXEC] prefixes 
cocoon builds nicely and I am able to use and debug cocoon as if I built 
it with the regular Eclipse ant.

        <exec dir="3rd-party/cocoon-2.1.6" executable="build.bat" 
vmlauncher="false">
            <arg line="war"/>
        </exec>

Hope this helps.
Chris

Torsten Schlabach wrote:

>Gregor,
>
>  
>
>>>i would advise to disable deprecation support in local.build.properties
>>>      
>>>
>
>I am not really sure what "compile-deprecated" does in Cocoon, but from what
>I found in between my initial posting and now this would be circumventing
>and not solving the problem.
>
>The problem seems to be that the built-in Ant in Eclipse has a problem with
>the custom tasks used in Cocoon, for example the XPatchTask. I guess this
>would hit us later, wouldn't it? ;-((
>
>One challenge with Eclipse is that it is always doing a lot of things in the
>background that you are not aware of. For example, it sometimes seems to
>keep the state of individual ant tasks, so if you just trigger the same ant
>task twice you will not necessarily see the same behaviour.
>
>Anyway ... I am sure I will fix that and then be able to turn to what I
>really want to achive. But I decided I get nowere if I don't manage to use
>Eclipse for my development tasks over there in Lenya and I don't want a
>mixed setup with editing in Eclipse and building from the command line. 
>
>Regards,
>Torsten
>
>  
>
>>Torsten Schlabach wrote:
>>
>>    
>>
>>>compile-deprecated:
>>>BUILD FAILED: java.lang.ExceptionInInitializerError
>>>      
>>>
>>i would advise to disable deprecation support in local.build.properties
>>
>>it's a good check for any custom code anyway, helped me spot a couple 
>>problems in lenya that way.
>>
>>-gregor
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message