FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

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

How to include several JAR files into a single one

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
narseo



Joined: 18 Jun 2009
Posts: 2

PostPosted: Thu Jun 18, 2009 4:15 pm    Post subject: How to include several JAR files into a single one Reply with quote

Hi all,

I'm new in Netbeans and I would like to know how to include several JAR files for a mobile application into a single one in order to send them easily to the device by Bluetooth. All those JAR files belong to external libraries.

I am sure that there are many replies about it but all I could find was about using jar-one. Is it possible to do it directly from Netbeans?

Many thanks in advance
Back to top
View user's profile Send private message
emmbec



Joined: 27 Nov 2008
Posts: 49
Location: Queretaro, Mexico

PostPosted: Thu Jun 25, 2009 11:18 pm    Post subject: Reply with quote

I also have a similar issue, I created a NetBeans Platform application and I have one module (Module A) that includes like three more modules. What module A does is basically wrapps up all of the other module features into a single class, and I would like to create a single JAR file for Module A so that I can use that JAR file somehwere else like inside Matlab to call some of my platform application methods from within Matlab itself.

Any ideas on how to create the single Jar file???
Back to top
View user's profile Send private message
narseo



Joined: 18 Jun 2009
Posts: 2

PostPosted: Thu Jun 25, 2009 11:23 pm    Post subject: How to include several JAR files into a single one Reply with quote

I moved to eclipse and windows and everything works much better...

On Fri, Jun 26, 2009 at 1:19 AM, emmbec<address-removed> wrote:
Quote:
I also have a similar issue, I created a NetBeans Platform application and I have one module (Module A) that includes like three more modules. What module A does is basically wrapps up all of the other module features into a single class, and I would like to create a single JAR file for Module A so that I can use that JAR file somehwere else like inside Matlab to call some of my platform application methods from within Matlab itself.



Any ideas on how to create the single Jar file???













--
Narseo
Back to top
View user's profile Send private message
jpdelatorre



Joined: 26 Aug 2009
Posts: 2

PostPosted: Wed Aug 26, 2009 2:36 am    Post subject: Reply with quote

i found a solution modifying the build.xml here
http://www.java-forums.org/netbeans/12582-netbeans-creating-jar-including-jar-libraries.html#post60045
but i wonder why it is not posible to do by the ide.

_________________
Thanks in advance
Martin
Back to top
View user's profile Send private message
ChuckBing
Posted via mailing list.





PostPosted: Wed Aug 26, 2009 6:33 pm    Post subject: How to include several JAR files into a single one Reply with quote

Martin De La Torre wrote:
Quote:

but i wonder why it is not posible to do by the ide.

Try this
http://java.sun.com/developer/technicalArticles/java_warehouse/single_jar/
Use NetBeans IDE 6.7 to Combine JAR Files Into a Single JAR File

--
View this message in context: http://www.nabble.com/How-to-include-several-JAR-files-into-a-single-one-tp25145636p25152573.html
Sent from the Netbeans Java Mobile Edition/ME Users (Mobility) mailing list archive at Nabble.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME 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