Build jar from another application

Discussion in 'Programming General' started by iplaymyfeet, Jan 26, 2015.

Build jar from another application
  1. Unread #1 - Jan 26, 2015 at 3:32 PM
  2. iplaymyfeet
    Joined:
    Aug 6, 2014
    Posts:
    31
    Referrals:
    0
    Sythe Gold:
    0

    iplaymyfeet Member
    Banned

    Build jar from another application

    Hi

    How would I go about building a jar from another java program?

    Let's say I have application A, which will be the one the user runs to build application B. In application A, people can input things such as Name, address, email etc. They then press Build, and it asks where on their computer to save. They pick a directory, and the information from the textfields will be 'hardcoded' into the application B.

    Can someone point me in the right direction? Couldn't find anything on google.
     
  3. Unread #2 - Jan 26, 2015 at 4:55 PM
  4. esWebos
    Joined:
    Jan 19, 2015
    Posts:
    162
    Referrals:
    0
    Sythe Gold:
    0

    esWebos Active Member
    Banned

    Build jar from another application

    Using one application would be more efficient than using two (unless you are trying to implement some type of security provision)...

    Are you trying to build an application that creates another "file" or "script" based on user input?
     
  5. Unread #3 - Jan 26, 2015 at 5:05 PM
  6. iplaymyfeet
    Joined:
    Aug 6, 2014
    Posts:
    31
    Referrals:
    0
    Sythe Gold:
    0

    iplaymyfeet Member
    Banned

    Build jar from another application

    It's for a chat.
    The administrator will have an application (A). This is the "control panel" for the chat (ban, kick, mute users etc). Using this application, I want to be able to generate the chatclient which the users will be using (B). So in (A) the admin will input his ip, port, timeout settings etc. and click build. This will build jar of (B), with all the info he just put in. This can then be sent to everyone who needs to use the chat.
     
  7. Unread #4 - Jan 26, 2015 at 5:45 PM
  8. CompileTime
    Joined:
    Apr 16, 2014
    Posts:
    451
    Referrals:
    0
    Sythe Gold:
    3

    CompileTime Professional desktop/web application developer.
    Banned

    Build jar from another application

    Use this class.
     
  9. Unread #5 - Jan 26, 2015 at 6:48 PM
  10. esWebos
    Joined:
    Jan 19, 2015
    Posts:
    162
    Referrals:
    0
    Sythe Gold:
    0

    esWebos Active Member
    Banned

    Build jar from another application

    ^ That makes sense.

    ^ That should do it (at least without providing us with examples of code). If it doesn't solve the problem, send us an example of the source.
     
  11. Unread #6 - Jan 27, 2015 at 7:10 AM
  12. iplaymyfeet
    Joined:
    Aug 6, 2014
    Posts:
    31
    Referrals:
    0
    Sythe Gold:
    0

    iplaymyfeet Member
    Banned

    Build jar from another application

    I will take a look at it, thanks :)
     
< Should I learn Objective C or Java first? | c++ help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site