Skip to content

Commit

Permalink
Update setup.cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 24, 2024
1 parent 9b1656d commit 69b8571
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions custom/jar-conflict/setup.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
dir = getDirectoryFromPath(getCurrentTemplatePath()) & "poi-ext";
directoryCreate( dir );
if (true){
if (false){
// use jars from maven
files = [
"https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml/5.3.0/poi-ooxml-5.3.0.jar",
Expand All @@ -13,12 +13,16 @@
for ( fileUrl in files ){
http url=fileUrl path=dir file=ListLast( fileUrl,"/ ");
}
} else {
} else if ( false ){
// use lucee poi jars from the poi extension
lex= "https://ext.lucee.org/poi-extension-1.0.0.6-BETA.lex";
http url=lex path=getTempDirectory() file="poi.lex";
extract( "zip", getTempDirectory() & "poi.lex", dir );
} else {
// use lucee poi jars from the poi extension
zip "https://archive.apache.org/dist/poi/release/bin/poi-bin-3.12-20150511.zip";
http url=zip path=getTempDirectory() file="poi.zip";
extract( "zip", getTempDirectory() & "poi.zip", dir );
}
files = directoryList( dir, true );
systemOutput( files );
Expand Down

0 comments on commit 69b8571

Please sign in to comment.