Jeff,
I never thought of double-clicking the server on the Servers view :-(. So I
did it and found the Publishing tab and there is an option: Never publish
automatically. And it worked.
Now I am going to add a new Builder under Right click -> Properties ->
Builders and add a Ant similar to this:
<!-- Copy jsp, js, css, xhtml, jsf -->
<target name="webResources">
<copy todir="${war.dir}/" includeEmptyDirs="no">
<fileset dir="${webroot.dir}">
<patternset>
<include name="**/*.jsf"/>
<include name="**/*.properties"/>
<include name="**/*.xhtml"/>
<include name="**/*.js"/>
<include name="**/*.css"/>
<exclude name="WEB-INF/**"/>
<exclude name="META-INF/**"/>
</patternset>
</fileset>
</copy>
</target>
In my case: war.dir is smthg like this:
[path_to_server]\repository\default\gesco\1.0\gesco-1.0.car\
So every time any of those resources change, they will be automatically
copied to the deploy folder.
Thanks!
RunHua Chi wrote:
>
> Juan, you may refer to this page and see if it helps.
>
> http://cwiki.apache.org/GMOxDOC22/quick-debugging-jsps-of-your-application.html
>
> Anything else, please let us know.
>
> Jeff C
>
> 2009/10/30 Juan Andrés Sanín Pineda <[email protected]>
>
>> Hi.
>>
>> Every time I modify some resource in my web project: a JSP, JSF, XHTML,
>> class, etc. Eclipse automatically re-publish the entire project. It takes
>> me
>> a lot of time, specially if I am working only on the view (XHTML, JSF). I
>> understand the re-publishing if I change a class, or a web.xml,
>> faces-config.xml or geronimo-web.xml. But can I avoid this for XHTML,
>> JSF,
>> JSP, etc. Or can I just inactivate this feature? and How would I do this?
>>
>> Thanks!
>>
>> --
>> Nauj10
>>
>> Este correo y cualquier archivo anexo pertenecen a PRAGMA S.A. y son para
>> uso exclusivo del destinatario intencional. Esta comunicacion puede
>> contener informacion confidencial o de acceso privilegiado. Si usted ha
>> recibido este correo por error, equivocacion u omision favor notificar en
>> forma inmediata al remitente y eliminar dicho mensaje con sus anexos. La
>> utilizacion, copia, impresion, retencion, divulgacion, reenvio o
>> cualquier accion tomada sobre este mensaje y sus anexos queda
>> estrictamente prohibida y puede ser sancionada legalmente.
>>
>> This e-mail and any attached files belong to PRAGMA S.A. and they are for
>> the sole use of the intended recipient(s). This communication may contain
>> confidential or privileged information. If you are not the intended
>> recipient, please contact the sender by reply this e-mail and destroy all
>> copies of the original message. Any unauthorised review, use, disclosure,
>> dissemination, forwarding, printing or copying of this email or any
>> action taken in reliance on this e-mail is strictly prohibited and may be
>> unlawful
>>
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/Inactivate-eclipse-autodeploy-%28autopublishing%29-tp26131418s134p26132697.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.