Stefane Fermigier wrote:
I (and someone else) have compilation errors when I try to compile the
project using the JDK 1.6.0:
[INFO]
----------------------------------------------------------------------------
[INFO] Building NXThemes JSF
[INFO] task-segment: [clean, compile]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/home/fermigier/svn/nuxeo-installer/src/org.nuxeo.theme.jsf/target
[INFO] Deleting directory
/home/fermigier/svn/nuxeo-installer/src/org.nuxeo.theme.jsf/build
[INFO] Deleting directory
/home/fermigier/svn/nuxeo-installer/src/org.nuxeo.theme.jsf/target/test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 54 source files to
/home/fermigier/svn/nuxeo-installer/src/org.nuxeo.theme.jsf/build
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/fermigier/svn/nuxeo-installer/src/org.nuxeo.theme.jsf/src/org/nuxeo/theme/jsf/negotiation/theme/CookieValue.java:[20,25]
package javax.servlet.http does not exist
-> Do not try this at home.
Of course, if someone knows how to fix this, he/she is very welcome.
S.
that's because jsp-api is required, which is no longer included in
servlet-api 2.4 but which is found in servlet-api 2.3
I've updated org.nuxeo.theme.jsf/pom.xml to explicitly refer to jsp-api
instead of servlet-api
see this thread too:
http://forum.java.sun.com/thread.jspa?threadID=584405&tstart=75
/JM
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm