Skip to content

Commit

Permalink
Add debug option for GlassFish
Browse files Browse the repository at this point in the history
Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
  • Loading branch information
arjantijms committed Sep 2, 2023
1 parent 3d4b956 commit 9012005
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions appserver/tests/tck/connectors-full/pom.xml
Expand Up @@ -324,6 +324,18 @@
torefid="deploy.archive.set"/>
</ant>

<!-- Restart GlassFish in debug mode if so requested -->
<sequential if:set="glassfish.suspend">
<exec executable="${glassfish.asadmin}" dir="${glassfish.home}/glassfish/bin">
<arg value="stop-domain" />
</exec>
<echo message="Starting GlassFish in suspended mode, waiting on port 9009" />
<exec executable="${glassfish.asadmin}" dir="${glassfish.home}/glassfish/bin">
<arg value="start-domain"/>
<arg value="--suspend" if:set="glassfish.suspend"/>
</exec>
</sequential>

</target>
</configuration>
</execution>
Expand Down

0 comments on commit 9012005

Please sign in to comment.