You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Oleg Gusakov (JIRA)" <ji...@codehaus.org> on 2009/04/08 19:18:22 UTC

[jira] Issue Comment Edited: (MERCURY-111) Problem with basic ant tasks setup.

    [ http://jira.codehaus.org/browse/MERCURY-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172463#action_172463 ] 

Oleg Gusakov edited comment on MERCURY-111 at 4/8/09 12:17 PM:
---------------------------------------------------------------

Apparently junit-3.6.1 is missing in central as stated in your output.txt

{code}
File not found on remote server for [http://repo1.maven.org/maven2/junit/junit/3.6.1/junit-3.6.1.pom <=> /tmp/mercury-47912-local/junit/junit/3.6.1/junit-3.6.1.pom]
{code}

Add another repository or use higher version

I changed to 3.8.2 and

{code}
ant 
Buildfile: build.xml

main:
     [echo] Running main

BUILD FAILED
/app/temp/maven-mercury-tests/build.xml:25: destination directory "/app/temp/maven-mercury-tests/target" does not exist or is not a directory

Total time: 0 seconds
$ mkdir target
$ ant 
Buildfile: build.xml

main:
     [echo] Running main
    [javac] Compiling 1 source file to /app/temp/maven-mercury-tests/target

BUILD SUCCESSFUL
Total time: 1 second

{code}

      was (Author: olle):
    Apparently junit-3.6.1 is missing in central as stated in *http://repo1.maven.org/maven2/junit/junit/3.6.1/junit-3.6.1.pom <=> /tmp/mercury-47912-local/junit/junit/3.6.1/junit-3.6.1.pom*

Add another repository or use higher version

I changed to 3.8.2 and

{code}
ant 
Buildfile: build.xml

main:
     [echo] Running main

BUILD FAILED
/app/temp/maven-mercury-tests/build.xml:25: destination directory "/app/temp/maven-mercury-tests/target" does not exist or is not a directory

Total time: 0 seconds
$ mkdir target
$ ant 
Buildfile: build.xml

main:
     [echo] Running main
    [javac] Compiling 1 source file to /app/temp/maven-mercury-tests/target

BUILD SUCCESSFUL
Total time: 1 second

{code}
  
> Problem with basic ant tasks setup.
> -----------------------------------
>
>                 Key: MERCURY-111
>                 URL: http://jira.codehaus.org/browse/MERCURY-111
>             Project: Mercury
>          Issue Type: Bug
>          Components: Ant tasks
>            Reporter: Paul Gier
>            Assignee: Oleg Gusakov
>         Attachments: mercury-ant-tasks-test.zip, output.txt
>
>
> I was not able to run a basic ant build using the mercury ant tasks.  The mercury tasks fail in the dependency resolution.
> I attached a sample project and a log of the command line output from running "ant".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira