Results 1 to 9 of 9
  1. #1
    bassfero is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

    Default import source codes into nbproject

    is there any way to quckly import source codes to netbeans?

    i want to import this java-gpu - Project Hosting on Google Code into netbeans

    and if i have to do it manualy (class by class) how can i import "include" directory?

    thx

  2. #2
    Aseem is offline Senior Member
    Join Date
    Mar 2009
    Location
    USA
    Posts
    127
    Rep Power
    0

    Default

    what kind of project u r tryiing to import?

  3. #3
    bassfero is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

    Default

    well i have not found any of project file.. seems its just a source codes in package directories

    i have posted link to project (codes) above

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    What are you planning on doing with the source?
    Are you planning on working on that code, or do you simply want to be able to debug into it if need be for your actual project?

  5. #5
    bassfero is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

    Default

    i want to do a little research for my self with this project
    if you have 10 minutes of time click the link (java-gpu - Project Hosting on Google Code) and see what it is about

    first I need a create a jar file from that codes -> then i can "recompile" my own java classes, then i want to find out if I can theese class files to another project (i meant my own "recompiled" classes, not classes of java-gpu project)

    i am not planning any changes in java-gpu project, but just for sure - it would be great to have possibility to do that

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    OK.
    Then get the source (which you already have) and then there should be a "create project from existing source" option in netbeans.

  7. #7
    bassfero is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

    Default

    seems to be working :) thanks a lot

    last question - in source there is a "include" directory with some *.h files
    i understand that theese are c-files, but i suppose that are required
    Netbeans doesnt automaticly import them into project file. How to do that?

    Anyway project now can be compiled. I am gonna to test it.

  8. #8
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    No idea.
    I've not done native calls in years.

  9. #9
    bassfero is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

Similar Threads

  1. where java codes to be run?
    By samira_fk222 in forum New To Java
    Replies: 1
    Last Post: 01-03-2011, 10:37 PM
  2. How do I integrate these two codes?
    By Isong in forum AWT / Swing
    Replies: 3
    Last Post: 11-03-2010, 03:44 AM
  3. python source to java source converter?
    By conor147 in forum New To Java
    Replies: 0
    Last Post: 01-15-2010, 06:14 AM
  4. Replies: 0
    Last Post: 01-29-2009, 11:43 AM
  5. Replies: 1
    Last Post: 11-28-2008, 07:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •