Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] building kura on windows?

Hi Dave,

> Hi Scott,
>
> I can confirm parts of the build are now broken for Windows build
> environments. I have created an issue here [1]. Depending on what you are
> doing, you can still build everything, you just can’t create the
> installers for specific platforms (Raspberry Pi, Beaglebone, etc.). This
> command will build everything and create the user workspace:
>
> mvn -f pom_pom.xml clean install -Pweb,dev-env
>
> If this doesn’t work for you, please let me know what version of
> Windows, Maven, and Java you are using.

I tried this, and got

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kura ............................................... SUCCESS [ 
1.855 s]
[INFO] org.eclipse.kura.web2 .............................. SUCCESS [03:08
min]
[INFO] distrib ............................................ FAILURE [
26.341 s]
[INFO] tools .............................................. SKIPPED
[INFO] Eclipse Kura Archetypes ............................ SKIPPED
[INFO] Eclipse Kura App Quickstart Archetype .............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:38 min
[INFO] Finished at: 2016-08-29T16:51:42-07:00
[INFO] Final Memory: 45M/342M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (release-copy) on project distrib: An Ant BuildException has occured:
Execut
e failed: java.io.IOException: Cannot run program
"src\main\sh\generate_kura_bun
dles_pom.sh" (in directory "C:\Users\lewisscx\git\kura\kura\distrib"):
CreatePro
cess error=2, The system cannot find the file specified
[ERROR] around Ant part ...<exec
output="RELEASE_INFO/2.0.0/kura-bundles/pom.xml
" executable="src/main/sh/generate_kura_bundles_pom.sh" append="true">...
@ 14:1
26 in
C:\Users\lewisscx\git\kura\kura\distrib\target\antrun\build-distrib-store-
files.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :distrib

<Scott again> Which looks similar to the previous error target, but may
not be exactly the same.

Windows:  8.1
Maven:  3.3.9
Java:  1.8.0_102-b14

>
> There is likely a simple work around for this, we will investigate as part
> of our next release cycle.

Ok thanks.  Just FYI I have access to a linux system also, so this isn't
blocking me.

Scott





Back to the top