Hi Tom,

Kind of sounds like this isn't what you need, but if you worked with
your source in an older version of Netbeans and want to move it to
Netbeans 12.2, you can export the project from the old version of
Netbeans and then import it into 12.2. The export and import options are
under the File menu item.

If you don't have the source in project in an older version of Netbeans,
you can create a New Project and select 'Java with Ant', and in the
right box select 'Java Application'. You don't have to select one of the
sub options under 'Java with Ant'.  Uncheck the box for Create Main
Class on the second screen. To get your source into the project you can
copy it into the project src directory, or you can remove that directory
and in the Project Properties use the Add Folder option for Sources to
add your folder of source code. You'll also have to add your Main Class
to Run under Project Properties, and add any libraries you need to the
Project Properties. There may be a few other things you'll have to do in
Properties.  I did this with a project I originally created in Netbeans 8.

Lisa Ruby

On 3/1/2021 3:28 PM, Thomas Wolf wrote:
> Hi,
> I guess I haven’t tried to create a  project in a long time.  Today, I
> had the need to, but an option that has always been available in the
> past (NB 8?) - “Java application with existing source” doesn’t seem to
> exist in 12.2.  Is there an equivalent in ant, gradle, or maven
> projects?  I saw an Java FX project with existing source (but I don’t
> use FX) as well as a couple enterprise project options that don’t
> really correspond to the plain vanilla POJO application that my source
> represents.
>
> Any pointers would be much appreciated. (I’d prefer an ant-based
> project type if there is one).
>
> Best,
> Tom Wolf
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to