logo
IRC Archive / Freenode / #eclipse / 2010 / July / 10 / 1
warriioor
is this the right channel to ask a question about CDT?
nitind
Sure, but CDT expertise in here is pretty scarce.
warriioor
i'm having a problem with preprocessor symbols in C++, CDT does not generate the makefiles using the symbols I've defined
ecfuser8308
ello there
Tniffoc
How can I move my workspace? it is currently at $HOME/workspace but I want it at $HOME/workspace/Java
I don't want to lose any of my work...
charley
Tniffoc: you can copy your workspace to the new location and then switch workspaces in Eclipse to the new location
I've never moved workspaces from within Eclipse, though you may be able to do something like that with Export, I am not sure
Tniffoc: or you can switch worksapce to $HOME/workspace/java and then import all the projects from $HOME/workspace :)
glaksmono
guys..
anyone is here?
charley
In this case edits you make will happen to the projects in $HOME/workspace
glaksmono
I got the following Exception: java.lang.UnsatisfiedLinkError, it doesn't seem that Eclipse linked the JNI libraries.. :-S any ideas?
Tniffoc
I tried copying the files
and it didn't work....
charley, ^
charley
Tniffoc: ok... if you want to copy all the files to a new workspace, then you have to switch to $HOME/workspace/Java in Eclipse and then File --> Import --> Existing Projects (select $HOME/workspace/Java folder) to import all the projects into Eclipse
glaksmono
helpppppppp
nitind
glaksmono: Are they in the native library search path?
glaksmono
nitind: what do you mean by search path?
i did this: http://stackoverflow.com/questions/957700/how-to-set-the-java-library-path-from-eclipse
i also tried this: http://stackoverflow.com/questions/661320/how-to-add-native-library-to-java-library-path-with-eclipse-launch-instead-of
neither one works :(
nitind
Is this for a plug-in? A standalone app? Where are the libraries themselves? Are you loading them with the right calls?
Crinion
anyone in here running eclipse in windows 7 64bit?
glaksmono
nitind: standalone app..
nitind: when when i run my program with the library, the exception is being thrown.. so i include the JNI libs using those techniques, but wasn't successful :(
nitind
glaksmono: What did you do to try and make it work? Details.
Crinion
every time i open a file eclipse hangs and never recovers
where does eclipse log to? how can i find out what's making it hang?
nitind
~log
Arbalest
Looking for your Eclipse logs? The workspace log should be located at the <workspace>/.metadata/.log file. In Eclipse, try Help > About > Configuration Details > View Error Log. If you want to paste it somewhere, see ~pastebin - http://wiki.eclipse.org/index.php/IRC_FAQ#Where_are_Eclipse.27s_log_files_located.3F - http://wiki.eclipse.org/FAQ_Where_can_I_find_that_elusive_.log_file%3F
nitind
~deadlock
Crinion
ooh, thanks
~pastebin
Arbalest
Please paste the relevant information onto a pastebin. The submission will generate a URL which you can then copy/paste back into the channel - http://www.pastebin.ca/ - http://pastebin.com/ - http://pastebin.org - http://ideone.com/
Crinion
would anyone mind taking a look at my pastebin :)
please
glaksmono
anyone here?
firefox update.. :(
nitind: are you there?
Crinion
i wonder if I didn't remove the old eclipse when i installed the 64 bit version
haha, i think i've just installed eclips with no plugins
do i need a plugin to install plugins
michaellindahl
I need some help... Anyone want to help me? When I try to export as a JAR, it says "could not find main method from given launch configuration".... Anyone know why?
nitind
glaksmono: yes?
michaellindahl
Does anyone know why I might be getting this message "could not find main method from given launch configuration"
rcjsuen
glaksmono: You're launching a Java application from within Eclipse and it won't run?
glaksmono: Did you try from the command line?
Crinion
okay, i've got the log, any way i can make it more verbose rather than just a one liner
rcjsuen
Crinion: If it hangs you should get a thread dump instead
Crinion
is it the win32 element of the command line parameters
nope
rcjsuen
~dump
Crinion
nothing
Crinion
check my error log in my earlier postbin
ircbog
\quit bye
rcjsuen
That's not a thread dump.
That's just a log file of your Eclipse session.
michaellindahl: That'd depend on what you're doing I guess.
That message should not just randomly appear.
michaellindahl
rcjsuen: I can run my program fine with the the little back runner dude, but that appears when I try to export it as a JAR file
rcjsuen
little running dude, that almost sounds like Eclipse 2.x
I guess you are trying to export a runnable jar.
Crinion
~dropins
Arbalest
To learn about how to use the dropins/ folder provided by p2, see here - http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
michaellindahl
Im on 3.4.2... The running dude is in the menu bar to run programs, after I export it and try to run it it says this in the console: 7/9/10 2:55:19 PM[0x0-0x45045].com.apple.JarLauncher[1225]Failed to load Main-Class manifest attribute from
I am using the modified version of Eclipse at Stanford and started with their starter file.....
Crinion
should eclipse clear my dropins folder after it's worked on the particular item
rcjsuen
oh Stanford u
michaellindahl
yea... so i should just export if it works fine inside eclipse
rcjsuen
what does it say in your jar's MANIFEST.MF file?
Crinion
I'm not having a great user experience with eclipse
rcjsuen
Crinion: I don't know what you mean by "worked on the particular item".
Crinion
i just read something that said, "You may encounter this error message: Problem occurred: 'Selection Job titile' has encountered a problem. If so, you need to install DLTK 1.0.I200807181303 (or newer). Unpack the zip into your dropins folder (see From Zips above). See also bug 242947. "
so i go the DLTK and unpacked it to my dropins folder
rcjsuen
Yes I've heard of that problem, tho I wasn't aware that it made your computer hang
Crinion
but after I started eclipse i would have expected it to have picked up the files, done something like installed DLTK, then deleted the files in the dropins folder
michaellindahl
wheres the MANIFEST.ME file?
rcjsuen
tho i'd expect the bug to be fixed if you were just using Helios
michaellindahl: inside the jar, presumably
michaellindahl
i cant get inside the jar
rcjsuen
just unzip it :o
michaellindahl
Manifest-Version: 1.0
rottenrecords
When you use the "Copy to" command in the Team menu, does that copy the file both locally and in the repository?
michaellindahl
rottenrecords: huh? team menu?
rottenrecords
yea, the "Team" menu in the Context menu when you select a source file
or is that only in Aptana?
michaellindahl
oh yea, that is there, under it is Team Project Set, I have been trying to export it as a Runnable JAR file under the Java Menu
rottenrecords
I don't have that. I'm only using Eclipse for PHP/JavaScript development
michaellindahl
rottenrecords: is there way for me to set the main method for the launch configuration?
rottenrecords
i have no idea
does this have anything to do with what you're asking: http://www.vogella.de/articles/EclipseRCP/article.html
rottenrecords
section 5.2
Crinion
I posted my stack trace for my blocked thread
rottenrecords
er 5.1 rather
bendj
Confused about caching ... I've connected to my remote site via Eclipse RSE. Opened a file, edited it locally, and "Saved". The changes appear to have been saved, but at the remote site ... no changes. Clearly something's "out of sync". How/where do I reestablish syncing?
Crinion_
how can someone else be using my nick
that's daft
glaksmono
helpppppppppp
anyone here?
...
Vorondil
glaksmono: Nobody can help you until you ask your question. ;)
glaksmono
I'm trying to add JNI library on my Eclipse project, I got the following exception: Exception in thread "main" java.lang.UnsatisfiedLinkError
I did this: http://stackoverflow.com/questions/957700/how-to-set-the-java-library-path-from-eclipse
FauxFaux
http://pastie.org/1038269 yay more rewriter bugs.
elyezer
can I create an executable jar with a properties file outside it?
glaksmono
and no one is answering
...
FauxFaux
Nobody is answering because you obviously didn't do what you said you did.
MarcWeber
Crinion: /msg nickserv help You can register it then you can use the ghost command to kick the other users..
karloboy
hi, i'm using aptana sync (coldfusion builder)... and I noticed that when I download... it is doing "LIST -a" then it does the command "PORT 192,168,1,5,19,118" ... definitely it will not send the file to my machine because that is my internal IP address.. how would I configure it to connect to my external IP?
i solved it by checking passive mode
jeremyn
hi, does someone have the address for the eclipse plugin download site for qt? i mean the one that goes into "Install New Software..." in eclipse, not the one where you manually download a .tar.gz or .exe
WXZ
how do you turn on folding for jsps
I'm using europa
kirkmoreno
hello
paco867
So I got a lame one.. How do I run eclipse with suffcient privilages so I can open a project with existing source?
Anyone home?
jamil_1
hello, eclipse is not authenticating me through proxy. I am on ubuntu 10.04. I have tried setting the manual proxy settings but when I reopen preference window my credentials are gone and authentication is set to fasle. I am using the latest version (helios) from the eclipse website.
michaellindahl
I need help exporting a "public class Breakout extends GraphicsProgram" java file. I had an error, however once I added this line it went away: "public static void main(String[] args) {} " Now when the JAR or the Mac app launches it either hangs, or quits... Thanks!
Does anyone know how you are supposed to use the main method? I have everything in the run method right now...
fpro1
public constructor_name(Context context ,int count){super(context,count)}what does super mean there?
alfatau
hello, i developed a java application made of some osgi bundles using eclipse. while launching a starter from an eclipse project which launches "osgi-xxx.jar -console" and reads my config.ini for starting needed bundles perfectly works, creating a start.bat which calls java -jar osgi-xxx.jar -console gives me some exceptions which seem related to missing libraries. can you help me to solve this pro
blem? thanks for your attention
one of the exceptions i'm getting is hello, i developed a java application made of some osgi bundles using eclipse. while launching a starter from an eclipse project which launches "osgi-xxx.jar -console" and reads my config.ini for starting needed bundles perfectly works, creating a start.bat which calls java -jar osgi-xxx.jar -console gives me some exceptions which seem related to missing libraries. can you help me to solve this pro
blem? thanks for your attention
i'm sorry for duplicate message.... one of the exceptions i get is "java.lang.NoClassDefFoundError: javax/net/ServerSocketFactory" which doesn't seem a classpath problem but a missing libraries one... am i wrong?
iKb
hi all
timotei
hi iKb
iKb
is there a way to update my eclipse to 3.6 using ubuntu repositories?
timotei
is 3.6 in repositories?
if yes, that should be able to
iKb
no it is not in the main repository
timotei
well, try updating from within eclipse
iKb
it say no update
i don't think it can update from 3.5 to 3.6
iKb
ok tnx i will try to use the zip file
timotei
np
also, if you have any plugins, do you?
you can copy-paste the plugins directory to new eclipse
rcjsuen
fpro1: If you don't understand super, you should do some more reading on the programming language you're using. Read up about classes and superclasses.
penthief
subclipse Cannot map the project with svn provider on Helios (x86_64) after installing from the marketplace on a fresh install on Fedora 13.
FauxFaux
penthief: Just install svnkit from the subclipse update site and select taht in the preferences.
penthief
Hmmm, tried that now. Says JavaHL (JNI) Not available
Is it looking for libjavaplugin_jni.so?
Fixed it by remove subclipse's javaHL
w0lfshad3
have a problem with eclipse maven plugin, it exports some libs but others not
anyone knows why my c3p0 maven dependecies don't get published to the server?
galileo keeps sending to the server the jars maven was sending, although i removed maven, and added jars of my own, any ideea why?
WTH is wrong with galileo, it won't publish the external jars i give it, marked for export even
any maven that works for ganymede?
EdWyse_Home
When creating a new C project with the SDCC toolchain, it fails with a java.lang.NullPointerException. Is the complete backtrace logged somewhere so I can try to figure out why it's broken?
w0lfshad3
galileo is the trashiest IDE i ever tried, you can't get a project working properly FFS
is helios any better?
dob1
hi, what are the hotkeys to switch from the maximize/restore for the edit window ?
rcjsuen
dob1: Ctrl+M?
NoobFukaire
is there a way to query the last time a set of configuration elements has changed in the extension registry?
the change listener seems kind of hamfisted
oh well I guess it'll work
OperaFan
Anyone else use the Android Eclipse plugin and have MASSIVE stability problems with the latest Eclipse? I'm getting total lockups, partial lockups (CPU getting pegged for several minutes) crashes and allsorts.
rcjsuen
OperaFan: what jvm are you using
OperaFan
latest Sun
.21 is it
in the log I see: java.lang.OutOfMemoryError: PermGen space
w0lfshad3
you need to edit eclipse ini and modify some settings
rcjsuen
OperaFan: use 6u20
OperaFan
will using old versions leave me open to other issues that .21 may fix? Clearly encouraging people to turn off updaters and use old versions is not a great way forward.
rcjsuen
OperaFan: As you may imagine, I cannot guarantee that.
OperaFan
is there a bug report regarding problems with the latest Sun JRE?>
rcjsuen
OperaFan: Not sure. I am merely stating what was said by other people in the channel. Whether you try or heed our suggestions is up to you. I believe u19 is okay, I dunno about u20. I mistyped earlier.
I'm guessing
GaMeBoY
can someone help me with importing and using the SWT project in a program? i am basically trying to do the HellowWorldSWT example, but am getting an exception
should i paste t exception here or use a pastebin-type thing?
rcjsuen
~pastebin
Arbalest
Please paste the relevant information onto a pastebin. The submission will generate a URL which you can then copy/paste back into the channel - http://www.pastebin.ca/ - http://pastebin.com/ - http://pastebin.org - http://ideone.com/
GaMeBoY
k, thanks, one sec...
when i tried importing the swt project exactly as the tutorial said, it didnt work, so i just manually copied the src folder of the SWT that i downloaded from the eclipse site to the src folder of a new java project that i made in eclipse and that seemed to do what it was supposed to
Vorondil
Hi #eclipse, I'm looking for a little wisdom. I have an svn repository, a desktop, and a laptop. I'd like to work in eclipse on both machines, but I don't want to commit stuff to the repository for the sole purpose of being able to check it out on the other machine (stuff might not compile, or be unfinished or whatever). So in your experience, what's the best way to go about that?
GaMeBoY
and i added that project to the java build path of my helloWorldSWT project, but it doesnt seem to be properly finding it on the path
rcjsuen
you need more than just the java source, you need the jni too
timotei
Vorondil: share the files on the desktop, and open them in the laptop
rcjsuen
timotei
Vorondil: so, editing the same file from both devices
GaMeBoY
rcjsuen, ok, how do i get the jni?
w0lfshad3
Vorondil, try a sync software
on the workspace
having a repository is better IMO, you have history
Vorondil
w0lfshad3: For sure. I'm not the only user of the repo, though. So I don't like to commit broken stuff just to get it from one machine to the other.
w0lfshad3
maybe you want both :P
timotei
Vorondil: you are working from both machines?
Vorondil
timotei: Both are linux boxes, so sshfs might work here?
w0lfshad3
then try sync back pro, i use it, very good sync software