You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Christofer Dutz <ch...@c-ware.de> on 2015/04/08 16:30:41 UTC

[MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Hi,


while I was at it to implement the last changes I saw for the first release, I also removed all the old legacy "main" classes and replaced them with one Commandline Interface (module cli)


If you checkout the "develop" branch of the flex-utils repo, and build the Mavenizer using "mvn clean install", you will get a "cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"


in the "cli/target" directory run the cli like this:

java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed by the commands you want it to execute)


Currently there are 4 commands:

list:                 Lists all versions and platforms available for download

download:    Downloads selected versions and assembles an FDK

convert:        Converts a previously installed (using the installer) or assembled (using download command) FDK into a mavenized form.

deploy:          Uploads previously created maven artifacts to a remote repository.


Some typical usage scenarios:

- Create a mavenized version of a previously installed FDK (Using the installer):

   "... -fdkDir <FDK install dir> -mavenDir <maven local repo> convert"

- Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and 16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):

   "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"

- Download and convert an FDK (FDK assembled in temp directory using Air for current systems platform only):

   "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir <maven local repo> download convert"

- Deploy a bunch of maven artifacts to a remote maven repository:

   "... -mavenDir <dir with maven artifacts> -repoUrl <url> -repoUsername <username> -repoPassword <pasword> deploy"

- "The works" (TM): Download, Convert and Deploy using only temp directories:

   "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword> download convert deploy"


Would be cool if you guys could experiment a little with it ... I think it could probably need a little hardening here and there. The more experiment with it, the harder it gets :-)


Chris



RE: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Chris,
I need to re-install my artifactory on my machine, in between, can you check the pom.xml for the CLI has been committed to develop as I can't see it.

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Wed, 8 Apr 2015 14:30:41 +0000
> 
> Hi,
> 
> 
> while I was at it to implement the last changes I saw for the first release, I also removed all the old legacy "main" classes and replaced them with one Commandline Interface (module cli)
> 
> 
> If you checkout the "develop" branch of the flex-utils repo, and build the Mavenizer using "mvn clean install", you will get a "cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> 
> 
> in the "cli/target" directory run the cli like this:
> 
> java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed by the commands you want it to execute)
> 
> 
> Currently there are 4 commands:
> 
> list:                 Lists all versions and platforms available for download
> 
> download:    Downloads selected versions and assembles an FDK
> 
> convert:        Converts a previously installed (using the installer) or assembled (using download command) FDK into a mavenized form.
> 
> deploy:          Uploads previously created maven artifacts to a remote repository.
> 
> 
> Some typical usage scenarios:
> 
> - Create a mavenized version of a previously installed FDK (Using the installer):
> 
>    "... -fdkDir <FDK install dir> -mavenDir <maven local repo> convert"
> 
> - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and 16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> 
>    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> 
> - Download and convert an FDK (FDK assembled in temp directory using Air for current systems platform only):
> 
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir <maven local repo> download convert"
> 
> - Deploy a bunch of maven artifacts to a remote maven repository:
> 
>    "... -mavenDir <dir with maven artifacts> -repoUrl <url> -repoUsername <username> -repoPassword <pasword> deploy"
> 
> - "The works" (TM): Download, Convert and Deploy using only temp directories:
> 
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword> download convert deploy"
> 
> 
> Would be cool if you guys could experiment a little with it ... I think it could probably need a little hardening here and there. The more experiment with it, the harder it gets :-)
> 
> 
> Chris
> 
> 
 		 	   		  

AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Christofer Dutz <ch...@c-ware.de>.
Well if I added it to git it will track changes even if it is on the ignore list.


Chris


Gesendet mit meinem HTC

----- Reply message -----
Von: "Alex Harui" <ah...@adobe.com>
An: "dev@flex.apache.org" <de...@flex.apache.org>
Betreff: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
Datum: Fr., Apr. 10, 2015 17:44

FWIW, if I go and edit the pom.xml in mavenizer or mavenizer/converter,
git status shows me that it changed, so it doesn’t appear to be
.gitignore’d for me.

-Alex

On 4/10/15, 1:53 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Your changes are OK to me, I'll try to run it with other options today.
>> Does anyone here know which gitignore rule applys for "pom.xml" files?
>>If you work with IntelliJ, could it  be that some exclusions are still
>>in settings / maven / ignored files ?
>
>Thanks,
>Frédéric THOMAS
>
>> From: christofer.dutz@c-ware.de
>> To: dev@flex.apache.org
>> Subject: AW: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> Date: Fri, 10 Apr 2015 06:58:31 +0000
>>
>> Ok ... so I fixed the pom-related things you noticed.
>>
>> Does anyone here know which gitignore rule applys for "pom.xml" files?
>>That seems to have been the reason for the poms not being committed. I
>>forced them in, but we should fix what was causing this.
>>
>> I adjusted the name of the root artifact to apache-flex-sdk-converter,
>>as Justin pointed out that source distributions with the "apache-"
>>prefix are specially copyright protected. Unfortunately I missed to
>>adjust this for the 4 child poms. I fixed that (It worked for me as I
>>did have a flex-sdk-converter pom in my local repo)
>>
>> Thanks for reporting this stuff ... will add a "if not y/yes/n/no then
>>retry"-loop right away :-)
>>
>> Chris
>>
>> ________________________________________
>> Von: Frédéric THOMAS <we...@hotmail.com>
>> Gesendet: Freitag, 10. April 2015 01:36
>> An: dev@flex.apache.org
>> Betreff: RE: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>>
>> And I hate the outlook web mail at time, I never know how it will or
>>not keep the break lines.
>>
>> Frédéric THOMAS
>>
>> > From: webdoublefx@hotmail.com
>> > To: dev@flex.apache.org
>> > Subject: RE: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> > Date: Fri, 10 Apr 2015 00:33:06 +0100
>> >
>> > Hey Chris,
>> > Pretty neat :-) I enjoyed it.
>> >
>> > At the moment I've been running 2 commands [1] and [2] and for the
>>first one, that's a detail but when prompted to confirm the license
>>agreement and answer 'y' instead of 'Yes', I've got that [3] and I have
>>to start the all thing again, by the way, I guess the error is not catch
>>because that will be done in FM 7.1.0 ? Otherwise I guess we could
>>accept y/n and yes/no upper and lower case, what do you think ?
>> > I've got another little issue too [4] and [5], except of that, the
>>all thing looks great !!
>> > Next steps for me but not tonight:
>> > 1- Try the deployer2- Test the resulting mavenized SDK against an
>>application.3- Something else ??
>> > Good job Chris :-)
>> > Frédéric THOMAS
>> > [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir
>>d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0
>>-airVersion 17.0 -platform WINDOWS,MAC -fontkit download
>> > [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir
>>d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0
>>-airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
>> > [3] ===========================================================-
>>Downloading Flash SDK version: 17.0 to directory:
>>d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the
>>Adobe Flash Player playerglobal.swc. Do you want to install the Adobe
>>Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to
>>accept the license agreement in order to proceed.Exception in thread
>>"main"
>>org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverExcept
>>ion: You have to accept the license agreement in order to proceed.
>> at
>>org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever
>>.confirmLicenseAcceptance(DownloadRetriever.java:352)        at
>>org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever
>>.retrieve(DownloadRetriever.java:79)
>> >         at
>>org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever
>>.retrieve(DownloadRetriever.java:73)
>> >         at
>>org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverte
>>rCLI.java:200)
>> > [4] ===========================================================
>>        - Downloading Flex Fontkit libraries to directory:
>>d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's
>>embedded font support. This feature requires a few font jars from
>>theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6
>>applies to these jars. This license is not compatible with the Apache V2
>>license. Do you want to install these jars from the Adobe Flex SDK?Do
>>you accept (Yes/No)? YesSLF4J: Failed to load class
>>"org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation
>>(NOP) logger implementationSLF4J: See
>>http://www.slf4j.org/codes.html#StaticLoggerBinder for further
>>details.statusCode: 200reasonPhrase: OK
>> > [5] ------------------------------------------------
>>Conversion------------------------------------------------ Converting
>>Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J:
>>Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J:
>>Defaulting to no-operation (NOP) logger implementationSLF4J: See
>>http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
>> > > From: webdoublefx@hotmail.com
>> > > To: dev@flex.apache.org
>> > > Subject: RE: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> > > Date: Thu, 9 Apr 2015 23:07:42 +0100
>> > >
>> > > Hi Alex,
>> > > Yes, I had the same.
>> > >
>> > > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but
>>in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference
>>and will build.
>> > >
>> > > Frédéric THOMAS
>> > >
>> > > > From: aharui@adobe.com
>> > > > To: dev@flex.apache.org
>> > > > Subject: Re: AW: [MAVENIZER] New dev-version available for
>>playing around with Command Line Interface :-)
>> > > > Date: Thu, 9 Apr 2015 21:57:14 +0000
>> > > >
>> > > > Will that fix the errors I got?  Here’s the output for me:
>> > > >
>> > > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
>> > > > [INFO] Scanning for projects...
>> > > > [ERROR] The build could not read 4 projects -> [Help 1]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
>> > > >
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xm
>>l)
>> > > >  has 1 error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > >
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
>> > > >
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xm
>>l)
>> > > >  has 1 error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > >
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
>> > > >
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml
>>)
>> > > > has 1 error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > >
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
>> > > >
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has
>>1
>> > > > error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > >
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [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/ProjectBuildingException
>> > > > [ERROR] [Help 2]
>> > > >
>>http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcepti
>>on
>> > > >
>> > > > BTW, I made a few spelling corrections to README.txt
>> > > >
>> > > >
>> > > > -Alex
>> > > >
>> > > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com>
>>wrote:
>> > > >
>> > > > >Didn't try yet with your new commit but there was a problem with
>>the
>> > > > >fontkit pom and the name of the parent artifact, this is my
>>patch [1] to
>> > > > >make it build, can you check you are align with on the develop
>>branch too
>> > > > >? after you confirm, I will stash and pull.
>> > > > >
>> > > > >Thanks,
>> > > > >Frédéric THOMAS
>> > > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
>> > > >
>>>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8==================
>>>==
>> > > > >===============================================--- cli/pom.xml
>>(revision
>> > > > >)+++ cli/pom.xml (revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
>> > > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
>>Foundation
>> > > > >(ASF) under one or more+  contributor license agreements.  See
>>the NOTICE
>> > > > >file distributed with+  this work for additional information
>>regarding
>> > > > >copyright ownership.+  The ASF licenses this file to You under
>>the Apache
>> > > > >License, Version 2.0+  (the "License"); you may not use this
>>file except
>> > > > >in compliance with+  the License.  You may obtain a copy of the
>>License
>> > > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless
>>required
>> > > > >by applicable law or agreed to in writing, software+
>>distributed under
>> > > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT
>>WARRANTIES OR
>> > > > >CONDITIONS OF ANY KIND, either express or implied.+  See the
>>License for
>> > > > >the specific language governing permissions and+  limitations
>>under the
>> > > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
>> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
>> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>flex-sdk-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
>> > > > ><artifactId>cli</artifactId>+
>><version>1.1.0-SNAPSHOT</version>+
>> > > > ><packaging>jar</packaging>++    <build>+        <plugins>+
>> > > > ><plugin>+
>><artifactId>maven-assembly-plugin</artifactId>+
>> > > > >              <version>2.4</version>+
>><configuration>+
>> > > > >               <archive>+                        <manifest>+
>> > > > >
>> > > >
>>><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
>> > > > >                          <addClasspath>true</addClasspath>+
>> > > > >
>> > > >
>>><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mai
>>>nC
>> > > > >lass>+                        </manifest>+
>> > > > ><manifestEntries>+
>> > > > ><Implementation-Build>${project.version}</Implementation-Build>+
>> > > > >              </manifestEntries>+                    </archive>+
>> > > > >          <descriptorRefs>+
>> > > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
>> > > > ></descriptorRefs>+
>> > > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
>> > > > >       <appendAssemblyId>false</appendAssemblyId>+
>> > > > ></configuration>+                <executions>+
>> > > > ><execution>+                        <phase>package</phase>+
>> > > > >         <goals>+                            <goal>single</goal>+
>> > > > >               </goals>+                    </execution>+
>> > > > ></executions>+            </plugin>+        </plugins>+
>></build>++
>> > > > ><dependencies>+        <dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>download-retriever</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
>> > > > ><dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>flex-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
>> > > > ><dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>aether-deployer</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
>> > > > ><dependency>+            <groupId>commons-cli</groupId>+
>> > > > ><artifactId>commons-cli</artifactId>+
>><version>1.2</version>+
>> > > > >      </dependency>+        <dependency>+
>> > > > ><groupId>org.apache.commons</groupId>+
>> > > > ><artifactId>commons-lang3</artifactId>+
>> > > > ><version>3.3.2</version>+        </dependency>+
>> > > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
>> > > > >additional info:Subsystem:
>> > > >
>>>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8==================
>>>==
>> > > > >===============================================---
>> > > > >converters/fontkit/pom.xml       (revision )+++
>> > > > >converters/fontkit/pom.xml       (revision )@@ -0,0 +1,46
>>@@+<?xml
>> > > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache
>>Software
>> > > > >Foundation (ASF) under one or more+  contributor license
>>agreements.  See
>> > > > >the NOTICE file distributed with+  this work for additional
>>information
>> > > > >regarding copyright ownership.+  The ASF licenses this file to
>>You under
>> > > > >the Apache License, Version 2.0+  (the "License"); you may not
>>use this
>> > > > >file except in compliance with+  the License.  You may obtain a
>>copy of
>> > > > >the License at++
>>http://www.apache.org/licenses/LICENSE-2.0++
>> > > > >Unless required by applicable law or agreed to in writing,
>>software+
>> > > > >distributed under the License is distributed on an "AS IS"
>>BASIS,+
>> > > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>implied.+
>> > > > > See the License for the specific language governing permissions
>>and+
>> > > > >limitations under the License.++-->+<project
>> > > > >xmlns="http://maven.apache.org/POM/4.0.0"
>> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
>> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>converters</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
>> > > > ><artifactId>fontkit-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+
>><packaging>jar</packaging>++
>> > > > ><dependencies>+        <dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>base-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
>> > > > ><dependency>+            <groupId>org.apache.commons</groupId>+
>> > > > > <artifactId>commons-compress</artifactId>+
>> > > > ><version>1.4</version>+        </dependency>+
>> > > > ></dependencies>++</project>Index: pom.xmlIDEA additional
>>info:Subsystem:
>> > > >
>>>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8==================
>>>==
>> > > > >===============================================--- pom.xml
>>(revision
>> > > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml
>>(revision )@@ -27,7
>> > > > >+27,7 @@     </parent>
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>-
>> > > > ><artifactId>apache-flex-sdk-converter</artifactId>+
>> > > > ><artifactId>flex-sdk-converter</artifactId>
>> > > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
>> > > > >
>> > > > >> From: christofer.dutz@c-ware.de
>> > > > >> To: dev@flex.apache.org
>> > > > >> Subject: AW: [MAVENIZER] New dev-version available for playing
>>around
>> > > > >>with Command Line Interface :-)
>> > > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
>> > > > >>
>> > > > >> Hi Frederic,
>> > > > >>
>> > > > >> Ok ... thanks for reporting this.
>> > > > >>
>> > > > >> I had to force the addition of that pom as git complained,
>>that it was
>> > > > >>excluded because of one of the active ".gitignore" files rules
>>(I
>> > > > >>couldn't find the rule that was causing the exclusion). Well
>>after
>> > > > >>forcing it in I could confirm it's presence by going to the
>>Github web
>> > > > >>interface.
>> > > > >>
>> > > > >> Give it another try ... should work now.
>> > > > >>
>> > > > >> Chris
>> > > > >>
>> > > > >> ________________________________________
>> > > > >> Von: Frédéric THOMAS <we...@hotmail.com>
>> > > > >> Gesendet: Donnerstag, 9. April 2015 22:38
>> > > > >> An: dev@flex.apache.org
>> > > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing
>>around
>> > > > >>with Command Line Interface :-)
>> > > > >>
>> > > > >> Hi Chris,
>> > > > >> I need to re-install my artifactory on my machine, in between,
>>can you
>> > > > >>check the pom.xml for the CLI has been committed to develop as
>>I can't
>> > > > >>see it.
>> > > > >>
>> > > > >> Thanks,
>> > > > >> Frédéric THOMAS
>> > > > >>
>> > > > >> > From: christofer.dutz@c-ware.de
>> > > > >> > To: dev@flex.apache.org
>> > > > >> > Subject: [MAVENIZER] New dev-version available for playing
>>around
>> > > > >>with Command Line Interface :-)
>> > > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
>> > > > >> >
>> > > > >> > Hi,
>> > > > >> >
>> > > > >> >
>> > > > >> > while I was at it to implement the last changes I saw for
>>the first
>> > > > >>release, I also removed all the old legacy "main" classes and
>>replaced
>> > > > >>them with one Commandline Interface (module cli)
>> > > > >> >
>> > > > >> >
>> > > > >> > If you checkout the "develop" branch of the flex-utils repo,
>>and
>> > > > >>build the Mavenizer using "mvn clean install", you will get a
>> > > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
>> > > > >> >
>> > > > >> >
>> > > > >> > in the "cli/target" directory run the cli like this:
>> > > > >> >
>> > > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ...
>>(followed
>> > > > >>by the commands you want it to execute)
>> > > > >> >
>> > > > >> >
>> > > > >> > Currently there are 4 commands:
>> > > > >> >
>> > > > >> > list:                 Lists all versions and platforms
>>available for
>> > > > >>download
>> > > > >> >
>> > > > >> > download:    Downloads selected versions and assembles an FDK
>> > > > >> >
>> > > > >> > convert:        Converts a previously installed (using the
>>installer)
>> > > > >>or assembled (using download command) FDK into a mavenized form.
>> > > > >> >
>> > > > >> > deploy:          Uploads previously created maven artifacts
>>to a
>> > > > >>remote repository.
>> > > > >> >
>> > > > >> >
>> > > > >> > Some typical usage scenarios:
>> > > > >> >
>> > > > >> > - Create a mavenized version of a previously installed FDK
>>(Using the
>> > > > >>installer):
>> > > > >> >
>> > > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local
>>repo>
>> > > > >>convert"
>> > > > >> >
>> > > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal
>>17.0 and
>> > > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
>> > > > >> >
>> > > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1
>>-flashVersion
>> > > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit
>>download"
>> > > > >> >
>> > > > >> > - Download and convert an FDK (FDK assembled in temp
>>directory using
>> > > > >>Air for current systems platform only):
>> > > > >> >
>> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion
>>17.0
>> > > > >>-fontkit -mavenDir <maven local repo> download convert"
>> > > > >> >
>> > > > >> > - Deploy a bunch of maven artifacts to a remote maven
>>repository:
>> > > > >> >
>> > > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
>> > > > >>-repoUsername <username> -repoPassword <pasword> deploy"
>> > > > >> >
>> > > > >> > - "The works" (TM): Download, Convert and Deploy using only
>>temp
>> > > > >>directories:
>> > > > >> >
>> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion
>>17.0
>> > > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword
>><pasword>
>> > > > >>download convert deploy"
>> > > > >> >
>> > > > >> >
>> > > > >> > Would be cool if you guys could experiment a little with it
>>... I
>> > > > >>think it could probably need a little hardening here and there.
>>The more
>> > > > >>experiment with it, the harder it gets :-)
>> > > > >> >
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> >
>> > > > >
>> > > >
>> > >
>> >
>


