NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to build a Mavenized copy of the development version of module

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
windwail



Joined: 29 Jul 2011
Posts: 8

PostPosted: Sat May 12, 2012 2:14 pm    Post subject: How to build a Mavenized copy of the development version of module Reply with quote

Trying to workaround bug:
https://netbeans.org/bugzilla/show_bug.cgi?id=207646#c19

Need to build mavenized copy of module, but command line does fail:

Code:
:~/hg/main-silver$ ant -f nbjunit patch-for-maven
What? Buildfile: nbjunit is a dir!
Build failed


How can i build modules and ide for maven local repository ?
Back to top
Wade Chandler
Posted via mailing list.





PostPosted: Sat May 12, 2012 4:00 pm    Post subject: Re: How to build a Mavenized copy of the development version of module Reply with quote

-f expects an Ant project .xml file. Pass the build.xml instead of the directory or change into the directory and just run ant passing the target.

Wade

=================

Wade Chandler
Software Engineer/Consultant
www.wadechandler.com

NetBeans Dream Team Member
NetBeans Contributor
www.netbeans.org


-----Original message-----
Quote:
From: windwail <address-removed>
To:
address-removed
Sent:
2012 May, Sat, 12 10:16:52 EDT
Subject:
[nbdev] How to build a Mavenized copy of the development version of module


Trying to workaround bug:
https://netbeans.org/bugzilla/show_bug.cgi?id=207646#c19

Need to build mavenized copy of module, but command line does fail:

:~/hg/main-silver$ ant -f nbjunit patch-for-maven
What? Buildfile: nbjunit is a dir!
Build failed

How can i build modules and ide for maven local repository ?




Back to top
Jesse Glick
Posted via mailing list.





PostPosted: Mon May 14, 2012 8:38 pm    Post subject: Re: How to build a Mavenized copy of the development version of module Reply with quote

On 05/12/2012 12:00 PM, Wade Chandler wrote:
Quote:
-f expects an Ant project .xml file. Pass the build.xml instead of the directory or change into the directory and just run ant passing the target.

Or use Ant 1.8.3, which accepts a directory (containing a build.xml).
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo