How to provide different modules depend on OS

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

How to provide different modules depend on OS

Олег Рачаев
I need to provide 2 differen versions of module with jdbc driver to Win and Win64 users.
Each module have .dll for SSO (Windows Single Sign On). That dll-s different for x86 and x64 OS.

How do I do that?
I remeber modules can have markers... What markers I'm to use with this modules?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to provide different modules depend on OS

Emilian Bold-2
http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#how-os-specific

But I don't know if it separated 32/64 bit Windows.

--emi

On Fri, Feb 17, 2012 at 11:59 AM, Олег Рачаев <[hidden email]> wrote:
I need to provide 2 differen versions of module with jdbc driver to Win and Win64 users.
Each module have .dll for SSO (Windows Single Sign On). That dll-s different for x86 and x64 OS.

How do I do that?
I remeber modules can have markers... What markers I'm to use with this modules?



--
http://www.josekibold.ro : Honesty & well-done software.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to provide different modules depend on OS

Emilian Bold-2
In reply to this post by Олег Рачаев
Actually, this might be better: http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#jni

in particular modules/lib/<arch>/<os>/

--emi

On Fri, Feb 17, 2012 at 11:59 AM, Олег Рачаев <[hidden email]> wrote:
I need to provide 2 differen versions of module with jdbc driver to Win and Win64 users.
Each module have .dll for SSO (Windows Single Sign On). That dll-s different for x86 and x64 OS.

How do I do that?
I remeber modules can have markers... What markers I'm to use with this modules?



--
http://www.josekibold.ro : Honesty & well-done software.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to provide different modules depend on OS

bruehlicke

I would have the dll's in a custom folder on my sandbox modules location and just modify the build script to copy in the appropriate dll when deploying/building.
On Feb 17, 2012 4:05 AM, "Emilian Bold" <[hidden email]> wrote:
>
> Actually, this might be better: http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#jni
>
> in particular modules/lib/<arch>/<os>/
>
> --emi
>
> On Fri, Feb 17, 2012 at 11:59 AM, Олег Рачаев <[hidden email]> wrote:
>>
>> I need to provide 2 differen versions of module with jdbc driver to Win and Win64 users.
>> Each module have .dll for SSO (Windows Single Sign On). That dll-s different for x86 and x64 OS.
>>
>> How do I do that?
>> I remeber modules can have markers... What markers I'm to use with this modules?
>
>
>
>
> --
> http://www.josekibold.ro : Honesty & well-done software.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to provide different modules depend on OS

Олег Рачаев
no need to use scripts.

Just I've tryied to put different dlls to

modules/lib/x64/
modules/lib/x86/

... and it works!

18.02.2012 5:17, bruehlicke пишет:

I would have the dll's in a custom folder on my sandbox modules location and just modify the build script to copy in the appropriate dll when deploying/building.
On Feb 17, 2012 4:05 AM, "Emilian Bold" <[hidden email]> wrote:
>
> Actually, this might be better: http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#jni
>
> in particular modules/lib/<arch>/<os>/
>
> --emi
>
> On Fri, Feb 17, 2012 at 11:59 AM, Олег Рачаев <[hidden email]> wrote:
>>
>> I need to provide 2 differen versions of module with jdbc driver to Win and Win64 users.
>> Each module have .dll for SSO (Windows Single Sign On). That dll-s different for x86 and x64 OS.
>>
>> How do I do that?
>> I remeber modules can have markers... What markers I'm to use with this modules?
>
>
>
>
> --
> http://www.josekibold.ro : Honesty & well-done software.


Loading...