Re: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Alex Harui <ah...@adobe.com>.
FWIW, if I go and edit the pom.xml in mavenizer or mavenizer/converter,
git status shows me that it changed, so it doesn’t appear to be
.gitignore’d for me.

-Alex

On 4/10/15, 1:53 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Your changes are OK to me, I'll try to run it with other options today.
>> Does anyone here know which gitignore rule applys for "pom.xml" files?
>>If you work with IntelliJ, could it  be that some exclusions are still
>>in settings / maven / ignored files ?
>
>Thanks,
>Frédéric THOMAS
>
>> From: christofer.dutz@c-ware.de
>> To: dev@flex.apache.org
>> Subject: AW: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> Date: Fri, 10 Apr 2015 06:58:31 +0000
>> 
>> Ok ... so I fixed the pom-related things you noticed.
>> 
>> Does anyone here know which gitignore rule applys for "pom.xml" files?
>>That seems to have been the reason for the poms not being committed. I
>>forced them in, but we should fix what was causing this.
>> 
>> I adjusted the name of the root artifact to apache-flex-sdk-converter,
>>as Justin pointed out that source distributions with the "apache-"
>>prefix are specially copyright protected. Unfortunately I missed to
>>adjust this for the 4 child poms. I fixed that (It worked for me as I
>>did have a flex-sdk-converter pom in my local repo)
>> 
>> Thanks for reporting this stuff ... will add a "if not y/yes/n/no then
>>retry"-loop right away :-)
>> 
>> Chris
>> 
>> ________________________________________
>> Von: Frédéric THOMAS <we...@hotmail.com>
>> Gesendet: Freitag, 10. April 2015 01:36
>> An: dev@flex.apache.org
>> Betreff: RE: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> 
>> And I hate the outlook web mail at time, I never know how it will or
>>not keep the break lines.
>> 
>> Frédéric THOMAS
>> 
>> > From: webdoublefx@hotmail.com
>> > To: dev@flex.apache.org
>> > Subject: RE: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> > Date: Fri, 10 Apr 2015 00:33:06 +0100
>> >
>> > Hey Chris,
>> > Pretty neat :-) I enjoyed it.
>> >
>> > At the moment I've been running 2 commands [1] and [2] and for the
>>first one, that's a detail but when prompted to confirm the license
>>agreement and answer 'y' instead of 'Yes', I've got that [3] and I have
>>to start the all thing again, by the way, I guess the error is not catch
>>because that will be done in FM 7.1.0 ? Otherwise I guess we could
>>accept y/n and yes/no upper and lower case, what do you think ?
>> > I've got another little issue too [4] and [5], except of that, the
>>all thing looks great !!
>> > Next steps for me but not tonight:
>> > 1- Try the deployer2- Test the resulting mavenized SDK against an
>>application.3- Something else ??
>> > Good job Chris :-)
>> > Frédéric THOMAS
>> > [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir
>>d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0
>>-airVersion 17.0 -platform WINDOWS,MAC -fontkit download
>> > [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir
>>d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0
>>-airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
>> > [3] ===========================================================-
>>Downloading Flash SDK version: 17.0 to directory:
>>d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the
>>Adobe Flash Player playerglobal.swc. Do you want to install the Adobe
>>Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to
>>accept the license agreement in order to proceed.Exception in thread
>>"main" 
>>org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverExcept
>>ion: You have to accept the license agreement in order to proceed.
>> at 
>>org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever
>>.confirmLicenseAcceptance(DownloadRetriever.java:352)        at
>>org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever
>>.retrieve(DownloadRetriever.java:79)
>> >         at 
>>org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever
>>.retrieve(DownloadRetriever.java:73)
>> >         at 
>>org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverte
>>rCLI.java:200)
>> > [4] ===========================================================
>>        - Downloading Flex Fontkit libraries to directory:
>>d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's
>>embedded font support. This feature requires a few font jars from
>>theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6
>>applies to these jars. This license is not compatible with the Apache V2
>>license. Do you want to install these jars from the Adobe Flex SDK?Do
>>you accept (Yes/No)? YesSLF4J: Failed to load class
>>"org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation
>>(NOP) logger implementationSLF4J: See
>>http://www.slf4j.org/codes.html#StaticLoggerBinder for further
>>details.statusCode: 200reasonPhrase: OK
>> > [5] ------------------------------------------------
>>Conversion------------------------------------------------ Converting
>>Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J:
>>Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J:
>>Defaulting to no-operation (NOP) logger implementationSLF4J: See
>>http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
>> > > From: webdoublefx@hotmail.com
>> > > To: dev@flex.apache.org
>> > > Subject: RE: AW: [MAVENIZER] New dev-version available for playing
>>around with Command Line Interface :-)
>> > > Date: Thu, 9 Apr 2015 23:07:42 +0100
>> > >
>> > > Hi Alex,
>> > > Yes, I had the same.
>> > >
>> > > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but
>>in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference
>>and will build.
>> > >
>> > > Frédéric THOMAS
>> > >
>> > > > From: aharui@adobe.com
>> > > > To: dev@flex.apache.org
>> > > > Subject: Re: AW: [MAVENIZER] New dev-version available for
>>playing around with Command Line Interface :-)
>> > > > Date: Thu, 9 Apr 2015 21:57:14 +0000
>> > > >
>> > > > Will that fix the errors I got?  Here’s the output for me:
>> > > >
>> > > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
>> > > > [INFO] Scanning for projects...
>> > > > [ERROR] The build could not read 4 projects -> [Help 1]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
>> > > > 
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xm
>>l)
>> > > >  has 1 error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > > 
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
>> > > > 
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xm
>>l)
>> > > >  has 1 error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > > 
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
>> > > > 
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml
>>)
>> > > > has 1 error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > > 
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [ERROR]
>> > > > [ERROR]   The project
>> > > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
>> > > > 
>>(/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has
>>1
>> > > > error
>> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
>> > > > 
>>org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
>> > > > and 'parent.relativePath' points at wrong local POM @ line 23,
>>column 13
>> > > > -> [Help 2]
>> > > > [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/ProjectBuildingException
>> > > > [ERROR] [Help 2]
>> > > > 
>>http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcepti
>>on
>> > > >
>> > > > BTW, I made a few spelling corrections to README.txt
>> > > >
>> > > >
>> > > > -Alex
>> > > >
>> > > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com>
>>wrote:
>> > > >
>> > > > >Didn't try yet with your new commit but there was a problem with
>>the
>> > > > >fontkit pom and the name of the parent artifact, this is my
>>patch [1] to
>> > > > >make it build, can you check you are align with on the develop
>>branch too
>> > > > >? after you confirm, I will stash and pull.
>> > > > >
>> > > > >Thanks,
>> > > > >Frédéric THOMAS
>> > > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
>> > > > 
>>>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8==================
>>>==
>> > > > >===============================================--- cli/pom.xml
>>(revision
>> > > > >)+++ cli/pom.xml (revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
>> > > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
>>Foundation
>> > > > >(ASF) under one or more+  contributor license agreements.  See
>>the NOTICE
>> > > > >file distributed with+  this work for additional information
>>regarding
>> > > > >copyright ownership.+  The ASF licenses this file to You under
>>the Apache
>> > > > >License, Version 2.0+  (the "License"); you may not use this
>>file except
>> > > > >in compliance with+  the License.  You may obtain a copy of the
>>License
>> > > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless
>>required
>> > > > >by applicable law or agreed to in writing, software+
>>distributed under
>> > > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT
>>WARRANTIES OR
>> > > > >CONDITIONS OF ANY KIND, either express or implied.+  See the
>>License for
>> > > > >the specific language governing permissions and+  limitations
>>under the
>> > > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
>> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
>> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>flex-sdk-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
>> > > > ><artifactId>cli</artifactId>+
>><version>1.1.0-SNAPSHOT</version>+
>> > > > ><packaging>jar</packaging>++    <build>+        <plugins>+
>> > > > ><plugin>+
>><artifactId>maven-assembly-plugin</artifactId>+
>> > > > >              <version>2.4</version>+
>><configuration>+
>> > > > >               <archive>+                        <manifest>+
>> > > > >
>> > > > 
>>><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
>> > > > >                          <addClasspath>true</addClasspath>+
>> > > > >
>> > > > 
>>><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mai
>>>nC
>> > > > >lass>+                        </manifest>+
>> > > > ><manifestEntries>+
>> > > > ><Implementation-Build>${project.version}</Implementation-Build>+
>> > > > >              </manifestEntries>+                    </archive>+
>> > > > >          <descriptorRefs>+
>> > > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
>> > > > ></descriptorRefs>+
>> > > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
>> > > > >       <appendAssemblyId>false</appendAssemblyId>+
>> > > > ></configuration>+                <executions>+
>> > > > ><execution>+                        <phase>package</phase>+
>> > > > >         <goals>+                            <goal>single</goal>+
>> > > > >               </goals>+                    </execution>+
>> > > > ></executions>+            </plugin>+        </plugins>+
>></build>++
>> > > > ><dependencies>+        <dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>download-retriever</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
>> > > > ><dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>flex-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
>> > > > ><dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>aether-deployer</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
>> > > > ><dependency>+            <groupId>commons-cli</groupId>+
>> > > > ><artifactId>commons-cli</artifactId>+
>><version>1.2</version>+
>> > > > >      </dependency>+        <dependency>+
>> > > > ><groupId>org.apache.commons</groupId>+
>> > > > ><artifactId>commons-lang3</artifactId>+
>> > > > ><version>3.3.2</version>+        </dependency>+
>> > > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
>> > > > >additional info:Subsystem:
>> > > > 
>>>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8==================
>>>==
>> > > > >===============================================---
>> > > > >converters/fontkit/pom.xml       (revision )+++
>> > > > >converters/fontkit/pom.xml       (revision )@@ -0,0 +1,46
>>@@+<?xml
>> > > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache
>>Software
>> > > > >Foundation (ASF) under one or more+  contributor license
>>agreements.  See
>> > > > >the NOTICE file distributed with+  this work for additional
>>information
>> > > > >regarding copyright ownership.+  The ASF licenses this file to
>>You under
>> > > > >the Apache License, Version 2.0+  (the "License"); you may not
>>use this
>> > > > >file except in compliance with+  the License.  You may obtain a
>>copy of
>> > > > >the License at++
>>http://www.apache.org/licenses/LICENSE-2.0++
>> > > > >Unless required by applicable law or agreed to in writing,
>>software+
>> > > > >distributed under the License is distributed on an "AS IS"
>>BASIS,+
>> > > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>implied.+
>> > > > > See the License for the specific language governing permissions
>>and+
>> > > > >limitations under the License.++-->+<project
>> > > > >xmlns="http://maven.apache.org/POM/4.0.0"
>> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
>> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>converters</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
>> > > > ><artifactId>fontkit-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+
>><packaging>jar</packaging>++
>> > > > ><dependencies>+        <dependency>+
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
>> > > > ><artifactId>base-converter</artifactId>+
>> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
>> > > > ><dependency>+            <groupId>org.apache.commons</groupId>+
>> > > > > <artifactId>commons-compress</artifactId>+
>> > > > ><version>1.4</version>+        </dependency>+
>> > > > ></dependencies>++</project>Index: pom.xmlIDEA additional
>>info:Subsystem:
>> > > > 
>>>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8==================
>>>==
>> > > > >===============================================--- pom.xml
>>(revision
>> > > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml
>>(revision )@@ -27,7
>> > > > >+27,7 @@     </parent>
>> > > > ><groupId>org.apache.flex.utilities.converter</groupId>-
>> > > > ><artifactId>apache-flex-sdk-converter</artifactId>+
>> > > > ><artifactId>flex-sdk-converter</artifactId>
>> > > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
>> > > > >
>> > > > >> From: christofer.dutz@c-ware.de
>> > > > >> To: dev@flex.apache.org
>> > > > >> Subject: AW: [MAVENIZER] New dev-version available for playing
>>around
>> > > > >>with Command Line Interface :-)
>> > > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
>> > > > >>
>> > > > >> Hi Frederic,
>> > > > >>
>> > > > >> Ok ... thanks for reporting this.
>> > > > >>
>> > > > >> I had to force the addition of that pom as git complained,
>>that it was
>> > > > >>excluded because of one of the active ".gitignore" files rules
>>(I
>> > > > >>couldn't find the rule that was causing the exclusion). Well
>>after
>> > > > >>forcing it in I could confirm it's presence by going to the
>>Github web
>> > > > >>interface.
>> > > > >>
>> > > > >> Give it another try ... should work now.
>> > > > >>
>> > > > >> Chris
>> > > > >>
>> > > > >> ________________________________________
>> > > > >> Von: Frédéric THOMAS <we...@hotmail.com>
>> > > > >> Gesendet: Donnerstag, 9. April 2015 22:38
>> > > > >> An: dev@flex.apache.org
>> > > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing
>>around
>> > > > >>with Command Line Interface :-)
>> > > > >>
>> > > > >> Hi Chris,
>> > > > >> I need to re-install my artifactory on my machine, in between,
>>can you
>> > > > >>check the pom.xml for the CLI has been committed to develop as
>>I can't
>> > > > >>see it.
>> > > > >>
>> > > > >> Thanks,
>> > > > >> Frédéric THOMAS
>> > > > >>
>> > > > >> > From: christofer.dutz@c-ware.de
>> > > > >> > To: dev@flex.apache.org
>> > > > >> > Subject: [MAVENIZER] New dev-version available for playing
>>around
>> > > > >>with Command Line Interface :-)
>> > > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
>> > > > >> >
>> > > > >> > Hi,
>> > > > >> >
>> > > > >> >
>> > > > >> > while I was at it to implement the last changes I saw for
>>the first
>> > > > >>release, I also removed all the old legacy "main" classes and
>>replaced
>> > > > >>them with one Commandline Interface (module cli)
>> > > > >> >
>> > > > >> >
>> > > > >> > If you checkout the "develop" branch of the flex-utils repo,
>>and
>> > > > >>build the Mavenizer using "mvn clean install", you will get a
>> > > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
>> > > > >> >
>> > > > >> >
>> > > > >> > in the "cli/target" directory run the cli like this:
>> > > > >> >
>> > > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ...
>>(followed
>> > > > >>by the commands you want it to execute)
>> > > > >> >
>> > > > >> >
>> > > > >> > Currently there are 4 commands:
>> > > > >> >
>> > > > >> > list:                 Lists all versions and platforms
>>available for
>> > > > >>download
>> > > > >> >
>> > > > >> > download:    Downloads selected versions and assembles an FDK
>> > > > >> >
>> > > > >> > convert:        Converts a previously installed (using the
>>installer)
>> > > > >>or assembled (using download command) FDK into a mavenized form.
>> > > > >> >
>> > > > >> > deploy:          Uploads previously created maven artifacts
>>to a
>> > > > >>remote repository.
>> > > > >> >
>> > > > >> >
>> > > > >> > Some typical usage scenarios:
>> > > > >> >
>> > > > >> > - Create a mavenized version of a previously installed FDK
>>(Using the
>> > > > >>installer):
>> > > > >> >
>> > > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local
>>repo>
>> > > > >>convert"
>> > > > >> >
>> > > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal
>>17.0 and
>> > > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
>> > > > >> >
>> > > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1
>>-flashVersion
>> > > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit
>>download"
>> > > > >> >
>> > > > >> > - Download and convert an FDK (FDK assembled in temp
>>directory using
>> > > > >>Air for current systems platform only):
>> > > > >> >
>> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion
>>17.0
>> > > > >>-fontkit -mavenDir <maven local repo> download convert"
>> > > > >> >
>> > > > >> > - Deploy a bunch of maven artifacts to a remote maven
>>repository:
>> > > > >> >
>> > > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
>> > > > >>-repoUsername <username> -repoPassword <pasword> deploy"
>> > > > >> >
>> > > > >> > - "The works" (TM): Download, Convert and Deploy using only
>>temp
>> > > > >>directories:
>> > > > >> >
>> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion
>>17.0
>> > > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword
>><pasword>
>> > > > >>download convert deploy"
>> > > > >> >
>> > > > >> >
>> > > > >> > Would be cool if you guys could experiment a little with it
>>... I
>> > > > >>think it could probably need a little hardening here and there.
>>The more
>> > > > >>experiment with it, the harder it gets :-)
>> > > > >> >
>> > > > >> >
>> > > > >> > Chris
>> > > > >> >
>> > > > >> >
>> > > > >
>> > > >
>> > >
>> >
> 		 	   		  


RE: AW: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
> Well actually it should only be the ".gitignore" file in the GIT repo root or any of the current directories parents, but I can't see which rule makes the pom.xml files excluded. I don't have this effect in any of my other Git repos ... really strange. At least I hope all poms are comitted now.
> 
The reason why checking IntelliJ -> settings / maven / ignored files could be wise if you use it as well as the global .gitignore in your user folder.
What you can try too, is: 
do a change in the reluctant file and see if it is reported by git status and your IDE
if not:git update-index --no-assume-unchanged <the reluctant file>do a change in the reluctant file and see if it is reported by git status and your IDE
> I just did some more hardening work. Now the arguments and commands are validated a lot more and I added a loop in the "accpet the agreement" code that you can only exit if you accept or decline and you can accept or decline with y and n too.
> 
> Happy testing :-)
I tested it more before your last commit and was happy (I tested the y/n too), reviewing your code for the last commit, it doesn't seems that I will have any impacts except in the console output, I still need to try the deploy command though, will have a look at it later.

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: AW: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Fri, 10 Apr 2015 11:30:15 +0000
> 
> Well actually it should only be the ".gitignore" file in the GIT repo root or any of the current directories parents, but I can't see which rule makes the pom.xml files excluded. I don't have this effect in any of my other Git repos ... really strange. At least I hope all poms are comitted now.
> 
> I just did some more hardening work. Now the arguments and commands are validated a lot more and I added a loop in the "accpet the agreement" code that you can only exit if you accept or decline and you can accept or decline with y and n too.
> 
> Happy testing :-)
> 
> Chris
> 
> ________________________________________
> Von: Frédéric THOMAS <we...@hotmail.com>
> Gesendet: Freitag, 10. April 2015 10:53
> An: dev@flex.apache.org
> Betreff: RE: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> 
> Your changes are OK to me, I'll try to run it with other options today.
> > Does anyone here know which gitignore rule applys for "pom.xml" files? If you work with IntelliJ, could it  be that some exclusions are still in settings / maven / ignored files ?
> 
> Thanks,
> Frédéric THOMAS
> 
> > From: christofer.dutz@c-ware.de
> > To: dev@flex.apache.org
> > Subject: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Fri, 10 Apr 2015 06:58:31 +0000
> >
> > Ok ... so I fixed the pom-related things you noticed.
> >
> > Does anyone here know which gitignore rule applys for "pom.xml" files? That seems to have been the reason for the poms not being committed. I forced them in, but we should fix what was causing this.
> >
> > I adjusted the name of the root artifact to apache-flex-sdk-converter, as Justin pointed out that source distributions with the "apache-" prefix are specially copyright protected. Unfortunately I missed to adjust this for the 4 child poms. I fixed that (It worked for me as I did have a flex-sdk-converter pom in my local repo)
> >
> > Thanks for reporting this stuff ... will add a "if not y/yes/n/no then retry"-loop right away :-)
> >
> > Chris
> >
> > ________________________________________
> > Von: Frédéric THOMAS <we...@hotmail.com>
> > Gesendet: Freitag, 10. April 2015 01:36
> > An: dev@flex.apache.org
> > Betreff: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> >
> > And I hate the outlook web mail at time, I never know how it will or not keep the break lines.
> >
> > Frédéric THOMAS
> >
> > > From: webdoublefx@hotmail.com
> > > To: dev@flex.apache.org
> > > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > Date: Fri, 10 Apr 2015 00:33:06 +0100
> > >
> > > Hey Chris,
> > > Pretty neat :-) I enjoyed it.
> > >
> > > At the moment I've been running 2 commands [1] and [2] and for the first one, that's a detail but when prompted to confirm the license agreement and answer 'y' instead of 'Yes', I've got that [3] and I have to start the all thing again, by the way, I guess the error is not catch because that will be done in FM 7.1.0 ? Otherwise I guess we could accept y/n and yes/no upper and lower case, what do you think ?
> > > I've got another little issue too [4] and [5], except of that, the all thing looks great !!
> > > Next steps for me but not tonight:
> > > 1- Try the deployer2- Test the resulting mavenized SDK against an application.3- Something else ??
> > > Good job Chris :-)
> > > Frédéric THOMAS
> > > [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download
> > > [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
> > > [3] ===========================================================- Downloading Flash SDK version: 17.0 to directory: d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the Adobe Flash Player playerglobal.swc. Do you want to install the Adobe Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to accept the license agreement in order to proceed.Exception in thread "main" org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You have to accept the license agreement in order to proceed.        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.confirmLicenseAcceptance(DownloadRetriever.java:352)        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:79)
> > >         at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:73)
> > >         at org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverterCLI.java:200)
> > > [4] ===========================================================               - Downloading Flex Fontkit libraries to directory: d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's embedded font support. This feature requires a few font jars from theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?Do you accept (Yes/No)? YesSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.statusCode: 200reasonPhrase: OK
> > > [5] ------------------------------------------------ Conversion------------------------------------------------ Converting Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> > > > From: webdoublefx@hotmail.com
> > > > To: dev@flex.apache.org
> > > > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > > Date: Thu, 9 Apr 2015 23:07:42 +0100
> > > >
> > > > Hi Alex,
> > > > Yes, I had the same.
> > > >
> > > > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.
> > > >
> > > > Frédéric THOMAS
> > > >
> > > > > From: aharui@adobe.com
> > > > > To: dev@flex.apache.org
> > > > > Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > > > Date: Thu, 9 Apr 2015 21:57:14 +0000
> > > > >
> > > > > Will that fix the errors I got?  Here’s the output for me:
> > > > >
> > > > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> > > > > [INFO] Scanning for projects...
> > > > > [ERROR] The build could not read 4 projects -> [Help 1]
> > > > > [ERROR]
> > > > > [ERROR]   The project
> > > > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> > > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
> > > > >  has 1 error
> > > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > > -> [Help 2]
> > > > > [ERROR]
> > > > > [ERROR]   The project
> > > > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> > > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
> > > > >  has 1 error
> > > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > > -> [Help 2]
> > > > > [ERROR]
> > > > > [ERROR]   The project
> > > > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> > > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> > > > > has 1 error
> > > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > > -> [Help 2]
> > > > > [ERROR]
> > > > > [ERROR]   The project
> > > > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> > > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> > > > > error
> > > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > > -> [Help 2]
> > > > > [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/ProjectBuildingException
> > > > > [ERROR] [Help 2]
> > > > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> > > > >
> > > > > BTW, I made a few spelling corrections to README.txt
> > > > >
> > > > >
> > > > > -Alex
> > > > >
> > > > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > > > >
> > > > > >Didn't try yet with your new commit but there was a problem with the
> > > > > >fontkit pom and the name of the parent artifact, this is my patch [1] to
> > > > > >make it build, can you check you are align with on the develop branch too
> > > > > >? after you confirm, I will stash and pull.
> > > > > >
> > > > > >Thanks,
> > > > > >Frédéric THOMAS
> > > > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> > > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > > >===============================================--- cli/pom.xml   (revision
> > > > > >)+++ cli/pom.xml (revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> > > > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> > > > > >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> > > > > >file distributed with+  this work for additional information regarding
> > > > > >copyright ownership.+  The ASF licenses this file to You under the Apache
> > > > > >License, Version 2.0+  (the "License"); you may not use this file except
> > > > > >in compliance with+  the License.  You may obtain a copy of the License
> > > > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> > > > > >by applicable law or agreed to in writing, software+  distributed under
> > > > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> > > > > >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> > > > > >the specific language governing permissions and+  limitations under the
> > > > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> > > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > > ><artifactId>flex-sdk-converter</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > > > ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> > > > > ><packaging>jar</packaging>++    <build>+        <plugins>+
> > > > > ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> > > > > >              <version>2.4</version>+                <configuration>+
> > > > > >               <archive>+                        <manifest>+
> > > > > >
> > > > > ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> > > > > >                          <addClasspath>true</addClasspath>+
> > > > > >
> > > > > ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> > > > > >lass>+                        </manifest>+
> > > > > ><manifestEntries>+
> > > > > ><Implementation-Build>${project.version}</Implementation-Build>+
> > > > > >              </manifestEntries>+                    </archive>+
> > > > > >          <descriptorRefs>+
> > > > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
> > > > > ></descriptorRefs>+
> > > > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
> > > > > >       <appendAssemblyId>false</appendAssemblyId>+
> > > > > ></configuration>+                <executions>+
> > > > > ><execution>+                        <phase>package</phase>+
> > > > > >         <goals>+                            <goal>single</goal>+
> > > > > >               </goals>+                    </execution>+
> > > > > ></executions>+            </plugin>+        </plugins>+    </build>++
> > > > > ><dependencies>+        <dependency>+
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > > ><artifactId>download-retriever</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > > ><dependency>+
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > > ><artifactId>flex-converter</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > > ><dependency>+
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > > ><artifactId>aether-deployer</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> > > > > ><dependency>+            <groupId>commons-cli</groupId>+
> > > > > ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> > > > > >      </dependency>+        <dependency>+
> > > > > ><groupId>org.apache.commons</groupId>+
> > > > > ><artifactId>commons-lang3</artifactId>+
> > > > > ><version>3.3.2</version>+        </dependency>+
> > > > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> > > > > >additional info:Subsystem:
> > > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > > >===============================================---
> > > > > >converters/fontkit/pom.xml       (revision )+++
> > > > > >converters/fontkit/pom.xml       (revision )@@ -0,0 +1,46 @@+<?xml
> > > > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> > > > > >Foundation (ASF) under one or more+  contributor license agreements.  See
> > > > > >the NOTICE file distributed with+  this work for additional information
> > > > > >regarding copyright ownership.+  The ASF licenses this file to You under
> > > > > >the Apache License, Version 2.0+  (the "License"); you may not use this
> > > > > >file except in compliance with+  the License.  You may obtain a copy of
> > > > > >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> > > > > >Unless required by applicable law or agreed to in writing, software+
> > > > > >distributed under the License is distributed on an "AS IS" BASIS,+
> > > > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > > > > > See the License for the specific language governing permissions and+
> > > > > >limitations under the License.++-->+<project
> > > > > >xmlns="http://maven.apache.org/POM/4.0.0"
> > > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > > ><artifactId>converters</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > > > ><artifactId>fontkit-converter</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> > > > > ><dependencies>+        <dependency>+
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > > ><artifactId>base-converter</artifactId>+
> > > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > > ><dependency>+            <groupId>org.apache.commons</groupId>+
> > > > > > <artifactId>commons-compress</artifactId>+
> > > > > ><version>1.4</version>+        </dependency>+
> > > > > ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> > > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > > >===============================================--- pom.xml       (revision
> > > > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml     (revision )@@ -27,7
> > > > > >+27,7 @@     </parent>
> > > > > ><groupId>org.apache.flex.utilities.converter</groupId>-
> > > > > ><artifactId>apache-flex-sdk-converter</artifactId>+
> > > > > ><artifactId>flex-sdk-converter</artifactId>
> > > > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> > > > > >
> > > > > >> From: christofer.dutz@c-ware.de
> > > > > >> To: dev@flex.apache.org
> > > > > >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> > > > > >>with Command Line Interface :-)
> > > > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> > > > > >>
> > > > > >> Hi Frederic,
> > > > > >>
> > > > > >> Ok ... thanks for reporting this.
> > > > > >>
> > > > > >> I had to force the addition of that pom as git complained, that it was
> > > > > >>excluded because of one of the active ".gitignore" files rules (I
> > > > > >>couldn't find the rule that was causing the exclusion). Well after
> > > > > >>forcing it in I could confirm it's presence by going to the Github web
> > > > > >>interface.
> > > > > >>
> > > > > >> Give it another try ... should work now.
> > > > > >>
> > > > > >> Chris
> > > > > >>
> > > > > >> ________________________________________
> > > > > >> Von: Frédéric THOMAS <we...@hotmail.com>
> > > > > >> Gesendet: Donnerstag, 9. April 2015 22:38
> > > > > >> An: dev@flex.apache.org
> > > > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> > > > > >>with Command Line Interface :-)
> > > > > >>
> > > > > >> Hi Chris,
> > > > > >> I need to re-install my artifactory on my machine, in between, can you
> > > > > >>check the pom.xml for the CLI has been committed to develop as I can't
> > > > > >>see it.
> > > > > >>
> > > > > >> Thanks,
> > > > > >> Frédéric THOMAS
> > > > > >>
> > > > > >> > From: christofer.dutz@c-ware.de
> > > > > >> > To: dev@flex.apache.org
> > > > > >> > Subject: [MAVENIZER] New dev-version available for playing around
> > > > > >>with Command Line Interface :-)
> > > > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> > > > > >> >
> > > > > >> > Hi,
> > > > > >> >
> > > > > >> >
> > > > > >> > while I was at it to implement the last changes I saw for the first
> > > > > >>release, I also removed all the old legacy "main" classes and replaced
> > > > > >>them with one Commandline Interface (module cli)
> > > > > >> >
> > > > > >> >
> > > > > >> > If you checkout the "develop" branch of the flex-utils repo, and
> > > > > >>build the Mavenizer using "mvn clean install", you will get a
> > > > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> > > > > >> >
> > > > > >> >
> > > > > >> > in the "cli/target" directory run the cli like this:
> > > > > >> >
> > > > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> > > > > >>by the commands you want it to execute)
> > > > > >> >
> > > > > >> >
> > > > > >> > Currently there are 4 commands:
> > > > > >> >
> > > > > >> > list:                 Lists all versions and platforms available for
> > > > > >>download
> > > > > >> >
> > > > > >> > download:    Downloads selected versions and assembles an FDK
> > > > > >> >
> > > > > >> > convert:        Converts a previously installed (using the installer)
> > > > > >>or assembled (using download command) FDK into a mavenized form.
> > > > > >> >
> > > > > >> > deploy:          Uploads previously created maven artifacts to a
> > > > > >>remote repository.
> > > > > >> >
> > > > > >> >
> > > > > >> > Some typical usage scenarios:
> > > > > >> >
> > > > > >> > - Create a mavenized version of a previously installed FDK (Using the
> > > > > >>installer):
> > > > > >> >
> > > > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> > > > > >>convert"
> > > > > >> >
> > > > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> > > > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> > > > > >> >
> > > > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> > > > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> > > > > >> >
> > > > > >> > - Download and convert an FDK (FDK assembled in temp directory using
> > > > > >>Air for current systems platform only):
> > > > > >> >
> > > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > > > >>-fontkit -mavenDir <maven local repo> download convert"
> > > > > >> >
> > > > > >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> > > > > >> >
> > > > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> > > > > >>-repoUsername <username> -repoPassword <pasword> deploy"
> > > > > >> >
> > > > > >> > - "The works" (TM): Download, Convert and Deploy using only temp
> > > > > >>directories:
> > > > > >> >
> > > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> > > > > >>download convert deploy"
> > > > > >> >
> > > > > >> >
> > > > > >> > Would be cool if you guys could experiment a little with it ... I
> > > > > >>think it could probably need a little hardening here and there. The more
> > > > > >>experiment with it, the harder it gets :-)
> > > > > >> >
> > > > > >> >
> > > > > >> > Chris
> > > > > >> >
> > > > > >> >
> > > > > >
> > > > >
> > > >
> > >
 		 	   		  

