KaitlinMS / sodchat

Automatically exported from code.google.com/p/sodchat
0 stars 0 forks source link

Exporting final jar file #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Alright, I don't know how to export our project as a final executable jar
file with the octave libraries built into it.

We need to figure this out before Monday, lol

Original issue reported on code.google.com by Randel...@gmail.com on 6 Dec 2009 at 5:30

GoogleCodeExporter commented 9 years ago
What you do is you  go to run Clean and build project. Look at the output for 
the
path of the dist folder. The libraries are included in the lib folder.

Original comment by adrian20...@gmail.com on 6 Dec 2009 at 4:10

GoogleCodeExporter commented 9 years ago
Look at the downloads tab for an example!

Original comment by adrian20...@gmail.com on 6 Dec 2009 at 4:17

GoogleCodeExporter commented 9 years ago
Hmm, yeah I figured that out. But is there any way to make it so that it's just 
one
jar file? Rather than a jar file and then a lib file?

So what I'm saying, is there any way to have the lib file inside the jar file?

Original comment by Grog...@gmail.com on 6 Dec 2009 at 4:57

GoogleCodeExporter commented 9 years ago
no, thats kinda the point, the libs are supposed to be external. No worries, 
this is
how a lot of programs work.

Original comment by adrian20...@gmail.com on 6 Dec 2009 at 4:58

GoogleCodeExporter commented 9 years ago
I'm trying to test the application on my computers but it doesn't seem to be 
working.
 It no longer asks for a username when you start it up, and entering a user's IP
address doesn't add them to the contact list.

Original comment by smith.ka...@gmail.com on 6 Dec 2009 at 5:15

GoogleCodeExporter commented 9 years ago
I just managed to save the application in a standalone jar file/ This includes
libraries as well as user settings files. 

So now our app is completely standalone and portable.

And Kaitlin, make sure you have the latest build. And also, in order to ask you 
for
the name at first you need to clear the username.dat and ipsettings.dat so it 
isn't
loading anything on startup.

Original comment by Randel...@gmail.com on 6 Dec 2009 at 5:23

GoogleCodeExporter commented 9 years ago
I was using Adrian's ZIP file from revision 147, so it looks like that's the 
latest
build.  How do I clear the username.dat and ipsettings.dat?

Original comment by smith.ka...@gmail.com on 6 Dec 2009 at 5:27

GoogleCodeExporter commented 9 years ago
It's in the root of the project file. Try that and let me know if that works or 
no

Original comment by Randel...@gmail.com on 6 Dec 2009 at 5:34

GoogleCodeExporter commented 9 years ago
I can't find either of those files.  I'm having the same problems whether I run 
it
through NetBeans or by the command line using Adrian's zip file.

Original comment by smith.ka...@gmail.com on 6 Dec 2009 at 5:47

GoogleCodeExporter commented 9 years ago
Try using this file and then going to Edit-> Username

I'm trying to figure out how Morgan did the saving of the names lol

Original comment by Randel...@gmail.com on 6 Dec 2009 at 6:08

Attachments:

GoogleCodeExporter commented 9 years ago
Looks like it's working that way!

Original comment by smith.ka...@gmail.com on 6 Dec 2009 at 6:12

GoogleCodeExporter commented 9 years ago
SOD is now in a single jar file with all needed libs.

Also update to 149, it will pop up the username if you haven't logged in before

Original comment by Randel...@gmail.com on 6 Dec 2009 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by Randel...@gmail.com on 6 Dec 2009 at 6:29

GoogleCodeExporter commented 9 years ago
Can you make that single jar file available to download?  I'd like to play 
around
with it and help out with testing.  Thanks!

Original comment by smith.ka...@gmail.com on 6 Dec 2009 at 6:51