propane 3.3.1-java → 3.6.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.mvn/extensions.xml +1 -2
- data/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
- data/.mvn/wrapper/maven-wrapper.properties +2 -3
- data/.travis.yml +9 -0
- data/CHANGELOG.md +17 -5
- data/Gemfile +2 -0
- data/README.md +17 -8
- data/Rakefile +16 -30
- data/bin/propane +3 -1
- data/lib/propane.rb +6 -4
- data/lib/propane/app.rb +20 -10
- data/lib/propane/creators/sketch_class.rb +7 -1
- data/lib/propane/creators/sketch_factory.rb +4 -2
- data/lib/propane/creators/sketch_writer.rb +1 -0
- data/lib/propane/helper_methods.rb +23 -24
- data/lib/propane/helpers/numeric.rb +2 -0
- data/lib/propane/helpers/version_error.rb +1 -0
- data/lib/propane/library.rb +5 -1
- data/lib/propane/library_loader.rb +2 -0
- data/lib/propane/native_folder.rb +21 -15
- data/lib/propane/native_loader.rb +3 -0
- data/lib/propane/runner.rb +14 -6
- data/lib/propane/version.rb +2 -1
- data/library/boids/boids.rb +21 -11
- data/library/color_group/color_group.rb +28 -0
- data/library/control_panel/control_panel.rb +8 -5
- data/library/dxf/dxf.rb +6 -0
- data/library/file_chooser/chooser.rb +10 -9
- data/library/file_chooser/file_chooser.rb +10 -9
- data/library/library_proxy/library_proxy.rb +2 -0
- data/library/net/net.rb +7 -0
- data/library/simplex_noise/simplex_noise.rb +2 -0
- data/library/slider/slider.rb +23 -22
- data/library/vector_utils/vector_utils.rb +4 -0
- data/library/video_event/video_event.rb +4 -1
- data/mvnw +127 -51
- data/mvnw.cmd +182 -145
- data/pom.rb +53 -50
- data/pom.xml +17 -8
- data/propane.gemspec +13 -11
- data/src/main/java/monkstone/ColorUtil.java +13 -1
- data/src/main/java/monkstone/MathToolModule.java +253 -203
- data/src/main/java/monkstone/PropaneLibrary.java +2 -2
- data/src/main/java/monkstone/fastmath/Deglut.java +1 -1
- data/src/main/java/monkstone/filechooser/Chooser.java +2 -1
- data/src/main/java/monkstone/noise/SimplexNoise.java +2 -2
- data/src/main/java/monkstone/slider/CustomHorizontalSlider.java +1 -1
- data/src/main/java/monkstone/slider/CustomVerticalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SimpleHorizontalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SimpleVerticalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SliderBar.java +1 -1
- data/src/main/java/monkstone/slider/SliderGroup.java +1 -1
- data/src/main/java/monkstone/slider/WheelHandler.java +7 -6
- data/src/main/java/monkstone/vecmath/package-info.java +1 -1
- data/src/main/java/monkstone/vecmath/vec2/Vec2.java +2 -2
- data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -1
- data/src/main/java/monkstone/videoevent/CaptureEvent.java +27 -0
- data/src/main/java/monkstone/videoevent/{VideoInterface.java → MovieEvent.java} +11 -27
- data/src/main/java/monkstone/videoevent/package-info.java +1 -1
- data/src/main/java/processing/awt/PGraphicsJava2D.java +2164 -1661
- data/src/main/java/processing/awt/PImageAWT.java +377 -0
- data/src/main/java/processing/awt/PShapeJava2D.java +280 -268
- data/src/main/java/processing/awt/PSurfaceAWT.java +942 -829
- data/src/main/java/processing/awt/ShimAWT.java +581 -0
- data/src/main/java/processing/core/PApplet.java +831 -824
- data/src/main/java/processing/core/PConstants.java +477 -447
- data/src/main/java/processing/core/PFont.java +914 -880
- data/src/main/java/processing/core/PGraphics.java +229 -213
- data/src/main/java/processing/core/PImage.java +620 -318
- data/src/main/java/processing/core/PMatrix.java +172 -159
- data/src/main/java/processing/core/PMatrix2D.java +478 -409
- data/src/main/java/processing/core/PMatrix3D.java +762 -735
- data/src/main/java/processing/core/PShape.java +2888 -2652
- data/src/main/java/processing/core/PShapeOBJ.java +436 -415
- data/src/main/java/processing/core/PShapeSVG.java +1702 -1479
- data/src/main/java/processing/core/PStyle.java +40 -37
- data/src/main/java/processing/core/PSurface.java +139 -97
- data/src/main/java/processing/core/PSurfaceNone.java +296 -208
- data/src/main/java/processing/core/PVector.java +997 -965
- data/src/main/java/processing/core/ThinkDifferent.java +12 -17
- data/src/main/java/processing/data/DoubleDict.java +756 -710
- data/src/main/java/processing/data/DoubleList.java +749 -696
- data/src/main/java/processing/data/FloatDict.java +748 -702
- data/src/main/java/processing/data/FloatList.java +751 -697
- data/src/main/java/processing/data/IntDict.java +720 -673
- data/src/main/java/processing/data/IntList.java +699 -633
- data/src/main/java/processing/data/JSONArray.java +931 -873
- data/src/main/java/processing/data/JSONObject.java +1262 -1165
- data/src/main/java/processing/data/JSONTokener.java +351 -341
- data/src/main/java/processing/data/LongDict.java +710 -663
- data/src/main/java/processing/data/LongList.java +701 -635
- data/src/main/java/processing/data/Sort.java +37 -41
- data/src/main/java/processing/data/StringDict.java +525 -486
- data/src/main/java/processing/data/StringList.java +626 -580
- data/src/main/java/processing/data/Table.java +3690 -3510
- data/src/main/java/processing/data/TableRow.java +182 -183
- data/src/main/java/processing/data/XML.java +957 -883
- data/src/main/java/processing/dxf/RawDXF.java +404 -0
- data/src/main/java/processing/event/Event.java +87 -66
- data/src/main/java/processing/event/KeyEvent.java +48 -41
- data/src/main/java/processing/event/MouseEvent.java +88 -113
- data/src/main/java/processing/event/TouchEvent.java +10 -6
- data/src/main/java/processing/javafx/PGraphicsFX2D.java +20 -345
- data/src/main/java/processing/javafx/PSurfaceFX.java +149 -121
- data/src/main/java/processing/net/Client.java +744 -0
- data/src/main/java/processing/net/Server.java +388 -0
- data/src/main/java/processing/opengl/FontTexture.java +289 -270
- data/src/main/java/processing/opengl/FrameBuffer.java +386 -364
- data/src/main/java/processing/opengl/LinePath.java +547 -500
- data/src/main/java/processing/opengl/LineStroker.java +588 -581
- data/src/main/java/processing/opengl/PGL.java +3047 -2914
- data/src/main/java/processing/opengl/PGraphics2D.java +408 -315
- data/src/main/java/processing/opengl/PGraphics3D.java +107 -72
- data/src/main/java/processing/opengl/PGraphicsOpenGL.java +12378 -12075
- data/src/main/java/processing/opengl/PJOGL.java +1753 -1670
- data/src/main/java/processing/opengl/PShader.java +1266 -1257
- data/src/main/java/processing/opengl/PShapeOpenGL.java +4678 -4580
- data/src/main/java/processing/opengl/PSurfaceJOGL.java +1114 -1027
- data/src/main/java/processing/opengl/Texture.java +1492 -1401
- data/src/main/java/processing/opengl/VertexBuffer.java +57 -55
- data/test/create_test.rb +21 -20
- data/test/deglut_spec_test.rb +4 -2
- data/test/helper_methods_test.rb +49 -20
- data/test/math_tool_test.rb +39 -32
- data/test/native_folder.rb +47 -0
- data/test/respond_to_test.rb +3 -2
- data/test/sketches/key_event.rb +2 -2
- data/test/sketches/library/my_library/my_library.rb +3 -0
- data/test/test_helper.rb +2 -0
- data/test/vecmath_spec_test.rb +35 -22
- data/vendors/Rakefile +33 -62
- metadata +54 -45
- data/src/main/java/processing/core/util/image/ImageLoadFacade.java +0 -161
- data/src/main/java/processing/core/util/image/ImageSaveFacade.java +0 -169
- data/src/main/java/processing/core/util/image/constants/TifConstants.java +0 -45
- data/src/main/java/processing/core/util/image/load/AwtImageLoadStrategy.java +0 -80
- data/src/main/java/processing/core/util/image/load/Base64StringImageLoadStrategy.java +0 -73
- data/src/main/java/processing/core/util/image/load/FallbackImageLoadStrategy.java +0 -70
- data/src/main/java/processing/core/util/image/load/ImageIoImageLoadStrategy.java +0 -132
- data/src/main/java/processing/core/util/image/load/ImageLoadStrategy.java +0 -48
- data/src/main/java/processing/core/util/image/load/ImageLoadUtil.java +0 -45
- data/src/main/java/processing/core/util/image/load/TgaImageLoadStrategy.java +0 -255
- data/src/main/java/processing/core/util/image/load/TiffImageLoadStrategy.java +0 -98
- data/src/main/java/processing/core/util/image/save/ImageSaveStrategy.java +0 -49
- data/src/main/java/processing/core/util/image/save/ImageSaveUtil.java +0 -48
- data/src/main/java/processing/core/util/image/save/ImageWriterImageSaveStrategy.java +0 -179
- data/src/main/java/processing/core/util/image/save/SaveImageException.java +0 -41
- data/src/main/java/processing/core/util/image/save/TgaImageSaveStrategy.java +0 -198
- data/src/main/java/processing/core/util/image/save/TiffImageSaveStrategy.java +0 -91
- data/src/main/java/processing/core/util/image/save/TiffNakedFilenameImageSaveStrategy.java +0 -57
- data/src/main/java/processing/core/util/io/InputFactory.java +0 -285
- data/src/main/java/processing/core/util/io/PathUtil.java +0 -109
- data/src/main/java/processing/opengl/shaders/LightVert-brcm.glsl +0 -154
- data/src/main/java/processing/opengl/shaders/LightVert-vc4.glsl +0 -154
- data/src/main/java/processing/opengl/shaders/TexLightVert-brcm.glsl +0 -160
- data/src/main/java/processing/opengl/shaders/TexLightVert-vc4.glsl +0 -160
data/mvnw.cmd
CHANGED
@@ -1,145 +1,182 @@
|
|
1
|
-
@REM ----------------------------------------------------------------------------
|
2
|
-
@REM Licensed to the Apache Software Foundation (ASF) under one
|
3
|
-
@REM or more contributor license agreements. See the NOTICE file
|
4
|
-
@REM distributed with this work for additional information
|
5
|
-
@REM regarding copyright ownership. The ASF licenses this file
|
6
|
-
@REM to you under the Apache License, Version 2.0 (the
|
7
|
-
@REM "License"); you may not use this file except in compliance
|
8
|
-
@REM with the License. You may obtain a copy of the License at
|
9
|
-
@REM
|
10
|
-
@REM http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
@REM
|
12
|
-
@REM Unless required by applicable law or agreed to in writing,
|
13
|
-
@REM software distributed under the License is distributed on an
|
14
|
-
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
-
@REM KIND, either express or implied. See the License for the
|
16
|
-
@REM specific language governing permissions and limitations
|
17
|
-
@REM under the License.
|
18
|
-
@REM ----------------------------------------------------------------------------
|
19
|
-
|
20
|
-
@REM ----------------------------------------------------------------------------
|
21
|
-
@REM Maven2 Start Up Batch script
|
22
|
-
@REM
|
23
|
-
@REM Required ENV vars:
|
24
|
-
@REM JAVA_HOME - location of a JDK home dir
|
25
|
-
@REM
|
26
|
-
@REM Optional ENV vars
|
27
|
-
@REM M2_HOME - location of maven2's installed home dir
|
28
|
-
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
|
29
|
-
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
|
30
|
-
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
31
|
-
@REM e.g. to debug Maven itself, use
|
32
|
-
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
33
|
-
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
34
|
-
@REM ----------------------------------------------------------------------------
|
35
|
-
|
36
|
-
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
37
|
-
@echo off
|
38
|
-
@REM
|
39
|
-
|
40
|
-
|
41
|
-
@
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
@REM
|
47
|
-
if
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
@
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
echo
|
64
|
-
echo
|
65
|
-
echo
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
echo
|
74
|
-
echo
|
75
|
-
echo
|
76
|
-
echo
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
|
86
|
-
@REM Fallback to current working directory if not found.
|
87
|
-
|
88
|
-
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
89
|
-
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
90
|
-
|
91
|
-
set EXEC_DIR=%CD%
|
92
|
-
set WDIR=%EXEC_DIR%
|
93
|
-
:findBaseDir
|
94
|
-
IF EXIST "%WDIR%"\.mvn goto baseDirFound
|
95
|
-
cd ..
|
96
|
-
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
97
|
-
set WDIR=%CD%
|
98
|
-
goto findBaseDir
|
99
|
-
|
100
|
-
:baseDirFound
|
101
|
-
set MAVEN_PROJECTBASEDIR=%WDIR%
|
102
|
-
cd "%EXEC_DIR%"
|
103
|
-
goto endDetectBaseDir
|
104
|
-
|
105
|
-
:baseDirNotFound
|
106
|
-
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
|
107
|
-
cd "%EXEC_DIR%"
|
108
|
-
|
109
|
-
:endDetectBaseDir
|
110
|
-
|
111
|
-
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
|
112
|
-
|
113
|
-
@setlocal EnableExtensions EnableDelayedExpansion
|
114
|
-
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
115
|
-
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
|
116
|
-
|
117
|
-
:endReadAdditionalConfig
|
118
|
-
|
119
|
-
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
120
|
-
|
121
|
-
set
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
if
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
1
|
+
@REM ----------------------------------------------------------------------------
|
2
|
+
@REM Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
@REM or more contributor license agreements. See the NOTICE file
|
4
|
+
@REM distributed with this work for additional information
|
5
|
+
@REM regarding copyright ownership. The ASF licenses this file
|
6
|
+
@REM to you under the Apache License, Version 2.0 (the
|
7
|
+
@REM "License"); you may not use this file except in compliance
|
8
|
+
@REM with the License. You may obtain a copy of the License at
|
9
|
+
@REM
|
10
|
+
@REM http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
@REM
|
12
|
+
@REM Unless required by applicable law or agreed to in writing,
|
13
|
+
@REM software distributed under the License is distributed on an
|
14
|
+
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
@REM KIND, either express or implied. See the License for the
|
16
|
+
@REM specific language governing permissions and limitations
|
17
|
+
@REM under the License.
|
18
|
+
@REM ----------------------------------------------------------------------------
|
19
|
+
|
20
|
+
@REM ----------------------------------------------------------------------------
|
21
|
+
@REM Maven2 Start Up Batch script
|
22
|
+
@REM
|
23
|
+
@REM Required ENV vars:
|
24
|
+
@REM JAVA_HOME - location of a JDK home dir
|
25
|
+
@REM
|
26
|
+
@REM Optional ENV vars
|
27
|
+
@REM M2_HOME - location of maven2's installed home dir
|
28
|
+
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
|
29
|
+
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
|
30
|
+
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
31
|
+
@REM e.g. to debug Maven itself, use
|
32
|
+
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
33
|
+
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
34
|
+
@REM ----------------------------------------------------------------------------
|
35
|
+
|
36
|
+
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
37
|
+
@echo off
|
38
|
+
@REM set title of command window
|
39
|
+
title %0
|
40
|
+
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
|
41
|
+
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
|
42
|
+
|
43
|
+
@REM set %HOME% to equivalent of $HOME
|
44
|
+
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
|
45
|
+
|
46
|
+
@REM Execute a user defined script before this one
|
47
|
+
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
|
48
|
+
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
|
49
|
+
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
|
50
|
+
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
|
51
|
+
:skipRcPre
|
52
|
+
|
53
|
+
@setlocal
|
54
|
+
|
55
|
+
set ERROR_CODE=0
|
56
|
+
|
57
|
+
@REM To isolate internal variables from possible post scripts, we use another setlocal
|
58
|
+
@setlocal
|
59
|
+
|
60
|
+
@REM ==== START VALIDATION ====
|
61
|
+
if not "%JAVA_HOME%" == "" goto OkJHome
|
62
|
+
|
63
|
+
echo.
|
64
|
+
echo Error: JAVA_HOME not found in your environment. >&2
|
65
|
+
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
66
|
+
echo location of your Java installation. >&2
|
67
|
+
echo.
|
68
|
+
goto error
|
69
|
+
|
70
|
+
:OkJHome
|
71
|
+
if exist "%JAVA_HOME%\bin\java.exe" goto init
|
72
|
+
|
73
|
+
echo.
|
74
|
+
echo Error: JAVA_HOME is set to an invalid directory. >&2
|
75
|
+
echo JAVA_HOME = "%JAVA_HOME%" >&2
|
76
|
+
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
77
|
+
echo location of your Java installation. >&2
|
78
|
+
echo.
|
79
|
+
goto error
|
80
|
+
|
81
|
+
@REM ==== END VALIDATION ====
|
82
|
+
|
83
|
+
:init
|
84
|
+
|
85
|
+
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
|
86
|
+
@REM Fallback to current working directory if not found.
|
87
|
+
|
88
|
+
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
89
|
+
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
90
|
+
|
91
|
+
set EXEC_DIR=%CD%
|
92
|
+
set WDIR=%EXEC_DIR%
|
93
|
+
:findBaseDir
|
94
|
+
IF EXIST "%WDIR%"\.mvn goto baseDirFound
|
95
|
+
cd ..
|
96
|
+
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
97
|
+
set WDIR=%CD%
|
98
|
+
goto findBaseDir
|
99
|
+
|
100
|
+
:baseDirFound
|
101
|
+
set MAVEN_PROJECTBASEDIR=%WDIR%
|
102
|
+
cd "%EXEC_DIR%"
|
103
|
+
goto endDetectBaseDir
|
104
|
+
|
105
|
+
:baseDirNotFound
|
106
|
+
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
|
107
|
+
cd "%EXEC_DIR%"
|
108
|
+
|
109
|
+
:endDetectBaseDir
|
110
|
+
|
111
|
+
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
|
112
|
+
|
113
|
+
@setlocal EnableExtensions EnableDelayedExpansion
|
114
|
+
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
115
|
+
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
|
116
|
+
|
117
|
+
:endReadAdditionalConfig
|
118
|
+
|
119
|
+
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
120
|
+
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
121
|
+
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
122
|
+
|
123
|
+
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
|
124
|
+
|
125
|
+
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
126
|
+
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
|
127
|
+
)
|
128
|
+
|
129
|
+
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
130
|
+
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
|
131
|
+
if exist %WRAPPER_JAR% (
|
132
|
+
if "%MVNW_VERBOSE%" == "true" (
|
133
|
+
echo Found %WRAPPER_JAR%
|
134
|
+
)
|
135
|
+
) else (
|
136
|
+
if not "%MVNW_REPOURL%" == "" (
|
137
|
+
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
|
138
|
+
)
|
139
|
+
if "%MVNW_VERBOSE%" == "true" (
|
140
|
+
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
141
|
+
echo Downloading from: %DOWNLOAD_URL%
|
142
|
+
)
|
143
|
+
|
144
|
+
powershell -Command "&{"^
|
145
|
+
"$webclient = new-object System.Net.WebClient;"^
|
146
|
+
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
|
147
|
+
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
|
148
|
+
"}"^
|
149
|
+
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
|
150
|
+
"}"
|
151
|
+
if "%MVNW_VERBOSE%" == "true" (
|
152
|
+
echo Finished downloading %WRAPPER_JAR%
|
153
|
+
)
|
154
|
+
)
|
155
|
+
@REM End of extension
|
156
|
+
|
157
|
+
@REM Provide a "standardized" way to retrieve the CLI args that will
|
158
|
+
@REM work with both Windows and non-Windows executions.
|
159
|
+
set MAVEN_CMD_LINE_ARGS=%*
|
160
|
+
|
161
|
+
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
|
162
|
+
if ERRORLEVEL 1 goto error
|
163
|
+
goto end
|
164
|
+
|
165
|
+
:error
|
166
|
+
set ERROR_CODE=1
|
167
|
+
|
168
|
+
:end
|
169
|
+
@endlocal & set ERROR_CODE=%ERROR_CODE%
|
170
|
+
|
171
|
+
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
|
172
|
+
@REM check for post script, once with legacy .bat ending and once with .cmd ending
|
173
|
+
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
|
174
|
+
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
|
175
|
+
:skipRcPost
|
176
|
+
|
177
|
+
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
|
178
|
+
if "%MAVEN_BATCH_PAUSE%" == "on" pause
|
179
|
+
|
180
|
+
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
|
181
|
+
|
182
|
+
exit /B %ERROR_CODE%
|
data/pom.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
+
project 'propane', 'https://github.com/monkstone/propane' do
|
3
4
|
model_version '4.0.0'
|
4
|
-
id 'propane:propane:3.
|
5
|
+
id 'propane:propane:3.6.0'
|
5
6
|
packaging 'jar'
|
6
7
|
|
7
8
|
description 'An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.'
|
@@ -26,54 +27,56 @@ project 'propane', 'https://github.com/monkstone/propane' do
|
|
26
27
|
roles 'developer'
|
27
28
|
end
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
:connection => 'scm:git:git://github.com/ruby-processing/propane.git',
|
33
|
-
:developer_connection => 'scm:git:git@github.com/ruby-processing/propane.git' )
|
34
|
-
|
35
|
-
properties( 'propane.basedir' => '${project.basedir}',
|
36
|
-
'processing.api' => 'http://processing.github.io/processing-javadocs/core/',
|
37
|
-
'source.directory' => 'src',
|
38
|
-
'polyglot.dump.pom' => 'pom.xml',
|
39
|
-
'project.build.sourceEncoding' => 'utf-8',
|
40
|
-
'jogl.version' => '2.3.2',
|
41
|
-
'jruby.api' => 'http://jruby.org/apidocs/' )
|
42
|
-
|
43
|
-
pom 'org.jruby:jruby:9.2.7.0'
|
44
|
-
jar 'org.processing:video:3.2.3'
|
45
|
-
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
|
46
|
-
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
|
47
|
-
|
48
|
-
overrides do
|
49
|
-
plugin( 'org.codehaus.mojo:versions-maven-plugin:2.7',
|
50
|
-
'generateBackupPoms' => 'false' )
|
51
|
-
plugin( :compiler, '3.8.0',
|
52
|
-
'release' => '11' )
|
53
|
-
plugin( :javadoc, '3.0.1',
|
54
|
-
'detectOfflineLinks' => 'false',
|
55
|
-
'links' => [ '${jruby.api}',
|
56
|
-
'${processing.api}' ] )
|
57
|
-
plugin( :jar, '3.1.0',
|
58
|
-
'archive' => {
|
59
|
-
'manifestFile' => 'MANIFEST.MF'
|
60
|
-
} )
|
30
|
+
developer 'sampottinger' do
|
31
|
+
name 'Sam Pottinger'
|
32
|
+
roles 'developer'
|
61
33
|
end
|
62
34
|
|
35
|
+
issue_management 'https://github.com/ruby-processing/propane/issues', 'Github'
|
63
36
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
37
|
+
source_control(url: 'https://github.com/ruby-processing/propane',
|
38
|
+
connection: 'scm:git:git://github.com/ruby-processing/propane.git',
|
39
|
+
developer_connection: 'scm:git:git@github.com/ruby-processing/propane.git')
|
40
|
+
|
41
|
+
properties('propane.basedir' => '${project.basedir}',
|
42
|
+
'processing.api' => 'http://processing.github.io/processing-javadocs/core/',
|
43
|
+
'source.directory' => 'src',
|
44
|
+
'polyglot.dump.pom' => 'pom.xml',
|
45
|
+
'project.build.sourceEncoding' => 'utf-8',
|
46
|
+
'jogl.version' => '2.3.2', # for compiling actual included 2.4.0-rc
|
47
|
+
'jruby.api' => 'http://jruby.org/apidocs/')
|
48
|
+
|
49
|
+
pom 'org.jruby:jruby:9.2.14.0'
|
50
|
+
jar 'org.processing:video:3.3.7' # only for compiling
|
51
|
+
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
|
52
|
+
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
|
53
|
+
|
54
|
+
overrides do
|
55
|
+
plugin('org.codehaus.mojo:versions-maven-plugin:2.7',
|
56
|
+
'generateBackupPoms' => 'false')
|
57
|
+
plugin(:compiler, '3.8.1',
|
58
|
+
'release' => '11')
|
59
|
+
plugin(:javadoc, '3.2.0',
|
60
|
+
'detectOfflineLinks' => 'false',
|
61
|
+
'links' => ['${jruby.api}',
|
62
|
+
'${processing.api}'])
|
63
|
+
plugin(:jar, '3.2.0',
|
64
|
+
'archive' => {
|
65
|
+
'manifestEntries' => {
|
66
|
+
'Automatic-Module-Name' => 'processing.core'
|
67
|
+
}
|
68
|
+
})
|
69
|
+
end
|
70
|
+
build do
|
71
|
+
resource do
|
72
|
+
directory '${source.directory}/main/java'
|
73
|
+
includes '**/**/*.glsl', '**/*.jnilib'
|
74
|
+
excludes '**/**/*.java'
|
75
|
+
end
|
76
|
+
resource do
|
77
|
+
directory '${source.directory}/main/resources'
|
78
|
+
includes '**/*.png', '*.txt'
|
79
|
+
excludes
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
data/pom.xml
CHANGED
@@ -6,12 +6,12 @@ DO NOT MODIFIY - GENERATED CODE
|
|
6
6
|
|
7
7
|
|
8
8
|
-->
|
9
|
-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
9
|
+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
10
10
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
11
11
|
<modelVersion>4.0.0</modelVersion>
|
12
12
|
<groupId>propane</groupId>
|
13
13
|
<artifactId>propane</artifactId>
|
14
|
-
<version>3.
|
14
|
+
<version>3.6.0</version>
|
15
15
|
<name>propane</name>
|
16
16
|
<description>An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.</description>
|
17
17
|
<url>https://github.com/monkstone/propane</url>
|
@@ -44,6 +44,13 @@ DO NOT MODIFIY - GENERATED CODE
|
|
44
44
|
<role>developer</role>
|
45
45
|
</roles>
|
46
46
|
</developer>
|
47
|
+
<developer>
|
48
|
+
<id>sampottinger</id>
|
49
|
+
<name>Sam Pottinger</name>
|
50
|
+
<roles>
|
51
|
+
<role>developer</role>
|
52
|
+
</roles>
|
53
|
+
</developer>
|
47
54
|
</developers>
|
48
55
|
<scm>
|
49
56
|
<connection>scm:git:git://github.com/ruby-processing/propane.git</connection>
|
@@ -67,13 +74,13 @@ DO NOT MODIFIY - GENERATED CODE
|
|
67
74
|
<dependency>
|
68
75
|
<groupId>org.jruby</groupId>
|
69
76
|
<artifactId>jruby</artifactId>
|
70
|
-
<version>9.2.
|
77
|
+
<version>9.2.14.0</version>
|
71
78
|
<type>pom</type>
|
72
79
|
</dependency>
|
73
80
|
<dependency>
|
74
81
|
<groupId>org.processing</groupId>
|
75
82
|
<artifactId>video</artifactId>
|
76
|
-
<version>3.
|
83
|
+
<version>3.3.7</version>
|
77
84
|
</dependency>
|
78
85
|
<dependency>
|
79
86
|
<groupId>org.jogamp.jogl</groupId>
|
@@ -118,14 +125,14 @@ DO NOT MODIFIY - GENERATED CODE
|
|
118
125
|
</plugin>
|
119
126
|
<plugin>
|
120
127
|
<artifactId>maven-compiler-plugin</artifactId>
|
121
|
-
<version>3.8.
|
128
|
+
<version>3.8.1</version>
|
122
129
|
<configuration>
|
123
130
|
<release>11</release>
|
124
131
|
</configuration>
|
125
132
|
</plugin>
|
126
133
|
<plugin>
|
127
134
|
<artifactId>maven-javadoc-plugin</artifactId>
|
128
|
-
<version>3.0
|
135
|
+
<version>3.2.0</version>
|
129
136
|
<configuration>
|
130
137
|
<detectOfflineLinks>false</detectOfflineLinks>
|
131
138
|
<links>
|
@@ -136,10 +143,12 @@ DO NOT MODIFIY - GENERATED CODE
|
|
136
143
|
</plugin>
|
137
144
|
<plugin>
|
138
145
|
<artifactId>maven-jar-plugin</artifactId>
|
139
|
-
<version>3.
|
146
|
+
<version>3.2.0</version>
|
140
147
|
<configuration>
|
141
148
|
<archive>
|
142
|
-
<
|
149
|
+
<manifestEntries>
|
150
|
+
<Automatic-Module-Name>processing.core</Automatic-Module-Name>
|
151
|
+
</manifestEntries>
|
143
152
|
</archive>
|
144
153
|
</configuration>
|
145
154
|
</plugin>
|