You can't just create a new directory and checkout maven into it.  You actually 
have to copy the entire git repository into a maven subdirectory, then checkout 
the maven branch within that second copy of the repository:

cd ~/dev/OpenNMS-dev
cp -R . maven
echo maven >> .git/info/exclude
cd maven/ ; git checkout -b trunk maven/trunk ; cd ..


To avoid future problems, I think I'll update my git tarball to include the 
subversion externals pre-configured by default...

On Mon, Sep 15, 2008 at 05:40:53PM -0500, Aaron Paxson wrote:
> Okay, so I take the advice in the wiki.
> 
> I created a directory storing maven (where it should be)
> 
> # pwd
> ~/dev/OpenNMS-dev
> 
> # mkdir maven
> # cd maven
> # git checkout -b trunk maven/trunk
> fatal: Untracked working tree file 'dependencies/opennms-acegi/pom.xml'would
> be removed by merge
> 
> Strange, since I'm in my very own empty directory, running a checkout of a
> different branch.  Why would it be complaining about acegi under
> dependencies?
> 
> I know this isn't a Git discussion list, but any advice would be helpful.
> 
> Thanks!
> 
> On Mon, Sep 15, 2008 at 5:25 PM, Miskell, Craig <
> [EMAIL PROTECTED]> wrote:
> 
> > > > Helping out here is something, isn't it?  :)
> > > Most Definately!!  You won't hear anyone complain, for sure!
> >
> > <snort> C|N>K
> >
> > (Please excuse my cynicism.... I'm a crusty old-geezer sometimes ;-))
> >
> > Craig
> >
> > =======================================================================
> > Attention: The information contained in this message and/or attachments
> > from AgResearch Limited is intended only for the persons or entities
> > to which it is addressed and may contain confidential and/or privileged
> > material. Any review, retransmission, dissemination or other use of, or
> > taking of any action in reliance upon, this information by persons or
> > entities other than the intended recipients is prohibited by AgResearch
> > Limited. If you have received this message in error, please notify the
> > sender immediately.
> > =======================================================================
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Please read the OpenNMS Mailing List FAQ:
> > http://www.opennms.org/index.php/Mailing_List_FAQ
> >
> > opennms-devel mailing list
> >
> > To *unsubscribe* or change your subscription options, see the bottom of
> > this page:
> > https://lists.sourceforge.net/lists/listinfo/opennms-devel
> >
> 
> 
> 
> -- 
> Aaron J. Paxson
> ---------
> [EMAIL PROTECTED]
> http://aaron.thepaxson5.org

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-devel mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of this 
> page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to