Cheat sheet for hello world project
cover Cheat sheet for hello world project
From: Atanas Gegov <[email protected]>
Hi,
currently the adt manual contains a description of how to create a new project (chapter 4.2). Also some videos are explaining how to achieve this. Eclipse provides a nice way of interactive tutorials with the cheat sheets and I thought it would be nice to have this kind of user help. So I have created a cheat sheet for the 'Hello World C++ Autotools Project' project delivered with the yocto ide. It guides the user through the process of creating and building the hello world project. Some operations such as changing to the C/C++ perspective can even be automated helping the user to get started with the project.
Cheers, Atanas
Atanas Gegov (3):
plugins/sdk.ide.doc.user: Added plugin for ide specific user help feature/sdk: Added user doc plugin plugins/sdk.ide.doc.user: Added cheat sheet for hello world project
features/org.yocto.sdk/feature.xml | 8 + plugins/org.yocto.sdk.ide.doc.user/.classpath | 6 + plugins/org.yocto.sdk.ide.doc.user/.project | 28 +++ .../.settings/org.eclipse.jdt.core.prefs | 8 + .../META-INF/MANIFEST.MF | 8 + .../OSGI-INF/l10n/bundle.properties | 7 + .../org.yocto.sdk.ide.doc.user/build.properties | 6 + .../cheatsheets/createNewHelloWorldProject.xml | 187 ++++++++++++++++++++ plugins/org.yocto.sdk.ide.doc.user/plugin.xml | 13 ++ 9 files changed, 271 insertions(+), 0 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.classpath create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.project create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF create mode 100644 plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/build.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml create mode 100644 plugins/org.yocto.sdk.ide.doc.user/plugin.xml
Signature · 1 line
1.7.5.4
RFC 1/3 plugins/sdk.ide.doc.user: Added plugin for ide specific user help
From: Atanas Gegov <[email protected]>
This currently empty plugin will in the future contain yocto ide specific user help documents such as eclipse help documents or cheat sheets.
--- plugins/org.yocto.sdk.ide.doc.user/.classpath | 6 ++++ plugins/org.yocto.sdk.ide.doc.user/.project | 28 ++++++++++++++++++++ .../.settings/org.eclipse.jdt.core.prefs | 8 +++++ .../META-INF/MANIFEST.MF | 7 +++++ .../OSGI-INF/l10n/bundle.properties | 3 ++ .../org.yocto.sdk.ide.doc.user/build.properties | 4 +++ plugins/org.yocto.sdk.ide.doc.user/plugin.xml | 4 +++ 7 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.classpath create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.project create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF create mode 100644 plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/build.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/plugin.xml
plugins/org.yocto.sdk.ide.doc.user/.classpath new file +6 -0
@@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="output" path="bin"/> +</classpath>
plugins/org.yocto.sdk.ide.doc.user/.project new file +28 -0
@@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.yocto.sdk.ide.doc.user</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs new file +8 -0
@@ -0,0 +1,8 @@ +#Fri Mar 04 13:59:33 CET 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6
plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF new file +7 -0
@@ -0,0 +1,7 @@ +XFManifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.yocto.sdk.ide.doc.user;singleton:=true +Bundle-Version: 1.2.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-RequiredExecutionEnvironment: JavaSE-1.6
plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties new file +3 -0
@@ -0,0 +1,3 @@ +#Properties file for org.yocto.sdk.ide.doc.user +Bundle-Vendor = yoctoproject.org +Bundle-Name = Yocto User Help
plugins/org.yocto.sdk.ide.doc.user/build.properties new file +4 -0
@@ -0,0 +1,4 @@ +bin.includes = plugin.xml,\ + .,\ + META-INF/,\ + OSGI-INF/
plugins/org.yocto.sdk.ide.doc.user/plugin.xml new file +4 -0
@@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> +</plugin>
Signature · 1 line
1.7.5.4
RFC 2/3 feature/sdk: Added user doc plugin
In reply to Atanas GegovFrom: Atanas Gegov <[email protected]>
The added doc plugin org.yocto.sdk.ide.doc.user will provide help contents for this feature (e.g help documents, cheat sheets).
--- features/org.yocto.sdk/feature.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
features/org.yocto.sdk/feature.xml +8 -0
@@ -8,6 +8,7 @@ Contributors: Intel - initial API and implementation + BMW Car IT - added user documentation plugin to the feature --> <feature id="org.yocto.sdk"
@@ -93,4 +94,11 @@ version="0.0.0" unpack="false"/> + <plugin + id="org.yocto.sdk.ide.doc.user" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + </feature>
Signature · 1 line
1.7.5.4
RFC 3/3 plugins/sdk.ide.doc.user: Added cheat sheet for hello world project
In reply to Atanas GegovFrom: Atanas Gegov <[email protected]>
The cheat sheet added provides an interactive tutorial for creating and building the 'Hello World C++ Autotools Project' provided with the yocto ide. The tutorial starts of by configuring the yocto project settings and then guides the user through the process of creating and finally building the project.
--- .../META-INF/MANIFEST.MF | 1 + .../OSGI-INF/l10n/bundle.properties | 4 + .../org.yocto.sdk.ide.doc.user/build.properties | 4 +- .../cheatsheets/createNewHelloWorldProject.xml | 187 ++++++++++++++++++++ plugins/org.yocto.sdk.ide.doc.user/plugin.xml | 9 + 5 files changed, 204 insertions(+), 1 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml
plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF +1 -0
@@ -5,3 +5,4 @@ Bundle-SymbolicName: org.yocto.sdk.ide.doc.user;singleton:=true Bundle-Version: 1.2.0.qualifier Bundle-Vendor: %Bundle-Vendor Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: org.eclipse.ui.cheatsheets
plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties +4 -0
@@ -1,3 +1,7 @@ #Properties file for org.yocto.sdk.ide.doc.user Bundle-Vendor = yoctoproject.org Bundle-Name = Yocto User Help + +category.name = Yocto Project + +cheatsheet.name = Creating a Hello World C++ Autotools Project
plugins/org.yocto.sdk.ide.doc.user/build.properties +3 -1
@@ -1,4 +1,6 @@ bin.includes = plugin.xml,\ .,\ META-INF/,\ - OSGI-INF/ + OSGI-INF/,\ + cheatsheets/ +src.includes = cheatsheets/
plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml new file +187 -0
187 lines not on this page · raw message
plugins/org.yocto.sdk.ide.doc.user/plugin.xml +9 -0
@@ -1,4 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.4"?> <plugin> + <extension point="org.eclipse.ui.cheatsheets.cheatSheetContent"> + <category id="org.yocto.sdk.ide.doc.user.cheatsheets" name="%category.name"> + </category> + <cheatsheet category="org.yocto.sdk.ide.doc.user.cheatsheets" + composite="false" contentFile="cheatsheets/createNewHelloWorldProject.xml" + id="org.yocto.sdk.ide.doc.user.cheatsheet.helloworldProject" + name="%cheatsheet.name"> + </cheatsheet> + </extension> </plugin>
Signature · 1 line
1.7.5.4
Hi Atanas,
This patch set looks nice, couple comments:
1. Is it just meant for C++ project since it's applicable to C project as well
2. I'd think this should be targeted for the upcoming 1.3 release that's targeted for Oct.. For 1.3 release we are based on the latest Juno release and also, there's a new feature added for SDK which makes it rellocatable which is under patch review atm. I'd suggest you follow bug 2383 once it's marked resolved, which means the patch is merged into master. Then pull down the latest master and the latest Eclipse plug-in to capture the latest behavior and update the cheatsheet contents accordingly.
Thanks,
Jessica
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Atanas Gegov
Sent: Tuesday, July 24, 2012 8:54 AM
To: [email protected]
Subject: [yocto] [RFC 0/3] Cheat sheet for hello world project
From: Atanas Gegov <[email protected]>
Hi,
currently the adt manual contains a description of how to create a new project (chapter 4.2). Also some videos are explaining how to achieve this. Eclipse provides a nice way of interactive tutorials with the cheat sheets and I thought it would be nice to have this kind of user help. So I have created a cheat sheet for the 'Hello World C++ Autotools Project' project delivered with the yocto ide. It guides the user through the process of creating and building the hello world project. Some operations such as changing to the C/C++ perspective can even be automated helping the user to get started with the project.
Cheers, Atanas
Atanas Gegov (3):
plugins/sdk.ide.doc.user: Added plugin for ide specific user help feature/sdk: Added user doc plugin plugins/sdk.ide.doc.user: Added cheat sheet for hello world project
features/org.yocto.sdk/feature.xml | 8 + plugins/org.yocto.sdk.ide.doc.user/.classpath | 6 + plugins/org.yocto.sdk.ide.doc.user/.project | 28 +++ .../.settings/org.eclipse.jdt.core.prefs | 8 + .../META-INF/MANIFEST.MF | 8 + .../OSGI-INF/l10n/bundle.properties | 7 + .../org.yocto.sdk.ide.doc.user/build.properties | 6 + .../cheatsheets/createNewHelloWorldProject.xml | 187 ++++++++++++++++++++ plugins/org.yocto.sdk.ide.doc.user/plugin.xml | 13 ++ 9 files changed, 271 insertions(+), 0 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.classpath create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.project create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF create mode 100644 plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/build.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml create mode 100644 plugins/org.yocto.sdk.ide.doc.user/plugin.xml
--
1.7.5.4
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Hi Jessica,
Thank you for the feedack and the comments!
1. I did the cheat sheet for the "Hello World C++ Autotools Project". I did not consider the "Hello World ANSI C Autotools Project". Now I will have a look how to improve this - write an additional cheat sheet for the second project or adapt my cheat sheet to be genereic enough for both projects.
2. By now the patches apply and work both for "master" and for "master-indigo". I will follow
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2383 and adapt the cheat sheet's content when the bug is resloved.
Cheers,
Atanas
Quoted 76 lines · Jessica
Hi Atanas,
This patch set looks nice, couple comments:
1. Is it just meant for C++ project since it's applicable to C project as well
2. I'd think this should be targeted for the upcoming 1.3 release that's targeted for Oct.. For 1.3 release we are based on the latest Juno release and also, there's a new feature added for SDK which makes it rellocatable which is under patch review atm. I'd suggest you follow bug 2383 once it's marked resolved, which means the patch is merged into master. Then pull down the latest master and the latest Eclipse plug-in to capture the latest behavior and update the cheatsheet contents accordingly.Thanks,
Jessica-----Original Message-----
From: [email protected] [mailto:
[email protected]] On Behalf Of Atanas Gegov
Sent: Tuesday, July 24, 2012 8:54 AM
To: [email protected]
Subject: [yocto] [RFC 0/3] Cheat sheet for hello world projectFrom: Atanas Gegov <[email protected]>
Hi,
currently the adt manual contains a description of how to create a new project (chapter 4.2). Also some videos are explaining how to achieve this. Eclipse provides a nice way of interactive tutorials with the cheat sheets and I thought it would be nice to have this kind of user help. So I have created a cheat sheet for the 'Hello World C++ Autotools Project' project delivered with the yocto ide. It guides the user through the process of creating and building the hello world project. Some operations such as changing to the C/C++ perspective can even be automated helping the user to get started with the project.
Cheers, Atanas
Atanas Gegov (3):
plugins/sdk.ide.doc.user: Added plugin for ide specific user help feature/sdk: Added user doc plugin plugins/sdk.ide.doc.user: Added cheat sheet for hello world projectfeatures/org.yocto.sdk/feature.xml | 8 + plugins/org.yocto.sdk.ide.doc.user/.classpath | 6 + plugins/org.yocto.sdk.ide.doc.user/.project | 28 +++ .../.settings/org.eclipse.jdt.core.prefs | 8 + .../META-INF/MANIFEST.MF | 8 + .../OSGI-INF/l10n/bundle.properties | 7 + .../org.yocto.sdk.ide.doc.user/build.properties | 6 + .../cheatsheets/createNewHelloWorldProject.xml | 187 ++++++++++++++++++++ plugins/org.yocto.sdk.ide.doc.user/plugin.xml | 13 ++ 9 files changed, 271 insertions(+), 0 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.classpath create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.project create mode 100644 plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs create mode 100644 plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF create mode 100644 plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/build.properties create mode 100644 plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml create mode 100644 plugins/org.yocto.sdk.ide.doc.user/plugin.xml--
1.7.5.4_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto