Hi Caleb,
These days I am installing the Ubuntu System and just finish configuring it
yesterday.
I tried compiling the source package.
As I found, the version of 4.3-SNAPSHOT does not contain pom.xml files in
the repository:
http://nexus.xwiki.org/nexus/content/groups/public-snapshots
But I found new things in 4.5-SNAPSHOT version package and tried it, *then
it works* for parent pom.
Then, when the process went to the pom.xml in
*xwiki-platform-realtime-editor-client* directory, one dependency with
groupId: *org.xwiki.platform* does *not* have the directory of
xwiki-platform-realtime-editor-client, I think the gourpId should be
*org.xwiki.contrib*. Then I change it, and the compilation of client
package is done.
Finally the process went to pom.xml in
*xwiki-platform-realtime-editor-client* directory. I followed the
instructions from:
http://dev.xwiki.org/xwiki/bin/view/Community/Building#HGeneratingaXAR
and set the *xar extensions*. But this time it still has errors with an
artifactId in the plugins named: *maven-dependency-plugin*
From the comment of the pom file, it will unpack the
dependencies.
However, the maven compiler indicated the artifact is not packed yet.
So
this is the problem.
If you know how to solve it, please notice me, thanks.
The command I execute is: *mvn clean compile*
The error messages are shown as follows:
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] XWiki Platform - Realtime - Parent POM ............ SUCCESS [12.760s]
[INFO] XWiki Platform - Realtime - Editor - Parent POM ... SUCCESS [1.633s]
[INFO] XWiki Platform - Realtime - Editor - GWT Client ... SUCCESS [3.062s]
[INFO] XWiki Platform - Realtime - Editor - GWT Server ... SUCCESS [0.306s]
[INFO] XWiki Platform - Realtime - Editor - User Interface FAILURE [0.810s]
[INFO] XWiki Platform - Realtime - Editor - GWT Client And Server SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19.437s
[INFO] Finished at: Wed Apr 16 00:33:35 EDT 2014
[INFO] Final Memory: 40M/405M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.5.1:unpack-dependencies
(copy-gwt-js-files) on project xwiki-platform-realtime-editor-ui: Artifact
has not been packaged yet. When used on reactor artifact, unpack should be
executed after packaging: see MDEP-98. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :xwiki-platform-realtime-editor-ui
-----------------------------------------------------------------------------------------
I am reading MDEP-98, but not very understand.
Best regards,
*Lawson*
2014-04-10 13:00 GMT-04:00 Caleb James DeLisle <cjd(a)cjdns.fr>fr>:
On 04/10/2014 05:17 PM, Lawson Long wrote:
[ERROR] C:\Program
Files\Java\jdk1.7.0_45\jre\bin\java -Xmx512m
-classpath
If you try to compile XWiki on Windows, you're in for a long fight.
I'm not saying it can't be done, it's just that you're always going
to have 10 times as many issues as you will using Linux.
The reason for this is because Microsoft's OS design deviates
dramatically from every other OS (Apple, BSD, Linux, Solaris, etc.)
which are all mostly the same.
Thanks,
Caleb
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs