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

Massimiliano Perrone edited comment on SYNCOPE-540 at 8/5/14 4:09 PM:
----------------------------------------------------------------------

With archetype I get follow exception: 
Downloaded: 
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.8.0/xercesImpl-2.8.0.jar
 (1179 KB at 149.3 KB/sec)
[ERROR] File 
'/tmp/cas/asasd/console/target/activiti-modeler/editor/oryx.debug.js' does not 
exist
[INFO] Replacement run on 0 file.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Syncope sample project ..................... SUCCESS [2.048s]
[INFO] Apache Syncope sample project core ................ SUCCESS [8.473s]
[INFO] Apache Syncope sample project console ............. FAILURE [25.423s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.215s
[INFO] Finished at: Tue Aug 05 17:36:50 CEST 2014
[INFO] Final Memory: 30M/162M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.google.code.maven-replacer-plugin:replacer:1.5.3:replace (default) on 
project console: File 
'/tmp/cas/asasd/console/target/activiti-modeler/editor/oryx.debug.js' does not 
exist -> [Help 1]

I resolved it copying the same antrun configuration of the console pom under: 
archetype/src/main/resources/archetype-resources/console/pom.xml. Precisely 
phase of setupActivitiModeler is wrong because is process-test-resource instead 
of process-resource.
Does it make sense?


was (Author: massi):
With archetype I get follow exception: 
Downloaded: 
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.8.0/xercesImpl-2.8.0.jar
 (1179 KB at 149.3 KB/sec)
[ERROR] File 
'/tmp/cas/asasd/console/target/activiti-modeler/editor/oryx.debug.js' does not 
exist
[INFO] Replacement run on 0 file.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Syncope sample project ..................... SUCCESS [2.048s]
[INFO] Apache Syncope sample project core ................ SUCCESS [8.473s]
[INFO] Apache Syncope sample project console ............. FAILURE [25.423s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.215s
[INFO] Finished at: Tue Aug 05 17:36:50 CEST 2014
[INFO] Final Memory: 30M/162M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.google.code.maven-replacer-plugin:replacer:1.5.3:replace (default) on 
project console: File 
'/tmp/cas/asasd/console/target/activiti-modeler/editor/oryx.debug.js' does not 
exist -> [Help 1]

I resolved it copying the same antrun configuration of the pom console under: 
archetype/src/main/resources/archetype-resources/console/pom.xml
Does it make sense?

> Console build fails on Windows
> ------------------------------
>
>                 Key: SYNCOPE-540
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-540
>             Project: Syncope
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 1.2.0
>         Environment: Windows
>            Reporter: Massimiliano Perrone
>            Assignee: Francesco Chicchiriccò
>             Fix For: 1.2.0, 1.3.0
>
>
> Trying to build an archetype project on Windows 7 I get an exception in 
> console module:
> [copy] Copying 729 files to C:\Users\massi\Desktop\test\syncope\console\tar
> get\activiti-modeler\libs
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ...................... SUCCESS [  4.721 
> s]
> [INFO] Apache Syncope sample project core ................. SUCCESS [01:11 
> min]
> [INFO] Apache Syncope sample project console .............. FAILURE [ 33.349 
> s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 01:49 min
> [INFO] Finished at: 2014-08-04T12:26:21+02:00
> [INFO] Final Memory: 33M/211M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-antrun-plugin:1.7:
> run (setupActivitiModeler) on project console: An Ant BuildException has 
> occured
> : java.io.IOException: Cannot run program "patch" (in directory 
> "C:\Users\massi\
> Desktop\test\syncope\console"): CreateProcess error=2, The system cannot find 
> th
> e file specified
> [ERROR] around Ant part ...<patch 
> originalfile="C:\Users\massi\Desktop\test\syncope\console\target/activiti-webapp-explorer2/editor/oryx.debug.js"
>  patchfile="C:
> \Users\massi\Desktop\test\syncope\console/src/main/resources/oryx.debug.js.patch
> " 
> destfile="C:\Users\massi\Desktop\test\syncope\console\target/activiti-modeler/
> editor/oryx.debug.js"/>... @ 23:319 in 
> C:\Users\massi\Desktop\test\syncope\conso
> le\target\antrun\build-main.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to