Menu

#114 Using Netbeans with Dr. Java

open
nobody
Other (56)
5
2005-12-21
2005-12-21
No

I have downloaded the source code for DrJava and have
been successful in building the DrJava package.
However, I would like to work with the source code in
NetBeans. Do you have any suggestions on moving the
project to Netbeans?

The approach I will take shortly seems to be quite
tedious as I will have to create a copy of each
directory of the DrJava source code manually

Sincerely

Lalit Gidwani

Discussion

  • Robert Cartwright

    Logged In: YES
    user_id=430590

    I am not familiar with the NetBeans project facility. A
    DrJava project is simply a Java source tree in the file
    system. (DrJava keeps a list of the full names of each file
    in the tree, but in normal usage all of the files in the
    source tree are part of the project.) So you can use
    whatever mechanism NetBeans provides for creating a project
    from an existing source tree. In DrJava, all that you have
    do is create a project (file) in the root of the source tree
    project and then open the sourceroot directory (with the
    "open folders recursively" box checked). DrJava will
    automatically populate the project with the files in the
    sourcetree. Perhaps NetBeans has a similar feature.

    I use DrJava exclusively to edit the DrJava code base. I
    also use DrJava to compile the project (and individual
    project files) in some situations. Of course, the build.xml
    file in our CVS tree includes ant scripts for fully
    compiling the project to both Java 1.5 and Java 1.4 class files.

     
  • Robert Cartwright

    Logged In: YES
    user_id=430590

    I am not familiar with the NetBeans project facility. A
    DrJava project is simply a Java source tree in the file
    system. (DrJava keeps a list of the full names of each file
    in the tree, but in normal usage all of the files in the
    source tree are part of the project.) So you can use
    whatever mechanism NetBeans provides for creating a project
    from an existing source tree. In DrJava, all that you have
    do is create a project (file) in the root of the source tree
    project and then open the sourceroot directory (with the
    "open folders recursively" box checked). DrJava will
    automatically populate the project with the files in the
    sourcetree. Perhaps NetBeans has a similar feature.

    I use DrJava exclusively to edit the DrJava code base. I
    also use DrJava to compile the project (and individual
    project files) in some situations. Of course, the build.xml
    file in our CVS tree includes ant scripts for fully
    compiling the project to both Java 1.5 and Java 1.4 class files.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.