-
1. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
davsclaus Mar 14, 2013 12:54 PM (in response to mohsin)Fuse IDE comes with Eclipse support. So you can use file -> import project ... -> eclipse project -> and point to the pom.xml of the twitter example from the Apache Camel 2.10 download.
And you can run the example by running the main method on the class CamelTwitterWebSocketMain, from Fuse IDE / Eclipse.
-
2. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 1:41 AM (in response to davsclaus)i am not getting eclipse project option in my list having following options as shown in attachment,
Hopes for your suggestion
-
projects.png 68.2 KB
-
-
3. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
lhein Mar 15, 2013 2:15 AM (in response to mohsin)You should try:
Import -> Maven -> Existing Maven Projects
then point to the correct folder.
Hope that helps,
Lars
-
4. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 2:44 AM (in response to lhein)yup i tried it but when i select it and press next button it give me this error as shown in attachment,
how to resolve it
-
Screenshot.png 70.4 KB
-
-
5. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
lhein Mar 15, 2013 3:12 AM (in response to mohsin)As far as I can see from that screenshot you can still postpone solving this mapping issue and just click finish. Have you tried that?
Another option is to disable that plugin in the pom.xml file before importing it. But no idea what side effects that could have.
Lars
-
6. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 3:23 AM (in response to lhein)there are two option with it that are "do not execute (add to pom)" and "do not execute(add to parent)" or should i finish it with the same "resolve later" why this mapping issue is occuring how to sole it ?
-
7. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
lhein Mar 15, 2013 3:51 AM (in response to mohsin)I would go for "do not execute (add to pom)" or even skip it and resolve later.
-
8. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 4:07 AM (in response to lhein)@lhein thanks for your reply,
after i do add to pom my projects open but having Warning in my POM my POM file is attached and error are,
(1)
Description Resource Path Location Type
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. camel-example-twitter-websocket Build path JRE System Library Problem
(2)
Description Resource Path Location Type
maven-remote-resources-plugin (goal "process") is ignored by m2e. pom.xml /camel-example-twitter-websocket line 26 Maven Project Build Lifecycle Mapping Problem
hopes for your co-operation
Thanks
-
POM 3.6 KB
-
-
9. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
lhein Mar 15, 2013 4:23 AM (in response to mohsin)For the moment you can ignore warning 2.
Warning 1 simply tells you that you haven't defined a default Java for Eclipse. Just open the eclipse settings, go to the java / Runtimes section and add your installed JRE/JDK there.
Lars
-
10. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 5:26 AM (in response to lhein)But i am using Fuse IDE and have set environment variable for 1.7 jdk inspite of that i would have too set java path in Eclipse ide ??
-
11. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
lhein Mar 15, 2013 6:55 AM (in response to mohsin)Fuse IDE uses Eclipse as framework. Just open the settings dialog inside Fuse IDE and follow what I wrote in the last post. You have by default no JDK/JRE defined if you start a new workspace.So you need to do that now. It has nothing to do with your env variable settings...Eclipse / Fuse IDE is a different thing.
Lars
-
12. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 7:14 AM (in response to lhein)i am not getting setting in fuse ide after search i found that i can also do it by taking project
>properties>java build path-->order and export and add refrence there i did that but result remain sameIs it fine ?
-
13. Re: How To Run Camel Example Twiter-Websocket On Free Fuse IDE Enterprise 7.1.0
mohsin Mar 15, 2013 8:45 AM (in response to mohsin)i set jdk path as i mentioned you above but my error remain same and i am getting error while running camelTwitterWebsoketMain as shown in attachment,
Hope for your positive response
-
error.png 94.0 KB
-