You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Allahbaksh Asadullah <al...@gmail.com> on 2009/09/10 02:12:24 UTC

Solr SVN build problem

Hi ,
I am building Solr from source. During building it from source I am getting
following error.

generate-maven-artifacts:
    [mkdir] Created dir: c:\Downloads\solr_trunk\build\maven
    [mkdir] Created dir: c:\Downloads\solr_trunk\dist\maven
     [copy] Copying 1 file to
c:\Downloads\solr_trunk\build\maven\c:\Downloads\s
olr_trunk\src\maven

BUILD FAILED
c:\Downloads\solr_trunk\build.xml:741: The following error occurred while
execut
ing this line:
c:\Downloads\solr_trunk\common-build.xml:261: Failed to copy
c:\Downloads\solr_t
runk\src\maven\solr-parent-pom.xml.template to
c:\Downloads\solr_trunk\build\mav
en\c:\Downloads\solr_trunk\src\maven\solr-parent-pom.xml.template due to
java.io
.FileNotFoundException
c:\Downloads\solr_trunk\build\maven\c:\Downloads\solr_tru
nk\src\maven\solr-parent-pom.xml.template (The filename, directory name, or
volu
me label syntax is incorrect)

Regards,
Allahbaksh

Re: Solr SVN build problem

Posted by Chris Hostetter <ho...@fucit.org>.
: I am building Solr from source. During building it from source I am getting
: following error.

1) what ant targets are you running? ... there's no reason (i can think 
of) for someone building from SVN to need to generate the maven artifacts ... try 
"ant dist"

2) I opened a bug for this: SOLR-1424 ... if you want to try making the 
change i suggest there you might see some improvements (but i can't test 
it)


: 
: generate-maven-artifacts:
:     [mkdir] Created dir: c:\Downloads\solr_trunk\build\maven
:     [mkdir] Created dir: c:\Downloads\solr_trunk\dist\maven
:      [copy] Copying 1 file to
: c:\Downloads\solr_trunk\build\maven\c:\Downloads\s
: olr_trunk\src\maven
: 
: BUILD FAILED
: c:\Downloads\solr_trunk\build.xml:741: The following error occurred while
: execut
: ing this line:
: c:\Downloads\solr_trunk\common-build.xml:261: Failed to copy
: c:\Downloads\solr_t
: runk\src\maven\solr-parent-pom.xml.template to
: c:\Downloads\solr_trunk\build\mav
: en\c:\Downloads\solr_trunk\src\maven\solr-parent-pom.xml.template due to
: java.io
: .FileNotFoundException
: c:\Downloads\solr_trunk\build\maven\c:\Downloads\solr_tru
: nk\src\maven\solr-parent-pom.xml.template (The filename, directory name, or
: volu
: me label syntax is incorrect)
: 
: Regards,
: Allahbaksh
: 



-Hoss


Re: Solr SVN build problem

Posted by Ryan McKinley <ry...@gmail.com>.
Should be fixed in trunk.  Try updating and see if it works for you

See:
https://issues.apache.org/jira/browse/SOLR-1424



On Sep 9, 2009, at 8:12 PM, Allahbaksh Asadullah wrote:

> Hi ,
> I am building Solr from source. During building it from source I am  
> getting
> following error.
>
> generate-maven-artifacts:
>    [mkdir] Created dir: c:\Downloads\solr_trunk\build\maven
>    [mkdir] Created dir: c:\Downloads\solr_trunk\dist\maven
>     [copy] Copying 1 file to
> c:\Downloads\solr_trunk\build\maven\c:\Downloads\s
> olr_trunk\src\maven
>
> BUILD FAILED
> c:\Downloads\solr_trunk\build.xml:741: The following error occurred  
> while
> execut
> ing this line:
> c:\Downloads\solr_trunk\common-build.xml:261: Failed to copy
> c:\Downloads\solr_t
> runk\src\maven\solr-parent-pom.xml.template to
> c:\Downloads\solr_trunk\build\mav
> en\c:\Downloads\solr_trunk\src\maven\solr-parent-pom.xml.template  
> due to
> java.io
> .FileNotFoundException
> c:\Downloads\solr_trunk\build\maven\c:\Downloads\solr_tru
> nk\src\maven\solr-parent-pom.xml.template (The filename, directory  
> name, or
> volu
> me label syntax is incorrect)
>
> Regards,
> Allahbaksh