NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Re: Architecture (32Bit<-->64Bit) dependent module dependencies

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Jesse Glick
Posted via mailing list.





PostPosted: Fri Oct 17, 2008 9:03 pm    Post subject: Re: Architecture (32Bit<-->64Bit) dependent module dependencies Reply with quote

Oliver Rettig wrote:
Quote:
I have understand the folder convention to save the different libs:

lib/i386/linux/...
lib/i386/windows/...
lib/amd64/windows/...
lib/amd64/linux/...

System.getProperty ("os.name").toLowerCase ()
System.getProperty ("os.arch")

This is a fine convention if it works for you.

Quote:
"When the system is looking for a particular library it scans the deepest
directories first and then the shallow ones (lib/i386/linux, lib/i386, lib)."

But I think this is not done.

Not by the NB module system, no. The responsibility is on the caller of
System.loadLibrary to select the desired architecture.

Quote:
If it is my own code I can follow this convention in my
implementation. But I want to use e.g. java3d binary distribution.

Then you will need to patch java3d to call System.loadLibrary with a
more specific filename.
Back to top
Jesse Glick
Posted via mailing list.





PostPosted: Tue Oct 21, 2008 2:09 am    Post subject: Re: Architecture (32Bit<-->64Bit) dependent module dependencies Reply with quote

Oliver Rettig wrote:
Quote:
are there also tokens for different architectures? 32Bit<-->64Bit?

No, which is why using OS tokens is not going to help you any.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo