- Timestamp:
- Jul 28, 2016 8:50:08 AM (8 years ago)
- Location:
- pjproject/trunk/pjsip-apps
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/swig_java_pjsua2.vcproj
r5390 r5402 358 358 <Tool 359 359 Name="VCCustomBuildTool" 360 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
 
@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
"360 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample2.java

@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
" 361 361 Outputs="$(TargetDir)pjsua2_wrap.cpp;$(TargetDir)pjsua2_wrap.h" 362 362 /> … … 367 367 <Tool 368 368 Name="VCCustomBuildTool" 369 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
 
@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
"369 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample2.java

@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
" 370 370 Outputs="%(Filename)_wrap.cxx" 371 371 /> … … 376 376 <Tool 377 377 Name="VCCustomBuildTool" 378 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
 
@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
"378 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample2.java

@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
" 379 379 Outputs="$(TargetDir)pjsua2_wrap.cpp;$(TargetDir)pjsua2_wrap.h" 380 380 /> … … 385 385 <Tool 386 386 Name="VCCustomBuildTool" 387 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
 
@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
"387 CommandLine="@echo off
@echo **************************************************************
@echo - Make sure 'swig' and 'javac' locations are in your PATH environment vars.
@echo - Make sure Java SDK header file directories
@echo (e.g: C:\Program Files (x86)\Java\jdk1.7.0_79\include and C:\Program Files (x86)\Java\jdk1.7.0_79\include\win32)
@echo are in your MSVC header search path
@echo **************************************************************

@echo on
mkdir $(TargetDir)org\pjsip\pjsua2
swig -c++ -java -package org.pjsip.pjsua2 -I$(SolutionDir)pjsip\include -outdir $(TargetDir)org\pjsip\pjsua2 -o $(TargetDir)pjsua2_wrap.cpp $(InputPath)
javac -d $(TargetDir) $(TargetDir)org\pjsip\pjsua2\*.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(InputDir)java\android\src\org\pjsip\pjsua2\app\MyApp.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\test.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample.java
javac -d $(TargetDir) -classpath "$(InputDir)java\output" $(TargetDir)..\sample2.java

@echo **************************************************************
@echo After the build completed succesfully, try to run the test app, e.g:
@echo java -cp D:\projects\pjproject\pjsip-apps\src\swig\java\output -Djava.library.path="D:\projects\pjproject\pjsip-apps\src\swig\java\output" org.pjsip.pjsua2.app.sample
@echo **************************************************************
@echo off
" 388 388 Outputs="$(TargetDir)pjsua2_wrap.cpp;$(TargetDir)pjsua2_wrap.h" 389 389 /> -
pjproject/trunk/pjsip-apps/src/swig/java/Makefile
r5391 r5402 193 193 $(MY_PACKAGE_PATH)/sample.class: sample.java 194 194 $(MY_JAVAC) -d $(OUT_DIR) -classpath "$(OUT_DIR)" sample.java 195 @# Build javafx sample app 196 @# $(MY_JAVAC) -d $(OUT_DIR) -classpath "$(OUT_DIR)" sample2.java 195 197 196 198 test: … … 204 206 $(MY_JAVA) -cp "$(OUT_DIR)" -Djava.library.path="$(OUT_DIR)" \ 205 207 org.pjsip.pjsua2.app.sample 208 @# This is for sample2 app 209 @# $(MY_JAVA) -cp "$(OUT_DIR)" -Djava.library.path="$(OUT_DIR)" \ 210 @# org.pjsip.pjsua2.app.sample2 206 211 207 212 install:
Note: See TracChangeset
for help on using the changeset viewer.