Which version of maven and which version of java ?

Ian



On 24 Apr 2008, at 19:04, Kunal Shah wrote:

[EMAIL PROTECTED]:~/java/japps/opensource/shindig/java$ uname -a Linux performancedesktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT
2007 i686 GNU/Linux

or Ubuntu 7.10 - the Gutsy Gibbon

Here's the compilation error after running "mvn package"

[INFO] [compiler:compile]
[INFO] Compiling 86 source files to
/home/kshah/java/japps/opensource/shindig/java/gadgets/target/classes
[INFO]
---------------------------------------------------------------------- --
[ERROR] BUILD FAILURE
[INFO]
---------------------------------------------------------------------- --
[INFO] Compilation failure

could not parse error message: incorrect classpath: /not_a_directory
----------
1. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/HttpGadgetContext.java
(at line 249)
        String escapedParam =
               ^^^^^^^^^^^^

no more tokens - could not parse error message: The local variable
escapedParam is never read
----------
----------
2. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/BasicGadgetBlacklist.java
(at line 33)
        import java.util.regex.PatternSyntaxException;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The import
java.util.regex.PatternSyntaxException is never used
----------
----------
3. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/ProxyServlet.java
(at line 33)
        public class ProxyServlet extends InjectedServlet {
                     ^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
ProxyServlet does not declare a static final serialVersionUID field of type
long
----------
----------
4. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/GadgetServer.java
(at line 225)
        GadgetException e = future.get();
                        ^

no more tokens - could not parse error message: The local variable e is
never read
----------
----------
5. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/GadgetException.java
(at line 25)
        public class GadgetException extends Exception {
                     ^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
GadgetException does not declare a static final serialVersionUID field of
type long
----------
----------
6. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/GadgetRenderingServlet.java
(at line 31)
        public class GadgetRenderingServlet extends InjectedServlet {
                     ^^^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
GadgetRenderingServlet does not declare a static final serialVersionUID
field of type long
----------
----------
7. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/RpcException.java
(at line 27)
        public class RpcException extends Exception {
                     ^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
RpcException does not declare a static final serialVersionUID field of type
long
----------
----------
8. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/CajaContentFilter.java
(at line 89)
List<GadgetException> exceptions = new ArrayList<GadgetException>();
                              ^^^^^^^^^^

no more tokens - could not parse error message: The local variable
exceptions is never read
----------
----------
9. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/GadgetRenderingTask.java
(at line 138)
        String viewName = context.getView();
               ^^^^^^^^

no more tokens - could not parse error message: The local variable viewName
is never read
----------
10. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/GadgetRenderingTask.java
(at line 221)
        JsLibrary.Type type = library.getType();
                       ^^^^

no more tokens - could not parse error message: The local variable type is
never read
----------
11. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/GadgetRenderingTask.java
(at line 260)
        List<GadgetException> gadgetExceptions = new
LinkedList<GadgetException>();
                              ^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The local variable
gadgetExceptions is never read
----------
----------
12. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/util/BlobCrypterException.java
(at line 24)
        public class BlobCrypterException extends Exception {
                     ^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
BlobCrypterException does not declare a static final serialVersionUID field
of type long
----------
----------
13. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/util/BlobExpiredException.java
(at line 26)
public class BlobExpiredException extends BlobCrypterException {
                     ^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
BlobExpiredException does not declare a static final serialVersionUID field
of type long
----------
----------
14. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/util/XmlException.java
(at line 20)
        public class XmlException extends Exception {
                     ^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
XmlException does not declare a static final serialVersionUID field of type
long
----------
----------
15. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/spec/SpecParserException.java
(at line 26)
        public class SpecParserException extends GadgetException {
                     ^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
SpecParserException does not declare a static final serialVersionUID field
of type long
----------
----------
16. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/JsServlet.java
(at line 41)
        public class JsServlet extends InjectedServlet {
                     ^^^^^^^^^

no more tokens - could not parse error message: The serializable class
JsServlet does not declare a static final serialVersionUID field of type
long
----------
----------
17. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/oauth/OAuthNoDataException.java
(at line 23)
public class OAuthNoDataException extends OAuthStoreException {
                     ^^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
OAuthNoDataException does not declare a static final serialVersionUID field
of type long
----------
----------
18. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/oauth/OAuthStoreException.java
(at line 26)
        public class OAuthStoreException extends GadgetException {
                     ^^^^^^^^^^^^^^^^^^^

no more tokens - could not parse error message: The serializable class
OAuthStoreException does not declare a static final serialVersionUID field
of type long
----------
----------
19. WARNING in
/home/kshah/java/japps/opensource/shindig/java/gadgets/src/main/ java/org/apache/shindig/gadgets/http/RpcServlet.java
(at line 41)
        public class RpcServlet extends InjectedServlet {
                     ^^^^^^^^^^


[INFO]
---------------------------------------------------------------------- --
[INFO] For more information, run Maven with the -e switch
[INFO]
---------------------------------------------------------------------- --
[INFO] Total time: 11 seconds
[INFO] Finished at: Thu Apr 24 12:58:23 CDT 2008
[INFO] Final Memory: 25M/45M
[INFO]
---------------------------------------------------------------------- --


On Thu, Apr 24, 2008 at 12:39 PM, Jason Burgess <[EMAIL PROTECTED]> wrote:

$ uname -a
Linux data.holostek.com 2.6.20-1.2962.fc6 #1 SMP Tue Jun 19 19:27:14 EDT
2007 i686 i686 i386 GNU/Linux

And here's the output from mvn package in java:
[INFO] [jar:jar]
[INFO] Building jar:
/usr/local/src/shindig/java/common/target/shindig-common.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar:
/usr/local/src/shindig/java/common/target/shindig-common-sources.jar
[INFO] [jar:jar {execution: default}]
[INFO]
--------------------------------------------------------------------- ---
[INFO] Building Apache Shindig Java Gadget Server
[INFO]    task-segment: [package]
[INFO]
--------------------------------------------------------------------- ---
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [yuicompressor:compress {execution: default}]
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/core/ prefs.opt.j
s is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/core/ config.opt.
js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/core/ legacy.opt.
js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/core/ json.opt.js
is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/core/ util.opt.js
is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/core/ core.opt.js
is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/skins/ skins.opt.
js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/tabs/ tabs.opt.js
is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-0.6/o pensocial6to7.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ifpc/ ifpc.opt.js
is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ settitle/settitl e.opt.js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/flash/ flash.opt.
js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,
/usr/local/src/shindig/java/gadgets/target/classes/features/
core.io/io.opt.j
s is younger than original, use 'force' option or clean your target
[INFO] nothing to do,
/usr/local/src/shindig/java/gadgets/target/classes/features/rpc/ rpc.opt.js
is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ dynamic-height/d ynamic-height.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ setprefs/setpref s.opt.js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ minimessage/mini message.opt.js is younger than original, use 'force' option or clean your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/views/ views.opt.
js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-0.7/b atchrequest.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-0.7/b atchrequesttest.opt.js is younger than original, use 'force' option or
clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-0.7/j sonactivitytest.opt.js is younger than original, use 'force' option or
clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-0.7/j sonperson.opt.js is younger than original, use 'force' option or clean your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-0.7/j sonactivity.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/bodytype.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/environment.opt.js is younger than original, use 'force' option or
clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/datarequest.opt.js is younger than original, use 'force' option or
clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/activity.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/email.opt.js is younger than original, use 'force' option or clean
your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/name.opt.js is younger than original, use 'force' option or clean your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/opensocial.opt.js is younger than original, use 'force' option or
clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/enum.opt.js is younger than original, use 'force' option or clean your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/phone.opt.js is younger than original, use 'force' option or clean
your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/dataresponse.opt.js is younger than original, use 'force' option or
clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/activitytest.opt.js is younger than original, use 'force' option or
clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/url.opt.js is younger than original, use 'force' option or clean your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/address.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/collection.opt.js is younger than original, use 'force' option or
clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/responseitem.opt.js is younger than original, use 'force' option or
clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/organization.opt.js is younger than original, use 'force' option or
clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/message.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/features/ opensocial-refer ence/person.opt.js is younger than original, use 'force' option or clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/files/ samplecontainer/sta
te.opt.dtd is younger than original, use 'force' option or clean your
target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/files/container/ cookiebas eduserprefstore.opt.js is younger than original, use 'force' option or
clean
your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/files/container/ gadgets.o pt.js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/files/container/ util.opt.
js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/files/container/ gadgets.o pt.css is younger than original, use 'force' option or clean your target
[INFO] nothing to do,

/usr/local/src/shindig/java/gadgets/target/classes/files/container/ cookies.o pt.js is younger than original, use 'force' option or clean your target
[INFO] nothing to do,
/usr/local/src/shindig/java/gadgets/target/classes/config/ oauth.opt.json is
younger than original, use 'force' option or clean your target
[INFO] nb warnings: 0, nb errors: 0
[INFO] [compiler:compile]
[INFO] Compiling 86 source files to
/usr/local/src/shindig/java/gadgets/target/classes
[INFO]
--------------------------------------------------------------------- ---
[ERROR] BUILD FAILURE
[INFO]
--------------------------------------------------------------------- ---
[INFO] Compilation failure

could not parse error message: incorrect classpath: /not_a_directory
----------
1. ERROR in

/usr/local/src/shindig/java/gadgets/src/main/java/org/apache/ shindig/gadgets
/spec/View.java (at line 1)
       /*
       ^^

no more tokens - could not parse error message: The type Enum is not
generic; it cannot be parameterized with arguments <View.ContentType>
----------
----------
2. ERROR in

/usr/local/src/shindig/java/gadgets/src/main/java/org/apache/ shindig/gadgets
/http/JsonRpcHandler.java (at line 129)
       private class Job implements Callable<JSONObject> {
                                    ^^^^^^^^


[INFO]
--------------------------------------------------------------------- ---
[INFO] For more information, run Maven with the -e switch
[INFO]
--------------------------------------------------------------------- ---
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Apr 24 12:37:44 CDT 2008
[INFO] Final Memory: 17M/30M
[INFO]
--------------------------------------------------------------------- ---


-----Original Message-----
From: Ian Boston [mailto:[EMAIL PROTECTED] On Behalf Of Ian Boston
Sent: Thursday, April 24, 2008 12:18 PM
To: [email protected]
Subject: Re: Unable to build trunk

What OS are you on ?
What error do you see ? (The last 100 lines should be enough)


--------------------------------
Although
cd gadgets
mvn jetty:run-war

will work for the gadgets server ... if you want both gadgets and social
cd server
mvn jetty:run


Ian



Reply via email to