mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christos Stogiannopoulos <cstog...@yahoo.gr>
Subject Re: Missing files after building
Date Thu, 05 Jun 2008 19:34:34 GMT
Hello, thank you for the reply.

I had the problem with the dos endlines too but I
fixed it. Anyway, I repeated the whole process again
and performed the build with "mvn
-Dmaven.test.skip=true install". Same problem: no
class or jar files.

Here's the output:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache FtpServer
[INFO]   Apache FTPLet API
[INFO]   Apache FtpServer Core
[INFO]   Apache FtpServer Server
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache FtpServer
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: default}]
[INFO] Setting property:
classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on =>
'false'.
[INFO] Setting property: resource.loader =>
'classpath'.
[INFO] Setting property: resource.manager.logwhenfound
=> 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to
prevent recursive invocation.
[INFO] [enforcer:enforce {execution: default}]
[INFO] [source:jar {execution: create-source-jar}]
[INFO] [install:install]
[INFO] Installing /root/ftpserver/pom.xml to
/root/.m2/repository/org/apache/ftpserver/ftpserver-parent/1.0.0-SNAPSHOT/ftpserver-parent-1.0.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache FTPLet API
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:compile]
[INFO] Compiling 24 source files to
/root/ftpserver/ftplet-api/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar:
/root/ftpserver/ftplet-api/target/ftplet-api-1.0.0-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to
prevent recursive invocation.
[INFO] [enforcer:enforce {execution: default}]
[INFO] [source:jar {execution: create-source-jar}]
[INFO] Building jar:
/root/ftpserver/ftplet-api/target/ftplet-api-1.0.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing
/root/ftpserver/ftplet-api/target/ftplet-api-1.0.0-SNAPSHOT.jar
to
/root/.m2/repository/org/apache/ftpserver/ftplet-api/1.0.0-SNAPSHOT/ftplet-api-1.0.0-SNAPSHOT.jar
[INFO] Installing
/root/ftpserver/ftplet-api/target/ftplet-api-1.0.0-SNAPSHOT-sources.jar
to
/root/.m2/repository/org/apache/ftpserver/ftplet-api/1.0.0-SNAPSHOT/ftplet-api-1.0.0-SNAPSHOT-sources.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache FtpServer Core
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: default}]
[INFO] snapshot
org.apache.mina:build:2.0.0-M2-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot
org.apache.mina:build:2.0.0-M2-SNAPSHOT: checking for
updates from commons-net Snapshots
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:compile]
[INFO] Compiling 143 source files to
/root/ftpserver/core/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar:
/root/ftpserver/core/target/ftpserver-core-1.0.0-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to
prevent recursive invocation.
[INFO] [enforcer:enforce {execution: default}]
[INFO] [source:jar {execution: create-source-jar}]
[INFO] Building jar:
/root/ftpserver/core/target/ftpserver-core-1.0.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing
/root/ftpserver/core/target/ftpserver-core-1.0.0-SNAPSHOT.jar
to
/root/.m2/repository/org/apache/ftpserver/ftpserver-core/1.0.0-SNAPSHOT/ftpserver-core-1.0.0-SNAPSHOT.jar
[INFO] Installing
/root/ftpserver/core/target/ftpserver-core-1.0.0-SNAPSHOT-sources.jar
to
/root/.m2/repository/org/apache/ftpserver/ftpserver-core/1.0.0-SNAPSHOT/ftpserver-core-1.0.0-SNAPSHOT-sources.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache FtpServer Server
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to
/root/ftpserver/server/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar:
/root/ftpserver/server/target/ftpserver-server-1.0.0-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to
prevent recursive invocation.
[INFO] [enforcer:enforce {execution: default}]
[INFO] [source:jar {execution: create-source-jar}]
[INFO] Building jar:
/root/ftpserver/server/target/ftpserver-server-1.0.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing
/root/ftpserver/server/target/ftpserver-server-1.0.0-SNAPSHOT.jar
to
/root/.m2/repository/org/apache/ftpserver/ftpserver-server/1.0.0-SNAPSHOT/ftpserver-server-1.0.0-SNAPSHOT.jar
[INFO] Installing
/root/ftpserver/server/target/ftpserver-server-1.0.0-SNAPSHOT-sources.jar
to
/root/.m2/repository/org/apache/ftpserver/ftpserver-server/1.0.0-SNAPSHOT/ftpserver-server-1.0.0-SNAPSHOT-sources.jar
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] Apache FtpServer
...................................... SUCCESS
[6.687s]
[INFO] Apache FTPLet API
..................................... SUCCESS [3.014s]
[INFO] Apache FtpServer Core
................................. SUCCESS [4.886s]
[INFO] Apache FtpServer Server
............................... SUCCESS [1.026s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Fri Jun 06 01:27:37 EEST 2008
[INFO] Final Memory: 27M/49M
[INFO]
------------------------------------------------------------------------


Thanks again,
Christos.


--- Niklas Gustavsson <niklas@protocol7.com> έγραψε:
> Hi
> 
> I just tried the build on my Ubuntu machine and it
> did in fact put the
> JAR files where expected. I did have any issue with
> DOS line endings
> in the ftpd.sh but with that fixed (now commited) it
> ran as expected.
> Could you please provide a log file of your build?
> 
> /niklas
> 
> 2008/6/4 Christos Stogiannopoulos
> <cstogian@yahoo.gr>:
> > I tried to build the ftpserver, following
> precisely
> > the instructions to be found at
> > http://mina.apache.org/building-ftpserver.html.
> >
> > The server throws no errors during compilation
> with
> > "mvn install", though several errors occur in the
> > testing that occurs right after installation.
> >
> > When I try to run the ftpd.sh script, it fails
> with a
> > java.lang.NoClassDefFoundError. Upon inspection I
> > realised that the installation procedure does not
> put
> > any .class or .jar files where the script expects
> them
> > to be (ie ftpserver/distribution/common/lib and
> > ftpserver/distribution/common/classes).
> >
> > I tried to install with "mvn
> -Dmaven.test.skip=true
> > install" to skip the tests, but without any
> success.
> > The installation again ran without errors, but the
> > class and jar files were still missing.
> >
> > I am using Fedora Core 6 with JDK 6.
> >
> > Any help on getting the server up and running
> would be
> > appreciated. Alternatively, is there any place
> where I
> > could download a binary release?
> >
> > Thank you.
> >
> >
> >
> >
>
___________________________________________________________
> > Χρησιμοποιείτε Yahoo!;
> > Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το
> Yahoo! Mail
> > διαθέτει την καλύτερη δυνατή προστασία κατά
των
> ενοχλητικών
> > μηνυμάτων
> http://login.yahoo.com/config/mail?.intl=gr
> >
> >
> 



      
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών

μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 


Mime
View raw message