This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 73901 - Need ability to retrieve and run client jar for app with app client
Summary: Need ability to retrieve and run client jar for app with app client
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2006-03-22 19:46 UTC by chaase3
Modified: 2006-07-19 22:52 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chaase3 2006-03-22 19:46:39 UTC
The "asadmin deploy" command includes a "--retrieve <dir>" option that allows
you to retrieve a client JAR file that you can then run using the appclient
command. This capability does not appear to have been implemented yet for
NetBeans 5.5. 

The Deploy Project menu choice for an application that includes an application
client needs to allow the retrieval of the client jar file.

Once the client jar has been retrieved, the Run Project target needs to call the
appclient command to run the app client. I don't know if it does, because of a
second bug that I will file (the run target redeploys the app and the redeploy
always fails, so I never get that far).
Comment 1 Lukas Jungmann 2006-03-22 21:28:25 UTC
Stepane, we discussed this some time ago (adding "retrieve" option to nbdeploy
task).

Here's an issue for it.

to reporter - thanks for filing this (anyway this is in progress...)
Comment 2 Sherold Dev 2006-04-28 08:50:53 UTC
This enhancement is not that easy to plug in the current API, since the current
API is partially based upon the jsr88, which we cannot change.
Comment 3 chaase3 2006-04-28 18:32:33 UTC
Well, if you can't add it to deployment, here's another suggestion: add the
ability to retrieve the client jar *after* deployment. For the AppServer this
would involve running the "asadmin get-client-stubs" command. It could be added
to the right-click menu for a deployed app. Would that be possible?
Comment 4 chaase3 2006-07-19 15:51:20 UTC
I am a little surprised to see no resolution of this issue in the past few
months. We will send the Java EE Tutorial with NetBeans instructions to the
publisher in a couple of weeks. Many of the examples in this book require the
retrieval and running of a client JAR file. 

Since this issue has not been fixed, we will have to include both Ant and
NetBeans instructions to deploy each of these applications, but will then have
to give them the Ant target to retrieve the client JAR and then say, "NetBeans
provides no facility for retrieving a client JAR file." 
Comment 5 Petr Jiricka 2006-07-19 22:52:52 UTC
According to the reporter, this is resolved, so marking as FIXED.