cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: eclipse classpath
Date Thu, 17 Jul 2003 06:10:50 GMT
Joerg Heinicke wrote:
> 
> You start your servlet container from inside Eclipse? I start it from 
> command line and only attach for remote debugging.
> 
Yes, sure; it's the fastest approach for me. You actually don't need 
the command line anymore (except for building the webapp the first
time).

> 
> I have set the eclipse output to WEB-INF/classes, so that changes aren't 
> lost after servlet container restart. So I only need to restore the 
> patched roles file. What about
> 
>    <!-- Prepares the webapp to make it directly usable with the eclipse 
> project -->
>    <target name="eclipse-webapp-prepare" depends="prepare, 
> eclipse-webapp-delete-jars, eclipse-webapp-restore-roles"
>            description="Prepares the webapp directory to make it usable 
> within Eclipse"/>
> 
>    <target name="eclipse-webapp-restore-roles">
>        <copy file="${build.dest}/org/apache/cocoon/cocoon.roles"
> tofile="${build.webapp}/WEB-INF/classes/org/apache/cocoon/cocoon.roles"
>              overwrite="yes"/>
>    </target>
> 
>    <target name="eclipse-webapp-delete-jars">
>        <!-- delete all jars, they are already included in the project -->
>        <delete>
>            <fileset dir="${build.webapp}/WEB-INF/lib" includes="*.jar"/>
>        </delete>
>    </target>
> 
Yes, ok, works for me.

Carsten

Mime
View raw message