Skip to content

Commit 2fc2cb6

Browse files
committed
Merge remote-tracking branch 'github/development' into development
2 parents 51c4cd8 + 6b924a1 commit 2fc2cb6

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

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

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

4+
## 1.3.0
5+
* Adobe CF Compatiblity
6+
47
## 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
512

613
## 1.1.0
714
* Travis Integration

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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/ColdBox/cbox-javaloader.svg?branch=development)](https://travis-ci.org/ColdBox/cbox-javaloader)
1+
[![Build Status](https://travis-ci.org/coldbox-modules/cbox-javaloader.svg?branch=development)](https://travis-ci.org/coldbox-modules/cbox-javaloader)
22

33
# Welcome to the CBJavaloader Project
44

@@ -11,6 +11,7 @@ Apache License, Version 2.0.
1111
- https://github.com/ColdBox/cbox-javaloder
1212
- http://forgebox.io/view/javaloader
1313
- Docs: https://github.com/Ortus-Solutions/JavaLoader/wiki
14+
- [Changelog](changelog.md)
1415

1516
## System Requirements
1617
- Lucee 4.5+

workbench/build.xml

Lines changed: 2 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.2.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">

0 commit comments

Comments
 (0)