Re: [mevenide-user] Re: Netbeans: pwd: cannot access parent directories [No such file or directory]

Edgar Merino <[email protected]> Tue, 28 Oct 2008 10:37:35 -0600
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
--------------000700070807090604050000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hello Milos,

    I'm using my own build of maven. It's also possible to build the 
project from the command line, which is what makes me think the problem 
is within netbeans support for maven (or mavenide). Since it cannot 
access the directory where the project is, it simply fails saying 
there's no pom.xml file. It does this randomly, if I create a new 
project it may not suffer from this bug, but the next one may, I'm 
attaching a sample project created with default options that is causing 
troubles, but really, it is doing it randomly (and apparently, for no 
reason at all). Here's the output of trying to build the project:

WARNING: You are running Maven builds externally, some UI functionality 
will not be available.
Executing:/opt/maven/bin/mvn install
pwd: cannot access parent directories [No such file or directory]
Scanning for projects...
------------------------------------------------------------------------
Building Maven Default Project
   task-segment: [install]
------------------------------------------------------------------------
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Cannot execute mojo: resources. It requires a project with an existing 
pom.xml, but the build is not using one.
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 1 second
Finished at: Tue Oct 28 10:28:59 CST 2008
Final Memory: 4M/69M
------------------------------------------------------------------------

Sorry for the late response,
Edgar Merino




Milos Kleint escribió:
> do you have a sample project demonstrating the problem?
> does it build on the command line? if so, set the
> Tools/Options/Misc/Maven preference to command line maven, the
> embedded one has multitude of problems.
>
> Milos
>
> On Sat, Oct 25, 2008 at 5:31 AM, Edgar Merino <[email protected]> wrote:
>   
>> By the way, this is the latest version of the mavenide plugin (3.1.5) and
>> netbeans 6.1.
>>
>>
>> Edgar Merino escribió:
>>     
>>> Hello,
>>>
>>>   I recently downloaded the mavenide plugin for netbeans, it was working
>>> ok, but it started to give errors when building/cleaning the application:
>>> pwd: cannot access parent directories [No such file or directory]. Because
>>> of this maven fails to build the project with the following error: Cannot
>>> execute mojo: resources. It requires a project with an existing pom.xml, but
>>> the build is not using one. I noticed this happened after I set the <name>
>>> of a project to a name containing spaces like "my project", but then even
>>> after restarting the ide any other project that I create fails to build with
>>> the same errors (even when the name contains no spaces at all).
>>>
>>>   This has to be a bug, but I don't know how to solve this, can anyone
>>> give me a hint? This is under opensolaris 2008.05.
>>>
>>> Regards,
>>> Edgar Merino
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>   


--------------000700070807090604050000
Content-Type: application/zip;
 name="test-maven.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="test-maven.zip"

UEsDBAoAAAAAABRTXDkAAAAAAAAAAAAAAAALABUAdGVzdC1tYXZlbi9VVAkAA8g8B0nIPAdJ
VXgEAGUACgBQSwMEFAACAAgA6FNcORfkPX9zAQAALwMAABIAFQB0ZXN0LW1hdmVuL3BvbS54
bWxVVAkAA1Q+B0lUPgdJVXgEAGUACgCFklFPwjAUhd9N/A/L3tcO4YGQMuODRhMQEtD4Rmp3
hSJrl7Yb49/bXRhuJOjL0p77tfecu7L7KtsFJRgrtRqHPRKHASihU6nW4/Bt+RQNw/vk9obl
Rm9BuMDjyo7DjXP5iNKMl6AIz7nYANFmTeezKR2QuL4GyVFl5Zne7/dk30fuLo579GM6WfiD
GY+kso4rAf6UlSOL4kQL7tDVv82CawQKUTlYxauYVDYNfZQgYJlOYfd+DJ3gDYx2NKTWRhf5
S5oInZHs4L85VwdGGxkZbpz84sL5vQPrImzIaEtGzDv65ms/02TLDaO/W6yexp/46UeL14f5
4nm2ZLRse1E8g04HFLBUmF1yJT+jdRGpFHJQqf+1Eiwqbe1wUlqht4WSrhsW661kJ+QiK1KN
9z4Zkl43Ctat0PkxD6PH9ckSvfDUEhrj9VPMwTc9B8GT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
VXgAAFBLAQIXAwoAAAAAABRTXDkAAAAAAAAAAAAAAAAUAA0AAAAAAAAAEAD/QcsCAAB0ZXN0
LW1hdmVuL3NyYy90ZXN0L1VUBQADyDwHSVV4AABQSwECFwMKAAAAAAAUU1w5AAAAAAAAAAAA
AAAAGQANAAAAAAAAABAA/0ESAwAAdGVzdC1tYXZlbi9zcmMvdGVzdC9qYXZhL1VUBQADyDwH
SVV4AABQSwUGAAAAAAcABwAjAgAAXgMAAAAA

--------------000700070807090604050000
Content-Type: text/plain; charset=us-ascii

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

--------------000700070807090604050000--