ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <>
Subject [jira] Assigned: (IVY-567) Update MANIFEST to make Ivy runnable with java -jar
Date Fri, 29 Feb 2008 14:26:51 GMT


Xavier Hanin reassigned IVY-567:

    Assignee: Xavier Hanin

> Update MANIFEST to make Ivy runnable with java -jar
> ---------------------------------------------------
>                 Key: IVY-567
>                 URL:
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.0-alpha-1
>         Environment: Development
>            Reporter: Tjeerd Verhagen
>            Assignee: Xavier Hanin
>            Priority: Trivial
>             Fix For: 2.0
>         Attachments: patch_build.xml_add_main_and_path_20070708.txt, patch_build.xml_correction_in_jar_readme.txt
> Update the MANIFEST.MF, in which the (main) key 'Class-Path' can be specified. The value
of this key should hold the path's to the other requered jars. For Ivy this means, it should
reference to the 'commons-cli.jar' (and maybe other / extra jars in the future).
> To make the jar runnable the key 'Main-Class' is needed, which makes it possible to just
'run the jar', as:
> java  -jar ivy-core.jar
> No additional path to the class 'org.apache.ivy.Main' is needed any more.
> WARNING: Check this patch 'patch_build.xml_add_main_and_path_20070708.txt' the key 'Class-Path'
does (only) work if the created artifact is in it's build/articaft directory! I didn't check
how ivy-core.jar is normally distributed (where it's dependencies lib is). Probalbly there
should be a small change of the referenced path here.
> To read more about these keys, see paragraph 'Main Attributes':

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

View raw message