Skip to content

Commit dd854a6

Browse files
committed
Initial commit
0 parents  commit dd854a6

18 files changed

+2453
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
dist/

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Clojure Wrapper for libre office calc
2+
3+
Usage
4+
5+
=clj("(+ 1 2 3)")
6+

build.xml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--**************************************************************
3+
*
4+
* Licensed to the Apache Software Foundation (ASF) under one
5+
* or more contributor license agreements. See the NOTICE file
6+
* distributed with this work for additional information
7+
* regarding copyright ownership. The ASF licenses this file
8+
* to you under the Apache License, Version 2.0 (the
9+
* "License"); you may not use this file except in compliance
10+
* with the License. You may obtain a copy of the License at
11+
*
12+
* http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing,
15+
* software distributed under the License is distributed on an
16+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
* KIND, either express or implied. See the License for the
18+
* specific language governing permissions and limitations
19+
* under the License.
20+
*
21+
*************************************************************-->
22+
<!-- You may freely edit this file. See commented blocks below for -->
23+
<!-- some examples of how to customize the build. -->
24+
<!-- (If you delete it and reopen the project it will be recreated.) -->
25+
<project name="ClojureCalc" default="default" basedir=".">
26+
<description>Builds, tests, and runs the project extension project.</description>
27+
<import file="nbproject/build-uno-impl.xml"/>
28+
<!--
29+
30+
There exist several targets which are by default empty and which can be
31+
used for execution of your tasks. These targets are usually executed
32+
before and after some main targets. They are:
33+
34+
-pre-init: called before initialization of project properties
35+
-post-init: called after initialization of project properties
36+
-pre-compile: called before javac compilation
37+
-post-compile: called after javac compilation
38+
-pre-compile-single: called before javac compilation of single file
39+
-post-compile-single: called after javac compilation of single file
40+
-pre-compile-test: called before javac compilation of JUnit tests
41+
-post-compile-test: called after javac compilation of JUnit tests
42+
-pre-compile-test-single: called before javac compilation of single JUnit test
43+
-post-compile-test-single: called after javac compilation of single JUunit test
44+
-pre-jar: called before JAR building
45+
-post-jar: called after JAR building
46+
-pre-uno-package: called before OXT creation
47+
-post-uno-package: called after OXT creation
48+
-post-clean: called after cleaning build products
49+
50+
(Targets beginning with '-' are not intended to be called on their own.)
51+
52+
Example of inserting an obfuscator after compilation could look like this:
53+
54+
<target name="-post-compile">
55+
<obfuscate>
56+
<fileset dir="${build.classes.dir}"/>
57+
</obfuscate>
58+
</target>
59+
60+
For list of available properties check the imported
61+
nbproject/build-impl.xml file.
62+
63+
64+
Another way to customize the build is by overriding existing main targets.
65+
The targets of interest are:
66+
67+
-init-macrodef-javac: defines macro for javac compilation
68+
-init-macrodef-junit: defines macro for junit execution
69+
-init-macrodef-debug: defines macro for class debugging
70+
-init-macrodef-java: defines macro for class execution
71+
-do-jar-with-manifest: JAR building (if you are using a manifest)
72+
-do-jar-without-manifest: JAR building (if you are not using a manifest)
73+
run: execution of project
74+
-javadoc-build: Javadoc generation
75+
test-report: JUnit report generation
76+
77+
An example of overriding the target for project execution could look like this:
78+
79+
<target name="run" depends="TypeBrowser2-impl.jar">
80+
<exec dir="bin" executable="launcher.exe">
81+
<arg file="${dist.jar}"/>
82+
</exec>
83+
</target>
84+
85+
Notice that the overridden target depends on the jar target and not only on
86+
the compile target as the regular run target does. Again, for a list of available
87+
properties which you can use, check the target you are overriding in the
88+
nbproject/build-impl.xml file.
89+
90+
-->
91+
92+
</project>

0 commit comments

Comments
 (0)