Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit de28547

Browse files
committed
Railo compiler service
0 parents  commit de28547

18 files changed

+618
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
3+
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="war,war-standalone,"/>
4+
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
5+
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
6+
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
7+
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
8+
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
9+
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="RailoCompilerService"/>
10+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/RailoCompilerService/build.xml}"/>
11+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
12+
13+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
14+
</launchConfiguration>

.gitignore

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

.project

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>RailoCompilerService</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
10+
<triggers>full,incremental,</triggers>
11+
<arguments>
12+
<dictionary>
13+
<key>LaunchConfigHandle</key>
14+
<value>&lt;project&gt;/.externalToolBuilders/RCS-Builder.launch</value>
15+
</dictionary>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.apache.ivyde.eclipse.ivynature</nature>
21+
</natures>
22+
</projectDescription>

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013 dajester2013
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
RailoCompilerService
2+
====================
3+
4+
Webservice for building sourceless deployments of Railo CFML projects.
5+
6+
### Build
7+
8+
* WAR (for deployment into a servlet already configured to run Railo)
9+
Run: ant war
10+
Produces: dist/war/rcs.war
11+
12+
* WAR - Standalone (for deployment into a general servlet container)
13+
Run: ant war-standalone
14+
Produces: dist/war-standalone/rcs.war

build.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
The MIT License (MIT)
4+
5+
Copyright (c) 2013 dajester2013
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of
8+
this software and associated documentation files (the "Software"), to deal in
9+
the Software without restriction, including without limitation the rights to
10+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11+
the Software, and to permit persons to whom the Software is furnished to do so,
12+
subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+
-->
24+
<project name="RailoCompilerService" xmlns:ivy="antlib:org.apache.ivy.ant" default="war">
25+
26+
<target name="load-ivy">
27+
<path id="ivy.lib.path">
28+
<pathelement location="lib/commons-codec-1.2.jar" />
29+
<pathelement location="lib/commons-httpclient-3.0.jar" />
30+
<pathelement location="lib/commons-logging-1.0.4.jar" />
31+
<pathelement location="lib/commons-vfs-1.0.jar" />
32+
<pathelement location="lib/jsch-0.1.31.jar" />
33+
<pathelement location="lib/ivy-2.3.0.jar" />
34+
<pathelement location="lib/oro-2.0.8.jar" />
35+
</path>
36+
37+
<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path" />
38+
</target>
39+
40+
<target name="init">
41+
<mkdir dir="dist" />
42+
<mkdir dir="dist/war" />
43+
<mkdir dir="dist/war-standalone" />
44+
</target>
45+
<target name="war" depends="init">
46+
<zip destfile="dist/war/rcs.war" basedir="src" includes="**" excludes="railo.pw" />
47+
</target>
48+
<target name="war-standalone" depends="init,load-ivy">
49+
<ivy:retrieve conf="war-standalone" pattern="build/deps/[conf]/railo.war" />
50+
<zip destfile="dist/war-standalone/rcs.war">
51+
<fileset dir="src" includes="**" excludes="railo.pw" />
52+
<zipfileset src="build/deps/war-standalone/railo.war" includes="**" excludes="**/*.cfc,**/*.cfm,res/**" />
53+
</zip>
54+
</target>
55+
<target name="clean">
56+
<delete dir="dist" includes="**" />
57+
</target>
58+
</project>

ivy.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
The MIT License (MIT)
4+
5+
Copyright (c) 2013 dajester2013
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of
8+
this software and associated documentation files (the "Software"), to deal in
9+
the Software without restriction, including without limitation the rights to
10+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11+
the Software, and to permit persons to whom the Software is furnished to do so,
12+
subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+
-->
24+
<ivy-module version="2.0">
25+
<info module="RailoCompilerService" organisation="org.jdsnet" status="release" revision="1.0" />
26+
27+
<configurations>
28+
<conf visibility="public" name="war-mini" />
29+
<conf visibility="public" name="war-standalone" />
30+
</configurations>
31+
32+
<publications>
33+
<artifact name="rcs" conf="war-mini" type="war" />
34+
<artifact name="rcs-sa" conf="war-standalone" type="war" />
35+
</publications>
36+
37+
<dependencies>
38+
<dependency org="org.getrailo" name="railo.war" rev="4.1+" conf="war-standalone->default" />
39+
</dependencies>
40+
41+
</ivy-module>

ivysettings.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
The MIT License (MIT)
4+
5+
Copyright (c) 2013 dajester2013
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of
8+
this software and associated documentation files (the "Software"), to deal in
9+
the Software without restriction, including without limitation the rights to
10+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
11+
the Software, and to permit persons to whom the Software is furnished to do so,
12+
subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+
-->
24+
<ivysettings>
25+
<properties file="build.properties" />
26+
<resolvers>
27+
<ibiblio name="cfmlprojects" root="http://cfmlprojects.org/artifacts/" m2compatible="true" />
28+
</resolvers>
29+
<modules>
30+
<module organisation="org.getrailo" resolver="cfmlprojects"/>
31+
</modules>
32+
</ivysettings>

lib/commons-codec-1.2.jar

29.4 KB
Binary file not shown.

lib/commons-httpclient-3.0.jar

273 KB
Binary file not shown.

0 commit comments

Comments
 (0)