AW: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Christofer Dutz <ch...@c-ware.de>.
Well actually it should only be the ".gitignore" file in the GIT repo root or any of the current directories parents, but I can't see which rule makes the pom.xml files excluded. I don't have this effect in any of my other Git repos ... really strange. At least I hope all poms are comitted now.

I just did some more hardening work. Now the arguments and commands are validated a lot more and I added a loop in the "accpet the agreement" code that you can only exit if you accept or decline and you can accept or decline with y and n too.

Happy testing :-)

Chris

________________________________________
Von: Frédéric THOMAS <we...@hotmail.com>
Gesendet: Freitag, 10. April 2015 10:53
An: dev@flex.apache.org
Betreff: RE: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Your changes are OK to me, I'll try to run it with other options today.
> Does anyone here know which gitignore rule applys for "pom.xml" files? If you work with IntelliJ, could it  be that some exclusions are still in settings / maven / ignored files ?

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Fri, 10 Apr 2015 06:58:31 +0000
>
> Ok ... so I fixed the pom-related things you noticed.
>
> Does anyone here know which gitignore rule applys for "pom.xml" files? That seems to have been the reason for the poms not being committed. I forced them in, but we should fix what was causing this.
>
> I adjusted the name of the root artifact to apache-flex-sdk-converter, as Justin pointed out that source distributions with the "apache-" prefix are specially copyright protected. Unfortunately I missed to adjust this for the 4 child poms. I fixed that (It worked for me as I did have a flex-sdk-converter pom in my local repo)
>
> Thanks for reporting this stuff ... will add a "if not y/yes/n/no then retry"-loop right away :-)
>
> Chris
>
> ________________________________________
> Von: Frédéric THOMAS <we...@hotmail.com>
> Gesendet: Freitag, 10. April 2015 01:36
> An: dev@flex.apache.org
> Betreff: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
>
> And I hate the outlook web mail at time, I never know how it will or not keep the break lines.
>
> Frédéric THOMAS
>
> > From: webdoublefx@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Fri, 10 Apr 2015 00:33:06 +0100
> >
> > Hey Chris,
> > Pretty neat :-) I enjoyed it.
> >
> > At the moment I've been running 2 commands [1] and [2] and for the first one, that's a detail but when prompted to confirm the license agreement and answer 'y' instead of 'Yes', I've got that [3] and I have to start the all thing again, by the way, I guess the error is not catch because that will be done in FM 7.1.0 ? Otherwise I guess we could accept y/n and yes/no upper and lower case, what do you think ?
> > I've got another little issue too [4] and [5], except of that, the all thing looks great !!
> > Next steps for me but not tonight:
> > 1- Try the deployer2- Test the resulting mavenized SDK against an application.3- Something else ??
> > Good job Chris :-)
> > Frédéric THOMAS
> > [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download
> > [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
> > [3] ===========================================================- Downloading Flash SDK version: 17.0 to directory: d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the Adobe Flash Player playerglobal.swc. Do you want to install the Adobe Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to accept the license agreement in order to proceed.Exception in thread "main" org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You have to accept the license agreement in order to proceed.        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.confirmLicenseAcceptance(DownloadRetriever.java:352)        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:79)
> >         at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:73)
> >         at org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverterCLI.java:200)
> > [4] ===========================================================               - Downloading Flex Fontkit libraries to directory: d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's embedded font support. This feature requires a few font jars from theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?Do you accept (Yes/No)? YesSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.statusCode: 200reasonPhrase: OK
> > [5] ------------------------------------------------ Conversion------------------------------------------------ Converting Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> > > From: webdoublefx@hotmail.com
> > > To: dev@flex.apache.org
> > > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > Date: Thu, 9 Apr 2015 23:07:42 +0100
> > >
> > > Hi Alex,
> > > Yes, I had the same.
> > >
> > > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.
> > >
> > > Frédéric THOMAS
> > >
> > > > From: aharui@adobe.com
> > > > To: dev@flex.apache.org
> > > > Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > > Date: Thu, 9 Apr 2015 21:57:14 +0000
> > > >
> > > > Will that fix the errors I got?  Here’s the output for me:
> > > >
> > > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> > > > [INFO] Scanning for projects...
> > > > [ERROR] The build could not read 4 projects -> [Help 1]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
> > > >  has 1 error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
> > > >  has 1 error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> > > > has 1 error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> > > > error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [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/ProjectBuildingException
> > > > [ERROR] [Help 2]
> > > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> > > >
> > > > BTW, I made a few spelling corrections to README.txt
> > > >
> > > >
> > > > -Alex
> > > >
> > > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > > >
> > > > >Didn't try yet with your new commit but there was a problem with the
> > > > >fontkit pom and the name of the parent artifact, this is my patch [1] to
> > > > >make it build, can you check you are align with on the develop branch too
> > > > >? after you confirm, I will stash and pull.
> > > > >
> > > > >Thanks,
> > > > >Frédéric THOMAS
> > > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > >===============================================--- cli/pom.xml   (revision
> > > > >)+++ cli/pom.xml (revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> > > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> > > > >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> > > > >file distributed with+  this work for additional information regarding
> > > > >copyright ownership.+  The ASF licenses this file to You under the Apache
> > > > >License, Version 2.0+  (the "License"); you may not use this file except
> > > > >in compliance with+  the License.  You may obtain a copy of the License
> > > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> > > > >by applicable law or agreed to in writing, software+  distributed under
> > > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> > > > >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> > > > >the specific language governing permissions and+  limitations under the
> > > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>flex-sdk-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > > ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> > > > ><packaging>jar</packaging>++    <build>+        <plugins>+
> > > > ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> > > > >              <version>2.4</version>+                <configuration>+
> > > > >               <archive>+                        <manifest>+
> > > > >
> > > > ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> > > > >                          <addClasspath>true</addClasspath>+
> > > > >
> > > > ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> > > > >lass>+                        </manifest>+
> > > > ><manifestEntries>+
> > > > ><Implementation-Build>${project.version}</Implementation-Build>+
> > > > >              </manifestEntries>+                    </archive>+
> > > > >          <descriptorRefs>+
> > > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
> > > > ></descriptorRefs>+
> > > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
> > > > >       <appendAssemblyId>false</appendAssemblyId>+
> > > > ></configuration>+                <executions>+
> > > > ><execution>+                        <phase>package</phase>+
> > > > >         <goals>+                            <goal>single</goal>+
> > > > >               </goals>+                    </execution>+
> > > > ></executions>+            </plugin>+        </plugins>+    </build>++
> > > > ><dependencies>+        <dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>download-retriever</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > ><dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>flex-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > ><dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>aether-deployer</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> > > > ><dependency>+            <groupId>commons-cli</groupId>+
> > > > ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> > > > >      </dependency>+        <dependency>+
> > > > ><groupId>org.apache.commons</groupId>+
> > > > ><artifactId>commons-lang3</artifactId>+
> > > > ><version>3.3.2</version>+        </dependency>+
> > > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> > > > >additional info:Subsystem:
> > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > >===============================================---
> > > > >converters/fontkit/pom.xml       (revision )+++
> > > > >converters/fontkit/pom.xml       (revision )@@ -0,0 +1,46 @@+<?xml
> > > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> > > > >Foundation (ASF) under one or more+  contributor license agreements.  See
> > > > >the NOTICE file distributed with+  this work for additional information
> > > > >regarding copyright ownership.+  The ASF licenses this file to You under
> > > > >the Apache License, Version 2.0+  (the "License"); you may not use this
> > > > >file except in compliance with+  the License.  You may obtain a copy of
> > > > >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> > > > >Unless required by applicable law or agreed to in writing, software+
> > > > >distributed under the License is distributed on an "AS IS" BASIS,+
> > > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > > > > See the License for the specific language governing permissions and+
> > > > >limitations under the License.++-->+<project
> > > > >xmlns="http://maven.apache.org/POM/4.0.0"
> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>converters</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > > ><artifactId>fontkit-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> > > > ><dependencies>+        <dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>base-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > ><dependency>+            <groupId>org.apache.commons</groupId>+
> > > > > <artifactId>commons-compress</artifactId>+
> > > > ><version>1.4</version>+        </dependency>+
> > > > ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > >===============================================--- pom.xml       (revision
> > > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml     (revision )@@ -27,7
> > > > >+27,7 @@     </parent>
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>-
> > > > ><artifactId>apache-flex-sdk-converter</artifactId>+
> > > > ><artifactId>flex-sdk-converter</artifactId>
> > > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> > > > >
> > > > >> From: christofer.dutz@c-ware.de
> > > > >> To: dev@flex.apache.org
> > > > >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> > > > >>with Command Line Interface :-)
> > > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> > > > >>
> > > > >> Hi Frederic,
> > > > >>
> > > > >> Ok ... thanks for reporting this.
> > > > >>
> > > > >> I had to force the addition of that pom as git complained, that it was
> > > > >>excluded because of one of the active ".gitignore" files rules (I
> > > > >>couldn't find the rule that was causing the exclusion). Well after
> > > > >>forcing it in I could confirm it's presence by going to the Github web
> > > > >>interface.
> > > > >>
> > > > >> Give it another try ... should work now.
> > > > >>
> > > > >> Chris
> > > > >>
> > > > >> ________________________________________
> > > > >> Von: Frédéric THOMAS <we...@hotmail.com>
> > > > >> Gesendet: Donnerstag, 9. April 2015 22:38
> > > > >> An: dev@flex.apache.org
> > > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> > > > >>with Command Line Interface :-)
> > > > >>
> > > > >> Hi Chris,
> > > > >> I need to re-install my artifactory on my machine, in between, can you
> > > > >>check the pom.xml for the CLI has been committed to develop as I can't
> > > > >>see it.
> > > > >>
> > > > >> Thanks,
> > > > >> Frédéric THOMAS
> > > > >>
> > > > >> > From: christofer.dutz@c-ware.de
> > > > >> > To: dev@flex.apache.org
> > > > >> > Subject: [MAVENIZER] New dev-version available for playing around
> > > > >>with Command Line Interface :-)
> > > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> > > > >> >
> > > > >> > Hi,
> > > > >> >
> > > > >> >
> > > > >> > while I was at it to implement the last changes I saw for the first
> > > > >>release, I also removed all the old legacy "main" classes and replaced
> > > > >>them with one Commandline Interface (module cli)
> > > > >> >
> > > > >> >
> > > > >> > If you checkout the "develop" branch of the flex-utils repo, and
> > > > >>build the Mavenizer using "mvn clean install", you will get a
> > > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> > > > >> >
> > > > >> >
> > > > >> > in the "cli/target" directory run the cli like this:
> > > > >> >
> > > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> > > > >>by the commands you want it to execute)
> > > > >> >
> > > > >> >
> > > > >> > Currently there are 4 commands:
> > > > >> >
> > > > >> > list:                 Lists all versions and platforms available for
> > > > >>download
> > > > >> >
> > > > >> > download:    Downloads selected versions and assembles an FDK
> > > > >> >
> > > > >> > convert:        Converts a previously installed (using the installer)
> > > > >>or assembled (using download command) FDK into a mavenized form.
> > > > >> >
> > > > >> > deploy:          Uploads previously created maven artifacts to a
> > > > >>remote repository.
> > > > >> >
> > > > >> >
> > > > >> > Some typical usage scenarios:
> > > > >> >
> > > > >> > - Create a mavenized version of a previously installed FDK (Using the
> > > > >>installer):
> > > > >> >
> > > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> > > > >>convert"
> > > > >> >
> > > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> > > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> > > > >> >
> > > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> > > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> > > > >> >
> > > > >> > - Download and convert an FDK (FDK assembled in temp directory using
> > > > >>Air for current systems platform only):
> > > > >> >
> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > > >>-fontkit -mavenDir <maven local repo> download convert"
> > > > >> >
> > > > >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> > > > >> >
> > > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> > > > >>-repoUsername <username> -repoPassword <pasword> deploy"
> > > > >> >
> > > > >> > - "The works" (TM): Download, Convert and Deploy using only temp
> > > > >>directories:
> > > > >> >
> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> > > > >>download convert deploy"
> > > > >> >
> > > > >> >
> > > > >> > Would be cool if you guys could experiment a little with it ... I
> > > > >>think it could probably need a little hardening here and there. The more
> > > > >>experiment with it, the harder it gets :-)
> > > > >> >
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> >
> > > > >
> > > >
> > >
> >

