NetBeans Forums

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

create .jar from src tomahawk

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



Joined: 18 Sep 2009
Posts: 12

PostPosted: Fri May 20, 2011 8:51 pm    Post subject: create .jar from src tomahawk Reply with quote

Hi,
I'm having problems trying to integrate the tomahawk libraries to my project.
I saw this workarround: http://yyq2007aa.blog.163.com/blog/static/44181609201093022528240/ and I would like to modify the source files.
My problem is that I downloaded tomahawks's source files,I modified them but I do not how to "load" them into netbeans 6.9 to create the .jar file.
The source files are not a netbeans project. I tried to create a new project and then paste the src directory but it did not worked.
Does anybody knows how can I create a .jar from the sorce files of tomahawk library?
Thanks in advance.
Dav
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 606
Location: Simpsonville, SC

PostPosted: Sat May 21, 2011 7:07 pm    Post subject: Re: create .jar from src tomahawk Reply with quote

I am not sure I understand the question, but let me try an answer.

1. Compile the source files. If they successfully compile, it will result in a tomahawk-X.X.X.jar I believe.
2. In NetBeans, Go to Tools --> Libraries --> New Library. From there you can complete the information required.
3. Add the new library to your project.

John

On Fri, May 20, 2011 at 4:51 PM, fish254 <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi,
I'm having problems trying to integrate the tomahawk libraries to my project.
I saw this workarround: http://yyq2007aa.blog.163.com/blog/static/44181609201093022528240/ and I would like to modify the source files.
My problem is that I downloaded tomahawks's source files,I modified them but I do not how to "load" them into netbeans 6.9 to create the .jar file.
The source files are not a netbeans project. I tried to create a new project and then paste the src directory but it did not worked.
Does anybody knows how can I create a .jar from the sorce files of tomahawk library?
Thanks in advance.
Dav







--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
fish254



Joined: 18 Sep 2009
Posts: 12

PostPosted: Mon May 23, 2011 8:52 am    Post subject: Reply with quote

Thanks Jyeary,
My problem is that I don not how to compile the source files if they are not a netbeans project.
Back to top
fish254



Joined: 18 Sep 2009
Posts: 12

PostPosted: Mon May 23, 2011 8:56 am    Post subject: Reply with quote

do I have to create a new project and import them?
How do I have to open the source files?
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 606
Location: Simpsonville, SC

PostPosted: Tue May 24, 2011 9:30 pm    Post subject: Re: create .jar from src tomahawk Reply with quote

I checked the code out from Apache via svn. It is a series of maven projects so you should be able to open it directly in NB and build it.

On Mon, May 23, 2011 at 4:56 AM, fish254 <address-removed ([email]address-removed[/email])> wrote:
Quote:
do I have to create a new project and import them?
How do I have to open the source files?







--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 606
Location: Simpsonville, SC

PostPosted: Wed May 25, 2011 2:23 pm    Post subject: Re: create .jar from src tomahawk Reply with quote

Confirmed that I download it from svn and can build it using Maven internally.


On Tue, May 24, 2011 at 4:54 PM, John Yeary <address-removed ([email]address-removed[/email])> wrote:
Quote:
I checked the code out from Apache via svn. It is a series of maven projects so you should be able to open it directly in NB and build it.

On Mon, May 23, 2011 at 4:56 AM, fish254 <address-removed ([email]address-removed[/email])> wrote:
Quote:
do I have to create a new project and import them?
How do I have to open the source files?









--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt





--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
@jyeary

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE 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