File: build-win32.bat

package info (click to toggle)
libjlayer-java 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 732 kB
  • sloc: java: 8,148; xml: 153; sh: 30; makefile: 10
file content (42 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
rem #######################################################
rem #         JLayer 1.0.1 WIN32 Build Script
rem #
rem # Project Homepage :
rem #   http://www.javazoom.net/javalayer/javalayer.html 
rem #
rem # Java and MP3 online Forums :
rem #   http://www.javazoom.net/services/forums/index.jsp
rem #
rem #######################################################

rem # JAVA_HOME and JL must be set below
set JAVA_HOME=c:\jdk1.3.1
set JL=c:\JLayer1.0.1

rem #---------------------------
rem # Do not modify lines below
rem #---------------------------
set CLASSPATH=%JAVA_HOME%\lib\tools.jar
set PATH=%PATH%;%JAVA_HOME%\bin
set JLDECODERSRC=%JL%\src\javazoom\jl\decoder
set JLCONVERTERSRC=%JL%\src\javazoom\jl\converter
set JLSIMPLEPLAYER=%JL%\src\javazoom\jl\player
set JLADVPLAYER=%JL%\src\javazoom\jl\player\advanced
javac -classpath %CLASSPATH%;%JL%\classes -d %JL%\classes %JLDECODERSRC%\*.java
javac -classpath %CLASSPATH%;%JL%\classes -d %JL%\classes %JLCONVERTERSRC%\*.java
cd %JLDECODERSRC%
copy *.ser %JL%\classes\javazoom\jl\decoder

rem # MP3 Simple + Advanced Player support :
rem #
rem # Comment both lines below for JDK1.1.x or JDK 1.2.x
cd %JLSIMPLEPLAYER%
javac -classpath %JL%\classes -d %JL%\classes *.java

cd %JLADVPLAYER%
javac -classpath %JL%\classes -d %JL%\classes *.java

rem # JAR Generation
cd %JL%\classes
jar cvf ..\jl1.0.1.jar *
cd %JL%