Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

Migrating: Eclipse -> Netbeans

Thread view: 
gwoodhouse@gmail.com - 25 Sep 2007 12:20 GMT
Hello everyone.

As you may have read from previous posts ive moved to a new company.
Now this company uses Eclipse -
They auto-build their product and use a seperate tomcat server to host
everything.

Ive installed netbeans and ive set up the server (i think) and when
trying to build netbeans is adding lots of horrible thing to my
project (build, nbproject, conf, dist).

How can i get Netbeans to compile the classes to WEB-INF/Classes and
compile/run like Eclipse?

Would be really really grateful for a quick reply! Thanks in advance!

Graeme
guigouz - 25 Sep 2007 13:30 GMT
On Sep 25, 8:20 am, "gwoodho...@gmail.com" <gwoodho...@gmail.com>
wrote:
> Hello everyone.
>
[quoted text clipped - 13 lines]
>
> Graeme

Just create a new web project. Netbeans will compile the source files
to WEB-INF/classes, then just build the .war (done automatically when
you build the project) and deploy.

Hope this helps

gui
gwoodhouse@gmail.com - 25 Sep 2007 13:45 GMT
Hi gui,

Thanks for the reply.

My problem is still around though - i thought getting the class's in
the right place would help.

I cannot deploy my project correctly - im not sure why - the Tomcat
logs dont give me anything - infact, the log that they create during
startup (usually displayed in ecplise console) isnt displayed at all
in netbeans. Again, i dont know what the difference is.

I guess ill carry on working on the problem. Hopefully someone can
give me a few more hints if they read this.

Graeme
Lionel van den Berg - 25 Sep 2007 15:20 GMT
> Hi gui,
>
[quoted text clipped - 10 lines]
> I guess ill carry on working on the problem. Hopefully someone can
> give me a few more hints if they read this.

Perhaps try a forum at www.netbeans.org
Lew - 25 Sep 2007 15:36 GMT
> As you may have read from previous posts ive moved to a new company.
> Now this company uses Eclipse -
[quoted text clipped - 4 lines]
> trying to build netbeans is adding lots of horrible thing to my
> project (build, nbproject, conf, dist).

"Horrible"?  Why "horrible"?  These are only the directories that,
respectively, hold your compiled application, project information,
configuration and deployment artifacts.  What's horrible about having a
working project and built applications?

> How can i get Netbeans to compile the classes to WEB-INF/Classes and
> compile/run like Eclipse?

By setting up the project properties, but mostly this is already happening in
your current setup already.  You actually do not have a problem.

> Would be really really grateful for a quick reply! Thanks in advance!

Usenet is not the place to be when you're in a hurry.

NetBeans's build/ folder is where the application is built.  dist/ is where
the JAR or WAR goes.  Just deploy the WAR from the dist/ directory, or the
subdirectory tree for the application from the build/ directory.

This is in NetBeans's documentation.

The word "I" in English is always to be spelled in upper case.

If you are unfamiliar with NetBeans, why not learn Eclipse at this new job?

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.