Skip to main content



      Home
Home » Newcomers » Newcomers » Problems building a project
Problems building a project [message #270297] Wed, 15 April 2009 02:05 Go to next message
Eclipse UserFriend
Hi!

About one month ago i had a problem building projects with eclipse. See

http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg28 067.html

for details.

Now i found the time to investigate a little:

- The build path is quite long, about 200 jar files
- If i do not add all jars, i get some compile errors (yes not so
strange...)
- The error that a source file cannot be read comes up first if i add jar
no 125

someone who has a idea for that? Looks nearly like eclipse tries to open
to many file pointer or something.

I use ubuntu linux.
Re: Problems building a project [message #270300 is a reply to message #270297] Wed, 15 April 2009 06:52 Go to previous messageGo to next message
Eclipse UserFriend
Søren,

Perhaps try to change your OS settings two allow more open files.
You've looked in the Error Log view for more clues?


Søren Krum wrote:
> Hi!
>
> About one month ago i had a problem building projects with eclipse. See
> http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg28 067.html
>
> for details.
>
> Now i found the time to investigate a little:
>
> - The build path is quite long, about 200 jar files
> - If i do not add all jars, i get some compile errors (yes not so
> strange...)
> - The error that a source file cannot be read comes up first if i add
> jar no 125
> someone who has a idea for that? Looks nearly like eclipse tries to
> open to many file pointer or something.
> I use ubuntu linux.
>
Re: Problems building a project [message #270302 is a reply to message #270300] Wed, 15 April 2009 07:49 Go to previous messageGo to next message
Eclipse UserFriend
Hm, looks like i have a problem her, but in the end not really:

$ cat /proc/sys/fs/file-nr
6624 0 307013
| | |
| | |
| | maximum open file descriptors
| total free allocated file descriptors
total allocated file descriptors
(the number of file descriptors allocated since boot)

I try that out, but even if a null of available file descriptors does not
look great allocates ubuntu thess descriptors dynamically ( i assume, i
still can open some xterms and the number of allocated rises).

Other ideas? Any known bug that eclipse do not like ubuntus way of dealing
with descriptors? Or some java own restrictions?
Re: Problems building a project [message #270322 is a reply to message #270302] Wed, 15 April 2009 12:49 Go to previous messageGo to next message
Eclipse UserFriend
Hello Soren,

You might try using the wizard to create "a plugin project from existing
JAR archives".

Put your JAR files in the new project, and then create dependencies upon
this project.

Charlie


Søren Krum wrote:
> Hm, looks like i have a problem her, but in the end not really:
>
> $ cat /proc/sys/fs/file-nr
> 6624 0 307013
> | | |
> | | |
> | | maximum open file descriptors
> | total free allocated file descriptors
> total allocated file descriptors
> (the number of file descriptors allocated since boot)
>
> I try that out, but even if a null of available file descriptors does
> not look great allocates ubuntu thess descriptors dynamically ( i
> assume, i still can open some xterms and the number of allocated rises).
>
> Other ideas? Any known bug that eclipse do not like ubuntus way of
> dealing with descriptors? Or some java own restrictions?
>
Re: Problems with file pointers... [message #270348 is a reply to message #270322] Thu, 16 April 2009 05:34 Go to previous message
Eclipse UserFriend
Hm, not sure if that is what i want to do, looks like eclipse has some
other problems with file pointers:

Errors during build.
Errors running builder 'Maven Project Builder' on project 'cocoon'.
Errors occurred while refreshing resources with the local file system.
Could not write metadata for
'/home/sorenk/workspace/.metadata/.plugins/org.eclipse.core. resources/.root/.indexes/properties.index'.

/home/sorenk/workspace/.metadata/.plugins/org.eclipse.core.r esources/.root/.indexes/properties.index
(Too many open files)

Maybe i should open another thread? The title is misleading...

Thx for your suggestions anyway, maybe i have to switch to that if i do
not get a hand on these funny pointers...
Previous Topic:Selected text area can not be dragged
Next Topic:menus: visibleWhen=hasActiveHandler?
Goto Forum:
  


Current Time: Wed Jul 16 14:13:01 EDT 2025

Powered by FUDForum. Page generated in 1.09720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top