Original issue 380 created by soi-toolkit on 2014-10-24T07:30:37.000Z:
Java generally does not allow identifiers to start with a number, it is however not obvious that the integration component name will be used a part of a java package name, and the error message is nowhere near to really describe whats wrong and how to correct it.
What steps will reproduce the problem?
Use the soi-tk eclipse-plugin to create an integration component named:
061-m340ce-robust-oneway
This will fail with an obscure error message.
Building with maven at command-line makes things a bit more clear - but still not crisp:
Original issue 380 created by soi-toolkit on 2014-10-24T07:30:37.000Z:
Java generally does not allow identifiers to start with a number, it is however not obvious that the integration component name will be used a part of a java package name, and the error message is nowhere near to really describe whats wrong and how to correct it.
What steps will reproduce the problem?
Use the soi-tk eclipse-plugin to create an integration component named:
061-m340ce-robust-oneway
This will fail with an obscure error message.
Building with maven at command-line makes things a bit more clear - but still not crisp:
cd $SOITK_GENDIR/061-m340ce-robust-oneway
mvn clean install
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 061-m340ce-robust-oneway --- [INFO] Compiling 1 source file to /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[1,18] error: ';' expected [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[12,12] error: <identifier> expected [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[12,44] error: <identifier> expected [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[18,65] error: ')' expected [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[18,93] error: illegal start of type [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[18,94] error: <identifier> expected [ERROR] /Users/hakan/tmp/soitk_default_root/061-m340ce-robust-oneway/src/test/java/org/sample/061m340cerobustoneway/061M340ceRobustOnewayMuleServer.java:[18,99] error: ';' expected [INFO] 7 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.027s [INFO] Finished at: Fri Oct 24 09:13:52 CEST 2014 [INFO] Final Memory: 22M/327M [INFO] ------------------------------------------------------------------------