Re: What Project should I use if I have existing source?
I would then wonder how that existing project was being built. Depending upon how you wanted to move forward, you could move the source into the directory structure that both maven and gradle expect or you could hand- write the build.xml file that ant would use. -- Mark A. Flacy mfl...@verizon.net On Friday, March 5, 2021 9:35:29 AM CST Eric Bresie wrote: > Silly flavor of that, but what if there is an existing project without Ant > or any applicable build (maven or gradle) yet? > > Eric Bresie > ebre...@gmail.com > > > On Mon, Mar 1, 2021 at 6:52 PM Mark A. Flacy > > wrote: > > Greetings, > > > > For gradle or maven projects, you just open the directory as a project. > > Netbeans will notice the pom.xml or the build.gradle file and act > > accordingly. > > I assume that works with ant as well, but I haven't used ant in years. > > > > -- > > Mark A. Flacy > > mfl...@verizon.net > > > > On Monday, March 1, 2021 5:28:28 PM CST 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 - 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
Re: What Project should I use if I have existing source?
On Fri, 5 Mar 2021 at 15:35, Eric Bresie wrote: > Silly flavor of that, but what if there is an existing project without Ant or > any applicable build (maven or gradle) yet? If you don't want Ant, then I guess create an empty project and copy sources in is the way? Of course, depends if you want any of those 3 build systems at all! I've been toying with the idea of a configuration only Java project, which I don't think we have a way to do? ie. XML file + UI for configuring folders and matching actions to process calls - mainly because I want to play around with Bach in NetBeans. Best wishes, Neil - 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
Re: What Project should I use if I have existing source?
Silly flavor of that, but what if there is an existing project without Ant or any applicable build (maven or gradle) yet? Eric Bresie ebre...@gmail.com On Mon, Mar 1, 2021 at 6:52 PM Mark A. Flacy wrote: > Greetings, > > For gradle or maven projects, you just open the directory as a project. > Netbeans will notice the pom.xml or the build.gradle file and act > accordingly. > I assume that works with ant as well, but I haven't used ant in years. > > -- > Mark A. Flacy > mfl...@verizon.net > > On Monday, March 1, 2021 5:28:28 PM CST 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 > >
Re: What Project should I use if I have existing source?
Greetings, For gradle or maven projects, you just open the directory as a project. Netbeans will notice the pom.xml or the build.gradle file and act accordingly. I assume that works with ant as well, but I haven't used ant in years. -- Mark A. Flacy mfl...@verizon.net On Monday, March 1, 2021 5:28:28 PM CST 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
Re: What Project should I use if I have existing source?
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
Re: What Project should I use if I have existing source?
Never mind - I was stupidly not seeing it right at the “java with Ant” level - I only looked at the subfolders :-( Sorry about wasting people’s time. tom On Mar 1, 2021 at 6:28: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 > >
What Project should I use if I have existing source?
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