Marshall Schor wrote: > While reviewing the Eclipse tooling, I noticed that the POM for the Cas > Editor has a dependency on > > <groupId>org.eclipse.swt</groupId> > <artifactId>org.eclipse.swt.win32.win32.x86</artifactId> > > If this dependency is removed, there are a lot of compile errors. > > But because this dependency is on something with "win32" and "x86" in > the name, does it imply that the Cas Editor tool only runs on x86 / > windows platforms? > I found some stuff on the internet that uses the maven "profile" mechanism to switch the jar depending on the platform/os. I think that this setup, as it is now, probably "works", without any of that, though. If you try and build this on other platforms, it should still build (because the x86/win/swt jar is only used for proper compiling, but isn't used in running (the scope is "provided"). And when you run, the right version of the jar is "provided" by the Eclipse environment the plugin is installed into, I think (not tested yet).
-Marshall > Another question: I think the dependency > > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.5</version> > </dependency> > > should have <scope>test</scope> - is this OK if I change this? > > -Marshall > > > >
