• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

End-2-end sample Cairngorm3 application with Maven

Explorer ,
Feb 07, 2011 Feb 07, 2011

Copy link to clipboard

Copied

Hi,

I am setting up a project using "best of breed" technologies "Flex-Spring-Hibernate" with Maven support, just like our great "todo sample" http://opensource.adobe.com/svn/opensource/cairngorm3/trunk/samples/todo.

But my skill is just so limited so I can't do it by myself. I need a sample to follow (even copy/paste). All I need is something like our "todo sample" on its own (not an application inside cairngorm3 source code).

If you have or saw something like that, please tell me.

Thanks,

P/S: side question: I built the todo app successfully then deploy to tomcat. But I got a empty screen when I run it. I guess I miss some installation steps. I searched for the installtion guide but couldn't find one. Please share me if you have the guide

TOPICS
Cairngorm

Views

2.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Feb 08, 2011 Feb 08, 2011
  • I recently publish a fork of this todo sample in git cf. https://github.com/Adobe-TXI/cairngorm3-todo-sample

  • The flashbuilder files are committed  just use them

  • As for the java project files you may use M2eclipse to generate them

  • a complete guide, that will come: what kind of stuff are looking for in this guide ?

Votes

Translate

Translate
Adobe Employee ,
Feb 08, 2011 Feb 08, 2011

Copy link to clipboard

Copied

There were a few issues indeed with maven and the version of the sdk we used in the sample.
I just fixed by comitting a few upgrades in the builds:


* we migrated the todo sample to flex-mojos 4 (you'll have to migrate to maven3 as well)
** This change was tested with maven 3.0.2.
* and the flex sdk to 4.5.0.18623.

Please note that as mentioned in the flexmojos docs in addition, there is one JAR (AIR development tools) that is packaged with the Flex SDK but is not open source.
Because of this, flexMojos cannot host this artifact. To build from source, you will need to install this artifact into your own private repo:
mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=adt -Dversion=4.5.0.18623 -Dpackaging=jar -Dfile=adt.jar

This JAR is bundled with the Flex SDK, which is freely available from: http://opensource.adobe.com/wiki/display/flexsdk/Downloads

This changes (cf. http://forums.adobe.com/thread/788583?tstart=0 ) should fix the issue you were facing with our todo sample.
If you still have any, feel free to ping us again.

Meanwhile there's also a very nice and very simple sample on sonatype docs presenting the maven/java/flex stack (but without cairngorm) :
http://flexmojos.sonatype.org/reference-application.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 08, 2011 Feb 08, 2011

Copy link to clipboard

Copied

I replied directly to your thread (it didn't work yet). BTW, I would like to ask you (or anyone else) 2 questions:

- Do you guys have any plan of separating todo_sample from cairngorm 3 source code? So far its pom.xml extends from cairngorm3 source code. Yes, I know, it is reusability but I think it is not so portable.

- Has anyone configure the whole app on Eclipse? I tried but the project types are not recognized properly by Eclipse (helios). I tried "mvn flexmojos:flexbuilder" as well, it makes Eclipse uses maven dependencies and recognizes the project type. But still I got many build  path error.

I hope there will be a complete guide for this cool sample soon.

Thanks,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 08, 2011 Feb 08, 2011

Copy link to clipboard

Copied

LATEST
  • I recently publish a fork of this todo sample in git cf. https://github.com/Adobe-TXI/cairngorm3-todo-sample

  • The flashbuilder files are committed  just use them

  • As for the java project files you may use M2eclipse to generate them

  • a complete guide, that will come: what kind of stuff are looking for in this guide ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines