• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • juris
  • Reporter: tgautier
  • September 23, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • September 29, 2007

Description

Bundle naming restrictions simply make no sense - especially with the maven repo strategy. Let’s just make it *.jar

sion 5385 by [email protected] from trunk) [INFO] [bootjar] 2007-09-23 16:13:40,111 INFO - Configuration loaded from the file at ‘/Users/tgautier/src/forge/projects/labs/webcasts/dist-cache/target/classes/tc-config.xml’. [INFO] [bootjar] 2007-09-23 16:13:41,049 WARN - The file: ‘annotations-0.0.1-SNAPSHOT.jar’, is not considered a bundle file because it violates the bundle file naming constraint, it must match the pattern: ‘^.+-[0-9]+.[0-9]+.[0-9]+.jar$’ [INFO] [bootjar] 2007-09-23 16:13:41,050 WARN - The file: ‘annotations-1.0-SNAPSHOT.jar’, is not considered a bundle file because it violates the bundle file naming constraint, it must match the pattern: ‘^.+-[0-9]+.[0-9]+.[0-9]+.jar$’ [INFO] [bootjar] 2007-09-23 16:13:41,062 WARN - The file: ‘annotations-0.0.1-SNAPSHOT.jar’, is not considered a bundle file because it violates the bundle file naming constraint, it must match the pattern: ‘^.+-[0-9]+.[0-9]+.[0-9]+.jar$’ [INFO] [bootjar] 2007-09-23 16:13:41,063 WARN - The file: ‘annotations-1.0-SNAPSHOT.jar’, is not considered a bundle file because it violates the bundle file naming constraint, it must match the pattern: ‘^.+-[0-9]+.[0-9]+.[0-9]+.jar$’ [INFO] [bootjar] 2007-09-23 16:13:41,078 WARN - The file: ‘annotations-0.0.1-SNAPSHOT.jar’, is not considered a bundle file because it violates the bundle file naming constraint, it must match the pattern: ‘^.+-[0-9]+.[0-9]+.[0-9]+.jar$’ [INFO] [bootjar] 2007-09-23 16:13:41,078 WARN - The file: ‘annotations-1.0-SNAPSHOT.jar’, is not considered a bundle file because it violates the bundle file naming constraint, it must match the pattern: ‘^.+-[0-9]+.[0-9]+.[0-9]+.jar$’ [INFO] [bootjar] 2007-09-23 16:13:41,211 FATAL - BundleActivator start failed - unable to initialize modules, shutting down. See log for details.

Comments

Fiona OShea 2007-09-24

What are the reasons for this restriction?

Juris Galang 2007-09-27

This is from an old build, the error message doesn’t even contain the -SNAPSHOT suffix in the regex.

I’ll take a look at switching it to just use “*.jar” — but to be safe let’s leave the restrictions as is in the 2.4 line.

Fiona OShea 2007-09-27

Now targeting for 2.4.4 as Juris is going to remove the naming issues in this branch. We will try to do this today so that the monkeys can get a good run on it.

Juris Galang 2007-09-29

config-module jar filenames no longer need to match its symbolic name.