Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 24431 invoked from network); 7 Oct 2008 16:22:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 16:22:20 -0000 Received: (qmail 66216 invoked by uid 500); 7 Oct 2008 16:22:19 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 66205 invoked by uid 99); 7 Oct 2008 16:22:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 09:22:19 -0700 X-ASF-Spam-Status: No, hits=-3.9 required=10.0 tests=DNS_FROM_SECURITYSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.43.133] (HELO sca-es-mail-2.sun.com) (192.18.43.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 16:21:14 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m97GLenN004822 for ; Tue, 7 Oct 2008 09:21:40 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K8D00901K5KOG00@fe-sfbay-10.sun.com> (original mail from Michelle.Caisse@Sun.COM) for jdo-dev@db.apache.org; Tue, 07 Oct 2008 09:21:40 -0700 (PDT) Received: from [192.168.1.102] ([64.142.9.219]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K8D00MT7MRXF680@fe-sfbay-10.sun.com> for jdo-dev@db.apache.org; Tue, 07 Oct 2008 09:21:39 -0700 (PDT) Date: Tue, 07 Oct 2008 09:21:27 -0700 From: Michelle Caisse Subject: Re: question about maven build goals.... In-reply-to: Sender: Michelle.Caisse@Sun.COM To: jdo-dev@db.apache.org Message-id: <48EB8C87.4030608@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Virus-Checked: Checked by ClamAV on apache.org 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 > > > > >