Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Add code to an existing project

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Add code to an existing project

    I am a newbie to Java. I am creating a Dynamic project in Eclipse and am able to do so successfully. I have some code(.java,.html and json.org) and some library that I need to add to the project I am working on. Could you please let me know how I can do so?


  2. #2
    Junior Member
    Join Date
    Nov 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Add code to an existing project

    Eclipse creates a directory structure. You can copy your code directly into that directory. For example if you have existing java files in a com/myproj/java/A.java you can copy the com folder directly to the src folder in eclipse project.

    similarly you can do for other files also for respective directories.

    Hope this helps

    [20 Things Java Developer must know | FromDev | Java Collections | Hadoop Questions ]

Similar Threads

  1. Replies: 3
    Last Post: January 5th, 2011, 08:12 AM
  2. Replies: 2
    Last Post: August 1st, 2010, 07:29 AM
  3. How to append data to an already existing file?
    By siteregsam in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: May 3rd, 2010, 03:31 PM
  4. Project - Please Help
    By toxikbuni in forum Java Theory & Questions
    Replies: 0
    Last Post: April 20th, 2010, 10:58 AM
  5. Need a project
    By helloworld922 in forum Project Collaboration
    Replies: 6
    Last Post: July 31st, 2009, 09:30 AM