quality@glassfish.java.net

Re: NetBeans plugin question

From: Davis Nguyen <Davis.Nguyen_at_Sun.COM>
Date: Fri, 07 Nov 2008 17:05:02 -0800

Hi Ajnavi,

If you're looking for a NetBeans API doc, as Ludo advised please post
your question to nbdev mailing alias
Thanks for your question.

-davis

Ajnavi Rani Kumar wrote:

> Hi Davis,
>
> Thanks for your answer, but I need to find out from java code.
>
> I have added a menu in the popup menu of a project. When user click on
> the menu I need to find these details for the selected project. Please
> let me know the NetBeans API to use to find these informations.
>
> Thanks,
> -Ajnavi.
>
> ------------------------------------------------------------------------
> *From:* Davis Nguyen <Davis.Nguyen_at_Sun.COM>
> *To:* quality_at_glassfish.dev.java.net; ajnaviranikumar_at_yahoo.com
> *Sent:* Friday, November 7, 2008 4:08:13 PM
> *Subject:* Re: NetBeans plugin question
>
> Hi Ajnavi,
>
> 1. Find out what Glassfish server Version and "Context Path" ,
> "Relative URL"....of a web project.
> From the Netbean IDE Project tab > right-click at the Web
> Project name > select Properties menu > select Run
> Context Path, Relative URL and Server version are listed
> under the Run menu
> 2. Find out (Host name and domain name.) Assume you're using Glassfish V3
> From the IDE Services tab > expand Servers node > right-click
> at Glassfish V3 > select Properties
> Host name and domain name are listed there
>
> -davis
>
>
> Ajnavi Rani Kumar wrote:
>
>> Hi All,
>>
>> I am working on a GlassFish project as my master's project to develop
>> a NetBeans plugin. I have a question.
>>
>> How do I find out "hostname", "port number", "Context Path",
>> "Relative URL" properties of a web project? These properties are used
>> to deploy the web application in a browser, but I need a way to find
>> out in a NetBeans plugin.
>>
>> Please help.
>>
>> Thanks,
>> -Ajnavi.
>>
>
>