RE: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Your changes are OK to me, I'll try to run it with other options today.
> Does anyone here know which gitignore rule applys for "pom.xml" files? If you work with IntelliJ, could it  be that some exclusions are still in settings / maven / ignored files ?

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Fri, 10 Apr 2015 06:58:31 +0000
> 
> Ok ... so I fixed the pom-related things you noticed.
> 
> Does anyone here know which gitignore rule applys for "pom.xml" files? That seems to have been the reason for the poms not being committed. I forced them in, but we should fix what was causing this.
> 
> I adjusted the name of the root artifact to apache-flex-sdk-converter, as Justin pointed out that source distributions with the "apache-" prefix are specially copyright protected. Unfortunately I missed to adjust this for the 4 child poms. I fixed that (It worked for me as I did have a flex-sdk-converter pom in my local repo)
> 
> Thanks for reporting this stuff ... will add a "if not y/yes/n/no then retry"-loop right away :-)
> 
> Chris
> 
> ________________________________________
> Von: Frédéric THOMAS <we...@hotmail.com>
> Gesendet: Freitag, 10. April 2015 01:36
> An: dev@flex.apache.org
> Betreff: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> 
> And I hate the outlook web mail at time, I never know how it will or not keep the break lines.
> 
> Frédéric THOMAS
> 
> > From: webdoublefx@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Fri, 10 Apr 2015 00:33:06 +0100
> >
> > Hey Chris,
> > Pretty neat :-) I enjoyed it.
> >
> > At the moment I've been running 2 commands [1] and [2] and for the first one, that's a detail but when prompted to confirm the license agreement and answer 'y' instead of 'Yes', I've got that [3] and I have to start the all thing again, by the way, I guess the error is not catch because that will be done in FM 7.1.0 ? Otherwise I guess we could accept y/n and yes/no upper and lower case, what do you think ?
> > I've got another little issue too [4] and [5], except of that, the all thing looks great !!
> > Next steps for me but not tonight:
> > 1- Try the deployer2- Test the resulting mavenized SDK against an application.3- Something else ??
> > Good job Chris :-)
> > Frédéric THOMAS
> > [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download
> > [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
> > [3] ===========================================================- Downloading Flash SDK version: 17.0 to directory: d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the Adobe Flash Player playerglobal.swc. Do you want to install the Adobe Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to accept the license agreement in order to proceed.Exception in thread "main" org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You have to accept the license agreement in order to proceed.        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.confirmLicenseAcceptance(DownloadRetriever.java:352)        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:79)
> >         at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:73)
> >         at org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverterCLI.java:200)
> > [4] ===========================================================               - Downloading Flex Fontkit libraries to directory: d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's embedded font support. This feature requires a few font jars from theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?Do you accept (Yes/No)? YesSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.statusCode: 200reasonPhrase: OK
> > [5] ------------------------------------------------ Conversion------------------------------------------------ Converting Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> > > From: webdoublefx@hotmail.com
> > > To: dev@flex.apache.org
> > > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > Date: Thu, 9 Apr 2015 23:07:42 +0100
> > >
> > > Hi Alex,
> > > Yes, I had the same.
> > >
> > > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.
> > >
> > > Frédéric THOMAS
> > >
> > > > From: aharui@adobe.com
> > > > To: dev@flex.apache.org
> > > > Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > > Date: Thu, 9 Apr 2015 21:57:14 +0000
> > > >
> > > > Will that fix the errors I got?  Here’s the output for me:
> > > >
> > > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> > > > [INFO] Scanning for projects...
> > > > [ERROR] The build could not read 4 projects -> [Help 1]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
> > > >  has 1 error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
> > > >  has 1 error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> > > > has 1 error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [ERROR]
> > > > [ERROR]   The project
> > > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> > > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> > > > error
> > > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > > -> [Help 2]
> > > > [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/ProjectBuildingException
> > > > [ERROR] [Help 2]
> > > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> > > >
> > > > BTW, I made a few spelling corrections to README.txt
> > > >
> > > >
> > > > -Alex
> > > >
> > > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > > >
> > > > >Didn't try yet with your new commit but there was a problem with the
> > > > >fontkit pom and the name of the parent artifact, this is my patch [1] to
> > > > >make it build, can you check you are align with on the develop branch too
> > > > >? after you confirm, I will stash and pull.
> > > > >
> > > > >Thanks,
> > > > >Frédéric THOMAS
> > > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > >===============================================--- cli/pom.xml   (revision
> > > > >)+++ cli/pom.xml (revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> > > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> > > > >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> > > > >file distributed with+  this work for additional information regarding
> > > > >copyright ownership.+  The ASF licenses this file to You under the Apache
> > > > >License, Version 2.0+  (the "License"); you may not use this file except
> > > > >in compliance with+  the License.  You may obtain a copy of the License
> > > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> > > > >by applicable law or agreed to in writing, software+  distributed under
> > > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> > > > >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> > > > >the specific language governing permissions and+  limitations under the
> > > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>flex-sdk-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > > ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> > > > ><packaging>jar</packaging>++    <build>+        <plugins>+
> > > > ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> > > > >              <version>2.4</version>+                <configuration>+
> > > > >               <archive>+                        <manifest>+
> > > > >
> > > > ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> > > > >                          <addClasspath>true</addClasspath>+
> > > > >
> > > > ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> > > > >lass>+                        </manifest>+
> > > > ><manifestEntries>+
> > > > ><Implementation-Build>${project.version}</Implementation-Build>+
> > > > >              </manifestEntries>+                    </archive>+
> > > > >          <descriptorRefs>+
> > > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
> > > > ></descriptorRefs>+
> > > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
> > > > >       <appendAssemblyId>false</appendAssemblyId>+
> > > > ></configuration>+                <executions>+
> > > > ><execution>+                        <phase>package</phase>+
> > > > >         <goals>+                            <goal>single</goal>+
> > > > >               </goals>+                    </execution>+
> > > > ></executions>+            </plugin>+        </plugins>+    </build>++
> > > > ><dependencies>+        <dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>download-retriever</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > ><dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>flex-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > ><dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>aether-deployer</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> > > > ><dependency>+            <groupId>commons-cli</groupId>+
> > > > ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> > > > >      </dependency>+        <dependency>+
> > > > ><groupId>org.apache.commons</groupId>+
> > > > ><artifactId>commons-lang3</artifactId>+
> > > > ><version>3.3.2</version>+        </dependency>+
> > > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> > > > >additional info:Subsystem:
> > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > >===============================================---
> > > > >converters/fontkit/pom.xml       (revision )+++
> > > > >converters/fontkit/pom.xml       (revision )@@ -0,0 +1,46 @@+<?xml
> > > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> > > > >Foundation (ASF) under one or more+  contributor license agreements.  See
> > > > >the NOTICE file distributed with+  this work for additional information
> > > > >regarding copyright ownership.+  The ASF licenses this file to You under
> > > > >the Apache License, Version 2.0+  (the "License"); you may not use this
> > > > >file except in compliance with+  the License.  You may obtain a copy of
> > > > >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> > > > >Unless required by applicable law or agreed to in writing, software+
> > > > >distributed under the License is distributed on an "AS IS" BASIS,+
> > > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > > > > See the License for the specific language governing permissions and+
> > > > >limitations under the License.++-->+<project
> > > > >xmlns="http://maven.apache.org/POM/4.0.0"
> > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>converters</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > > ><artifactId>fontkit-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> > > > ><dependencies>+        <dependency>+
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > > ><artifactId>base-converter</artifactId>+
> > > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > > ><dependency>+            <groupId>org.apache.commons</groupId>+
> > > > > <artifactId>commons-compress</artifactId>+
> > > > ><version>1.4</version>+        </dependency>+
> > > > ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> > > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > > >===============================================--- pom.xml       (revision
> > > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml     (revision )@@ -27,7
> > > > >+27,7 @@     </parent>
> > > > ><groupId>org.apache.flex.utilities.converter</groupId>-
> > > > ><artifactId>apache-flex-sdk-converter</artifactId>+
> > > > ><artifactId>flex-sdk-converter</artifactId>
> > > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> > > > >
> > > > >> From: christofer.dutz@c-ware.de
> > > > >> To: dev@flex.apache.org
> > > > >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> > > > >>with Command Line Interface :-)
> > > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> > > > >>
> > > > >> Hi Frederic,
> > > > >>
> > > > >> Ok ... thanks for reporting this.
> > > > >>
> > > > >> I had to force the addition of that pom as git complained, that it was
> > > > >>excluded because of one of the active ".gitignore" files rules (I
> > > > >>couldn't find the rule that was causing the exclusion). Well after
> > > > >>forcing it in I could confirm it's presence by going to the Github web
> > > > >>interface.
> > > > >>
> > > > >> Give it another try ... should work now.
> > > > >>
> > > > >> Chris
> > > > >>
> > > > >> ________________________________________
> > > > >> Von: Frédéric THOMAS <we...@hotmail.com>
> > > > >> Gesendet: Donnerstag, 9. April 2015 22:38
> > > > >> An: dev@flex.apache.org
> > > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> > > > >>with Command Line Interface :-)
> > > > >>
> > > > >> Hi Chris,
> > > > >> I need to re-install my artifactory on my machine, in between, can you
> > > > >>check the pom.xml for the CLI has been committed to develop as I can't
> > > > >>see it.
> > > > >>
> > > > >> Thanks,
> > > > >> Frédéric THOMAS
> > > > >>
> > > > >> > From: christofer.dutz@c-ware.de
> > > > >> > To: dev@flex.apache.org
> > > > >> > Subject: [MAVENIZER] New dev-version available for playing around
> > > > >>with Command Line Interface :-)
> > > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> > > > >> >
> > > > >> > Hi,
> > > > >> >
> > > > >> >
> > > > >> > while I was at it to implement the last changes I saw for the first
> > > > >>release, I also removed all the old legacy "main" classes and replaced
> > > > >>them with one Commandline Interface (module cli)
> > > > >> >
> > > > >> >
> > > > >> > If you checkout the "develop" branch of the flex-utils repo, and
> > > > >>build the Mavenizer using "mvn clean install", you will get a
> > > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> > > > >> >
> > > > >> >
> > > > >> > in the "cli/target" directory run the cli like this:
> > > > >> >
> > > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> > > > >>by the commands you want it to execute)
> > > > >> >
> > > > >> >
> > > > >> > Currently there are 4 commands:
> > > > >> >
> > > > >> > list:                 Lists all versions and platforms available for
> > > > >>download
> > > > >> >
> > > > >> > download:    Downloads selected versions and assembles an FDK
> > > > >> >
> > > > >> > convert:        Converts a previously installed (using the installer)
> > > > >>or assembled (using download command) FDK into a mavenized form.
> > > > >> >
> > > > >> > deploy:          Uploads previously created maven artifacts to a
> > > > >>remote repository.
> > > > >> >
> > > > >> >
> > > > >> > Some typical usage scenarios:
> > > > >> >
> > > > >> > - Create a mavenized version of a previously installed FDK (Using the
> > > > >>installer):
> > > > >> >
> > > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> > > > >>convert"
> > > > >> >
> > > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> > > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> > > > >> >
> > > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> > > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> > > > >> >
> > > > >> > - Download and convert an FDK (FDK assembled in temp directory using
> > > > >>Air for current systems platform only):
> > > > >> >
> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > > >>-fontkit -mavenDir <maven local repo> download convert"
> > > > >> >
> > > > >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> > > > >> >
> > > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> > > > >>-repoUsername <username> -repoPassword <pasword> deploy"
> > > > >> >
> > > > >> > - "The works" (TM): Download, Convert and Deploy using only temp
> > > > >>directories:
> > > > >> >
> > > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> > > > >>download convert deploy"
> > > > >> >
> > > > >> >
> > > > >> > Would be cool if you guys could experiment a little with it ... I
> > > > >>think it could probably need a little hardening here and there. The more
> > > > >>experiment with it, the harder it gets :-)
> > > > >> >
> > > > >> >
> > > > >> > Chris
> > > > >> >
> > > > >> >
> > > > >
> > > >
> > >
> >
 		 	   		  

