seges / acris

AcrIS is a modern framework serving as a base for applications, web sites and portals. It provides various tools and libraries to ease daily development. Build on top of Google web toolkit and provides sophisticated solution for security, beans binding, JSON protocol and usefull project skelets integrated with maven, hibernate, spring and gilead. You will get a prepared solution in box ready to use in your own project.
4 stars 1 forks source link

Can't find 2.0.0-SNAPSHOT packages for many corpis packages. needed to build acris svn trunk as per HowTo wiki #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to follow directions in https://code.google.com/p/acris/wiki/HowTo
2. Get an error on not finding corpis-core-domain-api-2.0.0-SNAPSHOT
3. Try to build and install just that package(while trying to download all the 
other corpis packages), get an error about corpis-lang-api-2.0.0-SNAPSHOT
3. Try to build lang-api package, get an error about corpis-os-2.0.0-SNAPSHOT.

What is the expected output? What do you see instead?
All the corpis 2.0.0-SNAPSHOT packages should be available through one of the 
repos in settings.xml (I think sonatype.../staging)

Without those packages, you can't build acris.

What version of the product are you using? On what operating system?
$ mvn -v
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.8.0-19-generic", arch: "amd64", family: "unix"

Please provide any additional information below.
You can close my previous bug report. I think I had not seen the HowTo wiki 
page yet so I was in a deeper dependency hell(and also I wasn't using maven 2 
which you rightly pointed out). I'm still in a dependency hell, related to 
corpis.

Original issue reported on code.google.com by spun...@gmail.com on 15 May 2013 at 8:00

GoogleCodeExporter commented 9 years ago
I'm trying to build acris from svn. If I can build corpis also then I don't 
need the repos, but I'm running into a weird error with that.

Sounds like you're able to buld all of corpis modules, can you tell me where 
you've deployed corpis-core-domain-api, corpis-lang-api and corpis-os?

I couldn't find those at 
https://oss.sonatype.org/content/groups/staging/sk/seges/corpis/corpis-core-doma
in-api/
https://code.google.com/p/acris/source/browse/#svn%2Freleases-repository%2Fsk%2F
seges%2Fcorpis
http://acris.googlecode.com/svn/snapshot-repository/sk/seges/corpis/
https://oss.sonatype.org/content/repositories/staging/sk/seges/corpis/

Original comment by spun...@gmail.com on 15 May 2013 at 8:08

GoogleCodeExporter commented 9 years ago
Also I'm using acris sesam and corpis trunks.

The rev numbers for sesam, corpis and acris are r7319, r7318 and r7358 
respectively.

Original comment by spun...@gmail.com on 15 May 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Issue 92 has been merged into this issue.

Original comment by ladislav...@gmail.com on 15 May 2013 at 10:13

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 15 May 2013 at 10:14

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 15 May 2013 at 10:17

GoogleCodeExporter commented 9 years ago
it is deployed there now... but I have again started from scratch and had no 
problem to compile corpis, even the corpis-core-domain-api...

I found an issue with acris-image-utils that it needs some internal Oracle JDK 
classes so if you can, switch to it or disable the module... I've created 
separate issue for it #95

Original comment by ladislav...@gmail.com on 15 May 2013 at 10:38

GoogleCodeExporter commented 9 years ago
May I suggest that you release new snapshots for sesam and corpis packages that 
are already there? I noticed that there are new classes in the svn trunk which 
were missing from downloaded snapshots, e.g. 
sesam-annotation-core-support-2.0.0-SNAPSHOT on sonatype has following 
differences and more

