Skip to content

Commit 5b7c89d

Browse files
committed
Merge branch 'development'
2 parents 0571ba8 + 6b924a1 commit 5b7c89d

File tree

6 files changed

+24
-11
lines changed

6 files changed

+24
-11
lines changed

modules/cbjavaloader/changelog.md renamed to changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
CHANGELOG
22
=========
33

4+
## 1.3.0
5+
* Adobe CF Compatiblity
6+
7+
## 1.2.0
8+
* Travis Updates
9+
* Changing the array of locations check so that it doesn't fail if a JAR file is passed in the array.
10+
* Readme Updates
11+
* ForgeBox2 Updates
12+
413
## 1.1.0
514
* Travis Integration
615
* DocBox update

modules/cbjavaloader/ModuleConfig.cfc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ component {
9696
if( isArray( javaLoaderDSL.loadPaths ) ){
9797
var aJarPaths = [];
9898
for( var thisLocation in javaLoaderDSL.loadPaths ){
99-
if( !directoryExists( thisLocation ) ){
100-
throw( "Cannot load #thisLocation# as it is not a valid path" );
99+
if( directoryExists( thisLocation ) ) {
100+
aJarPaths.addAll( getJars( thisLocation ) );
101+
} else if ( !fileExists( thisLocation ) ) {
102+
throw( "Cannot load #thisLocation# as it is not a valid path or file" );
101103
}
102-
aJarPaths.addAll( getJars( thisLocation ) );
103-
}
104+
}
104105
javaLoaderDSL.loadPaths = aJarPaths;
105106
}
106107
// Single directory? Get all Jars in it

modules/cbjavaloader/box.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name" : "JavaLoader",
33
"version" : "@version.number@[email protected]@",
4+
"location" : "http://downloads.ortussolutions.com.s3.amazonaws.com/ortussolutions/coldbox-modules/cbjavaloader/@version.number@/[email protected]@.zip",
45
"author" : "Ortus Solutions.com <[email protected]",
56
"slug" : "cbjavaloader",
67
"type" : "modules",
@@ -14,13 +15,8 @@
1415
"contributors" : [
1516
"Brad Wood <[email protected]>", "Curt Gratz <[email protected]>"
1617
],
17-
"engines" : [
18-
{ "type" : "lucee", "version" : ">4.5" },
19-
{ "type" : "adobe", "version" : ">9.02" }
20-
],
2118
"ignore":[
2219
"**/.*",
23-
"tests",
24-
"*/.md"
20+
"tests"
2521
]
2622
}

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://travis-ci.org/coldbox-modules/cbox-javaloader.svg?branch=development)](https://travis-ci.org/coldbox-modules/cbox-javaloader)
2+
13
# Welcome to the CBJavaloader Project
24

35
The CB JavaLoader module will interface with Mark Mandel's JavaLoader to allow you to do a network class loader, compiler and proxy.
@@ -9,6 +11,7 @@ Apache License, Version 2.0.
911
- https://github.com/ColdBox/cbox-javaloder
1012
- http://forgebox.io/view/javaloader
1113
- Docs: https://github.com/Ortus-Solutions/JavaLoader/wiki
14+
- [Changelog](changelog.md)
1215

1316
## System Requirements
1417
- Lucee 4.5+

tests/Application.cfc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ component{
77
this.name = "A TestBox Runner Suite " & hash( getCurrentTemplatePath() );
88
// any other application.cfc stuff goes below:
99
this.sessionManagement = true;
10+
// Turn on/off white space managemetn
11+
this.whiteSpaceManagement = "smart";
1012

1113
// any mappings go here, we create one that points to the root called test.
1214
this.mappings[ "/tests" ] = getDirectoryFromPath( getCurrentTemplatePath() );

workbench/build.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Version: UPDATE ON EACH RELEASE AS NEEDED -->
44
<property name="project.name" value="cbjavaloader" />
55
<property name="module.name" value="cbjavaloader" />
6-
<property name="project.version" value="1.1.0"/>
6+
<property name="project.version" value="1.3.0"/>
77
<property name="groupID" value="ortussolutions" />
88

99
<!-- Build Labels -->
@@ -68,6 +68,7 @@
6868
</copy>
6969
<!-- Copy readme -->
7070
<copy todir="${dir.build}" encoding="UTF-8" file="readme.md" overwrite="true" />
71+
<copy todir="${dir.build}" encoding="UTF-8" file="changelog.md" overwrite="true" />
7172

7273
<!-- Replace Version + Build Numbers -->
7374
<replaceregexp match='@version.number@' replace="${project.version}" flags="ig" byline="true" encoding="UTF-8">
@@ -128,6 +129,7 @@
128129
src="${url.apidocs}?version=${project.version}&amp;path=${dir.api}"
129130
verbose="true"
130131
retries="5"/>
132+
<delete file="${dir.build}/docbox.html" />
131133
<!-- stop server -->
132134
<exec executable="box" dir="${dir.apidocs}">
133135
<arg line="server stop" />

0 commit comments

Comments
 (0)