Adblock breaks this site

Build jar from another application

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

  1. iplaymyfeet

    iplaymyfeet Member
    Banned

    Joined:
    Aug 6, 2014
    Posts:
    31
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  2. esWebos

    esWebos Active Member
    Banned

    Joined:
    Jan 19, 2015
    Posts:
    162
    Referrals:
    0
    Sythe Gold:
    0
    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?
     
  3. iplaymyfeet

    iplaymyfeet Member
    Banned

    Joined:
    Aug 6, 2014
    Posts:
    31
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  4. CompileTime

    CompileTime Professional desktop/web application developer.
    Banned

    Joined:
    Apr 16, 2014
    Posts:
    451
    Referrals:
    0
    Sythe Gold:
    3
    Build jar from another application

    Use this class.
     
  5. esWebos

    esWebos Active Member
    Banned

    Joined:
    Jan 19, 2015
    Posts:
    162
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  6. iplaymyfeet

    iplaymyfeet Member
    Banned

    Joined:
    Aug 6, 2014
    Posts:
    31
    Referrals:
    0
    Sythe Gold:
    0
    Build jar from another application

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


 
 
Adblock breaks this site