• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to write makefile for generating ear?

 
Aditya Singh
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using RAD for web services development. The code that I am writing has to be compiled on solaris machine. Is there any tool to generate the make file?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use Ant or Maven (both of which have EAR-creation services) you can create the EAR on any Java-friendly machine and deploy on any other. I developed on Windows XP for production use in Solaris for 3 years.

Make was great in its day, but makefiles rarely port well between Windows and Unix. Ant and Maven don't even care if they're run under Windows or Unix most of the time. The only OS dependencies I ever had were on my omnibus makefiles that could generate WARs, Red Hat RPMs and Sun packages, and that was only because the packaging program wasn't (usually) available except when you were running on the target OS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic