You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2010/07/21 13:17:50 UTC

Re: [jira] Commented: (MATH-389) New superclass for "AbstractScalarDifferentiableOptimizer"

Changed to dev@

On 21 July 2010 08:50, Gilles Sadowski <gi...@harfang.homelinux.org> wrote:
>> >>> I ran "mvn site" but could not find the report. What is the file name?
>> >>
>> >> clirr-report.html
>> >>
>> >> It should be in top directory. It is generated by clirr-maven-plugin.
>> >> You can also try "mvn clirr:check" or "mvn clirr:clirr", see
>> >> <http://mojo.codehaus.org/clirr-maven-plugin/usage.html>
>> >
>> > Excerpt from the build output:
>> >
>> > [INFO] Unable to find a previous version of the project in the repository
>>
>> Perhaps you should make an "mvn install" of the previous version (i.e.
>> 2.1) in your local repository.
>
> Does that mean that I must check out the 2.1 tag?
> If so, I did the following
>
>  $ svn co http://svn.apache.org/viewvc/commons/proper/math/tags/MATH_2_1/
>
> And got this error:
>
>  svn: Repository moved permanently to '/viewvc/commons/proper/math/tags/MATH_2_1/'; please relocate

Not surprising - that is the web interface.

You need

$ svn co http://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_1/


>
> Gilles
>
> P.S. I found the following possible explanation on the Subversion FAQ page:
> ---CUT---
> I can see my repository in a web browser, but 'svn checkout' gives me an
> error about "301 Moved Permanently". What's wrong?
>
> It means your httpd.conf is misconfigured. Usually this error happens when
> you've defined the Subversion virtual "location" to exist within two
> different scopes at the same time.
>
> For example, if you've exported a repository as <Location /www/foo>, but
> you've also set your DocumentRoot to be /www, then you're in trouble. When
> the request comes in for /www/foo/bar, apache doesn't know whether to find a
> real file named /foo/bar within your DocumentRoot, or whether to ask
> mod_dav_svn to fetch a file /bar from the /www/foo repository. Usually the
> former case wins, and hence the "Moved Permanently" error.
>
> The solution is to make sure your repository <Location> does not overlap or
> live within any areas already exported as normal web shares.
>
> It's also possible that you have an object in the web root which has the
> same name as your repository URL. For example, imagine your web server's
> document root is /var/www and your Subversion repository is located at
> /home/svn/repo. You then configure Apache to serve the repository at
> http://localhost/myrepo. If you then create the directory /var/www/myrepo/
> this will cause a 301 error to occur.
> ---CUT---
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [jira] Commented: (MATH-389) New superclass for "AbstractScalarDifferentiableOptimizer"

Posted by Gilles Sadowski <gi...@harfang.homelinux.org>.
> >  $ svn co http://svn.apache.org/viewvc/commons/proper/math/tags/MATH_2_1/
> >
> > And got this error:
> >
> >  svn: Repository moved permanently to '/viewvc/commons/proper/math/tags/MATH_2_1/'; please relocate
> 
> Not surprising - that is the web interface.
> 
> You need
> 
> $ svn co http://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_1/

Thanks for the correction.

Maybe a suggestion for improvement: Provide a link pointing to the URL of
the repository from the project's page. From the link there (named "Source
Repository") you only get to the "viewvc" page. [In a browser, you also get
a "web" interface from the correct link to use in the "svn co" command. To
me it is surprising; and the cryptic message from svn isn't clear about what
the problem is and what could be the solution... Well, even their
(subversion) FAQ web page doesn't indicate the right formulation of the
error message!]


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org