-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
forking jFLAC abandoned project to support newer FLAC features
- Loading branch information
Dmitriy R
authored and
Dmitriy R
committed
Jun 10, 2013
0 parents
commit e96a187
Showing
67 changed files
with
12,998 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>JustFLAC</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE bee PUBLIC "-//Dmitriy Rogatkin//DTD Bee Project Builder 1.0//EN" | ||
"http://knitknot.info/DTD/bee.dtd" [ | ||
<!ENTITY env SYSTEM "./env.xml"> | ||
<!ENTITY project "jflac"> | ||
<!ENTITY build_directory "lib"> | ||
<!ENTITY source_directory "src/java"> <!-- change if differs --> | ||
<!ENTITY doc_directory "doc"> <!-- change if differs --> | ||
<!ENTITY build_file "&project;.jar"> <!-- change if differs --> | ||
<!ENTITY domain "org"> <!-- change if differs --> | ||
<!ENTITY resources "&domain;.&project;.resources"> | ||
<!ENTITY manifestf ""> <!-- type relative path to manifest --> | ||
<!ENTITY main_class "&domain;.kc7bfi.jflac.apps.Player"> <!-- type main class for run --> | ||
]> | ||
<!-- $Id: bee.xml,v 1.21 2012/04/17 22:52:48 dmitriy Exp $ | ||
make file used for "generic" project | ||
Copyright (c) 2004-2006 Dmitriy Rogatkin --> | ||
|
||
<bee name="&project;" type="project"> | ||
&env; | ||
|
||
<expression variable="javac"> | ||
<operator name="append"> | ||
<value variable="JAVA_HOME"/> | ||
<value>/bin/javac</value> | ||
</operator> | ||
</expression> | ||
|
||
<expression variable="JavaDoc"> | ||
<operator name="append"> | ||
<value variable="JAVA_HOME"/> | ||
<value>/bin/javadoc</value> | ||
</operator> | ||
</expression> | ||
|
||
<target name="help"> | ||
<echo> | ||
******** &project; Build Process ******** | ||
* Available targets: * | ||
* doc - build JavaDoc * | ||
* compile - do Java compilation * | ||
* jar - build &build_file; file * | ||
* run - run application &main_class; * | ||
*************************************************** | ||
</echo> | ||
</target> | ||
|
||
<target name="check build" dir="PROJECT_HOME"> | ||
<dependency> | ||
<expression> | ||
<operator name="eq"> | ||
<function name ="timestamp"> | ||
<parameter value="&build_directory;"/> | ||
</function> | ||
<value></value> | ||
</operator> | ||
</expression> | ||
</dependency> | ||
<block> | ||
<function name="mkd"> | ||
<parameter value="&build_directory;"/> | ||
</function> | ||
</block> | ||
</target> | ||
|
||
<target name="check doc" dir="PROJECT_HOME"> | ||
<dependency> | ||
<expression> | ||
<operator name="eq"> | ||
<function name ="timestamp"> | ||
<parameter value="&doc_directory;"/> | ||
</function> | ||
<value></value> | ||
</operator> | ||
</expression> | ||
</dependency> | ||
<task exec="mkdir"> | ||
<parameter value="&doc_directory;"/> | ||
</task> | ||
</target> | ||
|
||
<expression variable="src path"> | ||
<operator name="append"> | ||
<value type="dir">&source_directory;</value> | ||
<function name="cropname"> | ||
<parameter value="/&domain;"/> | ||
<parameter value="\."/> | ||
<parameter value="/"/> | ||
<parameter value="a"/> | ||
</function> | ||
</operator> | ||
</expression> | ||
|
||
<expression> | ||
<for variable="n path" in="src path"> | ||
<expression variable="src path"> | ||
<operator name="append"> | ||
<value variable="n path"/> | ||
<value>/.java</value> | ||
</operator> | ||
</expression> | ||
</for> | ||
</expression> | ||
|
||
<expression variable="java sources"> | ||
<function name="newerwithdependency"> | ||
<parameter variable="src path"/> | ||
<parameter value="&build_directory;\&domain;\.class"/> | ||
<parameter/> | ||
<parameter value="&domain;"/> | ||
</function> | ||
</expression> | ||
|
||
<expression variable="class path"> | ||
<operator name="append"> | ||
<value variable="PROJECT_HOME"/> | ||
<value>/&build_directory;</value> | ||
<value variable="PATH SEPARATOR"/> | ||
<value variable="CUSTOM CP"/> | ||
</operator> | ||
</expression> | ||
|
||
<target name="compile" dir="PROJECT_HOME"> | ||
<dependency target="check build"/> | ||
<dependency variable="java sources"/> | ||
<echo>Compiling...</echo> | ||
<task exec="javac"> | ||
<parameter value="-classpath"/> | ||
<parameter variable="class path"/> | ||
<parameter value="-source"/> | ||
<parameter variable="comp target"/> | ||
<parameter value="-target"/> | ||
<parameter variable="comp target"/> | ||
<parameter value="-d"/> | ||
<parameter value="&build_directory;" type="dir"/> | ||
<parameter variable="java sources"/>> | ||
<onexit> | ||
<if> | ||
<expression> | ||
<operator name="neq"><value variable="resultcode"/><value>0</value></operator> | ||
</expression> | ||
<block type="then"> | ||
<echo>Error(s) at compilation</echo> | ||
<function name="stop"> | ||
<parameter value="1"/> | ||
</function> | ||
</block> | ||
</if> | ||
</onexit> | ||
<onexception> | ||
<block> | ||
<echo>Exception at compilation</echo> | ||
<echo variable="~#error#~"/> | ||
<function name="stop"> | ||
<parameter value="-1"/> | ||
</function> | ||
</block> | ||
</onexception> | ||
</task> | ||
</target> | ||
|
||
<expression variable="manifest file"> | ||
<value type="path">&manifestf;</value> | ||
</expression> | ||
|
||
<target name="doc" dir="PROJECT_HOME"> | ||
<dependency target="check doc"/> | ||
<dependency>true</dependency> | ||
<!--task name="JavaDoc" code="com.sun.tools.javadoc.Main" path="compiler classes"--> | ||
<task exec="JavaDoc"> | ||
<!--parameter name="env.class.path" variable="compiler classes"/--> | ||
<parameter>-d</parameter> | ||
<parameter value="&doc_directory;"/> | ||
<parameter>-sourcepath</parameter> | ||
<parameter value="&source_directory;"/> | ||
<parameter>-subpackages</parameter> | ||
<parameter>&domain;</parameter> | ||
<parameter>-classpath</parameter> | ||
<parameter value="&build_directory;"/> | ||
<parameter>&domain;</parameter> | ||
</task> | ||
</target> | ||
|
||
<target name="jar" dir="PROJECT_HOME"> | ||
<echo>Jarring...</echo> | ||
<dependency target="compile"/> | ||
<dependency> | ||
<function name="allnewer"> | ||
<parameter value="&build_directory;/&domain;" type="dir"/> | ||
<parameter value="&build_directory;/&build_file;" type="file"/> | ||
</function> | ||
</dependency> | ||
<dependency> | ||
<function name="allnewer"> | ||
<parameter value="bee.xml" type="dir"/> | ||
<parameter value="&build_directory;/&build_file;" type="file"/> | ||
</function> | ||
</dependency> | ||
|
||
<task name="jar_do" code="sun.tools.jar.Main"> | ||
<parameter> | ||
<expression> | ||
<if> | ||
<expression> | ||
<operator name="eq"> | ||
<value/> | ||
<value variable="manifest file"/> | ||
</operator> | ||
</expression> | ||
<block type="then"> | ||
<value>-cf</value> | ||
</block> | ||
<block type="else"> | ||
<operator name="array"> | ||
<value>-cmf</value> | ||
<value variable="manifest file"/> | ||
</operator> | ||
</block> | ||
</if> | ||
</expression> | ||
</parameter> | ||
<parameter value="&build_directory;/&build_file;" type="file"/> | ||
<parameter value="-C"/> | ||
<parameter value="&build_directory;" type="dir"/> | ||
<parameter value="&domain;" type="dir"/> | ||
<onexception> | ||
<block> | ||
<echo>Exception at jarring</echo> | ||
<function name="stop"> | ||
<parameter value="-1"/> | ||
</function> | ||
</block> | ||
</onexception> | ||
</task> | ||
</target> | ||
|
||
<target name="clean" dir="PROJECT_HOME"> | ||
<dependency> | ||
<expression> | ||
<operator name="eq"> | ||
<value>y</value> | ||
<function name="ask"> | ||
<parameter value="Are you sure to remove all files in &build_directory; [n]?"/> | ||
<parameter value="n"/> | ||
</function> | ||
</operator> | ||
</expression> | ||
</dependency> | ||
<block> | ||
<echo>Cleaning...</echo> | ||
<function name="rm"> | ||
<parameter value="&build_directory;/*/*/*/*/*.class" type="path"/> | ||
<parameter value="&build_directory;/&build_file;" type="file"/> | ||
</function> | ||
</block> | ||
</target> | ||
|
||
<expression variable="run class path"> | ||
<operator name="append"> | ||
<value variable="PROJECT_HOME"/> | ||
<value>/&build_directory;/&build_file;</value> | ||
<value variable="PATH SEPARATOR"/> | ||
<value variable="CUSTOM CP"/> | ||
</operator> | ||
</expression> | ||
|
||
<target name="run" dir="PROJECT_HOME"> | ||
<echo>Running...</echo> | ||
<dependency target="jar"/> | ||
<dependency value="true"/> | ||
<task name="main" code="&main_class;" path="run class path"> | ||
<parameter variable="~#args#~"/> | ||
</task> | ||
</target> | ||
</bee> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!-- $Id: env.xml,v 1.7 2012/04/02 02:08:33 dmitriy Exp $ | ||
Defines current environment specific variables --> | ||
<expression variable="PATH SEPARATOR"> | ||
<value name="path.separator" type="property"/> | ||
</expression> | ||
<variable name="PROJECT_HOME" type="path">.</variable> | ||
<!-- Only this may require to change --> | ||
<variable name="JAVA_HOME"/> | ||
<expression variable="JAVA_HOME"> | ||
<if> | ||
<expression> | ||
<operator name="eq"> | ||
<value>/</value> | ||
<value name="file.separator" type="property"/> | ||
</operator> | ||
</expression> | ||
<block type="then"> | ||
<function name="scalar"> | ||
<parameter> | ||
<function name="cropname"> | ||
<parameter name="java.home" type="property"/> | ||
<parameter>/jre</parameter> | ||
</function> | ||
</parameter> | ||
</function> | ||
</block> | ||
<block type="else"> | ||
<value name="java.home" type="property"/> | ||
</block> | ||
</if> | ||
</expression> | ||
<variable name="comp target">1.5</variable> | ||
<expression variable="JAVA_HOME"> | ||
<function name="cropname"> | ||
<parameter variable="JAVA_HOME"/> | ||
<parameter>\\jre</parameter> | ||
<!--parameter>jdk</parameter--> | ||
</function> | ||
</expression> | ||
|
||
<variable name="APP DEPLOY DROP">E:\Projects\tjws\webapps</variable> | ||
|
||
<expression variable="CUSTOM CP"> | ||
<operator name="append"> | ||
<value></value> | ||
</operator> | ||
</expression> |
Oops, something went wrong.