"ant clean" in Nuxeo only clean the Nuxeo subdirectories.

"make clean" and now "ant clean" (which are now equivalent) at the root of the ECM-trunk bundle now clean everything in all the NX* and Nuxeo subprojects.

But I still suspect that *sometimes" you have to also clean your JBoss instance as well (including /opt/jboss/server/default/lib), and there is no ant target that I know of that does that.

  S.

On Jan 30, 2007, at 3:50 PM, Julien Anguenot wrote:

Bogdan Stefanescu wrote:

I had the same problem yesterday.
I've made an "make clean"  in nuxeo svn bundle, I've also removed
nuxeo.ecm from jboss (I don't know if this step is necessary) and then
I've run deploy-ecm-all and all was fine..

Alright, launching the make clean that uses the master ant file
*outside* Nuxeo helped here. It means the Nuxeo/build.xml is not doing a
full cleanup of all directories...

Thanks Bogdan.

        J.

Julien Anguenot wrote:
I've been trying all magic combinations (clean deploy dir, clean all,
clean etc...) to get rid of this build error without success...
(Although, I'm sure this is again a bug of our wonderful ant script
because Eclipse is fine with the compilation...)

 [echo] Building NXJBossCache
dist:
     [echo] Building NXServerCache
    [mkdir] Created dir:
/home/anguenot/nuxeo/NXP/ECM-trunk/NXServerCache/build
    [javac] Compiling 7 source files to
/home/anguenot/nuxeo/NXP/ECM-trunk/NXServerCache/build
    [javac]
/home/anguenot/nuxeo/NXP/ECM-trunk/NXServerCache/src/org/nuxeo/ cache/server/bd/CacheableDocumentManagerBean.java:59:

getSessionId() in org.nuxeo.ecm.core.api.ejb.DocumentManagerBean cannot
implement getSessionId() in org.nuxeo.ecm.core.api.CoreSession;
attempting to use incompatible return type
    [javac] found   : long
    [javac] required: java.lang.String
    [javac] public class CacheableDocumentManagerBean extends
DocumentManagerBean implements CacheableDocumentManager {
    [javac] ^
    [javac] 1 error

BUILD FAILED
/home/anguenot/nuxeo/NXP/ECM-trunk/Nuxeo/build.xml:334: The following
error occurred while executing this line:
/home/anguenot/nuxeo/NXP/ECM-trunk/NXCoreFacade/build.xml:194: The
following error occurred while executing this line:
/home/anguenot/nuxeo/NXP/ECM-trunk/NXServerCache/build.xml:81: Compile
failed; see the compiler error output for details.

    J.


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

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm



--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

--
Stefane Fermigier, CEO, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Nuxeo 5 EP is out! - Now Java EE based, standards compliant
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to