On 3/18/08, Rajeev Goel <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> Thanks for your response.
> Sorry, I couldn't follow your comment.
>
> How to make it DOS-style path ?

c:\docume~1\(username)\desktop

>
> BTW, i was able to find a fix for this. In eclipse settings for maven plugin
> - add a global settings file. Click apply and then restart eclipse.
>  That will allow maven eclipse plugin to use a custom location for repo.

I'm glad to hear you found a solution.

Matt

>
> regards,
> Rajeev
>
>
> On Tue, Mar 18, 2008 at 8:17 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> >
> > If you modify your settings so the path to your local repository uses
> > a DOS-style path, it should solve this problem.
> >
> >
> http://maven.apache.org/ref/2.0.8/maven-settings/settings.html
> >
> > Matt
> >
> >
> >
> >
> > On 3/18/08, Rajeev Goel <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > >
> > > I am evaluating Appfuse for my project and I am new to it.
> > >
> > > configuration:
> > > Using Appfuse 2.0.1 on win xp.
> > >
> > > Problem:
> > > Execution of mvn -e appfuse:gen -Dentity=Person goal fails.
> > >
> > > AS the default maven repo is on c:/docuemtns and settings/... (notice th
> > > spaces), ant task fails.
> > > Exception msg: Caused by: java.net.URISyntaxException: Illegal character
> in
> > > path at index 18: file:/C:/Documents and Settings/rajeev/.
> > >  m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> > >
> > > I shifted the repo to c:/dev/.m2/repository and updated maven config
> file.
> > > After this the command runs fine.
> > > However I am using the maven plugin for eclipse - which hard-codes the
> maven
> > > repo location to c:/documetns.../<username>
> > >
> > > So I am stuck with two options:
> > > A. If I shift the maven repo - can't use Eclipse.
> > > B. If I don't shift maven repo (as maven eclipse plugin demans it) -
> code
> > > generation is a pain.
> > >
> > >
> > > Any pointers ?
> > >
> > > regards,
> > > RAjeev
> > >
> > >
> > >
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to