I think that you use Java 5.

The String.isEmpty() method has been introduced in Java 1.6.

Even if we decided that Karaf 2.2.x still support Java 5, the problem that you got is only on the manual, not on the Karaf classes itself.

So, for me, this issue is not a release blocker.

I still maintain my +1.

Regards
JB


On 02/26/2011 08:48 PM, karafman wrote:
-1

Build failure on WindowsNT.
Prince is on the Path, the value is "C:\Program Files\Prince\Engines\bin"
Version of Java is 1.6.0_22
Version of Maven is 3.0.2

Received the following error:
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:42.079s
[INFO] Finished at: Sat Feb 26 14:46:21 EST 2011
[INFO] Final Memory: 38M/213M
[INFO]
------------------------------------------------------------------------
[ERROR] java.lang.String.isEmpty()Z. When processing file:
C:\workspace\karaf-2.2.0\manual\target\webapp\commands\admin-change-opts.conf

Contents of admin-change-opts.conf are:
h1. admin:change-opts

h2. Description
Changes the java options of an existing container instance.

h2. Syntax
admin:change-opts \[options\] name javaOpts

h2. Arguments
|| Name || Description ||
| name | The name of the container instance |
| javaOpts | The new java options to set |

h2. Options
|| Name || Description ||
| --help | Display this help message |



Its certainly possible my configuration is somehow messed-up, which is why I
posted it.

-----
Karafman
Slayer of the JEE
Pounder of the Perl Programmer

Reply via email to