All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] Cheat sheet for hello world project
@ 2012-07-24 15:53 Atanas Gegov
  2012-07-24 15:53 ` [RFC 1/3] plugins/sdk.ide.doc.user: Added plugin for ide specific user help Atanas Gegov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Atanas Gegov @ 2012-07-24 15:53 UTC (permalink / raw)
  To: yocto

From: Atanas Gegov <atanas.gegov@bmw-carit.de>

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [RFC 1/3] plugins/sdk.ide.doc.user: Added plugin for ide specific user help
  2012-07-24 15:53 [RFC 0/3] Cheat sheet for hello world project Atanas Gegov
@ 2012-07-24 15:53 ` Atanas Gegov
  2012-07-24 15:53 ` [RFC 2/3] feature/sdk: Added user doc plugin Atanas Gegov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Atanas Gegov @ 2012-07-24 15:53 UTC (permalink / raw)
  To: yocto

From: Atanas Gegov <atanas.gegov@bmw-carit.de>

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

diff --git a/plugins/org.yocto.sdk.ide.doc.user/.classpath b/plugins/org.yocto.sdk.ide.doc.user/.classpath
new file mode 100644
index 0000000..bc74aab
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/.classpath
@@ -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>
diff --git a/plugins/org.yocto.sdk.ide.doc.user/.project b/plugins/org.yocto.sdk.ide.doc.user/.project
new file mode 100644
index 0000000..ccc3e39
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/.project
@@ -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>
diff --git a/plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs b/plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..f90fa9c
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/.settings/org.eclipse.jdt.core.prefs
@@ -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
diff --git a/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF b/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..1c8ae05
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
@@ -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
diff --git a/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties b/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties
new file mode 100644
index 0000000..99f8fce
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.yocto.sdk.ide.doc.user
+Bundle-Vendor = yoctoproject.org
+Bundle-Name = Yocto User Help
diff --git a/plugins/org.yocto.sdk.ide.doc.user/build.properties b/plugins/org.yocto.sdk.ide.doc.user/build.properties
new file mode 100644
index 0000000..31e0140
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/build.properties
@@ -0,0 +1,4 @@
+bin.includes = plugin.xml,\
+               .,\
+               META-INF/,\
+               OSGI-INF/
diff --git a/plugins/org.yocto.sdk.ide.doc.user/plugin.xml b/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
new file mode 100644
index 0000000..f422d55
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+</plugin>
-- 
1.7.5.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [RFC 2/3] feature/sdk: Added user doc plugin
  2012-07-24 15:53 [RFC 0/3] Cheat sheet for hello world project Atanas Gegov
  2012-07-24 15:53 ` [RFC 1/3] plugins/sdk.ide.doc.user: Added plugin for ide specific user help Atanas Gegov
