Skip to content

Commit 248f8a5

Browse files
committed
working version
1 parent c602005 commit 248f8a5

File tree

3 files changed

+126
-34
lines changed

3 files changed

+126
-34
lines changed

.settings/org.eclipse.jdt.core.prefs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nul
99
org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1010
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
1111
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
12+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
1213
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
1314
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
1415
org.eclipse.jdt.core.compiler.compliance=1.8

pom.xml

Lines changed: 122 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,118 @@
110110
</repositories>
111111
<dependencies>
112112
<dependency>
113-
<groupId>net.preibisch</groupId>
114-
<artifactId>imagej-clustering</artifactId>
115-
<version>0.2.1-SNAPSHOT</version><!--
116-
<version>${imagej-clustering.version}</version> -->
113+
<groupId>net.imagej</groupId>
114+
<artifactId>imagej</artifactId>
115+
</dependency>
116+
<dependency>
117+
<groupId>net.imagej</groupId>
118+
<artifactId>imagej-legacy</artifactId>
119+
</dependency>
120+
<dependency>
121+
<groupId>net.imglib2</groupId>
122+
<artifactId>imglib2</artifactId>
123+
</dependency>
124+
<dependency>
125+
<groupId>net.imagej</groupId>
126+
<artifactId>ij</artifactId>
127+
</dependency>
128+
<dependency>
129+
<groupId>net.imglib2</groupId>
130+
<artifactId>imglib2-ij</artifactId>
131+
</dependency>
132+
<!-- <dependency> <groupId>net.imglib2</groupId> <artifactId>imglib2-ui</artifactId>
133+
</dependency> <dependency> <groupId>net.imglib2</groupId> <artifactId>imglib2-realtransform</artifactId>
134+
</dependency> <dependency> <groupId>net.imglib2</groupId> <artifactId>imglib2-algorithm</artifactId>
135+
</dependency> -->
136+
<dependency>
137+
<groupId>sc.fiji</groupId>
138+
<artifactId>bigdataviewer-core</artifactId>
139+
</dependency>
140+
<dependency>
141+
<groupId>sc.fiji</groupId>
142+
<artifactId>Fiji_Plugins</artifactId>
143+
</dependency>
144+
<dependency>
145+
<groupId>io.scif</groupId>
146+
<artifactId>scifio</artifactId>
147+
</dependency>
148+
<dependency>
149+
<groupId>io.scif</groupId>
150+
<artifactId>scifio-bf-compat</artifactId>
151+
<scope>runtime</scope>
152+
</dependency>
153+
<!-- The formats-bsd component adds support for open formats. -->
154+
<dependency>
155+
<groupId>ome</groupId>
156+
<artifactId>formats-bsd</artifactId>
157+
<scope>runtime</scope>
158+
</dependency>
159+
<!-- The formats-gpl component adds support for proprietary formats. -->
160+
<dependency>
161+
<groupId>ome</groupId>
162+
<artifactId>formats-gpl</artifactId>
163+
<scope>runtime</scope>
164+
</dependency>
165+
<!-- https://mvnrepository.com/artifact/com.jcraft/jsch -->
166+
<dependency>
167+
<groupId>com.jcraft</groupId>
168+
<artifactId>jsch</artifactId>
169+
<version>0.1.54</version>
170+
</dependency>
171+
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
172+
<dependency>
173+
<groupId>com.google.guava</groupId>
174+
<artifactId>guava</artifactId>
175+
<version>r05</version>
176+
177+
</dependency>
178+
<!-- https://mvnrepository.com/artifact/org.apache.kafka/kafka -->
179+
180+
<dependency>
181+
<groupId>commons-io</groupId>
182+
<artifactId>commons-io</artifactId>
183+
<version>2.4</version>
184+
</dependency>
185+
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
186+
<dependency>
187+
<groupId>com.google.code.gson</groupId>
188+
<artifactId>gson</artifactId>
189+
<version>2.8.5</version>
190+
</dependency>
191+
192+
<dependency>
193+
<groupId>net.preibisch</groupId>
194+
<artifactId>multiview-reconstruction</artifactId>
195+
<version>0.2.17</version>
196+
</dependency>
197+
<dependency>
198+
<groupId>org.janelia.saalfeldlab</groupId>
199+
<artifactId>n5-imglib2</artifactId>
200+
<version>3.4.0</version>
201+
</dependency>
202+
<dependency>
203+
<groupId>org.apache.kafka</groupId>
204+
<artifactId>kafka_2.12</artifactId>
205+
<version>1.1.0</version>
206+
</dependency>
207+
<!-- <dependency> <groupId>ome</groupId> <artifactId>bio-formats_plugins</artifactId>
208+
</dependency> -->
209+
<dependency>
210+
<groupId>info.picocli</groupId>
211+
<artifactId>picocli</artifactId>
212+
<version>3.9.2</version>
213+
</dependency>
214+
215+
<dependency>
216+
<groupId>net.preibisch</groupId>
217+
<artifactId>imagej-clustering</artifactId>
218+
<version>0.2.1-SNAPSHOT</version><!-- <version>${imagej-clustering.version}</version> -->
117219
</dependency>
118220
</dependencies>
119221

