Re: [opennms-devel] Building OpenNMS to use in Eclipse - Failed:cannot find symbol

"DJ Gregor" <[email protected]> Sat, 21 Mar 2009 23:25:23 -0400
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============6783827977881223709==
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_123769232381431"

This is a multi-part message in MIME format.

--_----------=_123769232381431
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface
Date: Sun, 22 Mar 2009 03:25:23 UT

On Fri, 20 Mar 2009 14:38 -0400, "Honia A"
<[email protected]> wrote:

  [ERROR] BUILD ERROR
  [INFO]
  --------------------------------------------------------------
  ----------
  [INFO] Unable to write to file:
  /root/Desktop/src/eclipse/dependencies/opennms-hibernate/.sett
  ings/org.eclipse.jdt.core.prefs
  [INFO]
  --------------------------------------------------------------
  ----------

Ah, yes, sounds like this:

http://jira.codehaus.org/browse/MOJO-656

And this:

http://blogs.opennms.org/dj/?p=24

But a different issue....

Try running maven with error stacktraces turned on (-X) and see
if you get any more details.  Please post the stacktrace here so
we can help report a bug on this to the Maven folks.

If the stacktrace doesn't help, use a system call tracer, like
"strace" on Linux.  E.g.: strace -f -o
/tmp/opennms-build-strace.txt ./build.sh eclipse:eclipse

Look at the file with something like "less", scroll to the end,
and search backward for the troublesome file
("?org.eclipse.jdt.core.prefs", "n" to search again) to see what
system call failed, and you'll see it's error code.

         - djg

--_----------=_123769232381431
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface
Date: Sun, 22 Mar 2009 03:25:23 UT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title></title><style type="text/css">body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}</style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>On Fri, 20 Mar 2009 14:38 -0400, &quot;Honia A&quot; &lt;[email protected]&gt; wrote:</div>
<blockquote type="cite" class="QuoteMessage">[ERROR] BUILD ERROR<br>
[INFO] ------------------------------------------------------------------------<br>
[INFO] Unable to write to file: /root/Desktop/src/eclipse/dependencies/opennms-hibernate/.settings/org.eclipse.jdt.core.prefs<br>
[INFO] ------------------------------------------------------------------------<br>
</blockquote><br>
<div>Ah, yes, sounds like this:</div>
<div>&nbsp;</div>
<div>http://jira.codehaus.org/browse/MOJO-656</div>
<div>&nbsp;</div>
<div>And this:</div>
<div>&nbsp;</div>
<div>http://blogs.opennms.org/dj/?p=24</div>
<div>&nbsp;</div>
<div>But a different issue....</div>
<div>&nbsp;</div>
<div>Try running maven with error stacktraces turned on (-X) and see if you get any more details.&nbsp; Please post the stacktrace here so we can help report a bug on this to the Maven folks.</div>
<div>&nbsp;</div>
<div>If the stacktrace doesn't help, use a system call tracer, like &quot;strace&quot; on Linux.&nbsp; E.g.: strace -f -o /tmp/opennms-build-strace.txt ./build.sh eclipse:eclipse</div>
<div>&nbsp;</div>
<div>Look at the file with something like &quot;less&quot;, scroll to the end, and search backward for the troublesome file (&quot;?org.eclipse.jdt.core.prefs&quot;, &quot;n&quot; to search again) to see what system call failed, and you'll see it's error code.</div>
<br>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - djg</div></div></body></html>
--_----------=_123769232381431--



--===============6783827977881223709==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--===============6783827977881223709==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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
--===============6783827977881223709==--