You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2015/06/02 16:57:17 UTC

[jira] [Comment Edited] (JAMES-1578) Problems compiling James

    [ https://issues.apache.org/jira/browse/JAMES-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569209#comment-14569209 ] 

Tellier Benoit edited comment on JAMES-1578 at 6/2/15 2:56 PM:
---------------------------------------------------------------

If I do not have this patch, our build is failing, using OpenJDK 8 and maven 3.

It fails in :

[INFO] Apache James :: Server :: App ...................... FAILURE [ 13.900 s]

And the exact error is : 

[INFO] 
[INFO] --- maven-war-plugin:2.3:war (make-war) @ james-server-app ---
[INFO] Packaging webapp
[INFO] Assembling webapp [james-server-app] in [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [/james-parent/modules/james/app/src/main/resources] to [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
[INFO] Copying webapp webResources [/james-parent/modules/james/app/src/main/resources] to [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
[INFO] Copying webapp webResources [/james-parent/modules/james/app/src/main/config/war] to [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]

As /james-parent/modules/james/app/src/main/config/war does not exists, we get a compilation error that make our build fail.

So yes, we need it to be applied...


was (Author: btellier):
If I do not have this patch, our build is failing, using OpenJDK 8 and maven 3.

It fails in :

[INFO] Apache James :: Server :: Data :: JCR Persistence .. SUCCESS [  4.394 s]

And the exact error is : 

[INFO] 
[INFO] --- maven-war-plugin:2.3:war (make-war) @ james-server-app ---
[INFO] Packaging webapp
[INFO] Assembling webapp [james-server-app] in [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [/james-parent/modules/james/app/src/main/resources] to [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
[INFO] Copying webapp webResources [/james-parent/modules/james/app/src/main/resources] to [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]
[INFO] Copying webapp webResources [/james-parent/modules/james/app/src/main/config/war] to [/james-parent/modules/james/app/target/james-server-app-3.0.0-beta5-SNAPSHOT]

As /james-parent/modules/james/app/src/main/config/war does not exists, we get a compilation error that make our build fail.

> Problems compiling James
> ------------------------
>
>                 Key: JAMES-1578
>                 URL: https://issues.apache.org/jira/browse/JAMES-1578
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Tellier Benoit
>         Attachments: 0001-JWC-111-Add-missing-directory.patch
>
>
> On modern JDK, James compilation fails if a directoy is not present in /app



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org