Skip to content

Commit

Permalink
build: report archives target java version, add deployLco tip
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed May 18, 2024
1 parent ae2aa04 commit af6af6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions ant/build-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@
</copyExtensions>

<echots message="building different archives that get bundled (admin,doc) with help of the temporary generated lucee.jar"/>
<echots message="generating bytcode for java ${javaVersionCoreDefault}"/>
<!-- build the lucee-context.lar -->
<java classname="org.apache.tools.ant.launch.Launcher" dir="${ant}" fork="true" failonerror="true" errorproperty="exc">
<classpath path="${java.class.path}">
Expand Down
7 changes: 5 additions & 2 deletions ant/build-utils.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@
var srcDir = attributes.get("srcdir");
var deployDir = attributes.get("deploydir");
var name = attributes.get("name");
var echo = project.createTask( "echo" );
if (deployDir && String(deployDir).length >= 0) {
var path = deployDir + "/" + name;
var echo = project.createTask( "echo" );
var copy = project.createTask( "copy" );
copy.setFile( new java.io.File( srcDir + "/" + name ) );
Expand All @@ -138,6 +138,9 @@
echo.perform();
copy.perform();
} else {
echo.setMessage( 'Tip: use -DdeployLco="C:\\lucee6\\tomcat\\lucee-server\\deploy" to automatically deploy your build into a running Lucee instance' );
echo.perform();
}
]]>
</scriptdef>
Expand Down

0 comments on commit af6af6a

Please sign in to comment.