Skip to content

Commit 291625d

Browse files
committed
Merge pull request #1025 from markknol/haxe_java_cs_templates
Added Haxe Java/C# templates
2 parents a9f2f55 + dea0a0f commit 291625d

File tree

12 files changed

+157
-0
lines changed

12 files changed

+157
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<project version="2">
3+
<!-- Output SWF options -->
4+
<output>
5+
<movie outputType="Application" />
6+
<movie input="" />
7+
<movie path="bin\" />
8+
<movie fps="0" />
9+
<movie width="0" />
10+
<movie height="0" />
11+
<movie version="1" />
12+
<movie platform="C#" />
13+
<movie background="#FFFFFF" />
14+
</output>
15+
<!-- Other classes to be compiled into your SWF -->
16+
<classpaths>
17+
<class path="src" />
18+
</classpaths>
19+
<!-- Build options -->
20+
<build>
21+
<option directives="" />
22+
<option flashStrict="False" />
23+
<option mainClass="$(PackageDot)Main" />
24+
<option override="False" />
25+
<option verbose="False" />
26+
<option additional="" />
27+
</build>
28+
<!-- haxelib libraries -->
29+
<haxelib>
30+
<!-- example: <library name="..." /> -->
31+
</haxelib>
32+
<!-- Class files to compile (other referenced classes will automatically be included) -->
33+
<compileTargets>
34+
<compile path="src\$(PackageSlash)Main.hx" />
35+
</compileTargets>
36+
<!-- Paths to exclude from the Project Explorer tree -->
37+
<hiddenPaths>
38+
<!-- example: <hidden path="..." /> -->
39+
</hiddenPaths>
40+
<!-- Executed before build -->
41+
<preBuildCommand />
42+
<!-- Executed after build -->
43+
<postBuildCommand alwaysRun="False" />
44+
<!-- Other project options -->
45+
<options>
46+
<option showHiddenPaths="False" />
47+
<option testMovie="Custom" />
48+
<option testMovieCommand="run.bat $(BuildConfig)" />
49+
</options>
50+
</project>
23.9 KB
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A C# project written in the Haxe language

FlashDevelop/Bin/Debug/Projects/365 Haxe - C# Project/bin/.empty

Whitespace-only changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@echo off
2+
cd bin/bin
3+
if "%1"=="debug" (
4+
:: run debug
5+
$(ProjectID)-Debug.exe
6+
)
7+
else (
8+
:: run release
9+
$(ProjectID).exe
10+
)
11+
pause
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package $(PackageName);
2+
3+
import cs.Lib;
4+
5+
/**
6+
$(CBI)* ...
7+
$(CBI)* @author $(DefaultUser)
8+
$(CBI)*/
9+
class Main $(CSLB){
10+
11+
static function main() $(CSLB){
12+
13+
}
14+
15+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<project version="2">
3+
<!-- Output SWF options -->
4+
<output>
5+
<movie outputType="Application" />
6+
<movie input="" />
7+
<movie path="bin\" />
8+
<movie fps="0" />
9+
<movie width="0" />
10+
<movie height="0" />
11+
<movie version="0" />
12+
<movie minorVersion="0" />
13+
<movie platform="Java" />
14+
<movie background="#FFFFFF" />
15+
</output>
16+
<!-- Other classes to be compiled into your SWF -->
17+
<classpaths>
18+
<class path="src" />
19+
</classpaths>
20+
<!-- Build options -->
21+
<build>
22+
<option directives="" />
23+
<option flashStrict="False" />
24+
<option noInlineOnDebug="False" />
25+
<option mainClass="$(PackageDot)Main" />
26+
<option enabledebug="False" />
27+
<option additional="" />
28+
</build>
29+
<!-- haxelib libraries -->
30+
<haxelib>
31+
<!-- example: <library name="..." /> -->
32+
</haxelib>
33+
<!-- Class files to compile (other referenced classes will automatically be included) -->
34+
<compileTargets>
35+
<compile path="src\$(PackageSlash)Main.hx" />
36+
</compileTargets>
37+
<!-- Paths to exclude from the Project Explorer tree -->
38+
<hiddenPaths>
39+
<hidden path="obj" />
40+
</hiddenPaths>
41+
<!-- Executed before build -->
42+
<preBuildCommand />
43+
<!-- Executed after build -->
44+
<postBuildCommand alwaysRun="False" />
45+
<!-- Other project options -->
46+
<options>
47+
<option showHiddenPaths="False" />
48+
<option testMovie="Custom" />
49+
<option testMovieCommand="run.bat $(BuildConfig)" />
50+
</options>
51+
<!-- Plugin storage -->
52+
<storage />
53+
</project>
24.2 KB
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A Java project written in the Haxe language

FlashDevelop/Bin/Debug/Projects/370 Haxe - Java Project/bin/.empty

Whitespace-only changes.

0 commit comments

Comments
 (0)