120222
<build>
121223
<sourceDirectory>${basedir}/src/net/preibisch</sourceDirectory>
122-
224+
123225
<plugins>
124226

125227
<!-- download source code in Eclipse, best practice -->
@@ -156,39 +258,28 @@
156258
</descriptorRefs>
157259
<!-- MainClass in mainfest make a executable jar -->
158260
<archive>
159-
<manifest>
160-
<mainClass>net.preibisch.fusiontask.task.MainJob</mainClass>
161-
</manifest>
261+
<manifest>
262+
<mainClass>net.preibisch.fusiontask.task.MainJob</mainClass>
263+
</manifest>
162264
</archive>
163265

164266
</configuration>
165267
<executions>
166-
<execution>
167-
<id>make-assembly</id>
168-
<!-- bind to the packaging phase -->
169-
<phase>package</phase>
170-
<goals>
171-
<goal>single</goal>
172-
</goals>
173-
</execution>
268+
<execution>
269+
<id>make-assembly</id>
270+
<!-- bind to the packaging phase -->
271+
<phase>package</phase>
272+
<goals>
273+
<goal>single</goal>
274+
</goals>
275+
</execution>
174276
</executions>
175277
</plugin>
176278

177279
</plugins>
178-
<!-- <plugins>
179-
<plugin>
180-
<artifactId>maven-assembly-plugin</artifactId>
181-
<configuration>
182-
<archive>
183-
<manifest>
184-
<mainClass>main.java.net.preibisch.fusiontask.task.MainJob</mainClass>
185-
</manifest>
186-
</archive>
187-
<descriptorRefs>
188-
<descriptorRef>jar-with-dependencies</descriptorRef>
189-
</descriptorRefs>
190-
</configuration>
191-
</plugin>
192-
</plugins> -->
280+
<!-- <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId>
281+
<configuration> <archive> <manifest> <mainClass>main.java.net.preibisch.fusiontask.task.MainJob</mainClass>
282+
</manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef>
283+
</descriptorRefs> </configuration> </plugin> </plugins> -->
193284
</build>
194285
</project>

src/net/preibisch/fusiontask/task/MainJob.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ public static void generateN5fromXML(String inputPath, String metadataPath, Stri
130130

131131
public static void main(String[] args) {
132132
// new ImageJ();
133-
// String str = "-t proc -i /Users/Marwan/Desktop/Task/grid-3d-stitched-h5/dataset.xml -o /Users/Marwan/Desktop/Task/output.n5 -m /Users/Marwan/Desktop/Task/metadata.json -id 1";
134-
System.out.println(String.join(" ", args));
135-
CommandLine.call(new MainJob(), args);
133+
String str = "-t proc -i /Users/Marwan/Desktop/Task/grid-3d-stitched-h5/dataset.xml -o /Users/Marwan/Desktop/Task/output.n5 -m /Users/Marwan/Desktop/Task/metadata.json -id 1";
134+
// System.out.println(String.join(" ", args));
135+
CommandLine.call(new MainJob(), str.split(" "));
136136
}
137137
}

0 commit comments

Comments
 (0)