Uploading a plugin with multiple nbms

View: New views
5 Messages — Rating Filter:   Alert me  

Uploading a plugin with multiple nbms

by markee174 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to put a plugin on the netbeans central repository. The plugin consists of 2 nbm files.

I go to the upload page and it tells me I need to upload a single zip file. I try to use the create ZIP in netbeans and it tells me it will only do it for applications. Do I just put these files in a plain zip, do I need some additional files or am I missing a trick here?

Any advice appreciated.

Regards,

MArk

Re: Uploading a plugin with multiple nbms

by Geertjan Wielenga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

markee174 wrote:

> I am trying to put a plugin on the netbeans central repository. The plugin
> consists of 2 nbm files.
>
> I go to the upload page and it tells me I need to upload a single zip file.
> I try to use the create ZIP in netbeans and it tells me it will only do it
> for applications. Do I just put these files in a plain zip, do I need some
> additional files or am I missing a trick here?
>
> Any advice appreciated.
>
> Regards,
>
> MArk
>  
Just put the NBM files into a plain ZIP file. That's all. Then upload
the ZIP file. Your users will click the Download button, receive the ZIP
file, unzip it, and then install the NBM files.

Several plugins are distributed the same way, such as the Wicket
framework for example.

-- Geertjan

Re: Uploading a plugin with multiple nbms

by markee174 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
Geertjan Wielenga wrote:
markee174 wrote:
> I am trying to put a plugin on the netbeans central repository. The plugin
> consists of 2 nbm files.
>
> I go to the upload page and it tells me I need to upload a single zip file.
> I try to use the create ZIP in netbeans and it tells me it will only do it
> for applications. Do I just put these files in a plain zip, do I need some
> additional files or am I missing a trick here?
>
> Any advice appreciated.
>
> Regards,
>
> MArk
>  
Just put the NBM files into a plain ZIP file. That's all. Then upload
the ZIP file. Your users will click the Download button, receive the ZIP
file, unzip it, and then install the NBM files.

Several plugins are distributed the same way, such as the Wicket
framework for example.

-- Geertjan
Thanks - works perfectly and I have now uploaded to plugin repository.

Its a shame its not an automatic feature on Netbeans with buildNBMs - it could also check the fields the plugin repository insists as mandatory (ie author and short description). I had to reupload as these are checked only on upload.

MArk

Re: Uploading a plugin with multiple nbms

by Peter Williams-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



markee174 wrote:

>  
>
> Geertjan Wielenga wrote:
>  
>> markee174 wrote:
>>    
>>> I am trying to put a plugin on the netbeans central repository. The
>>> plugin
>>> consists of 2 nbm files.
>>>
>>> I go to the upload page and it tells me I need to upload a single zip
>>> file.
>>> I try to use the create ZIP in netbeans and it tells me it will only do
>>> it
>>> for applications. Do I just put these files in a plain zip, do I need
>>> some
>>> additional files or am I missing a trick here?
>>>
>>> Any advice appreciated.
>>>
>>> Regards,
>>>
>>> MArk
>>>  
>>>      
>> Just put the NBM files into a plain ZIP file. That's all. Then upload
>> the ZIP file. Your users will click the Download button, receive the ZIP
>> file, unzip it, and then install the NBM files.
>>
>> Several plugins are distributed the same way, such as the Wicket
>> framework for example.
>>
>> -- Geertjan
>>
>>
>>    
>
> Thanks - works perfectly and I have now uploaded to plugin repository.
>
> Its a shame its not an automatic feature on Netbeans with buildNBMs - it
> could also check the fields the plugin repository insists as mandatory (ie
> author and short description). I had to reupload as these are checked only
> on upload.
>
> MArk
>
>  
Please file an enhancement, with specific details.  It sounds like a
good idea.

-Peter

Re: Uploading a plugin with multiple nbms

by markee174 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[snip]

> Its a shame its not an automatic feature on Netbeans with buildNBMs - it
> could also check the fields the plugin repository insists as mandatory (ie
> author and short description). I had to reupload as these are checked only
> on upload.
>
> MArk
>
>  
Please file an enhancement, with specific details.  It sounds like a
good idea.

-Peter



I have submitted 2 suggested enhancements.

MArk