You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ying Tang (JIRA)" <ji...@apache.org> on 2009/03/11 09:54:50 UTC

[jira] Created: (GERONIMO-4581) The batch file for deploying the ExampleClient.jar doesn't work.

The batch file for deploying the ExampleClient.jar doesn't work.
----------------------------------------------------------------

                 Key: GERONIMO-4581
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4581
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: documentation
    Affects Versions: 2.1, 2.2
         Environment: IBM JDK 6 + Windows XP SP3
            Reporter: Ying Tang
            Priority: Trivial


http://cwiki.apache.org/confluence/display/GMOxDOC22/Deploying+and+running+Java+EE+application+client
The .bat file in this page for deploying the application client doesn'w work, as the command "jar" for packing the .jar file has incorrect format:
jar -cfM  app_client.jar -C D:\workspace2\GERONIMO_APPLICATION\bin .

we can locate the batch file in the application home directory, where there should be a META-INF folder and class files (class files can be in its subdirectory), and use this syntax:
jar cfM app_client.jar  *

Does anybody know how to specify the directory in the batch file? The -C option doesn't work.




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


[jira] Commented: (GERONIMO-4581) The batch file for deploying the ExampleClient.jar doesn't work.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680827#action_12680827 ] 

Shawn Jiang commented on GERONIMO-4581:
---------------------------------------

Try this to include your manifest file in jar file:


jar cvfm app_client.jar D:\workspace2\GERONIMO_APPLICATION\bin\your_manifest_file_name -C :\workspace2\GERONIMO_APPLICATION\bin .

> The batch file for deploying the ExampleClient.jar doesn't work.
> ----------------------------------------------------------------
>
>                 Key: GERONIMO-4581
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4581
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: documentation
>    Affects Versions: 2.1, 2.2
>         Environment: IBM JDK 6 + Windows XP SP3
>            Reporter: Ying Tang
>            Priority: Trivial
>
> http://cwiki.apache.org/confluence/display/GMOxDOC22/Deploying+and+running+Java+EE+application+client
> The .bat file in this page for deploying the application client doesn'w work, as the command "jar" for packing the .jar file has incorrect format:
> jar -cfM  app_client.jar -C D:\workspace2\GERONIMO_APPLICATION\bin .
> we can locate the batch file in the application home directory, where there should be a META-INF folder and class files (class files can be in its subdirectory), and use this syntax:
> jar cfM app_client.jar  *
> Does anybody know how to specify the directory in the batch file? The -C option doesn't work.

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


[jira] Closed: (GERONIMO-4581) The batch file for deploying the ExampleClient.jar doesn't work.

Posted by "Ying Tang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ying Tang closed GERONIMO-4581.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
                   2.2

Thanks, Shawn. The command could be:
{{jar cvfm app_client.jar D:\workspace2\GERONIMO_APPLICATION\bin\your_manifest_file_name -C D:\workspace2\GERONIMO_APPLICATION\bin .}}
to specify the MANIFEST file.

Or 
{{jar cvfM app_client.jar  -C D :\workspace2\GERONIMO_APPLICATION\bin .}}

Doc updated. Closing this bug.

> The batch file for deploying the ExampleClient.jar doesn't work.
> ----------------------------------------------------------------
>
>                 Key: GERONIMO-4581
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4581
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: documentation
>    Affects Versions: 2.1, 2.2
>         Environment: IBM JDK 6 + Windows XP SP3
>            Reporter: Ying Tang
>            Priority: Trivial
>             Fix For: 2.2, 2.1
>
>
> http://cwiki.apache.org/confluence/display/GMOxDOC22/Deploying+and+running+Java+EE+application+client
> The .bat file in this page for deploying the application client doesn'w work, as the command "jar" for packing the .jar file has incorrect format:
> jar -cfM  app_client.jar -C D:\workspace2\GERONIMO_APPLICATION\bin .
> we can locate the batch file in the application home directory, where there should be a META-INF folder and class files (class files can be in its subdirectory), and use this syntax:
> jar cfM app_client.jar  *
> Does anybody know how to specify the directory in the batch file? The -C option doesn't work.

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