Closed cplerch closed 7 years ago
Just before leaving, still have failures building it
$ gradle build -Dphp_exec=php5.6
:genInit
:genLauncherWindows
:genLauncherUnix
:genJavaInc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':genJavaInc'.
> Warning: Could not find file .../src/main/resources/META-INF/java/Java.inc to copy.
Is the file /src/main/resources/META-INF/java/Java.inc in its place? If not the the problem is the the php script doesn't generate it. This may most likely relate to the -Dphp_exec=php5.6 switch not being picked up by Gradle. Will have to look into it later...
2017-01-24 16:28 GMT+01:00 Sébastien Vanvelthem notifications@github.com:
Just before leaving, still have failures building it
gradle build -Dphp_exec=php5.6 :genInit :genLauncherWindows :genLauncherUnix :genJavaInc FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':genJavaInc'.
Warning: Could not find file .../src/main/resources/META-INF/java/Java.inc to copy.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/belgattitude/php-java-bridge/pull/13#issuecomment-274836335, or mute the thread https://github.com/notifications/unsubscribe-auth/AIA129cDY-UzY3UG-siawdafQG1W-3Zwks5rVhiVgaJpZM4LsYRH .
Well of course: have a look into build.xml
The php exec is hardcoded here as:
2017-01-24 16:39 GMT+01:00 Christian P. Lerch christian.p.lerch@gmail.com:
Is the file /src/main/resources/META-INF/java/Java.inc in its place? If not the the problem is the the php script doesn't generate it. This may most likely relate to the -Dphp_exec=php5.6 switch not being picked up by Gradle. Will have to look into it later...
2017-01-24 16:28 GMT+01:00 Sébastien Vanvelthem notifications@github.com :
Just before leaving, still have failures building it
gradle build -Dphp_exec=php5.6 :genInit :genLauncherWindows :genLauncherUnix :genJavaInc FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':genJavaInc'.
Warning: Could not find file .../src/main/resources/META-INF/java/Java.inc to copy.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/belgattitude/php-java-bridge/pull/13#issuecomment-274836335, or mute the thread https://github.com/notifications/unsubscribe-auth/AIA129cDY-UzY3UG-siawdafQG1W-3Zwks5rVhiVgaJpZM4LsYRH .
I have now started to commit directly into develop.
2017-01-24 16:44 GMT+01:00 Christian P. Lerch christian.p.lerch@gmail.com:
Well of course: have a look into build.xml The php exec is hardcoded here as:
On my system $ php launches PHP 5.6 2017-01-24 16:39 GMT+01:00 Christian P. Lerch <christian.p.lerch@gmail.com
:
Is the file /src/main/resources/META-INF/java/Java.inc in its place? If not the the problem is the the php script doesn't generate it. This may most likely relate to the -Dphp_exec=php5.6 switch not being picked up by Gradle. Will have to look into it later...
2017-01-24 16:28 GMT+01:00 Sébastien Vanvelthem <notifications@github.com
:
Just before leaving, still have failures building it
gradle build -Dphp_exec=php5.6 :genInit :genLauncherWindows :genLauncherUnix :genJavaInc FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':genJavaInc'.
Warning: Could not find file .../src/main/resources/META-INF/java/Java.inc to copy.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/belgattitude/php-java-bridge/pull/13#issuecomment-274836335, or mute the thread https://github.com/notifications/unsubscribe-auth/AIA129cDY-UzY3UG-siawdafQG1W-3Zwks5rVhiVgaJpZM4LsYRH .
Last commit fixed the gradle build. Thxs
file cleanup + fix for 2 ant targets