@ 2012-07-24 15:53 ` Atanas Gegov
  2012-07-24 15:53 ` [RFC 3/3] plugins/sdk.ide.doc.user: Added cheat sheet for hello world project Atanas Gegov
  2012-07-31 17:08 ` [RFC 0/3] Cheat " Zhang, Jessica
  3 siblings, 0 replies; 6+ messages in thread
From: Atanas Gegov @ 2012-07-24 15:53 UTC (permalink / raw)
  To: yocto

From: Atanas Gegov <atanas.gegov@bmw-carit.de>

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(-)

diff --git a/features/org.yocto.sdk/feature.xml b/features/org.yocto.sdk/feature.xml
index 785a7be..e82cec2 100644
--- a/features/org.yocto.sdk/feature.xml
+++ b/features/org.yocto.sdk/feature.xml
@@ -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>
-- 
1.7.5.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [RFC 3/3] plugins/sdk.ide.doc.user: Added cheat sheet for hello world project
  2012-07-24 15:53 [RFC 0/3] Cheat sheet for hello world project Atanas Gegov
  2012-07-24 15:53 ` [RFC 1/3] plugins/sdk.ide.doc.user: Added plugin for ide specific user help Atanas Gegov
  2012-07-24 15:53 ` [RFC 2/3] feature/sdk: Added user doc plugin Atanas Gegov
@ 2012-07-24 15:53 ` Atanas Gegov
  2012-07-31 17:08 ` [RFC 0/3] Cheat " Zhang, Jessica
  3 siblings, 0 replies; 6+ messages in thread
From: Atanas Gegov @ 2012-07-24 15:53 UTC (permalink / raw)
  To: yocto

From: Atanas Gegov <atanas.gegov@bmw-carit.de>

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

diff --git a/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF b/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
index 1c8ae05..87079ce 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
+++ b/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
@@ -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
diff --git a/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties b/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties
index 99f8fce..9c77778 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties
+++ b/plugins/org.yocto.sdk.ide.doc.user/OSGI-INF/l10n/bundle.properties
@@ -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
\ No newline at end of file
diff --git a/plugins/org.yocto.sdk.ide.doc.user/build.properties b/plugins/org.yocto.sdk.ide.doc.user/build.properties
index 31e0140..caf850b 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/build.properties
+++ b/plugins/org.yocto.sdk.ide.doc.user/build.properties
@@ -1,4 +1,6 @@
 bin.includes = plugin.xml,\
                .,\
                META-INF/,\
-               OSGI-INF/
+               OSGI-INF/,\
+               cheatsheets/
+src.includes = cheatsheets/
diff --git a/plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml b/plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml
new file mode 100644
index 0000000..327242b
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/cheatsheets/createNewHelloWorldProject.xml
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*******************************************************************************
+ * Copyright (c) 2012 BMW Car IT GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Atanas Gegov - initial cheat sheet for creating the hello world project.
+ *******************************************************************************
+-->
+<cheatsheet title="Creating a Hello World C++ Autotools Project">
+	<intro>
+		<description>
+			This cheat sheet will guide you through the process of creating and
+			building a &quot;Hello World C++ Autotools Project&quot;
+			application that uses the Yocto Project template.
+		</description>
+	</intro>
+	<item title="Open the C/C++ Perspective" dialog="false" skip="true">
+		<description>
+			Select <b>Window</b> &gt; <b>Open Perspective</b> &gt;
+			<b>Other...</b> from the menu bar.<br/>
+			Choose <b>C/C++</b> from the <b>Open Perspective</b> dialog.
+			Click <b>OK</b>.
+		</description>
+		<command
+			required="false"
+			serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.cdt.ui.CPerspective)">
+		</command>
+	</item>
+	<item title="Specify a toolchain and sysroot location" dialog="true" skip="true">
+		<description>
+			You need to specify a toolchain and sysroot location before
+			building any project in the workspace.
+		</description>
+		<subitem>
+			<description>
+			The global settings can be modified in the <b>Yocto Project ADT</b>
+			section of the eclipse preferences. Select <b>Window</b> &gt;
+			<b>Preferences</b> from the menu bar and then select the section
+			<b>Yocto Project ADT</b>. These settings are the default ones for
+			every project you create in the workspace.
+			</description>
+			<command
+				required="false"
+				serialization="org.eclipse.ui.window.preferences(preferencePageId=org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage)">
+			</command>
+		</subitem>
+		<subitem>
+			<description>
+			Choose in the <b>Cross Compiler Options</b> the
+			<b>Standalone pre-built toolchain</b>.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Provide a <b>Toolchain Root Location</b> (most probably
+			/opt/poky/&lt;Yocto version, e.g. 1.2&gt;).
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Provide a <b>Sysroot Location</b>. This is the filesystem
+			containing libraries, headers etc. used while cross-building
+			binaries for the target.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			If more than one toolchain is found in the <b>Toolchain
+			Root Location</b>, use the drop-down box to select the <b>Target
+			Architecture</b>. Make sure that the selected sysroot matches
+			the toolchain.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Choose in the <b>Target Options</b> whether the target is a QEMU
+			emulation (kernel location required) or an external hardware.
+			The target is used for running or remote debugging the binaries
+			created for it.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Save the settings with <b>Apply</b> and <b>OK</b>. You can later
+			change these settings for any project from the menu
+			<b>Project</b> &gt; <b>Change Yocto Project Settings</b>.
+			</description>
+		</subitem>
+	</item>
+	<item title="Create a Hello World C++ Autotools Project" dialog="true">
+		<description>
+			Create a Yocto Project ADT Project &quot;Hello World C++ Autotools
+			Project&quot; by using the C++ Project wizard.
+		</description>
+		<subitem>
+			<description>
+				Click <b>File</b> &gt; <b>New</b> &gt; <b>C++ Project</b> to
+				launch the C++ Project wizard.
+			</description>
+			<command
+				required="false"
+				serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.cdt.ui.wizards.NewCWizard1)">
+			</command>
+		</subitem>
+		<subitem>
+			<description>
+				Enter <b>HelloWorld</b> as the project name, then select
+				<b>Yocto Project ADT Project</b> &gt;
+				<b>Hello World C++ Autotools Project</b> from the Project type
+				list and click <b>Next</b>.
+			</description>
+		</subitem>
+		<subitem skip="true">
+			<description>
+			Fill in the name of the <b>Author</b>. Make some changes in the
+			other fields if needed. Possibly change the <b>License</b> from
+			the drop-down box and click <b>Next</b>.
+			</description>
+		</subitem>
+		<subitem skip="true">
+			<description>
+			If needed make some Advanced settings. Click <b>Next</b>.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Click <b>Finish</b> to create the project in your workspace. You
+			will find the created project in the <b>Project Explorer</b> view.
+			</description>
+		</subitem>
+	</item>
+	<item title="Build the project" dialog="true">
+		<description>
+			Create the project&apos;s binary using a specified toolchain and
+			sysroot.
+		</description>
+		<subitem>
+			<description>
+			Make sure that the project is on focus in the
+			<b>Project Explorer</b> view.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			If you want to change the default settings for toolchain and
+			sysroot location go to <b>Project</b> &gt;
+			<b>Change Yocto Project Settings</b> in the menu bar. Finish the
+			editing by pressing <b>OK</b>.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			If you have changed the settings in the previous step, call
+			<b>Project</b> &gt; <b>Reconfigure Project</b> to reconfigure the
+			project with these new settings (e.g. create the correct Makefiles
+			that make use of the selected toolchain and sysroot).
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Build the project with a click on the hammer symbol in the
+			Toolbar. Alternatively, go to <b>Project</b> &gt;
+			<b>Build Project</b>. If you didn&apos;t change the default
+			toolchain and sysroot, now the configuring step will be executed
+			at first, followed by the build step itself.
+			</description>
+		</subitem>
+		<subitem>
+			<description>
+			Observe the output in the different consoles (e.g.
+			<b>Configure [HelloWorld]</b> and
+			<b>CDT Build Console [HelloWorld]</b>) to check if everything
+			was successful.
+			</description>
+		</subitem>
+		<onCompletion>
+			Congratulations, you have completed this cheat sheet! You may
+			continue with editing, rebuilding or debugging the
+			Hello World C++ Autotools Project.
+		</onCompletion>
+	</item>
+</cheatsheet>
diff --git a/plugins/org.yocto.sdk.ide.doc.user/plugin.xml b/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
index f422d55..24c539d 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
+++ b/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
@@ -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>
-- 
1.7.5.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [RFC 0/3] Cheat sheet for hello world project
  2012-07-24 15:53 [RFC 0/3] Cheat sheet for hello world project Atanas Gegov
                   ` (2 preceding siblings ...)
  2012-07-24 15:53 ` [RFC 3/3] plugins/sdk.ide.doc.user: Added cheat sheet for hello world project Atanas Gegov
@ 2012-07-31 17:08 ` Zhang, Jessica
  2012-08-01 13:40   ` Atanas Gegov
  3 siblings, 1 reply; 6+ messages in thread
From: Zhang, Jessica @ 2012-07-31 17:08 UTC (permalink / raw)
  To: Atanas Gegov, yocto

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: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Atanas Gegov
Sent: Tuesday, July 24, 2012 8:54 AM
To: yocto@yoctoproject.org
Subject: [yocto] [RFC 0/3] Cheat sheet for hello world project

From: Atanas Gegov <atanas.gegov@bmw-carit.de>

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
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [RFC 0/3] Cheat sheet for hello world project
  2012-07-31 17:08 ` [RFC 0/3] Cheat " Zhang, Jessica
