зеркало из https://github.com/mozilla/pluotsorbet.git
specify bootclasspath and extdirs
This commit is contained in:
Родитель
376252ece1
Коммит
14b49c157b
|
@ -10,8 +10,8 @@ VPATH=./cldc1.1.1 ./vm ./midp ./custom
|
|||
classes.jar: $(SRCS) $(CUSTOM_SRCS) $(JPP_DESTS)
|
||||
rm -rf build
|
||||
mkdir build
|
||||
javac -cp cldc1.1.1:vm:midp -source 1.3 -target 1.3 -d ./build $(SRCS) > /dev/null
|
||||
javac -sourcepath custom -cp build -source 1.3 -target 1.3 -d ./build $(CUSTOM_SRCS) > /dev/null
|
||||
javac -cp cldc1.1.1:vm:midp -source 1.3 -target 1.3 -bootclasspath "" -extdirs "" -d ./build $(SRCS) > /dev/null
|
||||
javac -sourcepath custom -cp build -source 1.3 -target 1.3 -bootclasspath "" -extdirs "" -d ./build $(CUSTOM_SRCS) > /dev/null
|
||||
cd build && jar cvf0 ../classes.jar *
|
||||
jar uvf0 classes.jar $(EXTRA)
|
||||
rm -rf build
|
||||
|
|
|
@ -32,9 +32,9 @@ tests.jar: $(SRCS) Testlets.java
|
|||
rm -rf build
|
||||
mkdir build
|
||||
# Build the buildtime support classes in-place, not in ./build, so they aren't available at runtime.
|
||||
javac -source 1.3 -target 1.3 -encoding UTF-8 -bootclasspath ../java/classes.jar $(BUILDTIME_SUPPORT_SRCS) > /dev/null
|
||||
javac -source 1.3 -target 1.3 -encoding UTF-8 -bootclasspath ../java/classes.jar:$(BUILDTIME_SUPPORT_DIR) -d ./build $^ > /dev/null
|
||||
javac -source 1.3 -target 1.3 -encoding UTF-8 -bootclasspath ../java/classes.jar -d ./build $(RUNTIME_SUPPORT_SRCS) > /dev/null
|
||||
javac -source 1.3 -target 1.3 -encoding UTF-8 -bootclasspath ../java/classes.jar -extdirs "" $(BUILDTIME_SUPPORT_SRCS) > /dev/null
|
||||
javac -source 1.3 -target 1.3 -encoding UTF-8 -bootclasspath ../java/classes.jar:$(BUILDTIME_SUPPORT_DIR) -extdirs "" -d ./build $^ > /dev/null
|
||||
javac -source 1.3 -target 1.3 -encoding UTF-8 -bootclasspath ../java/classes.jar -extdirs "" -d ./build $(RUNTIME_SUPPORT_SRCS) > /dev/null
|
||||
jar cvfe tests.jar RunTests -C build/ .
|
||||
jar uvf $(PACKAGE_FILES) > /dev/null
|
||||
rm -rf build
|
||||
|
|
Загрузка…
Ссылка в новой задаче