Skip to main content

Source code revision

svn

summary: Fix for 16306
revision: 45876
author: tjquinn
date: 2011-04-03 20:45:50 UTC (5 years)
message: Fix for 16306

The appclient command accepts the -passwordfile option which should point to to a file containing a line such as

PASSWORD=client-password

If the file exists but contains no such line the ACC would fail with a NPE.

With these changes the ACC displays a clearer UserError instead.

Tests: deployment devtests, added JUnit tests
Change Path Actions
M trunk/v3/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/AppclientCommandArguments.java
M trunk/v3/appclient/client/acc/src/main/resources/org/glassfish/appclient/client/acc/LocalStrings.properties
M trunk/v3/appclient/client/acc/src/test/java/org/glassfish/appclient/client/acc/AppclientCommandArgumentsTest.java
 
 
Close
loading
Please Confirm
Close