You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by David Leangen <co...@leangen.net> on 2006/11/16 04:38:11 UTC
Error adding a M2 project
Hello!
I'm tried many different things, but have not been able to add a M2
project to Continuum.
This is the error I get:
Could not download
http://www.company.com/my.pom: /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/my-0.1.0-SNAPSHOT.pom (Not a directory)
I have no idea why it's looking for this in the tmp directory. I
configured Continuum to use /home/continuum/.
Thank you!
Re: Error adding a M2 project
Posted by David Leangen <co...@leangen.net>.
Yeah, I realize that...
I guess I was wondering if it's possible to configure Continuum. The
run.sh doesn't seem to take parameters.
So I guess I'll have to modify the run.sh script.
Thanks for the help!
On Mon, 2006-11-20 at 10:01 +0100, Emmanuel Venisse wrote:
> You can change the tmp dir with the java.io.tmpdir system property.
>
> Emmanuel
>
> David Leangen a écrit :
> > I appreciate your help...
> >
> >> The temp dir is the one of your OS, in your case, it's /tmp
> >> Continuum store the temp pom under /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/ so I think
> >> continuum can't create the file in this directory or a parent dir
> >
> > So you're saying it's not possible to change this through some kind of
> > config option?
> >
> >
> > Thanks!
> > Dave
> >
> >
> >
> >
> >
> >
>
Re: Error adding a M2 project
Posted by Emmanuel Venisse <em...@venisse.net>.
You can change the tmp dir with the java.io.tmpdir system property.
Emmanuel
David Leangen a écrit :
> I appreciate your help...
>
>> The temp dir is the one of your OS, in your case, it's /tmp
>> Continuum store the temp pom under /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/ so I think
>> continuum can't create the file in this directory or a parent dir
>
> So you're saying it's not possible to change this through some kind of
> config option?
>
>
> Thanks!
> Dave
>
>
>
>
>
>
Re: Error adding a M2 project
Posted by David Leangen <co...@leangen.net>.
I appreciate your help...
> The temp dir is the one of your OS, in your case, it's /tmp
> Continuum store the temp pom under /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/ so I think
> continuum can't create the file in this directory or a parent dir
So you're saying it's not possible to change this through some kind of
config option?
Thanks!
Dave
Re: Error adding a M2 project
Posted by Emmanuel Venisse <em...@venisse.net>.
The temp dir is the one of your OS, in your case, it's /tmp
Continuum store the temp pom under /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/ so I think
continuum can't create the file in this directory or a parent dir
Emmanuel
David Leangen a écrit :
> Thank you for this.
>
> It's not immediately clear to me how to set the tempdir. Grepping for
> "tmp", this was the only thing I found:
>
> if [ -z "$PLEXUS_TMPDIR" ] ; then
> PLEXUS_TMPDIR="$PLEXUS_HOME"/temp
> mkdir -p "$PLEXUS_TMPDIR"
>
>
> Any hints as to how I can change the tempdir?
>
>
> Thank you!
>
>
>
> On Thu, 2006-11-16 at 18:17 +0100, Emmanuel Venisse wrote:
>> continuum downloads pom in a temp directory before to process it so you need to have access to this
>> directory and it must exist
>>
>> Emmanuel
>>
>> David Leangen a écrit :
>>> Hello!
>>>
>>> I'm tried many different things, but have not been able to add a M2
>>> project to Continuum.
>>>
>>> This is the error I get:
>>>
>>> Could not download
>>> http://www.company.com/my.pom: /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/my-0.1.0-SNAPSHOT.pom (Not a directory)
>>>
>>>
>>> I have no idea why it's looking for this in the tmp directory. I
>>> configured Continuum to use /home/continuum/.
>>>
>>>
>>> Thank you!
>>>
>>>
>>>
>>>
>>>
>
>
>
>
Re: Error adding a M2 project
Posted by David Leangen <co...@leangen.net>.
Thank you for this.
It's not immediately clear to me how to set the tempdir. Grepping for
"tmp", this was the only thing I found:
if [ -z "$PLEXUS_TMPDIR" ] ; then
PLEXUS_TMPDIR="$PLEXUS_HOME"/temp
mkdir -p "$PLEXUS_TMPDIR"
Any hints as to how I can change the tempdir?
Thank you!
On Thu, 2006-11-16 at 18:17 +0100, Emmanuel Venisse wrote:
> continuum downloads pom in a temp directory before to process it so you need to have access to this
> directory and it must exist
>
> Emmanuel
>
> David Leangen a écrit :
> > Hello!
> >
> > I'm tried many different things, but have not been able to add a M2
> > project to Continuum.
> >
> > This is the error I get:
> >
> > Could not download
> > http://www.company.com/my.pom: /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/my-0.1.0-SNAPSHOT.pom (Not a directory)
> >
> >
> > I have no idea why it's looking for this in the tmp directory. I
> > configured Continuum to use /home/continuum/.
> >
> >
> > Thank you!
> >
> >
> >
> >
> >
>
Re: Error adding a M2 project
Posted by Emmanuel Venisse <em...@venisse.net>.
continuum downloads pom in a temp directory before to process it so you need to have access to this
directory and it must exist
Emmanuel
David Leangen a écrit :
> Hello!
>
> I'm tried many different things, but have not been able to add a M2
> project to Continuum.
>
> This is the error I get:
>
> Could not download
> http://www.company.com/my.pom: /tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/my-0.1.0-SNAPSHOT.pom (Not a directory)
>
>
> I have no idea why it's looking for this in the tmp directory. I
> configured Continuum to use /home/continuum/.
>
>
> Thank you!
>
>
>
>
>