[ImageJ-devel] Copy Plugin directly to Plugins folder.
Christopher Coulon
coulonchris59 at gmail.com
Thu Jun 27 10:57:21 CDT 2013
On Jun 26, 2013, at 6:13 PM, Johannes Schindelin wrote:
>> I am confused (obviously) and am not sure how to use these instructions
>> to upload my project, since I can't even upload a test file. I'm sure
>> it is something simple, but it eludes me...
>
> Probably at this stage, the easiest will be to clone your own repository.
> This will create a local clone of the repository which is connected to the
> remote repository via the nick name "origin".
>
> The local clone consists of the working directory (which is called
> "Postcards" if you cloned as I mentioned above) and the local repository
> which lives in the .git/ subdirectory of the working directory. Do not
> change anything manually in that .git/ subdirectory until you have a
> profound understanding of Git!
>
> If you have a Mac, why don't you use GitHub for Mac?
OK, in GitHub for Mac I see my repository:
Repositories>A_Postcard
and in that:
~/NetBeansProjects/A_Postcard
and selecting that shows a pom.xml file which is different from the NetBeans project on my Mac PowerBook Pro (my local pom). How do I change the main class in the GitHub? It does not allow me to type anything in the GitHub pom.xml. I have already made the changes in my local pom.
my local pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>1.51</version>
</parent>
<groupId>my.postcard</groupId>
<artifactId>A_Postcard</artifactId>
<version>0.1.0</version>
<name>A_Postcard</name>
<description>Postcard gereration</description>
<dependencies>
<dependency>
<groupId>net.imagej</groupId>
<artifactId>ij</artifactId>
<version>${imagej1.version}</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${project.build.sourceDirectory}</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>${project.build.testSourceDirectory}</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>APC_</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<developers>
<developer>
<id>gaiag</id>
<name>Christopher Coulon</name>
<email>chris at gaiag.net</email>
<url>http://gaiag.net</url>
<organization>The GAIA Group</organization>
<organizationUrl>http://gaiag.net</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>-7</timezone>
</developer>
</developers>
<!-- NB: for project parent -->
<repositories>
<repository>
<id>imagej.releases</id>
<url>http://maven.imagej.net/content/repositories/releases</url>
</repository>
<repository>
<id>imagej.snapshots</id>
<url>http://maven.imagej.net/content/repositories/snapshots</url>
</repository>
</repositories>
<scm>
<connection>scm:git:git://github.com/imagej/minimal-ij1-plugin</connection>
<developerConnection>scm:git:git at github.com:imagej/minimal-ij1-plugin</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/imagej/minimal-ij1-plugin</url>
</scm>
</project>
the GitHub pom.xml:
@@ -11,12 +11,12 @@
<version>1.51</version>
</parent>
- <groupId>sc.fiji</groupId>
- <artifactId>Process_Pixels</artifactId>
- <version>1.0.0</version>
+ <groupId>my.postcard</groupId>
+ <artifactId>A_Postcard</artifactId>
+ <version>0.1.0</version>
- <name>plugins/Process_Pixels.jar</name>
- <description>A Maven project implementing an ImageJ 1.x plugin</description>
+ <name>A_Postcard</name>
+ <description>Postcard gereration</description>
<dependencies>
<dependency>
@@ -49,7 +49,7 @@
</execution>
</executions>
<configuration>
- <mainClass>Process_Pixels</mainClass>
+ <mainClass>APC_</mainClass>
</configuration>
</plugin>
</plugins>
@@ -57,17 +57,17 @@
<developers>
<developer>
- <id>dscho</id>
- <name>Johannes Schindelin</name>
- <email>johannes.schindelin at gmx.de</email>
- <url>http://loci.wisc.edu/people/johannes-schindelin</url>
- <organization>UW-Madison LOCI</organization>
- <organizationUrl>http://loci.wisc.edu/</organizationUrl>
+ <id>gaiag</id>
+ <name>Christopher Coulon</name>
+ <email>chris at gaiag.net</email>
+ <url>http://gaiag.net</url>
+ <organization>The GAIA Group</organization>
+ <organizationUrl>http://gaiag.net</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
- <timezone>-6</timezone>
+ <timezone>-7</timezone>
</developer>
</developers>
To do the clone, should I follow the directions at GitHub help's Fork A Repo, which says to Step 1: click the "Fork" button, Step 2: clone your fork , Step 3:Configure remotes, etc.?
Thanks for your continued patience! :-)
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20130627/9c540cad/attachment-0001.html>
More information about the ImageJ-devel
mailing list