Only in 
/tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable
/api/element: MutableElement.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
api/element: MutableElementType.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
api: MutableAnnotationMirror.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
api: PrintableType.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
utils: ModifierConverter$1.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
utils: ModifierConverter.class
Only in 
/tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable
/utils: MutableAnnotated.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
utils: MutableAnnotation.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
utils: MutableElement.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
utils: MutableHasAnnotationsElement.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/model/mutable/
utils: MutableHasAnnotationsType.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
ImportPrinter$1.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
ImportPrinter.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
TypePrinter$1.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
TypePrinter$2.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
TypePrinter$3.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
TypePrinter$4.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/printer: 
TypePrinter$5.class
Only in 
/tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/processor: 
PlugableAnnotationProcessor$1.class
Only in 
/tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/processor: 
PlugableAnnotationProcessor$ImportPrinter$1.class
Only in 
/tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/processor: 
PlugableAnnotationProcessor$ImportPrinter.class
Only in 
/tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/writer: 
FormattedPrintWriter$FlushListener.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/writer: 
HierarchyPrintWriter.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/writer: 
MethodPrintWriter$1.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/writer: 
MethodPrintWriter$2.class
Only in 
/tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core/pap/writer: 
MethodPrintWriter.class
Only in /tmp/sesam-issue/remote/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core: 
pareflection
Only in /tmp/sesam-issue/local/2.0.0-SNAPSHOT/jar/sk/seges/sesam/core: 
reflection

Original comment by spun...@gmail.com on 15 May 2013 at 10:39

GoogleCodeExporter commented 9 years ago
Ok, testing acris svn trunk now.

Original comment by spun...@gmail.com on 15 May 2013 at 10:42

GoogleCodeExporter commented 9 years ago
[INFO] AcrIS Parent ...................................... SUCCESS [1.078s]
[INFO] AcrIS Client Core ................................. SUCCESS [8.546s]
[INFO] acris-annotation-processors ....................... SUCCESS [0.061s]
...a lot of SUCCESS...
[INFO] Acris Widgets Beantable ........................... SUCCESS [14.219s]
[INFO] AcrIS Shadow Theme ................................ FAILURE [3.649s]
[INFO] AcrIS Metal Theme ................................. SKIPPED
...a lot of SKIPPED...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:09.197s
[INFO] Finished at: Wed May 15 15:50:51 PDT 2013
[INFO] Final Memory: 204M/420M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project acris-theme-shadow: Compilation failure
[ERROR] 
/home/path/to/acris-trunk/acris-theme/acris-theme-shadow/target/generated/sk/seg
es/acris/theme/client/shadow/ShadowCheckBoxComponent.java:[26,1] error: cannot 
find symbol
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :acris-theme-shadow

Original comment by spun...@gmail.com on 15 May 2013 at 10:54

GoogleCodeExporter commented 9 years ago
Attaching a log.

I'm surprised that mvn build tries to compile the class file directly into the 
project folder rather than the target folder.

spundun@ubuntu:~/Personal/acris-trunk/acris-theme/acris-theme-shadow$ find . 
-iname "ShadowThemeResources.*"
./src/main/java/sk/seges/acris/theme/client/shadow/resources/ShadowThemeResource
s.java
./sk/seges/acris/theme/client/shadow/resources/ShadowThemeResources.class

Original comment by spun...@gmail.com on 15 May 2013 at 11:09

Attachments:

GoogleCodeExporter commented 9 years ago
ok something weird happened, I rand mvn clean install again and it worked.

I think the build system might be broken, sequencing wise.

If I remove the classes put in the project folder with rm -r sk, then run mvn 
clean install, it fails the first time and succeeds the second time.

:)

Original comment by spun...@gmail.com on 15 May 2013 at 11:13

GoogleCodeExporter commented 9 years ago
also if I run mvn install from acris-trunk then I get the classes in 
acris-trunk/sk..., if I run it from acris-theme-shadow, I get the class 
direcrtory in acris-theme-shadow/sk/...

Original comment by spun...@gmail.com on 15 May 2013 at 11:14

GoogleCodeExporter commented 9 years ago
Yay Build Success! I had to take out image-utils.

And there was that weirdness with acris-theme-shadow, other than that, no 
problems!

Original comment by spun...@gmail.com on 15 May 2013 at 11:32

GoogleCodeExporter commented 9 years ago
The showcase builds are failing in acris-showcase-ui-support

Original comment by spun...@gmail.com on 15 May 2013 at 11:53

GoogleCodeExporter commented 9 years ago
released version 2.0.0

Original comment by ladislav...@gmail.com on 27 Sep 2014 at 12:55