Exporting gui applicaton source code from net beans

Is there a way to export netbeans gui applictions? I want to be applet to modify and compile the code later without having to use netbeans.
LVL 1
codecaineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
Netbeans is founded on Ant so all you need is Ant, and the source
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Thomas4019Commented:
If you navigate to where you project file is stored, you should find a folder called with all the source java files. You could copy them out of there, you might need to fix the package structure but it should work.
0
codecaineAuthor Commented:
Can you give me a example of how it works, and the link to get it?
0
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

CEHJCommented:
You should only need to do something like

ant compile

at the command line
0
CEHJCommented:
if you do something like the below, it will tell you what Ant targets are available:


ant -p -f /home/goose/NetBeansProjects/General/build.xml

Open in new window

0
codecaineAuthor Commented:
Thanks I think its broke on make OS X for now becuase of the java update.
0
CEHJCommented:
>>Thanks I think its broke on make OS X for now becuase of the java update.

I don't understand... It won't be broken or Netbeans wouldn't work. The worst that can happen is that ant is not in your path, in which case:

which ant

would return nothing. You can always put it in your path of course
0
CEHJCommented:
Why are you closing the question?
0
CEHJCommented:
No answer to my question ...
0
codecaineAuthor Commented:
I didn't mean to close it. When I try to compile a netbeans source with ant on mac I recieve this.

codecaine-macbook-2:JavaApplication3 jeromescott$ ant -p -f build.xml
Buildfile: build.xml
/Users/jeromescott/Desktop/JavaApplication3/build.xml:12: The following error occurred while executing this line:
/Users/jeromescott/Desktop/JavaApplication3/nbproject/build-impl.xml:23: Please build using Ant 1.7.1 or higher.
0
codecaineAuthor Commented:
I ran ant -version and it is 1.7.1
0
CEHJCommented:
You need to update the *other* ant you have (the one in $PATH) to at least the same version as the one in Netbeans
0
codecaineAuthor Commented:
I only have one version on the system and it is updated.
0
CEHJCommented:
What is line 23 of build-impl.xml btw?
0
codecaineAuthor Commented:
<fail message="Please build using Ant 1.7.1 or higher.">
0
codecaineAuthor Commented:
I deleted that condition line and now get this

codecaine-macbook-2:JavaApplication3 jeromescott$ ant -p -f build.xml
Buildfile: build.xml
Builds, tests, and runs the project JavaApplication3.
Main targets:

 JavaApplication3-impl.clean        Clean build products.
 JavaApplication3-impl.compile      Compile project.
 JavaApplication3-impl.debug        Debug project in IDE.
 JavaApplication3-impl.default      Build and test whole project.
 JavaApplication3-impl.jar          Build JAR.
 JavaApplication3-impl.javadoc      Build Javadoc.
 JavaApplication3-impl.run          Run a main class.
 JavaApplication3-impl.test         Run unit tests.
 JavaApplication3-impl.test-single  Run single unit test.
 clean                              Clean build products.
 compile                            Compile project.
 debug                              Debug project in IDE.
 default                            Build and test whole project.
 jar                                Build JAR.
 javadoc                            Build Javadoc.
 run                                Run a main class.
 test                               Run unit tests.
 test-single                        Run single unit test.
Default target: default
0
CEHJCommented:
>>I deleted that condition line and now get this

That's fine - just info
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.