@ 2012-08-01 13:40   ` Atanas Gegov
  0 siblings, 0 replies; 6+ messages in thread
From: Atanas Gegov @ 2012-08-01 13:40 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4088 bytes --]

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

On Tue, Jul 31, 2012 at 7:08 PM, Zhang, Jessica <jessica.zhang@intel.com>wrote:

> 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: yocto-bounces@yoctoproject.org [mailto:
> yocto-bounces@yoctoproject.org] On Behalf Of Atanas Gegov
> Sent: Tuesday, July 24, 2012 8:54 AM
> To: yocto@yoctoproject.org
> Subject: [yocto] [RFC 0/3] Cheat sheet for hello world project
>
> From: Atanas Gegov <atanas.gegov@bmw-carit.de>
>
> 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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 4968 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-01 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-24 15:53 [RFC 0/3] Cheat sheet for hello world project Atanas Gegov
2012-07-24 15:53 ` [RFC 1/3] plugins/sdk.ide.doc.user: Added plugin for ide specific user help Atanas Gegov
2012-07-24 15:53 ` [RFC 2/3] feature/sdk: Added user doc plugin Atanas Gegov
2012-07-24 15:53 ` [RFC 3/3] plugins/sdk.ide.doc.user: Added cheat sheet for hello world project Atanas Gegov
2012-07-31 17:08 ` [RFC 0/3] Cheat " Zhang, Jessica
2012-08-01 13:40   ` Atanas Gegov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.