[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [dsdp-nab-dev] Checking out of CVS

Thanks Shigeki,

I think NAB offers some interesting opportunities for C/C++ developers.
However, we do need to be able to check out the source from CVS and build
and debug it so that we can extend it or even submit patches to it.

As an example, I have attached a patch that turns the org.eclipse.nab.core
project into a proper plug-in development project. Applying the patch and
checking in the changes will allow us to do these things.

Thanks,
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com


> -----Original Message-----
> From: Shigeki Moride [mailto:moride.shigeki@xxxxxxxxxxxxxx]
> Sent: Friday, September 28, 2007 2:46 AM
> To: Doug Schaefer; dsdp-nab-dev@xxxxxxxxxxx
> Subject: Re: [dsdp-nab-dev] Checking out of CVS
> 
> Hi,
> 
> I'm sorry for delayed reply. Because, I had a DSDP seminar in Japan last
> week.
> 
> Tue, 18 Sep 2007 08:53:41 -0400
> Doug Schaefer <DSchaefer@xxxxxxx> wrote:
> > Eclipse will put a .project and a .classpath file in every Eclipse
> > Plug-in project along with the plugin.xml and MANIFEST.MF file (which
> > also seems missing).
> > All of them would get checked into CVS when you do a commit. None of
> > the projects in the plugins directories have this.
> 
> We thought .project and .classpath are not a part of source, because
> they are generated automatically by Eclipse.
> 
> And we put plugin.xml to every six module directories such as
> org.eclipse.nab.core/plugins/org.eclipse.nab.core
> org.eclipse.nab.mwt/plugins/org.eclipse.nab.mwt.doc
> org.eclipse.nab.mwt/plugins/org.eclipse.nab.mwt.jni
> org.eclipse.nab.mwt/plugins/org.eclipse.nab.mwt.native.sdk-linux-gtk
> org.eclipse.nab.mwt/plugins/org.eclipse.nab.mwt.native.sdk-win32
> org.eclipse.nab.mwt/plugins/org.eclipse.nab.mwt.sdk
> 
> But we don't have MANIFEST.MF anywhere.
> 
> OK,
> If we are not on the Eclipse way, we will change our source file.
> Please give us the time.
> 
> > I'd like to start investigating how to extend NAB to other widget
> libraries.
> > I've been getting more questions no this lately on the CDT lists.
> 
> We are very sorry for the condition that you have to say no.
> But we are happy to hearing that you'd like to extend NAB.
> 
> > But, I need to be able to work with the code in Eclipse to try things
> > out.
> 
> Please say anything to change for the right way.
> 
> Thanks.
> 
> Shigeki
> 
> >
> > Thanks,
> > Doug Schaefer, QNX Software Systems
> > Eclipse CDT Project Lead, http://cdtdoug.blogspot.com
> >
> >
> > > -----Original Message-----
> > > From: Shigeki Moride [mailto:moride@xxxxxxxxxxxxxxxxxxx]
> > > Sent: Tuesday, September 18, 2007 4:56 AM
> > > To: Doug Schaefer; dsdp-nab-dev@xxxxxxxxxxx
> > > Subject: Re: [dsdp-nab-dev] Checking out of CVS
> > >
> > > Hi Doug,
> > >
> > > I checked again.
> > >
> > > There are 2 .project files in CVS.
> > > org.eclipse.nab.core/.project
> > > org.eclipse.nab.mwt/.project
> > > And, that 2 files have a CVS history.
> > >
> > > But, our project have only 2 .project files and no .classpath file.
> > >
> > > Is that incorrect?
> > >
> > > Perhaps, we are mis-understanding plug-in requirement?
> > >
> > >
> > >
> > >
> > > Fri, 14 Sep 2007 08:25:11 -0400
> > > Doug Schaefer <DSchaefer@xxxxxxx> wrote:
> > > > >From what I can see, the .project and .classpath files aren't
> actually
> > > > checked into CVS. They get created for you when you check them out
> into
> > > a
> > > > new project.
> > > >
> > > > I particularly noticed when they didn't appear as Java projects in
> my
> > > > workspace.
> > > >
> > > > Doug Schaefer, QNX Software Systems
> > > > Eclipse CDT Project Lead, http://cdtdoug.blogspot.com
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Shigeki Moride [mailto:moride.shigeki@xxxxxxxxxxxxxx]
> > > > > Sent: Friday, September 14, 2007 4:20 AM
> > > > > To: Doug Schaefer; dsdp-nab-dev@xxxxxxxxxxx
> > > > > Subject: Re: [dsdp-nab-dev] Checking out of CVS
> > > > >
> > > > > Hi Doug,
> > > > >
> > > > > I checked NAB CVS, and I found .project files such as
> > > > > org.eclipse.nab.core/.project
> > > > > org.eclipse.nab.mwt/.project
> > > > >
> > > > > somthing wrong?
> > > > >
> > > > > Shigeki
> > > > >
> > > > > Thu, 13 Sep 2007 11:51:25 -0400
> > > > > Doug Schaefer <DSchaefer@xxxxxxx> wrote:
> > > > > > Hey gang,
> > > > > >
> > > > > >
> > > > > >
> > > > > > I'm trying to check out NAB from CVS. For some reason, it
> doesn't
> > > appear
> > > > > > that the folders there have .project files (i.e. aren't eclipse
> > > > > projects).
> > > > > > Is there something I'm missing?
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Doug Schaefer, QNX Software Systems
> > > > > > Eclipse CDT Project Lead, http://cdtdoug.blogspot.com
> > > > > > <http://cdtdoug.blogspot.com>
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Shigeki Moride
> > > > > moride.shigeki@xxxxxxxxxxxxxx
> > > > > moride@xxxxxxxxxxxxxxxxxxx
> > > >
> > >
> > > --
> > > Shigeki Moride
> > > moride.shigeki@xxxxxxxxxxxxxx
> > > moride@xxxxxxxxxxxxxxxxxxx
> >
> > _______________________________________________
> > dsdp-nab-dev mailing list
> > dsdp-nab-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/dsdp-nab-dev
> >
> 
> --
> Shigeki Moride
> moride.shigeki@xxxxxxxxxxxxxx
> moride@xxxxxxxxxxxxxxxxxxx

------
Attachments are virus free!

This message has been scanned for viruses at the originating end by
Nemx Anti-Virus for MS Exchange Server/IMC
	http://www.nemx.com/products/antivirus

  

### Eclipse Workspace Patch 1.0
#P org.eclipse.nab.core
Index: plugin.xml
===================================================================
RCS file: plugin.xml
diff -N plugin.xml
--- plugin.xml	16 Mar 2007 07:23:00 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
-   id="org.eclipse.nab.core"
-   name="Native Application Builder Interface"
-   version="0.9.7"
-   provider-name="Eclipse.org"
-   class="org.eclipse.nab.core.NtkInterface">
-
-   <runtime>
-      <library name="ntk.jar">
-         <export name="*"/>
-      </library>
-   </runtime>
-
-   <requires>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.core.runtime"/>
-      <import plugin="org.eclipse.core.resources"/>
-   </requires>
-
-</plugin>
Index: .project
===================================================================
RCS file: .project
diff -N .project
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .project	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.eclipse.nab.core</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>
Index: .classpath
===================================================================
RCS file: .classpath
diff -N .classpath
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .classpath	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
Index: META-INF/MANIFEST.MF
===================================================================
RCS file: META-INF/MANIFEST.MF
diff -N META-INF/MANIFEST.MF
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ META-INF/MANIFEST.MF	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Native Application Builder Interface
+Bundle-SymbolicName: org.eclipse.nab.core
+Bundle-Version: 0.9.7
+Bundle-Activator: org.eclipse.nab.core.NtkInterface
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui
+Eclipse-LazyStart: true
+Export-Package: org.eclipse.nab.core
+Bundle-Vendor: Eclipse.org
Index: build.properties
===================================================================
RCS file: build.properties
diff -N build.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ build.properties	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .,\
+               epl-v10.html,\
+               about.html