AW: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... so I fixed the pom-related things you noticed.

Does anyone here know which gitignore rule applys for "pom.xml" files? That seems to have been the reason for the poms not being committed. I forced them in, but we should fix what was causing this.

I adjusted the name of the root artifact to apache-flex-sdk-converter, as Justin pointed out that source distributions with the "apache-" prefix are specially copyright protected. Unfortunately I missed to adjust this for the 4 child poms. I fixed that (It worked for me as I did have a flex-sdk-converter pom in my local repo)

Thanks for reporting this stuff ... will add a "if not y/yes/n/no then retry"-loop right away :-)

Chris

________________________________________
Von: Frédéric THOMAS <we...@hotmail.com>
Gesendet: Freitag, 10. April 2015 01:36
An: dev@flex.apache.org
Betreff: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

And I hate the outlook web mail at time, I never know how it will or not keep the break lines.

Frédéric THOMAS

> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Fri, 10 Apr 2015 00:33:06 +0100
>
> Hey Chris,
> Pretty neat :-) I enjoyed it.
>
> At the moment I've been running 2 commands [1] and [2] and for the first one, that's a detail but when prompted to confirm the license agreement and answer 'y' instead of 'Yes', I've got that [3] and I have to start the all thing again, by the way, I guess the error is not catch because that will be done in FM 7.1.0 ? Otherwise I guess we could accept y/n and yes/no upper and lower case, what do you think ?
> I've got another little issue too [4] and [5], except of that, the all thing looks great !!
> Next steps for me but not tonight:
> 1- Try the deployer2- Test the resulting mavenized SDK against an application.3- Something else ??
> Good job Chris :-)
> Frédéric THOMAS
> [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download
> [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
> [3] ===========================================================- Downloading Flash SDK version: 17.0 to directory: d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the Adobe Flash Player playerglobal.swc. Do you want to install the Adobe Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to accept the license agreement in order to proceed.Exception in thread "main" org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You have to accept the license agreement in order to proceed.        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.confirmLicenseAcceptance(DownloadRetriever.java:352)        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:79)
>         at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:73)
>         at org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverterCLI.java:200)
> [4] ===========================================================               - Downloading Flex Fontkit libraries to directory: d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's embedded font support. This feature requires a few font jars from theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?Do you accept (Yes/No)? YesSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.statusCode: 200reasonPhrase: OK
> [5] ------------------------------------------------ Conversion------------------------------------------------ Converting Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> > From: webdoublefx@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Thu, 9 Apr 2015 23:07:42 +0100
> >
> > Hi Alex,
> > Yes, I had the same.
> >
> > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.
> >
> > Frédéric THOMAS
> >
> > > From: aharui@adobe.com
> > > To: dev@flex.apache.org
> > > Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > Date: Thu, 9 Apr 2015 21:57:14 +0000
> > >
> > > Will that fix the errors I got?  Here’s the output for me:
> > >
> > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> > > [INFO] Scanning for projects...
> > > [ERROR] The build could not read 4 projects -> [Help 1]
> > > [ERROR]
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
> > >  has 1 error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [ERROR]
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
> > >  has 1 error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [ERROR]
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> > > has 1 error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [ERROR]
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> > > error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [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/ProjectBuildingException
> > > [ERROR] [Help 2]
> > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> > >
> > > BTW, I made a few spelling corrections to README.txt
> > >
> > >
> > > -Alex
> > >
> > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > >
> > > >Didn't try yet with your new commit but there was a problem with the
> > > >fontkit pom and the name of the parent artifact, this is my patch [1] to
> > > >make it build, can you check you are align with on the develop branch too
> > > >? after you confirm, I will stash and pull.
> > > >
> > > >Thanks,
> > > >Frédéric THOMAS
> > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > >===============================================--- cli/pom.xml   (revision
> > > >)+++ cli/pom.xml (revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> > > >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> > > >file distributed with+  this work for additional information regarding
> > > >copyright ownership.+  The ASF licenses this file to You under the Apache
> > > >License, Version 2.0+  (the "License"); you may not use this file except
> > > >in compliance with+  the License.  You may obtain a copy of the License
> > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> > > >by applicable law or agreed to in writing, software+  distributed under
> > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> > > >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> > > >the specific language governing permissions and+  limitations under the
> > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>flex-sdk-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> > > ><packaging>jar</packaging>++    <build>+        <plugins>+
> > > ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> > > >              <version>2.4</version>+                <configuration>+
> > > >               <archive>+                        <manifest>+
> > > >
> > > ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> > > >                          <addClasspath>true</addClasspath>+
> > > >
> > > ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> > > >lass>+                        </manifest>+
> > > ><manifestEntries>+
> > > ><Implementation-Build>${project.version}</Implementation-Build>+
> > > >              </manifestEntries>+                    </archive>+
> > > >          <descriptorRefs>+
> > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
> > > ></descriptorRefs>+
> > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
> > > >       <appendAssemblyId>false</appendAssemblyId>+
> > > ></configuration>+                <executions>+
> > > ><execution>+                        <phase>package</phase>+
> > > >         <goals>+                            <goal>single</goal>+
> > > >               </goals>+                    </execution>+
> > > ></executions>+            </plugin>+        </plugins>+    </build>++
> > > ><dependencies>+        <dependency>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>download-retriever</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > ><dependency>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>flex-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > ><dependency>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>aether-deployer</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> > > ><dependency>+            <groupId>commons-cli</groupId>+
> > > ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> > > >      </dependency>+        <dependency>+
> > > ><groupId>org.apache.commons</groupId>+
> > > ><artifactId>commons-lang3</artifactId>+
> > > ><version>3.3.2</version>+        </dependency>+
> > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> > > >additional info:Subsystem:
> > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > >===============================================---
> > > >converters/fontkit/pom.xml       (revision )+++
> > > >converters/fontkit/pom.xml       (revision )@@ -0,0 +1,46 @@+<?xml
> > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> > > >Foundation (ASF) under one or more+  contributor license agreements.  See
> > > >the NOTICE file distributed with+  this work for additional information
> > > >regarding copyright ownership.+  The ASF licenses this file to You under
> > > >the Apache License, Version 2.0+  (the "License"); you may not use this
> > > >file except in compliance with+  the License.  You may obtain a copy of
> > > >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> > > >Unless required by applicable law or agreed to in writing, software+
> > > >distributed under the License is distributed on an "AS IS" BASIS,+
> > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > > > See the License for the specific language governing permissions and+
> > > >limitations under the License.++-->+<project
> > > >xmlns="http://maven.apache.org/POM/4.0.0"
> > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>converters</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > ><artifactId>fontkit-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> > > ><dependencies>+        <dependency>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>base-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > ><dependency>+            <groupId>org.apache.commons</groupId>+
> > > > <artifactId>commons-compress</artifactId>+
> > > ><version>1.4</version>+        </dependency>+
> > > ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > >===============================================--- pom.xml       (revision
> > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml     (revision )@@ -27,7
> > > >+27,7 @@     </parent>
> > > ><groupId>org.apache.flex.utilities.converter</groupId>-
> > > ><artifactId>apache-flex-sdk-converter</artifactId>+
> > > ><artifactId>flex-sdk-converter</artifactId>
> > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> > > >
> > > >> From: christofer.dutz@c-ware.de
> > > >> To: dev@flex.apache.org
> > > >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> > > >>with Command Line Interface :-)
> > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> > > >>
> > > >> Hi Frederic,
> > > >>
> > > >> Ok ... thanks for reporting this.
> > > >>
> > > >> I had to force the addition of that pom as git complained, that it was
> > > >>excluded because of one of the active ".gitignore" files rules (I
> > > >>couldn't find the rule that was causing the exclusion). Well after
> > > >>forcing it in I could confirm it's presence by going to the Github web
> > > >>interface.
> > > >>
> > > >> Give it another try ... should work now.
> > > >>
> > > >> Chris
> > > >>
> > > >> ________________________________________
> > > >> Von: Frédéric THOMAS <we...@hotmail.com>
> > > >> Gesendet: Donnerstag, 9. April 2015 22:38
> > > >> An: dev@flex.apache.org
> > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> > > >>with Command Line Interface :-)
> > > >>
> > > >> Hi Chris,
> > > >> I need to re-install my artifactory on my machine, in between, can you
> > > >>check the pom.xml for the CLI has been committed to develop as I can't
> > > >>see it.
> > > >>
> > > >> Thanks,
> > > >> Frédéric THOMAS
> > > >>
> > > >> > From: christofer.dutz@c-ware.de
> > > >> > To: dev@flex.apache.org
> > > >> > Subject: [MAVENIZER] New dev-version available for playing around
> > > >>with Command Line Interface :-)
> > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> > > >> >
> > > >> > Hi,
> > > >> >
> > > >> >
> > > >> > while I was at it to implement the last changes I saw for the first
> > > >>release, I also removed all the old legacy "main" classes and replaced
> > > >>them with one Commandline Interface (module cli)
> > > >> >
> > > >> >
> > > >> > If you checkout the "develop" branch of the flex-utils repo, and
> > > >>build the Mavenizer using "mvn clean install", you will get a
> > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> > > >> >
> > > >> >
> > > >> > in the "cli/target" directory run the cli like this:
> > > >> >
> > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> > > >>by the commands you want it to execute)
> > > >> >
> > > >> >
> > > >> > Currently there are 4 commands:
> > > >> >
> > > >> > list:                 Lists all versions and platforms available for
> > > >>download
> > > >> >
> > > >> > download:    Downloads selected versions and assembles an FDK
> > > >> >
> > > >> > convert:        Converts a previously installed (using the installer)
> > > >>or assembled (using download command) FDK into a mavenized form.
> > > >> >
> > > >> > deploy:          Uploads previously created maven artifacts to a
> > > >>remote repository.
> > > >> >
> > > >> >
> > > >> > Some typical usage scenarios:
> > > >> >
> > > >> > - Create a mavenized version of a previously installed FDK (Using the
> > > >>installer):
> > > >> >
> > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> > > >>convert"
> > > >> >
> > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> > > >> >
> > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> > > >> >
> > > >> > - Download and convert an FDK (FDK assembled in temp directory using
> > > >>Air for current systems platform only):
> > > >> >
> > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > >>-fontkit -mavenDir <maven local repo> download convert"
> > > >> >
> > > >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> > > >> >
> > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> > > >>-repoUsername <username> -repoPassword <pasword> deploy"
> > > >> >
> > > >> > - "The works" (TM): Download, Convert and Deploy using only temp
> > > >>directories:
> > > >> >
> > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> > > >>download convert deploy"
> > > >> >
> > > >> >
> > > >> > Would be cool if you guys could experiment a little with it ... I
> > > >>think it could probably need a little hardening here and there. The more
> > > >>experiment with it, the harder it gets :-)
> > > >> >
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> >
> > > >
> > >
> >
>

RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
And I hate the outlook web mail at time, I never know how it will or not keep the break lines.

Frédéric THOMAS

> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Fri, 10 Apr 2015 00:33:06 +0100
> 
> Hey Chris,
> Pretty neat :-) I enjoyed it.
> 
> At the moment I've been running 2 commands [1] and [2] and for the first one, that's a detail but when prompted to confirm the license agreement and answer 'y' instead of 'Yes', I've got that [3] and I have to start the all thing again, by the way, I guess the error is not catch because that will be done in FM 7.1.0 ? Otherwise I guess we could accept y/n and yes/no upper and lower case, what do you think ?
> I've got another little issue too [4] and [5], except of that, the all thing looks great !!
> Next steps for me but not tonight:
> 1- Try the deployer2- Test the resulting mavenized SDK against an application.3- Something else ??
> Good job Chris :-)
> Frédéric THOMAS
> [1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download
> [2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
> [3] ===========================================================- Downloading Flash SDK version: 17.0 to directory: d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the Adobe Flash Player playerglobal.swc. Do you want to install the Adobe Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to accept the license agreement in order to proceed.Exception in thread "main" org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You have to accept the license agreement in order to proceed.        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.confirmLicenseAcceptance(DownloadRetriever.java:352)        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:79)
>         at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:73)
>         at org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverterCLI.java:200)
> [4] ===========================================================		- Downloading Flex Fontkit libraries to directory: d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's embedded font support. This feature requires a few font jars from theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?Do you accept (Yes/No)? YesSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.statusCode: 200reasonPhrase: OK
> [5] ------------------------------------------------ Conversion------------------------------------------------ Converting Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> > From: webdoublefx@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Thu, 9 Apr 2015 23:07:42 +0100
> > 
> > Hi Alex,
> > Yes, I had the same.
> > 
> > Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.
> > 
> > Frédéric THOMAS
> > 
> > > From: aharui@adobe.com
> > > To: dev@flex.apache.org
> > > Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > > Date: Thu, 9 Apr 2015 21:57:14 +0000
> > > 
> > > Will that fix the errors I got?  Here’s the output for me:
> > > 
> > > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> > > [INFO] Scanning for projects...
> > > [ERROR] The build could not read 4 projects -> [Help 1]
> > > [ERROR]   
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
> > >  has 1 error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [ERROR]   
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
> > >  has 1 error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [ERROR]   
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> > > has 1 error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [ERROR]   
> > > [ERROR]   The project
> > > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> > > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> > > error
> > > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > > -> [Help 2]
> > > [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/ProjectBuildingException
> > > [ERROR] [Help 2] 
> > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> > > 
> > > BTW, I made a few spelling corrections to README.txt
> > > 
> > > 
> > > -Alex
> > > 
> > > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > > 
> > > >Didn't try yet with your new commit but there was a problem with the
> > > >fontkit pom and the name of the parent artifact, this is my patch [1] to
> > > >make it build, can you check you are align with on the develop branch too
> > > >? after you confirm, I will stash and pull.
> > > >
> > > >Thanks,
> > > >Frédéric THOMAS
> > > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > >===============================================--- cli/pom.xml	(revision
> > > >)+++ cli/pom.xml	(revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> > > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> > > >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> > > >file distributed with+  this work for additional information regarding
> > > >copyright ownership.+  The ASF licenses this file to You under the Apache
> > > >License, Version 2.0+  (the "License"); you may not use this file except
> > > >in compliance with+  the License.  You may obtain a copy of the License
> > > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> > > >by applicable law or agreed to in writing, software+  distributed under
> > > >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> > > >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> > > >the specific language governing permissions and+  limitations under the
> > > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>flex-sdk-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> > > ><packaging>jar</packaging>++    <build>+        <plugins>+
> > > ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> > > >              <version>2.4</version>+                <configuration>+
> > > >               <archive>+                        <manifest>+
> > > >              
> > > ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> > > >                          <addClasspath>true</addClasspath>+
> > > >              
> > > ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> > > >lass>+                        </manifest>+
> > > ><manifestEntries>+
> > > ><Implementation-Build>${project.version}</Implementation-Build>+
> > > >              </manifestEntries>+                    </archive>+
> > > >          <descriptorRefs>+
> > > ><descriptorRef>jar-with-dependencies</descriptorRef>+
> > > ></descriptorRefs>+
> > > ><finalName>flex-sdk-converter-${project.version}</finalName>+
> > > >       <appendAssemblyId>false</appendAssemblyId>+
> > > ></configuration>+                <executions>+
> > > ><execution>+                        <phase>package</phase>+
> > > >         <goals>+                            <goal>single</goal>+
> > > >               </goals>+                    </execution>+
> > > ></executions>+            </plugin>+        </plugins>+    </build>++
> > > ><dependencies>+        <dependency>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>download-retriever</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > ><dependency>+     
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>flex-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > ><dependency>+     
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>aether-deployer</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> > > ><dependency>+            <groupId>commons-cli</groupId>+
> > > ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> > > >      </dependency>+        <dependency>+
> > > ><groupId>org.apache.commons</groupId>+
> > > ><artifactId>commons-lang3</artifactId>+
> > > ><version>3.3.2</version>+        </dependency>+
> > > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> > > >additional info:Subsystem:
> > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > >===============================================---
> > > >converters/fontkit/pom.xml	(revision )+++
> > > >converters/fontkit/pom.xml	(revision )@@ -0,0 +1,46 @@+<?xml
> > > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> > > >Foundation (ASF) under one or more+  contributor license agreements.  See
> > > >the NOTICE file distributed with+  this work for additional information
> > > >regarding copyright ownership.+  The ASF licenses this file to You under
> > > >the Apache License, Version 2.0+  (the "License"); you may not use this
> > > >file except in compliance with+  the License.  You may obtain a copy of
> > > >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> > > >Unless required by applicable law or agreed to in writing, software+
> > > >distributed under the License is distributed on an "AS IS" BASIS,+
> > > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > > > See the License for the specific language governing permissions and+
> > > >limitations under the License.++-->+<project
> > > >xmlns="http://maven.apache.org/POM/4.0.0"
> > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>converters</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > > ><artifactId>fontkit-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> > > ><dependencies>+        <dependency>+
> > > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > > ><artifactId>base-converter</artifactId>+
> > > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > > ><dependency>+            <groupId>org.apache.commons</groupId>+
> > > > <artifactId>commons-compress</artifactId>+
> > > ><version>1.4</version>+        </dependency>+
> > > ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> > > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > > >===============================================--- pom.xml	(revision
> > > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml	(revision )@@ -27,7
> > > >+27,7 @@     </parent>
> > > ><groupId>org.apache.flex.utilities.converter</groupId>-
> > > ><artifactId>apache-flex-sdk-converter</artifactId>+
> > > ><artifactId>flex-sdk-converter</artifactId>
> > > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> > > >
> > > >> From: christofer.dutz@c-ware.de
> > > >> To: dev@flex.apache.org
> > > >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> > > >>with Command Line Interface :-)
> > > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> > > >> 
> > > >> Hi Frederic,
> > > >> 
> > > >> Ok ... thanks for reporting this.
> > > >> 
> > > >> I had to force the addition of that pom as git complained, that it was
> > > >>excluded because of one of the active ".gitignore" files rules (I
> > > >>couldn't find the rule that was causing the exclusion). Well after
> > > >>forcing it in I could confirm it's presence by going to the Github web
> > > >>interface.
> > > >> 
> > > >> Give it another try ... should work now.
> > > >> 
> > > >> Chris
> > > >> 
> > > >> ________________________________________
> > > >> Von: Frédéric THOMAS <we...@hotmail.com>
> > > >> Gesendet: Donnerstag, 9. April 2015 22:38
> > > >> An: dev@flex.apache.org
> > > >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> > > >>with Command Line Interface :-)
> > > >> 
> > > >> Hi Chris,
> > > >> I need to re-install my artifactory on my machine, in between, can you
> > > >>check the pom.xml for the CLI has been committed to develop as I can't
> > > >>see it.
> > > >> 
> > > >> Thanks,
> > > >> Frédéric THOMAS
> > > >> 
> > > >> > From: christofer.dutz@c-ware.de
> > > >> > To: dev@flex.apache.org
> > > >> > Subject: [MAVENIZER] New dev-version available for playing around
> > > >>with Command Line Interface :-)
> > > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> > > >> >
> > > >> > Hi,
> > > >> >
> > > >> >
> > > >> > while I was at it to implement the last changes I saw for the first
> > > >>release, I also removed all the old legacy "main" classes and replaced
> > > >>them with one Commandline Interface (module cli)
> > > >> >
> > > >> >
> > > >> > If you checkout the "develop" branch of the flex-utils repo, and
> > > >>build the Mavenizer using "mvn clean install", you will get a
> > > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> > > >> >
> > > >> >
> > > >> > in the "cli/target" directory run the cli like this:
> > > >> >
> > > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> > > >>by the commands you want it to execute)
> > > >> >
> > > >> >
> > > >> > Currently there are 4 commands:
> > > >> >
> > > >> > list:                 Lists all versions and platforms available for
> > > >>download
> > > >> >
> > > >> > download:    Downloads selected versions and assembles an FDK
> > > >> >
> > > >> > convert:        Converts a previously installed (using the installer)
> > > >>or assembled (using download command) FDK into a mavenized form.
> > > >> >
> > > >> > deploy:          Uploads previously created maven artifacts to a
> > > >>remote repository.
> > > >> >
> > > >> >
> > > >> > Some typical usage scenarios:
> > > >> >
> > > >> > - Create a mavenized version of a previously installed FDK (Using the
> > > >>installer):
> > > >> >
> > > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> > > >>convert"
> > > >> >
> > > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> > > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> > > >> >
> > > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> > > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> > > >> >
> > > >> > - Download and convert an FDK (FDK assembled in temp directory using
> > > >>Air for current systems platform only):
> > > >> >
> > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > >>-fontkit -mavenDir <maven local repo> download convert"
> > > >> >
> > > >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> > > >> >
> > > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> > > >>-repoUsername <username> -repoPassword <pasword> deploy"
> > > >> >
> > > >> > - "The works" (TM): Download, Convert and Deploy using only temp
> > > >>directories:
> > > >> >
> > > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> > > >>download convert deploy"
> > > >> >
> > > >> >
> > > >> > Would be cool if you guys could experiment a little with it ... I
> > > >>think it could probably need a little hardening here and there. The more
> > > >>experiment with it, the harder it gets :-)
> > > >> >
> > > >> >
> > > >> > Chris
> > > >> >
> > > >> >
> > > > 		 	   		  
> > > 
> >  		 	   		  
>  		 	   		  
 		 	   		  

RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hey Chris,
Pretty neat :-) I enjoyed it.

At the moment I've been running 2 commands [1] and [2] and for the first one, that's a detail but when prompted to confirm the license agreement and answer 'y' instead of 'Yes', I've got that [3] and I have to start the all thing again, by the way, I guess the error is not catch because that will be done in FM 7.1.0 ? Otherwise I guess we could accept y/n and yes/no upper and lower case, what do you think ?
I've got another little issue too [4] and [5], except of that, the all thing looks great !!
Next steps for me but not tonight:
1- Try the deployer2- Test the resulting mavenized SDK against an application.3- Something else ??
Good job Chris :-)
Frédéric THOMAS
[1]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download
[2]java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar -fdkDir d:/flex-converter/FDKs -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir d:/flex-converter/maven convert
[3] ===========================================================- Downloading Flash SDK version: 17.0 to directory: d:\flex-converter\FDKsThe Adobe SDK license agreement applies to the Adobe Flash Player playerglobal.swc. Do you want to install the Adobe Flash Player playerglobal.swc?Do you accept (Yes/No)? yYou have to accept the license agreement in order to proceed.Exception in thread "main" org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException: You have to accept the license agreement in order to proceed.        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.confirmLicenseAcceptance(DownloadRetriever.java:352)        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:79)
        at org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:73)
        at org.apache.flex.utilities.converter.core.SdkConverterCLI.main(SdkConverterCLI.java:200)
[4] ===========================================================		- Downloading Flex Fontkit libraries to directory: d:\flex-converter\FDKsApache Flex can optionally integrate with Adobe's embedded font support. This feature requires a few font jars from theAdobe Flex SDK. The Adobe SDK license agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?Do you accept (Yes/No)? YesSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.statusCode: 200reasonPhrase: OK
[5] ------------------------------------------------ Conversion------------------------------------------------ Converting Flex SDK from d:\flex-converter\FDKs to d:\flex-converter\mavenSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Thu, 9 Apr 2015 23:07:42 +0100
> 
> Hi Alex,
> Yes, I had the same.
> 
> Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.
> 
> Frédéric THOMAS
> 
> > From: aharui@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Thu, 9 Apr 2015 21:57:14 +0000
> > 
> > Will that fix the errors I got?  Here’s the output for me:
> > 
> > ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> > [INFO] Scanning for projects...
> > [ERROR] The build could not read 4 projects -> [Help 1]
> > [ERROR]   
> > [ERROR]   The project
> > org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
> >  has 1 error
> > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > -> [Help 2]
> > [ERROR]   
> > [ERROR]   The project
> > org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
> >  has 1 error
> > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > -> [Help 2]
> > [ERROR]   
> > [ERROR]   The project
> > org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> > has 1 error
> > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > -> [Help 2]
> > [ERROR]   
> > [ERROR]   The project
> > org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> > (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> > error
> > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> > and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> > -> [Help 2]
> > [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/ProjectBuildingException
> > [ERROR] [Help 2] 
> > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> > 
> > BTW, I made a few spelling corrections to README.txt
> > 
> > 
> > -Alex
> > 
> > On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> > 
> > >Didn't try yet with your new commit but there was a problem with the
> > >fontkit pom and the name of the parent artifact, this is my patch [1] to
> > >make it build, can you check you are align with on the develop branch too
> > >? after you confirm, I will stash and pull.
> > >
> > >Thanks,
> > >Frédéric THOMAS
> > >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > >===============================================--- cli/pom.xml	(revision
> > >)+++ cli/pom.xml	(revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> > >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> > >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> > >file distributed with+  this work for additional information regarding
> > >copyright ownership.+  The ASF licenses this file to You under the Apache
> > >License, Version 2.0+  (the "License"); you may not use this file except
> > >in compliance with+  the License.  You may obtain a copy of the License
> > >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> > >by applicable law or agreed to in writing, software+  distributed under
> > >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> > >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> > >the specific language governing permissions and+  limitations under the
> > >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > ><artifactId>flex-sdk-converter</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> > ><packaging>jar</packaging>++    <build>+        <plugins>+
> > ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> > >              <version>2.4</version>+                <configuration>+
> > >               <archive>+                        <manifest>+
> > >              
> > ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> > >                          <addClasspath>true</addClasspath>+
> > >              
> > ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> > >lass>+                        </manifest>+
> > ><manifestEntries>+
> > ><Implementation-Build>${project.version}</Implementation-Build>+
> > >              </manifestEntries>+                    </archive>+
> > >          <descriptorRefs>+
> > ><descriptorRef>jar-with-dependencies</descriptorRef>+
> > ></descriptorRefs>+
> > ><finalName>flex-sdk-converter-${project.version}</finalName>+
> > >       <appendAssemblyId>false</appendAssemblyId>+
> > ></configuration>+                <executions>+
> > ><execution>+                        <phase>package</phase>+
> > >         <goals>+                            <goal>single</goal>+
> > >               </goals>+                    </execution>+
> > ></executions>+            </plugin>+        </plugins>+    </build>++
> > ><dependencies>+        <dependency>+
> > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > ><artifactId>download-retriever</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > ><dependency>+     
> > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > ><artifactId>flex-converter</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > ><dependency>+     
> > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > ><artifactId>aether-deployer</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> > ><dependency>+            <groupId>commons-cli</groupId>+
> > ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> > >      </dependency>+        <dependency>+
> > ><groupId>org.apache.commons</groupId>+
> > ><artifactId>commons-lang3</artifactId>+
> > ><version>3.3.2</version>+        </dependency>+
> > ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> > >additional info:Subsystem:
> > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > >===============================================---
> > >converters/fontkit/pom.xml	(revision )+++
> > >converters/fontkit/pom.xml	(revision )@@ -0,0 +1,46 @@+<?xml
> > >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> > >Foundation (ASF) under one or more+  contributor license agreements.  See
> > >the NOTICE file distributed with+  this work for additional information
> > >regarding copyright ownership.+  The ASF licenses this file to You under
> > >the Apache License, Version 2.0+  (the "License"); you may not use this
> > >file except in compliance with+  the License.  You may obtain a copy of
> > >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> > >Unless required by applicable law or agreed to in writing, software+
> > >distributed under the License is distributed on an "AS IS" BASIS,+
> > >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > > See the License for the specific language governing permissions and+
> > >limitations under the License.++-->+<project
> > >xmlns="http://maven.apache.org/POM/4.0.0"
> > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> > ><modelVersion>4.0.0</modelVersion>++    <parent>+
> > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > ><artifactId>converters</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> > ><artifactId>fontkit-converter</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> > ><dependencies>+        <dependency>+
> > ><groupId>org.apache.flex.utilities.converter</groupId>+
> > ><artifactId>base-converter</artifactId>+
> > ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> > ><dependency>+            <groupId>org.apache.commons</groupId>+
> > > <artifactId>commons-compress</artifactId>+
> > ><version>1.4</version>+        </dependency>+
> > ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> > >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> > >===============================================--- pom.xml	(revision
> > >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml	(revision )@@ -27,7
> > >+27,7 @@     </parent>
> > ><groupId>org.apache.flex.utilities.converter</groupId>-
> > ><artifactId>apache-flex-sdk-converter</artifactId>+
> > ><artifactId>flex-sdk-converter</artifactId>
> > ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> > >
> > >> From: christofer.dutz@c-ware.de
> > >> To: dev@flex.apache.org
> > >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> > >>with Command Line Interface :-)
> > >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> > >> 
> > >> Hi Frederic,
> > >> 
> > >> Ok ... thanks for reporting this.
> > >> 
> > >> I had to force the addition of that pom as git complained, that it was
> > >>excluded because of one of the active ".gitignore" files rules (I
> > >>couldn't find the rule that was causing the exclusion). Well after
> > >>forcing it in I could confirm it's presence by going to the Github web
> > >>interface.
> > >> 
> > >> Give it another try ... should work now.
> > >> 
> > >> Chris
> > >> 
> > >> ________________________________________
> > >> Von: Frédéric THOMAS <we...@hotmail.com>
> > >> Gesendet: Donnerstag, 9. April 2015 22:38
> > >> An: dev@flex.apache.org
> > >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> > >>with Command Line Interface :-)
> > >> 
> > >> Hi Chris,
> > >> I need to re-install my artifactory on my machine, in between, can you
> > >>check the pom.xml for the CLI has been committed to develop as I can't
> > >>see it.
> > >> 
> > >> Thanks,
> > >> Frédéric THOMAS
> > >> 
> > >> > From: christofer.dutz@c-ware.de
> > >> > To: dev@flex.apache.org
> > >> > Subject: [MAVENIZER] New dev-version available for playing around
> > >>with Command Line Interface :-)
> > >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> > >> >
> > >> > Hi,
> > >> >
> > >> >
> > >> > while I was at it to implement the last changes I saw for the first
> > >>release, I also removed all the old legacy "main" classes and replaced
> > >>them with one Commandline Interface (module cli)
> > >> >
> > >> >
> > >> > If you checkout the "develop" branch of the flex-utils repo, and
> > >>build the Mavenizer using "mvn clean install", you will get a
> > >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> > >> >
> > >> >
> > >> > in the "cli/target" directory run the cli like this:
> > >> >
> > >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> > >>by the commands you want it to execute)
> > >> >
> > >> >
> > >> > Currently there are 4 commands:
> > >> >
> > >> > list:                 Lists all versions and platforms available for
> > >>download
> > >> >
> > >> > download:    Downloads selected versions and assembles an FDK
> > >> >
> > >> > convert:        Converts a previously installed (using the installer)
> > >>or assembled (using download command) FDK into a mavenized form.
> > >> >
> > >> > deploy:          Uploads previously created maven artifacts to a
> > >>remote repository.
> > >> >
> > >> >
> > >> > Some typical usage scenarios:
> > >> >
> > >> > - Create a mavenized version of a previously installed FDK (Using the
> > >>installer):
> > >> >
> > >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> > >>convert"
> > >> >
> > >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> > >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> > >> >
> > >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> > >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> > >> >
> > >> > - Download and convert an FDK (FDK assembled in temp directory using
> > >>Air for current systems platform only):
> > >> >
> > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > >>-fontkit -mavenDir <maven local repo> download convert"
> > >> >
> > >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> > >> >
> > >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> > >>-repoUsername <username> -repoPassword <pasword> deploy"
> > >> >
> > >> > - "The works" (TM): Download, Convert and Deploy using only temp
> > >>directories:
> > >> >
> > >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> > >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> > >>download convert deploy"
> > >> >
> > >> >
> > >> > Would be cool if you guys could experiment a little with it ... I
> > >>think it could probably need a little hardening here and there. The more
> > >>experiment with it, the harder it gets :-)
> > >> >
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > > 		 	   		  
> > 
>  		 	   		  
 		 	   		  

RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Alex,
Yes, I had the same.

Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT, anyway, won't make any difference and will build.

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Thu, 9 Apr 2015 21:57:14 +0000
> 
> Will that fix the errors I got?  Here’s the output for me:
> 
> ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 4 projects -> [Help 1]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
>  has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
>  has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [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/ProjectBuildingException
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> 
> BTW, I made a few spelling corrections to README.txt
> 
> 
> -Alex
> 
> On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:
> 
> >Didn't try yet with your new commit but there was a problem with the
> >fontkit pom and the name of the parent artifact, this is my patch [1] to
> >make it build, can you check you are align with on the develop branch too
> >? after you confirm, I will stash and pull.
> >
> >Thanks,
> >Frédéric THOMAS
> >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> >===============================================--- cli/pom.xml	(revision
> >)+++ cli/pom.xml	(revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> >file distributed with+  this work for additional information regarding
> >copyright ownership.+  The ASF licenses this file to You under the Apache
> >License, Version 2.0+  (the "License"); you may not use this file except
> >in compliance with+  the License.  You may obtain a copy of the License
> >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> >by applicable law or agreed to in writing, software+  distributed under
> >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> >the specific language governing permissions and+  limitations under the
> >License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
> >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> ><modelVersion>4.0.0</modelVersion>++    <parent>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>flex-sdk-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> ><packaging>jar</packaging>++    <build>+        <plugins>+
> ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> >              <version>2.4</version>+                <configuration>+
> >               <archive>+                        <manifest>+
> >              
> ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> >                          <addClasspath>true</addClasspath>+
> >              
> ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> >lass>+                        </manifest>+
> ><manifestEntries>+
> ><Implementation-Build>${project.version}</Implementation-Build>+
> >              </manifestEntries>+                    </archive>+
> >          <descriptorRefs>+
> ><descriptorRef>jar-with-dependencies</descriptorRef>+
> ></descriptorRefs>+
> ><finalName>flex-sdk-converter-${project.version}</finalName>+
> >       <appendAssemblyId>false</appendAssemblyId>+
> ></configuration>+                <executions>+
> ><execution>+                        <phase>package</phase>+
> >         <goals>+                            <goal>single</goal>+
> >               </goals>+                    </execution>+
> ></executions>+            </plugin>+        </plugins>+    </build>++
> ><dependencies>+        <dependency>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>download-retriever</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> ><dependency>+     
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>flex-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> ><dependency>+     
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>aether-deployer</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> ><dependency>+            <groupId>commons-cli</groupId>+
> ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> >      </dependency>+        <dependency>+
> ><groupId>org.apache.commons</groupId>+
> ><artifactId>commons-lang3</artifactId>+
> ><version>3.3.2</version>+        </dependency>+
> ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> >additional info:Subsystem:
> >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> >===============================================---
> >converters/fontkit/pom.xml	(revision )+++
> >converters/fontkit/pom.xml	(revision )@@ -0,0 +1,46 @@+<?xml
> >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> >Foundation (ASF) under one or more+  contributor license agreements.  See
> >the NOTICE file distributed with+  this work for additional information
> >regarding copyright ownership.+  The ASF licenses this file to You under
> >the Apache License, Version 2.0+  (the "License"); you may not use this
> >file except in compliance with+  the License.  You may obtain a copy of
> >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> >Unless required by applicable law or agreed to in writing, software+
> >distributed under the License is distributed on an "AS IS" BASIS,+
> >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > See the License for the specific language governing permissions and+
> >limitations under the License.++-->+<project
> >xmlns="http://maven.apache.org/POM/4.0.0"
> >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >http://maven.apache.org/xsd/maven-4.0.0.xsd">+
> ><modelVersion>4.0.0</modelVersion>++    <parent>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>converters</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> ><artifactId>fontkit-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> ><dependencies>+        <dependency>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>base-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> ><dependency>+            <groupId>org.apache.commons</groupId>+
> > <artifactId>commons-compress</artifactId>+
> ><version>1.4</version>+        </dependency>+
> ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> >===============================================--- pom.xml	(revision
> >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml	(revision )@@ -27,7
> >+27,7 @@     </parent>
> ><groupId>org.apache.flex.utilities.converter</groupId>-
> ><artifactId>apache-flex-sdk-converter</artifactId>+
> ><artifactId>flex-sdk-converter</artifactId>
> ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> >
> >> From: christofer.dutz@c-ware.de
> >> To: dev@flex.apache.org
> >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> >>with Command Line Interface :-)
> >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> >> 
> >> Hi Frederic,
> >> 
> >> Ok ... thanks for reporting this.
> >> 
> >> I had to force the addition of that pom as git complained, that it was
> >>excluded because of one of the active ".gitignore" files rules (I
> >>couldn't find the rule that was causing the exclusion). Well after
> >>forcing it in I could confirm it's presence by going to the Github web
> >>interface.
> >> 
> >> Give it another try ... should work now.
> >> 
> >> Chris
> >> 
> >> ________________________________________
> >> Von: Frédéric THOMAS <we...@hotmail.com>
> >> Gesendet: Donnerstag, 9. April 2015 22:38
> >> An: dev@flex.apache.org
> >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> >>with Command Line Interface :-)
> >> 
> >> Hi Chris,
> >> I need to re-install my artifactory on my machine, in between, can you
> >>check the pom.xml for the CLI has been committed to develop as I can't
> >>see it.
> >> 
> >> Thanks,
> >> Frédéric THOMAS
> >> 
> >> > From: christofer.dutz@c-ware.de
> >> > To: dev@flex.apache.org
> >> > Subject: [MAVENIZER] New dev-version available for playing around
> >>with Command Line Interface :-)
> >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> >> >
> >> > Hi,
> >> >
> >> >
> >> > while I was at it to implement the last changes I saw for the first
> >>release, I also removed all the old legacy "main" classes and replaced
> >>them with one Commandline Interface (module cli)
> >> >
> >> >
> >> > If you checkout the "develop" branch of the flex-utils repo, and
> >>build the Mavenizer using "mvn clean install", you will get a
> >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> >> >
> >> >
> >> > in the "cli/target" directory run the cli like this:
> >> >
> >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> >>by the commands you want it to execute)
> >> >
> >> >
> >> > Currently there are 4 commands:
> >> >
> >> > list:                 Lists all versions and platforms available for
> >>download
> >> >
> >> > download:    Downloads selected versions and assembles an FDK
> >> >
> >> > convert:        Converts a previously installed (using the installer)
> >>or assembled (using download command) FDK into a mavenized form.
> >> >
> >> > deploy:          Uploads previously created maven artifacts to a
> >>remote repository.
> >> >
> >> >
> >> > Some typical usage scenarios:
> >> >
> >> > - Create a mavenized version of a previously installed FDK (Using the
> >>installer):
> >> >
> >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> >>convert"
> >> >
> >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> >> >
> >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> >> >
> >> > - Download and convert an FDK (FDK assembled in temp directory using
> >>Air for current systems platform only):
> >> >
> >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> >>-fontkit -mavenDir <maven local repo> download convert"
> >> >
> >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> >> >
> >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> >>-repoUsername <username> -repoPassword <pasword> deploy"
> >> >
> >> > - "The works" (TM): Download, Convert and Deploy using only temp
> >>directories:
> >> >
> >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> >>download convert deploy"
> >> >
> >> >
> >> > Would be cool if you guys could experiment a little with it ... I
> >>think it could probably need a little hardening here and there. The more
> >>experiment with it, the harder it gets :-)
> >> >
> >> >
> >> > Chris
> >> >
> >> >
> > 		 	   		  
> 
 		 	   		  

Re: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Alex Harui <ah...@adobe.com>.
Will that fix the errors I got?  Here’s the output for me:

~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 4 projects -> [Help 1]
[ERROR]   
[ERROR]   The project
org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
(/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
 has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
and 'parent.relativePath' points at wrong local POM @ line 23, column 13
-> [Help 2]
[ERROR]   
[ERROR]   The project
org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
(/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
 has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
and 'parent.relativePath' points at wrong local POM @ line 23, column 13
-> [Help 2]
[ERROR]   
[ERROR]   The project
org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
(/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
and 'parent.relativePath' points at wrong local POM @ line 23, column 13
-> [Help 2]
[ERROR]   
[ERROR]   The project
org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
(/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
and 'parent.relativePath' points at wrong local POM @ line 23, column 13
-> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

BTW, I made a few spelling corrections to README.txt


-Alex

On 4/9/15, 2:32 PM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

>Didn't try yet with your new commit but there was a problem with the
>fontkit pom and the name of the parent artifact, this is my patch [1] to
>make it build, can you check you are align with on the develop branch too
>? after you confirm, I will stash and pull.
>
>Thanks,
>Frédéric THOMAS
>[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
>===============================================--- cli/pom.xml	(revision
>)+++ cli/pom.xml	(revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
>encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
>(ASF) under one or more+  contributor license agreements.  See the NOTICE
>file distributed with+  this work for additional information regarding
>copyright ownership.+  The ASF licenses this file to You under the Apache
>License, Version 2.0+  (the "License"); you may not use this file except
>in compliance with+  the License.  You may obtain a copy of the License
>at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
>by applicable law or agreed to in writing, software+  distributed under
>the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
>CONDITIONS OF ANY KIND, either express or implied.+  See the License for
>the specific language governing permissions and+  limitations under the
>License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>http://maven.apache.org/xsd/maven-4.0.0.xsd">+
><modelVersion>4.0.0</modelVersion>++    <parent>+
><groupId>org.apache.flex.utilities.converter</groupId>+
><artifactId>flex-sdk-converter</artifactId>+
><version>1.0.0-SNAPSHOT</version>+    </parent>++
><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
><packaging>jar</packaging>++    <build>+        <plugins>+
><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
>              <version>2.4</version>+                <configuration>+
>               <archive>+                        <manifest>+
>              
><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
>                          <addClasspath>true</addClasspath>+
>              
><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
>lass>+                        </manifest>+
><manifestEntries>+
><Implementation-Build>${project.version}</Implementation-Build>+
>              </manifestEntries>+                    </archive>+
>          <descriptorRefs>+
><descriptorRef>jar-with-dependencies</descriptorRef>+
></descriptorRefs>+
><finalName>flex-sdk-converter-${project.version}</finalName>+
>       <appendAssemblyId>false</appendAssemblyId>+
></configuration>+                <executions>+
><execution>+                        <phase>package</phase>+
>         <goals>+                            <goal>single</goal>+
>               </goals>+                    </execution>+
></executions>+            </plugin>+        </plugins>+    </build>++
><dependencies>+        <dependency>+
><groupId>org.apache.flex.utilities.converter</groupId>+
><artifactId>download-retriever</artifactId>+
><version>1.0.0-SNAPSHOT</version>+        </dependency>+
><dependency>+     
><groupId>org.apache.flex.utilities.converter</groupId>+
><artifactId>flex-converter</artifactId>+
><version>1.0.0-SNAPSHOT</version>+        </dependency>+
><dependency>+     
><groupId>org.apache.flex.utilities.converter</groupId>+
><artifactId>aether-deployer</artifactId>+
><version>1.0.0-SNAPSHOT</version>+        </dependency>++
><dependency>+            <groupId>commons-cli</groupId>+
><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
>      </dependency>+        <dependency>+
><groupId>org.apache.commons</groupId>+
><artifactId>commons-lang3</artifactId>+
><version>3.3.2</version>+        </dependency>+
></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
>additional info:Subsystem:
>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
>===============================================---
>converters/fontkit/pom.xml	(revision )+++
>converters/fontkit/pom.xml	(revision )@@ -0,0 +1,46 @@+<?xml
>version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
>Foundation (ASF) under one or more+  contributor license agreements.  See
>the NOTICE file distributed with+  this work for additional information
>regarding copyright ownership.+  The ASF licenses this file to You under
>the Apache License, Version 2.0+  (the "License"); you may not use this
>file except in compliance with+  the License.  You may obtain a copy of
>the License at++      http://www.apache.org/licenses/LICENSE-2.0++
>Unless required by applicable law or agreed to in writing, software+
>distributed under the License is distributed on an "AS IS" BASIS,+
>WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> See the License for the specific language governing permissions and+
>limitations under the License.++-->+<project
>xmlns="http://maven.apache.org/POM/4.0.0"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>http://maven.apache.org/xsd/maven-4.0.0.xsd">+
><modelVersion>4.0.0</modelVersion>++    <parent>+
><groupId>org.apache.flex.utilities.converter</groupId>+
><artifactId>converters</artifactId>+
><version>1.0.0-SNAPSHOT</version>+    </parent>++
><artifactId>fontkit-converter</artifactId>+
><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
><dependencies>+        <dependency>+
><groupId>org.apache.flex.utilities.converter</groupId>+
><artifactId>base-converter</artifactId>+
><version>1.0.0-SNAPSHOT</version>+        </dependency>+
><dependency>+            <groupId>org.apache.commons</groupId>+
> <artifactId>commons-compress</artifactId>+
><version>1.4</version>+        </dependency>+
></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
>com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
>===============================================--- pom.xml	(revision
>897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml	(revision )@@ -27,7
>+27,7 @@     </parent>
><groupId>org.apache.flex.utilities.converter</groupId>-
><artifactId>apache-flex-sdk-converter</artifactId>+
><artifactId>flex-sdk-converter</artifactId>
><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
>
>> From: christofer.dutz@c-ware.de
>> To: dev@flex.apache.org
>> Subject: AW: [MAVENIZER] New dev-version available for playing around
>>with Command Line Interface :-)
>> Date: Thu, 9 Apr 2015 21:20:46 +0000
>> 
>> Hi Frederic,
>> 
>> Ok ... thanks for reporting this.
>> 
>> I had to force the addition of that pom as git complained, that it was
>>excluded because of one of the active ".gitignore" files rules (I
>>couldn't find the rule that was causing the exclusion). Well after
>>forcing it in I could confirm it's presence by going to the Github web
>>interface.
>> 
>> Give it another try ... should work now.
>> 
>> Chris
>> 
>> ________________________________________
>> Von: Frédéric THOMAS <we...@hotmail.com>
>> Gesendet: Donnerstag, 9. April 2015 22:38
>> An: dev@flex.apache.org
>> Betreff: RE: [MAVENIZER] New dev-version available for playing around
>>with Command Line Interface :-)
>> 
>> Hi Chris,
>> I need to re-install my artifactory on my machine, in between, can you
>>check the pom.xml for the CLI has been committed to develop as I can't
>>see it.
>> 
>> Thanks,
>> Frédéric THOMAS
>> 
>> > From: christofer.dutz@c-ware.de
>> > To: dev@flex.apache.org
>> > Subject: [MAVENIZER] New dev-version available for playing around
>>with Command Line Interface :-)
>> > Date: Wed, 8 Apr 2015 14:30:41 +0000
>> >
>> > Hi,
>> >
>> >
>> > while I was at it to implement the last changes I saw for the first
>>release, I also removed all the old legacy "main" classes and replaced
>>them with one Commandline Interface (module cli)
>> >
>> >
>> > If you checkout the "develop" branch of the flex-utils repo, and
>>build the Mavenizer using "mvn clean install", you will get a
>>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
>> >
>> >
>> > in the "cli/target" directory run the cli like this:
>> >
>> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
>>by the commands you want it to execute)
>> >
>> >
>> > Currently there are 4 commands:
>> >
>> > list:                 Lists all versions and platforms available for
>>download
>> >
>> > download:    Downloads selected versions and assembles an FDK
>> >
>> > convert:        Converts a previously installed (using the installer)
>>or assembled (using download command) FDK into a mavenized form.
>> >
>> > deploy:          Uploads previously created maven artifacts to a
>>remote repository.
>> >
>> >
>> > Some typical usage scenarios:
>> >
>> > - Create a mavenized version of a previously installed FDK (Using the
>>installer):
>> >
>> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
>>convert"
>> >
>> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
>>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
>> >
>> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
>>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
>> >
>> > - Download and convert an FDK (FDK assembled in temp directory using
>>Air for current systems platform only):
>> >
>> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
>>-fontkit -mavenDir <maven local repo> download convert"
>> >
>> > - Deploy a bunch of maven artifacts to a remote maven repository:
>> >
>> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
>>-repoUsername <username> -repoPassword <pasword> deploy"
>> >
>> > - "The works" (TM): Download, Convert and Deploy using only temp
>>directories:
>> >
>> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
>>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
>>download convert deploy"
>> >
>> >
>> > Would be cool if you guys could experiment a little with it ... I
>>think it could probably need a little hardening here and there. The more
>>experiment with it, the harder it gets :-)
>> >
>> >
>> > Chris
>> >
>> >
> 		 	   		  


RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Thanks -:) https://paste.apache.org/a98U

Frédéric THOMAS

> Date: Thu, 9 Apr 2015 14:24:29 -0700
> From: piotrzarzycki21@gmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> 
> Hi Frederic,
> 
> Could you use [1] for code posting, because your current version is totally
> unreadable. :)
> 
> [1] https://paste.apache.org/
> 
> Piotre
> 
> 
> 
> -----
> Apache Flex PMC
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/MAVENIZER-New-dev-version-available-for-playing-around-with-Command-Line-Interface-tp45991p46009.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
 		 	   		  

RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by piotrz <pi...@gmail.com>.
Hi Frederic,

Could you use [1] for code posting, because your current version is totally
unreadable. :)

