You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Richard Schilling - Consultant <w-...@ontela.com> on 2008/10/07 03:46:01 UTC
question about maven build goals....
When I run the maven javadoc target from the API2 directory, I get the following error back
$ cd trunk\api2
$ maven javadoc
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
... add nausium
The javadoc target seems to run, however and generate javadoc items.
But, what causes this error exactly, and how do I avoid it?
Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603) suggests that a directory name has to contain the text "jdo".
The build documentation doesn't specify build instructions completely - something I'll be updating, BTW when I get this question answered ...
Thanks in advance.
Richard Schilling
Re: question about maven build goals....
Posted by Michael Bouschen <mb...@spree.de>.
Hi Richard,
I'm surprised you see this error when running 'maven javadoc'. What I
recall is that this check for the directory name is done when running a
distribution (e.g. maven dist).
I could run maven javadoc in api2 w/o any problems. Even after renaming
the root directory jdo to a different name it still works. You might
want to run maven in debug mode 'maven -X javadoc' and see whether this
gives some useful information. Attention: the output is very verbose :-).
Regards Michael
> O.K. That makes more sense. However, I am executing maven from the directory structure you suggest, and still get that error. My specific directory is:
>
> jdo/trunk/api2
>
>
>
> Richard
> -----Original Message-----
> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
> Sent: Monday, October 06, 2008 8:00 PM
> To: jdo-dev@db.apache.org
> Subject: Re: question about maven build goals....
>
> The source tree is rooted at svn... jdo/trunk/tck2.
>
> The script goes up the tree looking for the thing above trunk (or if
> you're in a branch, the thing above branches). That directory has to
> be named xxxjdo.
>
> Craig
>
> On Oct 6, 2008, at 7:56 PM, Richard Schilling - Consultant wrote:
>
>
>> Or, I should say....
>>
>> The source tree of the project doesn't really have any directory
>> paths that end in "jdo" and also have maven build files in them....
>>
>> Richard
>>
>> -----Original Message-----
>> From: Richard Schilling - Consultant [mailto:w-richard@ontela.com]
>> Sent: Monday, October 06, 2008 7:30 PM
>> To: jdo-dev@db.apache.org
>> Subject: RE: question about maven build goals....
>>
>> Well that poses an interesting problem. Or, perhaps I'm just
>> confused at this point. Both are equally possible :-)
>>
>> The source tree of the project doesn't really have any directory
>> paths that end in "jdo". So, from where in the tree, exactly, do I
>> run maven?
>>
>> Even the instructions in README.html say to change to the tck
>> directory before running "maven build".
>>
>>
>>
>> Richard
>>
>> -----Original Message-----
>> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
>> Sent: Monday, October 06, 2008 7:15 PM
>> To: jdo-dev@db.apache.org
>> Subject: Re: question about maven build goals....
>>
>> Michelle added this test to the maven script recently.
>>
>> Bottom line: you have to run from a directory that ends in "jdo" or
>> stuff won't work.
>>
>> But it sounds like the test should first check for basedir.lastIndex
>> being negative 1 and not go ahead and try to create a substring...
>>
>> Craig
>>
>> On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
>>
>>
>>> When I run the maven javadoc target from the API2 directory, I get
>>> the following error back
>>>
>>> $ cd trunk\api2
>>> $ maven javadoc
>>>
>>> __ __
>>> | \/ |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>>> |_| |_\__,_|\_/\___|_||_| v. 1.1
>>>
>>> Caught exception evaluating: basedir.substring(0,
>>> basedir.lastIndexOf('jdo')). Reason:
>>> java.lang.StringIndexOutOfBoundsException: String index out of
>>> range: -1
>>> java.lang.StringIndexOutOfBoundsException: String index out of
>>> range: -1
>>> at java.lang.String.substring(String.java:1938)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.apache.commons.jexl.util.introspection.UberspectImpl
>>> $VelMethodImpl.invoke(UberspectImpl.java:231)
>>> at
>>> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
>>> at
>>> org
>>> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:
>>> 82)
>>>
>>>
>>> ... add nausium
>>>
>>> The javadoc target seems to run, however and generate javadoc items.
>>>
>>> But, what causes this error exactly, and how do I avoid it?
>>>
>>> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
>>> suggests that a directory name has to contain the text "jdo".
>>>
>>> The build documentation doesn't specify build instructions
>>> completely - something I'll be updating, BTW when I get this
>>> question answered ...
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>> Richard Schilling
>>>
>>>
>>>
>> Craig L Russell
>> Architect, Sun Java Enterprise System http://db.apache.org/jdo
>> 408 276-5638 mailto:Craig.Russell@sun.com
>> P.S. A good JDO? O, Gasp!
>>
>>
>>
>>
>>
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
>
--
*Michael Bouschen*
*Prokurist*
akquinet tech@spree GmbH
Tempelhofer Ufer 23-24, D-10963 Berlin
Bülowstr. 66, D-10783 Berlin
Fon: +49 30 235 520-33
Fax: +49 30 217 520-12
Email: michael.bouschen@akquinet.de
Url: www.akquinet.de <http://www.akquinet.de>
akquinet tech@spree GmbH, Berlin
Geschäftsführung: Prof. Dr. Christian Roth, Hendrik Saly, Martin Weber
Amtsgericht Berlin-Charlottenburg HRB 86780
USt.-Id. Nr.: DE 225 964 680
Re: question about maven build goals....
Posted by Michael Bouschen <mi...@akquinet.de>.
Hi Richard,
I'm surprised you see this error when running 'maven javadoc'. What I
recall is that this check for the directory name is done when running a
distribution (e.g. maven dist).
I could run maven javadoc in api2 w/o any problems. Even after renaming
the root directory jdo to a different name it still works. You might
want to run maven in debug mode 'maven -X javadoc' and see whether this
gives some useful information. Attention: the output is very verbose :-).
Regards Michael
> O.K. That makes more sense. However, I am executing maven from the directory structure you suggest, and still get that error. My specific directory is:
>
> jdo/trunk/api2
>
>
>
> Richard
> -----Original Message-----
> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
> Sent: Monday, October 06, 2008 8:00 PM
> To: jdo-dev@db.apache.org
> Subject: Re: question about maven build goals....
>
> The source tree is rooted at svn... jdo/trunk/tck2.
>
> The script goes up the tree looking for the thing above trunk (or if
> you're in a branch, the thing above branches). That directory has to
> be named xxxjdo.
>
> Craig
>
> On Oct 6, 2008, at 7:56 PM, Richard Schilling - Consultant wrote:
>
>
>> Or, I should say....
>>
>> The source tree of the project doesn't really have any directory
>> paths that end in "jdo" and also have maven build files in them....
>>
>> Richard
>>
>> -----Original Message-----
>> From: Richard Schilling - Consultant [mailto:w-richard@ontela.com]
>> Sent: Monday, October 06, 2008 7:30 PM
>> To: jdo-dev@db.apache.org
>> Subject: RE: question about maven build goals....
>>
>> Well that poses an interesting problem. Or, perhaps I'm just
>> confused at this point. Both are equally possible :-)
>>
>> The source tree of the project doesn't really have any directory
>> paths that end in "jdo". So, from where in the tree, exactly, do I
>> run maven?
>>
>> Even the instructions in README.html say to change to the tck
>> directory before running "maven build".
>>
>>
>>
>> Richard
>>
>> -----Original Message-----
>> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
>> Sent: Monday, October 06, 2008 7:15 PM
>> To: jdo-dev@db.apache.org
>> Subject: Re: question about maven build goals....
>>
>> Michelle added this test to the maven script recently.
>>
>> Bottom line: you have to run from a directory that ends in "jdo" or
>> stuff won't work.
>>
>> But it sounds like the test should first check for basedir.lastIndex
>> being negative 1 and not go ahead and try to create a substring...
>>
>> Craig
>>
>> On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
>>
>>
>>> When I run the maven javadoc target from the API2 directory, I get
>>> the following error back
>>>
>>> $ cd trunk\api2
>>> $ maven javadoc
>>>
>>> __ __
>>> | \/ |__ _Apache__ ___
>>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>>> |_| |_\__,_|\_/\___|_||_| v. 1.1
>>>
>>> Caught exception evaluating: basedir.substring(0,
>>> basedir.lastIndexOf('jdo')). Reason:
>>> java.lang.StringIndexOutOfBoundsException: String index out of
>>> range: -1
>>> java.lang.StringIndexOutOfBoundsException: String index out of
>>> range: -1
>>> at java.lang.String.substring(String.java:1938)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.apache.commons.jexl.util.introspection.UberspectImpl
>>> $VelMethodImpl.invoke(UberspectImpl.java:231)
>>> at
>>> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
>>> at
>>> org
>>> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:
>>> 82)
>>>
>>>
>>> ... add nausium
>>>
>>> The javadoc target seems to run, however and generate javadoc items.
>>>
>>> But, what causes this error exactly, and how do I avoid it?
>>>
>>> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
>>> suggests that a directory name has to contain the text "jdo".
>>>
>>> The build documentation doesn't specify build instructions
>>> completely - something I'll be updating, BTW when I get this
>>> question answered ...
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>> Richard Schilling
>>>
>>>
>>>
>> Craig L Russell
>> Architect, Sun Java Enterprise System http://db.apache.org/jdo
>> 408 276-5638 mailto:Craig.Russell@sun.com
>> P.S. A good JDO? O, Gasp!
>>
>>
>>
>>
>>
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
>
--
*Michael Bouschen*
*Prokurist*
akquinet tech@spree GmbH
Tempelhofer Ufer 23-24, D-10963 Berlin
Bülowstr. 66, D-10783 Berlin
Fon: +49 30 235 520-33
Fax: +49 30 217 520-12
Email: michael.bouschen@akquinet.de
Url: www.akquinet.de <http://www.akquinet.de>
akquinet tech@spree GmbH, Berlin
Geschäftsführung: Prof. Dr. Christian Roth, Hendrik Saly, Martin Weber
Amtsgericht Berlin-Charlottenburg HRB 86780
USt.-Id. Nr.: DE 225 964 680
RE: question about maven build goals....
Posted by Richard Schilling - Consultant <w-...@ontela.com>.
O.K. That makes more sense. However, I am executing maven from the directory structure you suggest, and still get that error. My specific directory is:
jdo/trunk/api2
Richard
-----Original Message-----
From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
Sent: Monday, October 06, 2008 8:00 PM
To: jdo-dev@db.apache.org
Subject: Re: question about maven build goals....
The source tree is rooted at svn... jdo/trunk/tck2.
The script goes up the tree looking for the thing above trunk (or if
you're in a branch, the thing above branches). That directory has to
be named xxxjdo.
Craig
On Oct 6, 2008, at 7:56 PM, Richard Schilling - Consultant wrote:
> Or, I should say....
>
> The source tree of the project doesn't really have any directory
> paths that end in "jdo" and also have maven build files in them....
>
> Richard
>
> -----Original Message-----
> From: Richard Schilling - Consultant [mailto:w-richard@ontela.com]
> Sent: Monday, October 06, 2008 7:30 PM
> To: jdo-dev@db.apache.org
> Subject: RE: question about maven build goals....
>
> Well that poses an interesting problem. Or, perhaps I'm just
> confused at this point. Both are equally possible :-)
>
> The source tree of the project doesn't really have any directory
> paths that end in "jdo". So, from where in the tree, exactly, do I
> run maven?
>
> Even the instructions in README.html say to change to the tck
> directory before running "maven build".
>
>
>
> Richard
>
> -----Original Message-----
> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
> Sent: Monday, October 06, 2008 7:15 PM
> To: jdo-dev@db.apache.org
> Subject: Re: question about maven build goals....
>
> Michelle added this test to the maven script recently.
>
> Bottom line: you have to run from a directory that ends in "jdo" or
> stuff won't work.
>
> But it sounds like the test should first check for basedir.lastIndex
> being negative 1 and not go ahead and try to create a substring...
>
> Craig
>
> On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
>
>> When I run the maven javadoc target from the API2 directory, I get
>> the following error back
>>
>> $ cd trunk\api2
>> $ maven javadoc
>>
>> __ __
>> | \/ |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>> |_| |_\__,_|\_/\___|_||_| v. 1.1
>>
>> Caught exception evaluating: basedir.substring(0,
>> basedir.lastIndexOf('jdo')). Reason:
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> at java.lang.String.substring(String.java:1938)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun
>> .reflect
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun
>> .reflect
>> .DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.commons.jexl.util.introspection.UberspectImpl
>> $VelMethodImpl.invoke(UberspectImpl.java:231)
>> at
>> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
>> at
>> org
>> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:
>> 82)
>>
>>
>> ... add nausium
>>
>> The javadoc target seems to run, however and generate javadoc items.
>>
>> But, what causes this error exactly, and how do I avoid it?
>>
>> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
>> suggests that a directory name has to contain the text "jdo".
>>
>> The build documentation doesn't specify build instructions
>> completely - something I'll be updating, BTW when I get this
>> question answered ...
>>
>> Thanks in advance.
>>
>>
>>
>> Richard Schilling
>>
>>
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
Re: question about maven build goals....
Posted by Craig L Russell <Cr...@Sun.COM>.
The source tree is rooted at svn... jdo/trunk/tck2.
The script goes up the tree looking for the thing above trunk (or if
you're in a branch, the thing above branches). That directory has to
be named xxxjdo.
Craig
On Oct 6, 2008, at 7:56 PM, Richard Schilling - Consultant wrote:
> Or, I should say....
>
> The source tree of the project doesn't really have any directory
> paths that end in "jdo" and also have maven build files in them....
>
> Richard
>
> -----Original Message-----
> From: Richard Schilling - Consultant [mailto:w-richard@ontela.com]
> Sent: Monday, October 06, 2008 7:30 PM
> To: jdo-dev@db.apache.org
> Subject: RE: question about maven build goals....
>
> Well that poses an interesting problem. Or, perhaps I'm just
> confused at this point. Both are equally possible :-)
>
> The source tree of the project doesn't really have any directory
> paths that end in "jdo". So, from where in the tree, exactly, do I
> run maven?
>
> Even the instructions in README.html say to change to the tck
> directory before running "maven build".
>
>
>
> Richard
>
> -----Original Message-----
> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
> Sent: Monday, October 06, 2008 7:15 PM
> To: jdo-dev@db.apache.org
> Subject: Re: question about maven build goals....
>
> Michelle added this test to the maven script recently.
>
> Bottom line: you have to run from a directory that ends in "jdo" or
> stuff won't work.
>
> But it sounds like the test should first check for basedir.lastIndex
> being negative 1 and not go ahead and try to create a substring...
>
> Craig
>
> On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
>
>> When I run the maven javadoc target from the API2 directory, I get
>> the following error back
>>
>> $ cd trunk\api2
>> $ maven javadoc
>>
>> __ __
>> | \/ |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>> |_| |_\__,_|\_/\___|_||_| v. 1.1
>>
>> Caught exception evaluating: basedir.substring(0,
>> basedir.lastIndexOf('jdo')). Reason:
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> at java.lang.String.substring(String.java:1938)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun
>> .reflect
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun
>> .reflect
>> .DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.commons.jexl.util.introspection.UberspectImpl
>> $VelMethodImpl.invoke(UberspectImpl.java:231)
>> at
>> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
>> at
>> org
>> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:
>> 82)
>>
>>
>> ... add nausium
>>
>> The javadoc target seems to run, however and generate javadoc items.
>>
>> But, what causes this error exactly, and how do I avoid it?
>>
>> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
>> suggests that a directory name has to contain the text "jdo".
>>
>> The build documentation doesn't specify build instructions
>> completely - something I'll be updating, BTW when I get this
>> question answered ...
>>
>> Thanks in advance.
>>
>>
>>
>> Richard Schilling
>>
>>
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
RE: question about maven build goals....
Posted by Richard Schilling - Consultant <w-...@ontela.com>.
Or, I should say....
The source tree of the project doesn't really have any directory paths that end in "jdo" and also have maven build files in them....
Richard
-----Original Message-----
From: Richard Schilling - Consultant [mailto:w-richard@ontela.com]
Sent: Monday, October 06, 2008 7:30 PM
To: jdo-dev@db.apache.org
Subject: RE: question about maven build goals....
Well that poses an interesting problem. Or, perhaps I'm just confused at this point. Both are equally possible :-)
The source tree of the project doesn't really have any directory paths that end in "jdo". So, from where in the tree, exactly, do I run maven?
Even the instructions in README.html say to change to the tck directory before running "maven build".
Richard
-----Original Message-----
From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
Sent: Monday, October 06, 2008 7:15 PM
To: jdo-dev@db.apache.org
Subject: Re: question about maven build goals....
Michelle added this test to the maven script recently.
Bottom line: you have to run from a directory that ends in "jdo" or
stuff won't work.
But it sounds like the test should first check for basedir.lastIndex
being negative 1 and not go ahead and try to create a substring...
Craig
On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
> When I run the maven javadoc target from the API2 directory, I get
> the following error back
>
> $ cd trunk\api2
> $ maven javadoc
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1
>
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
>
>
> ... add nausium
>
> The javadoc target seems to run, however and generate javadoc items.
>
> But, what causes this error exactly, and how do I avoid it?
>
> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
> suggests that a directory name has to contain the text "jdo".
>
> The build documentation doesn't specify build instructions
> completely - something I'll be updating, BTW when I get this
> question answered ...
>
> Thanks in advance.
>
>
>
> Richard Schilling
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
RE: question about maven build goals....
Posted by Richard Schilling - Consultant <w-...@ontela.com>.
Well that poses an interesting problem. Or, perhaps I'm just confused at this point. Both are equally possible :-)
The source tree of the project doesn't really have any directory paths that end in "jdo". So, from where in the tree, exactly, do I run maven?
Even the instructions in README.html say to change to the tck directory before running "maven build".
Richard
-----Original Message-----
From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
Sent: Monday, October 06, 2008 7:15 PM
To: jdo-dev@db.apache.org
Subject: Re: question about maven build goals....
Michelle added this test to the maven script recently.
Bottom line: you have to run from a directory that ends in "jdo" or
stuff won't work.
But it sounds like the test should first check for basedir.lastIndex
being negative 1 and not go ahead and try to create a substring...
Craig
On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
> When I run the maven javadoc target from the API2 directory, I get
> the following error back
>
> $ cd trunk\api2
> $ maven javadoc
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1
>
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
>
>
> ... add nausium
>
> The javadoc target seems to run, however and generate javadoc items.
>
> But, what causes this error exactly, and how do I avoid it?
>
> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
> suggests that a directory name has to contain the text "jdo".
>
> The build documentation doesn't specify build instructions
> completely - something I'll be updating, BTW when I get this
> question answered ...
>
> Thanks in advance.
>
>
>
> Richard Schilling
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
Re: question about maven build goals....
Posted by Craig L Russell <Cr...@Sun.COM>.
Michelle added this test to the maven script recently.
Bottom line: you have to run from a directory that ends in "jdo" or
stuff won't work.
But it sounds like the test should first check for basedir.lastIndex
being negative 1 and not go ahead and try to create a substring...
Craig
On Oct 6, 2008, at 6:46 PM, Richard Schilling - Consultant wrote:
> When I run the maven javadoc target from the API2 directory, I get
> the following error back
>
> $ cd trunk\api2
> $ maven javadoc
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1
>
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
>
>
> ... add nausium
>
> The javadoc target seems to run, however and generate javadoc items.
>
> But, what causes this error exactly, and how do I avoid it?
>
> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
> suggests that a directory name has to contain the text "jdo".
>
> The build documentation doesn't specify build instructions
> completely - something I'll be updating, BTW when I get this
> question answered ...
>
> Thanks in advance.
>
>
>
> Richard Schilling
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
RE: question about maven build goals....
Posted by Richard Schilling - Consultant <w-...@ontela.com>.
Sure,
S:\>cd jdo
S:\JDO>cd trunk
S:\JDO\TRUNK>svn status
? target
? output.txt
? util20\target
? api2\catalog.xml
? api2\private
? api2\output.txt
M api2\test\java\javax\jdo\JDOConfigTestClassLoader.java
M api2\test\java\javax\jdo\JDOHelperConfigTest.java
M api2\project.properties
S:\JDO\TRUNK>
I modified project.properties to set some javadoc properties.
Richard
-----Original Message-----
From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
Sent: Tuesday, October 07, 2008 1:34 PM
To: jdo-dev@db.apache.org
Subject: Re: question about maven build goals....
Hi Richard,
Can you do cd jdo/trunk; svn status to see if there's anything changed
that might be affecting this?
I cannot duplicate the exception either.
Craig
On Oct 7, 2008, at 12:25 PM, Richard Schilling - Consultant wrote:
> I know it's odd, and I don't have any specific steps unfortunately
> that might allow you to reproduce the error. But, here is what I am
> doing (and the output):
>
>
>
>
> c:\>s:
> s:\>cd jdo\trunk\api2
> s:\jdo\trunk\api2>maven javadoc
>
>
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1
>
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> build:start:
>
> xdoc:init-i18n:
> [echo] Init the i18n support
>
> xdoc:init:
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> [echo] Generates the directory structure required for xdocs
>
> maven-javadoc-plugin:report:
> [mkdir] Created dir: S:\JDO\TRUNK\API2\target\javadoc\src
> [javadoc] Generating Javadoc
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1562)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1562)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1574)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1574)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> [javadoc] Javadoc execution
> [javadoc] java version "1.6.0_03"
> [javadoc] Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> [javadoc] Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed
> mode)
> [javadoc] Loading source files for package javax.jdo...
> [javadoc] Loading source files for package javax.jdo.annotations...
> [javadoc] Loading source files for package javax.jdo.datastore...
> [javadoc] Loading source files for package javax.jdo.identity...
> [javadoc] Loading source files for package javax.jdo.listener...
> [javadoc] Loading source files for package javax.jdo.spi...
> [javadoc] Constructing Javadoc information...
> [javadoc] Standard Doclet version 1.6.0_03
> [javadoc] Building tree for all the packages and classes...
> [javadoc] Generating S:\JDO\TRUNK\API2\target\docs\apidocs
> \serialized-form.html...
> [javadoc] Copying file C:\Documents and Settings\w-richard\.maven
> \cache\maven-javadoc-plugin-1.9\plugin-resources\stylesheet.css to
> file S:\JDO\TRUNK\API2\target\docs\apidocs\stylesheet.css...
> [javadoc] Building index for all the packages and classes...
> [javadoc] Building index for all classes...
> [javadoc]
> [delete] Deleting directory S:\JDO\TRUNK\API2\target\javadoc\src
> -------------------------------------------------------------------------------
> BUILD SUCCESSFUL
> -------------------------------------------------------------------------------
> Total time : 4 seconds
> Finished at : Tuesday, October 7, 2008 12:23:14 PM PDT
> Final Memory : 5M/254M
> -------------------------------------------------------------------------------
>
> Richard
> -----Original Message-----
> From: Michelle.Caisse@Sun.COM [mailto:Michelle.Caisse@Sun.COM]
> Sent: Tuesday, October 07, 2008 9:21 AM
> To: jdo-dev@db.apache.org
> Subject: Re: question about maven build goals....
>
> Hi Richard,
>
> I also don't see this error message when running maven javadoc from
> trunk/api2. The variables that use the assignment that is producing
> this error only occur in the top-level maven.xml in trunk, not the one
> in api2. So it's hard to see how you would get this from api2.
>
> -- Michelle
>
> Richard Schilling - Consultant wrote:
>
>> When I run the maven javadoc target from the API2 directory, I get
>> the following error back
>>
>> $ cd trunk\api2
>> $ maven javadoc
>>
>> __ __
>> | \/ |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>> |_| |_\__,_|\_/\___|_||_| v. 1.1
>>
>> Caught exception evaluating: basedir.substring(0,
>> basedir.lastIndexOf('jdo')). Reason:
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> at java.lang.String.substring(String.java:1938)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun
>> .reflect
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun
>> .reflect
>> .DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.commons.jexl.util.introspection.UberspectImpl
>> $VelMethodImpl.invoke(UberspectImpl.java:231)
>> at
>> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
>> at
>> org
>> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:
>> 82)
>>
>>
>> ... add nausium
>>
>> The javadoc target seems to run, however and generate javadoc items.
>>
>> But, what causes this error exactly, and how do I avoid it?
>>
>> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
>> suggests that a directory name has to contain the text "jdo".
>>
>> The build documentation doesn't specify build instructions
>> completely - something I'll be updating, BTW when I get this
>> question answered ...
>>
>> Thanks in advance.
>>
>>
>>
>> Richard Schilling
>>
>>
>>
>>
>>
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
Re: question about maven build goals....
Posted by Craig L Russell <Cr...@Sun.COM>.
Hi Richard,
Can you do cd jdo/trunk; svn status to see if there's anything changed
that might be affecting this?
I cannot duplicate the exception either.
Craig
On Oct 7, 2008, at 12:25 PM, Richard Schilling - Consultant wrote:
> I know it's odd, and I don't have any specific steps unfortunately
> that might allow you to reproduce the error. But, here is what I am
> doing (and the output):
>
>
>
>
> c:\>s:
> s:\>cd jdo\trunk\api2
> s:\jdo\trunk\api2>maven javadoc
>
>
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1
>
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> build:start:
>
> xdoc:init-i18n:
> [echo] Init the i18n support
>
> xdoc:init:
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 172)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> [echo] Generates the directory structure required for xdocs
>
> maven-javadoc-plugin:report:
> [mkdir] Created dir: S:\JDO\TRUNK\API2\target\javadoc\src
> [javadoc] Generating Javadoc
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1562)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1562)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org.apache.commons.jelly.expression.jexl.JexlExpressionFactory
> $ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1574)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caught exception evaluating: basedir.substring(0,
> basedir.lastIndexOf('jdo')). Reason:
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl
> $VelMethodImpl.invoke(UberspectImpl.java:231)
> at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at
> org
> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
> at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:
> 56)
> at
> org
> .apache
> .commons
> .jexl
> .parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
> at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:
> 79)
> at
> org
> .apache
> .commons
> .jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at
> org
> .apache
> .commons
> .jelly
> .expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:
> 61)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
> at
> org
> .apache
> .commons
> .jelly
> .expression
> .CompositeExpression.evaluateAsString(CompositeExpression.java:256)
> at
> org
> .apache
> .commons
> .jelly
> .expression.CompositeExpression.evaluate(CompositeExpression.java:248)
> at
> org
> .apache
> .maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:
> 63)
> at
> org
> .apache
> .commons
> .jelly
> .tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
> at
> org
> .apache
> .commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:
> 170)
> at
> org
> .apache
> .commons
> .jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
> at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:
> 2134)
> at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:
> 1574)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:
> 195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:
> 42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:
> 250)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at
> org
> .apache
> .maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag
> $MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
> at org.apache.maven.werkz.Goal.attain(Goal.java:621)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 712)
> at
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> [javadoc] Javadoc execution
> [javadoc] java version "1.6.0_03"
> [javadoc] Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> [javadoc] Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed
> mode)
> [javadoc] Loading source files for package javax.jdo...
> [javadoc] Loading source files for package javax.jdo.annotations...
> [javadoc] Loading source files for package javax.jdo.datastore...
> [javadoc] Loading source files for package javax.jdo.identity...
> [javadoc] Loading source files for package javax.jdo.listener...
> [javadoc] Loading source files for package javax.jdo.spi...
> [javadoc] Constructing Javadoc information...
> [javadoc] Standard Doclet version 1.6.0_03
> [javadoc] Building tree for all the packages and classes...
> [javadoc] Generating S:\JDO\TRUNK\API2\target\docs\apidocs
> \serialized-form.html...
> [javadoc] Copying file C:\Documents and Settings\w-richard\.maven
> \cache\maven-javadoc-plugin-1.9\plugin-resources\stylesheet.css to
> file S:\JDO\TRUNK\API2\target\docs\apidocs\stylesheet.css...
> [javadoc] Building index for all the packages and classes...
> [javadoc] Building index for all classes...
> [javadoc]
> [delete] Deleting directory S:\JDO\TRUNK\API2\target\javadoc\src
> -------------------------------------------------------------------------------
> BUILD SUCCESSFUL
> -------------------------------------------------------------------------------
> Total time : 4 seconds
> Finished at : Tuesday, October 7, 2008 12:23:14 PM PDT
> Final Memory : 5M/254M
> -------------------------------------------------------------------------------
>
> Richard
> -----Original Message-----
> From: Michelle.Caisse@Sun.COM [mailto:Michelle.Caisse@Sun.COM]
> Sent: Tuesday, October 07, 2008 9:21 AM
> To: jdo-dev@db.apache.org
> Subject: Re: question about maven build goals....
>
> Hi Richard,
>
> I also don't see this error message when running maven javadoc from
> trunk/api2. The variables that use the assignment that is producing
> this error only occur in the top-level maven.xml in trunk, not the one
> in api2. So it's hard to see how you would get this from api2.
>
> -- Michelle
>
> Richard Schilling - Consultant wrote:
>
>> When I run the maven javadoc target from the API2 directory, I get
>> the following error back
>>
>> $ cd trunk\api2
>> $ maven javadoc
>>
>> __ __
>> | \/ |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>> |_| |_\__,_|\_/\___|_||_| v. 1.1
>>
>> Caught exception evaluating: basedir.substring(0,
>> basedir.lastIndexOf('jdo')). Reason:
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> java.lang.StringIndexOutOfBoundsException: String index out of
>> range: -1
>> at java.lang.String.substring(String.java:1938)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun
>> .reflect
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun
>> .reflect
>> .DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.commons.jexl.util.introspection.UberspectImpl
>> $VelMethodImpl.invoke(UberspectImpl.java:231)
>> at
>> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
>> at
>> org
>> .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:
>> 82)
>>
>>
>> ... add nausium
>>
>> The javadoc target seems to run, however and generate javadoc items.
>>
>> But, what causes this error exactly, and how do I avoid it?
>>
>> Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603)
>> suggests that a directory name has to contain the text "jdo".
>>
>> The build documentation doesn't specify build instructions
>> completely - something I'll be updating, BTW when I get this
>> question answered ...
>>
>> Thanks in advance.
>>
>>
>>
>> Richard Schilling
>>
>>
>>
>>
>>
>
>
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
RE: question about maven build goals....
Posted by Richard Schilling - Consultant <w-...@ontela.com>.
I know it's odd, and I don't have any specific steps unfortunately that might allow you to reproduce the error. But, here is what I am doing (and the output):
c:\>s:
s:\>cd jdo\trunk\api2
s:\jdo\trunk\api2>maven javadoc
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:172)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:172)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
build:start:
xdoc:init-i18n:
[echo] Init the i18n support
xdoc:init:
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:172)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:172)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
[echo] Generates the directory structure required for xdocs
maven-javadoc-plugin:report:
[mkdir] Created dir: S:\JDO\TRUNK\API2\target\javadoc\src
[javadoc] Generating Javadoc
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:2134)
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1562)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:2134)
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1562)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.expression.jexl.JellyMap.get(JexlExpression.java:112)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:88)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:122)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:2134)
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1574)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:56)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:50)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:79)
at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
at org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(CompositeExpression.java:256)
at org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeExpression.java:248)
at org.apache.maven.jelly.MavenJellyContext.getVariable(MavenJellyContext.java:202)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperty(JellyPropsHandler.java:63)
at org.apache.commons.jelly.tags.ant.JellyPropsHandler.getProperties(JellyPropsHandler.java:87)
at org.apache.commons.jelly.tags.ant.GrantProject.getProperties(GrantProject.java:170)
at org.apache.commons.jelly.tags.ant.GrantProject.replaceProperties(GrantProject.java:102)
at org.apache.tools.ant.taskdefs.Javadoc.expand(Javadoc.java:2134)
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1574)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
at org.apache.maven.werkz.Goal.fire(Goal.java:691)
at org.apache.maven.werkz.Goal.attain(Goal.java:623)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
at org.apache.maven.werkz.Goal.attain(Goal.java:621)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:307)
at org.apache.maven.cli.App.main(App.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
[javadoc] Javadoc execution
[javadoc] java version "1.6.0_03"
[javadoc] Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
[javadoc] Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
[javadoc] Loading source files for package javax.jdo...
[javadoc] Loading source files for package javax.jdo.annotations...
[javadoc] Loading source files for package javax.jdo.datastore...
[javadoc] Loading source files for package javax.jdo.identity...
[javadoc] Loading source files for package javax.jdo.listener...
[javadoc] Loading source files for package javax.jdo.spi...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.6.0_03
[javadoc] Building tree for all the packages and classes...
[javadoc] Generating S:\JDO\TRUNK\API2\target\docs\apidocs\serialized-form.html...
[javadoc] Copying file C:\Documents and Settings\w-richard\.maven\cache\maven-javadoc-plugin-1.9\plugin-resources\stylesheet.css to file S:\JDO\TRUNK\API2\target\docs\apidocs\stylesheet.css...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc]
[delete] Deleting directory S:\JDO\TRUNK\API2\target\javadoc\src
-------------------------------------------------------------------------------
BUILD SUCCESSFUL
-------------------------------------------------------------------------------
Total time : 4 seconds
Finished at : Tuesday, October 7, 2008 12:23:14 PM PDT
Final Memory : 5M/254M
-------------------------------------------------------------------------------
Richard
-----Original Message-----
From: Michelle.Caisse@Sun.COM [mailto:Michelle.Caisse@Sun.COM]
Sent: Tuesday, October 07, 2008 9:21 AM
To: jdo-dev@db.apache.org
Subject: Re: question about maven build goals....
Hi Richard,
I also don't see this error message when running maven javadoc from
trunk/api2. The variables that use the assignment that is producing
this error only occur in the top-level maven.xml in trunk, not the one
in api2. So it's hard to see how you would get this from api2.
-- Michelle
Richard Schilling - Consultant wrote:
>When I run the maven javadoc target from the API2 directory, I get the following error back
>
>$ cd trunk\api2
>$ maven javadoc
>
>__ __
>| \/ |__ _Apache__ ___
>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>|_| |_\__,_|\_/\___|_||_| v. 1.1
>
>Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
>
>
>... add nausium
>
>The javadoc target seems to run, however and generate javadoc items.
>
>But, what causes this error exactly, and how do I avoid it?
>
>Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603) suggests that a directory name has to contain the text "jdo".
>
>The build documentation doesn't specify build instructions completely - something I'll be updating, BTW when I get this question answered ...
>
>Thanks in advance.
>
>
>
>Richard Schilling
>
>
>
>
>
Re: question about maven build goals....
Posted by Michelle Caisse <Mi...@Sun.COM>.
Hi Richard,
I also don't see this error message when running maven javadoc from
trunk/api2. The variables that use the assignment that is producing
this error only occur in the top-level maven.xml in trunk, not the one
in api2. So it's hard to see how you would get this from api2.
-- Michelle
Richard Schilling - Consultant wrote:
>When I run the maven javadoc target from the API2 directory, I get the following error back
>
>$ cd trunk\api2
>$ maven javadoc
>
>__ __
>| \/ |__ _Apache__ ___
>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>|_| |_\__,_|\_/\___|_||_| v. 1.1
>
>Caught exception evaluating: basedir.substring(0, basedir.lastIndexOf('jdo')). Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1938)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:231)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:82)
>
>
>... add nausium
>
>The javadoc target seems to run, however and generate javadoc items.
>
>But, what causes this error exactly, and how do I avoid it?
>
>Jira bug JDO 603 (https://issues.apache.org/jira/browse/JDO-603) suggests that a directory name has to contain the text "jdo".
>
>The build documentation doesn't specify build instructions completely - something I'll be updating, BTW when I get this question answered ...
>
>Thanks in advance.
>
>
>
>Richard Schilling
>
>
>
>
>