flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: Mavenize Apache Flex SDK 4.13 in couple with Air 15
Date Fri, 31 Oct 2014 12:50:35 GMT
Ok seeing your first post (Sort of skipped that)

The new mavneizer consists of several parts. Each one in a dedicated module producing a dedicated
jar. If you want to run it from the commandline you would have to add all these jars as well
as the dependenies to your classpath. An alternative would be to have a no-deps jar created
and using this. But till that's in I would recommend using Eclipse with M2Eclipse or IntelliJ
or Netbeans and run the main classes from in these as the IDE takes care of configuring the
classpath for you.

Chris

________________________________________
Von: 4xy <workingfenix@gmail.com>
Gesendet: Freitag, 31. Oktober 2014 12:25
An: users@flex.apache.org
Betreff: Re: Mavenize Apache Flex SDK 4.13 in couple with Air 15

May be I'm dense, but:

I did this.

git clone https://git-wip-us.apache.org/repos/asf/flex-utilities.git
cd flex-utilities/mavenizer
mvn package

This gave me the result:

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] flex-sdk-converter ................................ SUCCESS [1.230s]
[INFO] converters ........................................ SUCCESS [0.038s]
[INFO] base-converter .................................... SUCCESS [0.599s]
[INFO] air-converter ..................................... SUCCESS [0.113s]
[INFO] flash-converter ................................... SUCCESS [0.135s]
[INFO] flex-converter .................................... SUCCESS [0.130s]
[INFO] retrievers ........................................ SUCCESS [0.018s]
[INFO] base-retriever .................................... SUCCESS [0.194s]
[INFO] download-retriever ................................ SUCCESS [0.089s]
[INFO] core .............................................. SUCCESS [1.603s]
[INFO] deployers ......................................... SUCCESS [0.011s]
[INFO] maven-deployer .................................... SUCCESS [0.058s]
[INFO] aether-deployer ................................... SUCCESS [2.519s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6.982s
[INFO] Finished at: Fri Oct 31 15:13:24 MSK 2014
[INFO] Final Memory: 33M/532M
[INFO]
------------------------------------------------------------------------

NOTE: 'flex-utilities/mavenizer/target' directory doesn't contain
flex-sdk-converter-1.0.jar.

Eventually I found flex-sdk-converter-1.0.0-SNAPSHOT.jar under the
flex-utilities/mavenizer/core/target

I tried

java -cp flex-sdk-converter-1.0.0-SNAPSHOT.jar SDKGenerator path/to/flex-sdk
path/to/mavenized-flex-sdk false

got
Error: Could not find or load main class SDKGenerator

I tried
java -jar flex-sdk-converter-1.0.0-SNAPSHOT.jar path/to/flex-sdk
path/to/mavenized-flex-sdk false
got
Usage: SDKConverter {source-directory} {target-directory}

I tried
java -jar flex-sdk-converter-1.0.0-SNAPSHOT.jar path/to/flex-sdk
path/to/mavenized-flex-sdk

And it's worked, but with org.apache namespace, but I need com.adobe. I
looked into the source code and saw it doesn't accept third parameter.

Ok, I also see the sources under the 'flex-utilities/mavenizer/src'

And I really see the SDKGenerator class mentioned in the manual, but the
pom.xml (localed in 'flex-utilities/mavenizer') has no directions on how to
build it, so I have nothing in 'flex-utilities/mavenizer/target'.

Suggestions?










--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Mavenize-Apache-Flex-SDK-4-13-in-couple-with-Air-15-tp8549p8554.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message