[1] https://paste.apache.org/

Piotre



-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/MAVENIZER-New-dev-version-available-for-playing-around-with-Command-Line-Interface-tp45991p46009.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Didn't try yet with your new commit but there was a problem with the fontkit pom and the name of the parent artifact, this is my patch [1] to make it build, can you check you are align with on the develop branch too ? after you confirm, I will stash and pull.

Thanks,
Frédéric THOMAS
[1]Index: cli/pom.xmlIDEA additional info:Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8===================================================================--- cli/pom.xml	(revision )+++ cli/pom.xml	(revision )@@ -0,0 +1,96 @@+<?xml version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation (ASF) under one or more+  contributor license agreements.  See the NOTICE file distributed with+  this work for additional information regarding copyright ownership.+  The ASF licenses this file to You under the Apache License, Version 2.0+  (the "License"); you may not use this file except in compliance with+  the License.  You may obtain a copy of the License at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required by applicable law or agreed to in writing, software+  distributed under the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+  See the License for the specific language governing permissions and+  limitations under the License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">+    <modelVersion>4.0.0</modelVersion>++    <parent>+        <groupId>org.apache.flex.utilities.converter</groupId>+        <artifactId>flex-sdk-converter</artifactId>+        <version>1.0.0-SNAPSHOT</version>+    </parent>++    <artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+    <packaging>jar</packaging>++    <build>+        <plugins>+            <plugin>+                <artifactId>maven-assembly-plugin</artifactId>+                <version>2.4</version>+                <configuration>+                    <archive>+                        <manifest>+                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>+                            <addClasspath>true</addClasspath>+                            <mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainClass>+                        </manifest>+                        <manifestEntries>+                            <Implementation-Build>${project.version}</Implementation-Build>+                        </manifestEntries>+                    </archive>+                    <descriptorRefs>+                        <descriptorRef>jar-with-dependencies</descriptorRef>+                    </descriptorRefs>+                    <finalName>flex-sdk-converter-${project.version}</finalName>+                    <appendAssemblyId>false</appendAssemblyId>+                </configuration>+                <executions>+                    <execution>+                        <phase>package</phase>+                        <goals>+                            <goal>single</goal>+                        </goals>+                    </execution>+                </executions>+            </plugin>+        </plugins>+    </build>++    <dependencies>+        <dependency>+            <groupId>org.apache.flex.utilities.converter</groupId>+            <artifactId>download-retriever</artifactId>+            <version>1.0.0-SNAPSHOT</version>+        </dependency>+        <dependency>+            <groupId>org.apache.flex.utilities.converter</groupId>+            <artifactId>flex-converter</artifactId>+            <version>1.0.0-SNAPSHOT</version>+        </dependency>+        <dependency>+            <groupId>org.apache.flex.utilities.converter</groupId>+            <artifactId>aether-deployer</artifactId>+            <version>1.0.0-SNAPSHOT</version>+        </dependency>++        <dependency>+            <groupId>commons-cli</groupId>+            <artifactId>commons-cli</artifactId>+            <version>1.2</version>+        </dependency>+        <dependency>+            <groupId>org.apache.commons</groupId>+            <artifactId>commons-lang3</artifactId>+            <version>3.3.2</version>+        </dependency>+    </dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA additional info:Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8===================================================================--- converters/fontkit/pom.xml	(revision )+++ converters/fontkit/pom.xml	(revision )@@ -0,0 +1,46 @@+<?xml version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation (ASF) under one or more+  contributor license agreements.  See the NOTICE file distributed with+  this work for additional information regarding copyright ownership.+  The ASF licenses this file to You under the Apache License, Version 2.0+  (the "License"); you may not use this file except in compliance with+  the License.  You may obtain a copy of the License at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required by applicable law or agreed to in writing, software+  distributed under the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+  See the License for the specific language governing permissions and+  limitations under the License.++-->+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">+    <modelVersion>4.0.0</modelVersion>++    <parent>+        <groupId>org.apache.flex.utilities.converter</groupId>+        <artifactId>converters</artifactId>+        <version>1.0.0-SNAPSHOT</version>+    </parent>++    <artifactId>fontkit-converter</artifactId>+    <version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++    <dependencies>+        <dependency>+            <groupId>org.apache.flex.utilities.converter</groupId>+            <artifactId>base-converter</artifactId>+            <version>1.0.0-SNAPSHOT</version>+        </dependency>+        <dependency>+            <groupId>org.apache.commons</groupId>+            <artifactId>commons-compress</artifactId>+            <version>1.4</version>+        </dependency>+    </dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8===================================================================--- pom.xml	(revision 897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml	(revision )@@ -27,7 +27,7 @@     </parent>      <groupId>org.apache.flex.utilities.converter</groupId>-    <artifactId>apache-flex-sdk-converter</artifactId>+    <artifactId>flex-sdk-converter</artifactId>     <version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging> 

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Thu, 9 Apr 2015 21:20:46 +0000
> 
> Hi Frederic,
> 
> Ok ... thanks for reporting this.
> 
> I had to force the addition of that pom as git complained, that it was excluded because of one of the active ".gitignore" files rules (I couldn't find the rule that was causing the exclusion). Well after forcing it in I could confirm it's presence by going to the Github web interface.
> 
> Give it another try ... should work now.
> 
> Chris
> 
> ________________________________________
> Von: Frédéric THOMAS <we...@hotmail.com>
> Gesendet: Donnerstag, 9. April 2015 22:38
> An: dev@flex.apache.org
> Betreff: RE: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> 
> Hi Chris,
> I need to re-install my artifactory on my machine, in between, can you check the pom.xml for the CLI has been committed to develop as I can't see it.
> 
> Thanks,
> Frédéric THOMAS
> 
> > From: christofer.dutz@c-ware.de
> > To: dev@flex.apache.org
> > Subject: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> >
> > Hi,
> >
> >
> > while I was at it to implement the last changes I saw for the first release, I also removed all the old legacy "main" classes and replaced them with one Commandline Interface (module cli)
> >
> >
> > If you checkout the "develop" branch of the flex-utils repo, and build the Mavenizer using "mvn clean install", you will get a "cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> >
> >
> > in the "cli/target" directory run the cli like this:
> >
> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed by the commands you want it to execute)
> >
> >
> > Currently there are 4 commands:
> >
> > list:                 Lists all versions and platforms available for download
> >
> > download:    Downloads selected versions and assembles an FDK
> >
> > convert:        Converts a previously installed (using the installer) or assembled (using download command) FDK into a mavenized form.
> >
> > deploy:          Uploads previously created maven artifacts to a remote repository.
> >
> >
> > Some typical usage scenarios:
> >
> > - Create a mavenized version of a previously installed FDK (Using the installer):
> >
> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo> convert"
> >
> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and 16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> >
> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> >
> > - Download and convert an FDK (FDK assembled in temp directory using Air for current systems platform only):
> >
> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir <maven local repo> download convert"
> >
> > - Deploy a bunch of maven artifacts to a remote maven repository:
> >
> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url> -repoUsername <username> -repoPassword <pasword> deploy"
> >
> > - "The works" (TM): Download, Convert and Deploy using only temp directories:
> >
> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword> download convert deploy"
> >
> >
> > Would be cool if you guys could experiment a little with it ... I think it could probably need a little hardening here and there. The more experiment with it, the harder it gets :-)
> >
> >
> > Chris
> >
> >
 		 	   		  

AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Frederic,

Ok ... thanks for reporting this.

I had to force the addition of that pom as git complained, that it was excluded because of one of the active ".gitignore" files rules (I couldn't find the rule that was causing the exclusion). Well after forcing it in I could confirm it's presence by going to the Github web interface.

Give it another try ... should work now.

Chris

________________________________________
Von: Frédéric THOMAS <we...@hotmail.com>
Gesendet: Donnerstag, 9. April 2015 22:38
An: dev@flex.apache.org
Betreff: RE: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Hi Chris,
I need to re-install my artifactory on my machine, in between, can you check the pom.xml for the CLI has been committed to develop as I can't see it.

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Wed, 8 Apr 2015 14:30:41 +0000
>
> Hi,
>
>
> while I was at it to implement the last changes I saw for the first release, I also removed all the old legacy "main" classes and replaced them with one Commandline Interface (module cli)
>
>
> If you checkout the "develop" branch of the flex-utils repo, and build the Mavenizer using "mvn clean install", you will get a "cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
>
>
> in the "cli/target" directory run the cli like this:
>
> java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed by the commands you want it to execute)
>
>
> Currently there are 4 commands:
>
> list:                 Lists all versions and platforms available for download
>
> download:    Downloads selected versions and assembles an FDK
>
> convert:        Converts a previously installed (using the installer) or assembled (using download command) FDK into a mavenized form.
>
> deploy:          Uploads previously created maven artifacts to a remote repository.
>
>
> Some typical usage scenarios:
>
> - Create a mavenized version of a previously installed FDK (Using the installer):
>
>    "... -fdkDir <FDK install dir> -mavenDir <maven local repo> convert"
>
> - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and 16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
>
>    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
>
> - Download and convert an FDK (FDK assembled in temp directory using Air for current systems platform only):
>
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir <maven local repo> download convert"
>
> - Deploy a bunch of maven artifacts to a remote maven repository:
>
>    "... -mavenDir <dir with maven artifacts> -repoUrl <url> -repoUsername <username> -repoPassword <pasword> deploy"
>
> - "The works" (TM): Download, Convert and Deploy using only temp directories:
>
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword> download convert deploy"
>
>
> Would be cool if you guys could experiment a little with it ... I think it could probably need a little hardening here and there. The more experiment with it, the harder it gets :-)
>
>
> Chris
>
>

RE: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Chris,
I need to re-install my artifactory on my machine, in between, can you check the pom.xml for the CLI has been committed to develop as I can't see it.

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Wed, 8 Apr 2015 14:30:41 +0000
> 
> Hi,
> 
> 
> while I was at it to implement the last changes I saw for the first release, I also removed all the old legacy "main" classes and replaced them with one Commandline Interface (module cli)
> 
> 
> If you checkout the "develop" branch of the flex-utils repo, and build the Mavenizer using "mvn clean install", you will get a "cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> 
> 
> in the "cli/target" directory run the cli like this:
> 
> java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed by the commands you want it to execute)
> 
> 
> Currently there are 4 commands:
> 
> list:                 Lists all versions and platforms available for download
> 
> download:    Downloads selected versions and assembles an FDK
> 
> convert:        Converts a previously installed (using the installer) or assembled (using download command) FDK into a mavenized form.
> 
> deploy:          Uploads previously created maven artifacts to a remote repository.
> 
> 
> Some typical usage scenarios:
> 
> - Create a mavenized version of a previously installed FDK (Using the installer):
> 
>    "... -fdkDir <FDK install dir> -mavenDir <maven local repo> convert"
> 
> - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and 16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> 
>    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> 
> - Download and convert an FDK (FDK assembled in temp directory using Air for current systems platform only):
> 
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir <maven local repo> download convert"
> 
> - Deploy a bunch of maven artifacts to a remote maven repository:
> 
>    "... -mavenDir <dir with maven artifacts> -repoUrl <url> -repoUsername <username> -repoPassword <pasword> deploy"
> 
> - "The works" (TM): Download, Convert and Deploy using only temp directories:
> 
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword> download convert deploy"
> 
> 
> Would be cool if you guys could experiment a little with it ... I think it could probably need a little hardening here and there. The more experiment with it, the harder it gets :-)
> 
> 
> Chris
> 
> 
 		 	   		  

RE: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)

Posted by Frédéric THOMAS <we...@hotmail.com>.
Hi Chris,
I need to re-install my artifactory on my machine, in between, can you check the pom.xml for the CLI has been committed to develop as I can't see it.

Thanks,
Frédéric THOMAS

> From: christofer.dutz@c-ware.de
> To: dev@flex.apache.org
> Subject: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
> Date: Wed, 8 Apr 2015 14:30:41 +0000
> 
> Hi,
> 
> 
> while I was at it to implement the last changes I saw for the first release, I also removed all the old legacy "main" classes and replaced them with one Commandline Interface (module cli)
> 
> 
> If you checkout the "develop" branch of the flex-utils repo, and build the Mavenizer using "mvn clean install", you will get a "cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> 
> 
> in the "cli/target" directory run the cli like this:
> 
> java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed by the commands you want it to execute)
> 
> 
> Currently there are 4 commands:
> 
> list:                 Lists all versions and platforms available for download
> 
> download:    Downloads selected versions and assembles an FDK
> 
> convert:        Converts a previously installed (using the installer) or assembled (using download command) FDK into a mavenized form.
> 
> deploy:          Uploads previously created maven artifacts to a remote repository.
> 
> 
> Some typical usage scenarios:
> 
> - Create a mavenized version of a previously installed FDK (Using the installer):
> 
>    "... -fdkDir <FDK install dir> -mavenDir <maven local repo> convert"
> 
> - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and 16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> 
>    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion 17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> 
> - Download and convert an FDK (FDK assembled in temp directory using Air for current systems platform only):
> 
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -mavenDir <maven local repo> download convert"
> 
> - Deploy a bunch of maven artifacts to a remote maven repository:
> 
>    "... -mavenDir <dir with maven artifacts> -repoUrl <url> -repoUsername <username> -repoPassword <pasword> deploy"
> 
> - "The works" (TM): Download, Convert and Deploy using only temp directories:
> 
>    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0 -fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword> download convert deploy"
> 
> 
> Would be cool if you guys could experiment a little with it ... I think it could probably need a little hardening here and there. The more experiment with it, the harder it gets :-)
> 
> 
> Chris
> 
>