Skip to content

Commit cc51750

Browse files
committed
initial import - Java 7 client, Turbo Delphi server
1 parent 41ab03d commit cc51750

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+52547
-0
lines changed

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
#* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
7+
# Declare files that will always have CRLF line endings on checkout.
8+
*.pas text eol=crlf
9+
*.java text eol=crlf
10+
*.bdsproj text eol=crlf
11+
12+
# Denote all files that are truly binary and should not be modified.
13+
*.png binary
14+
*.jpg binary
15+
*.exe binary

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Delphi compiler-generated binaries (safe to delete)
2+
*.exe
3+
*.dll
4+
*.bpl
5+
*.bpi
6+
*.dcp
7+
*.so
8+
*.apk
9+
*.drc
10+
*.map
11+
*.dres
12+
*.rsm
13+
*.tds
14+
*.dcu
15+
*.lib
16+
17+
# Delphi autogenerated files (duplicated info)
18+
*.cfg
19+
*Resource.rc
20+
21+
# Delphi local files (user-specific info)
22+
*.local
23+
*.identcache
24+
*.projdata
25+
*.tvsconfig
26+
*.dsk
27+
28+
# Delphi history and backups
29+
__history/
30+
*.~*
31+
32+
# Version control system
33+
*.orig
34+
*.orig.*
35+
*.chg.*
36+
*.rej
37+
*.conflict~
38+
39+
# Java error logs
40+
*hs_err_pid*.log
41+
42+
# Java
43+
*.class
44+
45+
# Java generated files
46+
build/
47+
dist/
48+
49+
# Netbeans project privates
50+
nbproject/private/

build.xml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See commented blocks below for -->
3+
<!-- some examples of how to customize the build. -->
4+
<!-- (If you delete it and reopen the project it will be recreated.) -->
5+
<!-- By default, only the Clean and Build commands use this build script. -->
6+
<!-- Commands such as Run, Debug, and Test only use this build script if -->
7+
<!-- the Compile on Save feature is turned off for the project. -->
8+
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9+
<!-- in the project's Project Properties dialog box.-->
10+
<project name="JavactiveX" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project JavactiveX.</description>
12+
13+
<property name="delphipath" value="c:\Program Files (x86)\Borland\BDS\4.0\" />
14+
15+
<target name="-post-compile">
16+
<copy file="${basedir}/lib/ActiveXServer.exe" todir="${basedir}/build/lib/" />
17+
</target>
18+
19+
<target name="-post-jar">
20+
<copy file="${basedir}/lib/ActiveXServer.exe" todir="${basedir}/dist/lib/" />
21+
</target>
22+
23+
<import file="nbproject/build-impl.xml"/>
24+
<!--
25+
26+
There exist several targets which are by default empty and which can be
27+
used for execution of your tasks. These targets are usually executed
28+
before and after some main targets. They are:
29+
30+
-pre-init: called before initialization of project properties
31+
-post-init: called after initialization of project properties
32+
-pre-compile: called before javac compilation
33+
-post-compile: called after javac compilation
34+
-pre-compile-single: called before javac compilation of single file
35+
-post-compile-single: called after javac compilation of single file
36+
-pre-compile-test: called before javac compilation of JUnit tests
37+
-post-compile-test: called after javac compilation of JUnit tests
38+
-pre-compile-test-single: called before javac compilation of single JUnit test
39+
-post-compile-test-single: called after javac compilation of single JUunit test
40+
-pre-jar: called before JAR building
41+
-post-jar: called after JAR building
42+
-post-clean: called after cleaning build products
43+
44+
(Targets beginning with '-' are not intended to be called on their own.)
45+
46+
Example of inserting an obfuscator after compilation could look like this:
47+
48+
<target name="-post-compile">
49+
<obfuscate>
50+
<fileset dir="${build.classes.dir}"/>
51+
</obfuscate>
52+
</target>
53+
54+
For list of available properties check the imported
55+
nbproject/build-impl.xml file.
56+
57+
58+
Another way to customize the build is by overriding existing main targets.
59+
The targets of interest are:
60+
61+
-init-macrodef-javac: defines macro for javac compilation
62+
-init-macrodef-junit: defines macro for junit execution
63+
-init-macrodef-debug: defines macro for class debugging
64+
-init-macrodef-java: defines macro for class execution
65+
-do-jar: JAR building
66+
run: execution of project
67+
-javadoc-build: Javadoc generation
68+
test-report: JUnit report generation
69+
70+
An example of overriding the target for project execution could look like this:
71+
72+
<target name="run" depends="JavactiveX-impl.jar">
73+
<exec dir="bin" executable="launcher.exe">
74+
<arg file="${dist.jar}"/>
75+
</exec>
76+
</target>
77+
78+
Notice that the overridden target depends on the jar target and not only on
79+
the compile target as the regular run target does. Again, for a list of available
80+
properties which you can use, check the target you are overriding in the
81+
nbproject/build-impl.xml file.
82+
83+
-->
84+
85+
86+
</project>

lib/jna-3.5.1.jar

676 KB
Binary file not shown.

0 commit comments

Comments
 (0)