File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Creating ear file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Creating ear file " Watch "Creating ear file " New topic
Author

Creating ear file

vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
Hi Experts,

i am new to Maven , my question is i have 3 .war files application.xml file and using RAD,
how to create a .ear file from these .war files in RAD or any script please let me know,

please guide me how to solve this issue.

thanks in advace.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

What have you found and tried so far? If I type "maven ear" into Google I find some very nice resources.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
No my question is how to use RAD for creating the .ear file,
as i have no idea how to start please if you have any solutions please let me know.
vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
Hi ,

i have downloaded the maven i am trying to run through command prompt ,

after setting all the Parameter M2_HOME,MAVEN_HOME,M2_REPO
when i issue a command:



i think there are some proxy setting problem tried with many posts but not able find the solutions.
please if any one have any suggestions please let me know.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

No my question is how to use RAD for creating the .ear file

If this is really the question, then you have the wrong forum. Let me know and I will move the post.

However, if your question is really about how to use Maven to build your EAR, then this is the correct forum. But then Wouter already gave you an excellent suggestion.

i think there are some proxy setting problem

I think you are right. You need to configure Maven to use a proxy.


JBoss In Action
vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
Yes it is exclusively about maven build with respect to the RAD ,

for testing i configured the maven with eclipse using m2eclipse , when i am trying to build i am getting the same error,


[

how to check the proxy settings and what exactly is the problem i am not understanding as you are experts i need a suggestions
how to fix this problem i am not able run any maven commands, please let me know if you have suggestions.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Did you look at the link I gave you for setting up the proxy? The m2eclipse plugin uses the settings.xml file you set up for Maven, so getting it working which mvn on the command line should also get it working for inside RAD.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating ear file