You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/09/11 21:15:57 UTC

[jira] Commented: (SOLR-1424) ant generate-maven-artifacts fails on windows

    [ https://issues.apache.org/jira/browse/SOLR-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754287#action_12754287 ] 

Hoss Man commented on SOLR-1424:
--------------------------------

I believe the error is just because maven directory properties are defined like this...

{code}
  <!-- Maven properties -->
  <property name="maven.build.dir" value="${basedir}/build/maven"/>
  <property name="maven.dist.dir" value="${basedir}/dist/maven"/>

  <property name="maven.dist.prefix" value="${maven.dist.dir}/org/apache/solr"/>
{code}

...but i'm pretty sure they're suppose to be defined like this...

{code}
  <!-- Maven properties -->
  <property name="maven.build.dir" location="${basedir}/build/maven"/>
  <property name="maven.dist.dir" location="${basedir}/dist/maven"/>

  <property name="maven.dist.prefix" location="${maven.dist.dir}/org/apache/solr"/>
{code}

...so that ANt recognizes that they're paths.

but i don't have a windows box, so i can't test that that fixes the problem


> ant generate-maven-artifacts fails on windows
> ---------------------------------------------
>
>                 Key: SOLR-1424
>                 URL: https://issues.apache.org/jira/browse/SOLR-1424
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>
> From solr-user...
> {noformat}
> 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)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.