Well for example Flexmojos has a built in generator based upon graniteds ... 
the jaxb plugin generates code, antlr and there is a vast number of other code 
generators ... each one would generate its code into:

target/generated-sources/flexmojos
target/generated-sources/jaxb
target/generated-sources/antlr
...

Chris

-----Ursprüngliche Nachricht-----
Von: Alex Harui [mailto:aha...@adobe.com] 
Gesendet: Freitag, 18. Dezember 2015 16:59
An: dev@flex.apache.org
Betreff: Re: AW: AW: [FlexJS] Maven-friendly folders

What is a "generator-name"?  Like FalconJX or swc and js?

Do you know what artifact-id's you want to use for FlexJS?

It could be a big change to add versions to the name of the SWC.  Is that a 
requirement in Maven?

Thanks,
-Alex

On 12/18/15, 1:12 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Well for generated sources, they usually go to 
>"target/generated-sources/{generator-name}" or 
>"target/generated-test-sources/{generator-name}" ... at least this is 
>what the most ides seem to directly support.
>
>Chris
>
>________________________________________
>Von: carlos.rov...@gmail.com <carlos.rov...@gmail.com> im Auftrag von 
>Carlos Rovira <carlos.rov...@codeoscopic.com>
>Gesendet: Donnerstag, 17. Dezember 2015 18:23
>An: dev@flex.apache.org
>Betreff: Re: AW: [FlexJS] Maven-friendly folders
>
>Hi Chris,
>
>maybe Alex is referring to generated "output", isn't it?
>
>in maven is normal to see the standard "target" where all the 
>generation output is done (and could be separated in folders as "lib", "js", 
>"swc"
>and
>so on...
>
>make this sense?
>
>thanks
>
>Carlos
>
>
>2015-12-17 17:31 GMT+01:00 Christofer Dutz <christofer.d...@c-ware.de>:
>
>> Well In maven you have
>>
>> src/main/... For the actual code
>> src/test/... For stuff needed to run unit tests src/it/... (Not quite 
>> standard yet, but probably the standard for
>> integration-tests)
>>
>> Also site stuff for the automatically generated maven project 
>> documentation, ....
>>
>> So yes ... there is more stuff to go in there ....:-)
>>
>> Regarding the output ... I would like the maven default:
>> Classes and filtered resources go to "target/classes"
>> The jars are bundled at "target/{artifact-id}-{version}.jar"
>> or in case of flex "target/{artifact-id}-{version}.swc" (or swf ... 
>> or
>> both)
>>
>> Chris
>>
>> ________________________________________
>> Von: Alex Harui <aha...@adobe.com>
>> Gesendet: Donnerstag, 17. Dezember 2015 16:45
>> An: dev@flex.apache.org
>> Betreff: Re: AW: [FlexJS] Maven-friendly folders
>>
>> One folder is better for Flash Builder debugging as well.  So, the 
>> decision is:
>>
>>         src/main/flex
>>
>> Just curious, does anything else ever go in src or is there always 
>> just one "main" folder?
>>
>> Now, what about the output folder?  Currently crossed compiled stuff 
>>goes  in js/out.  Should it go somewhere else?  And while we're at it, 
>>the SWC  actually goes in ../../libs so all swcs get gathered in one 
>>place.  Is  that ok for Maven builds?
>>
>> Thanks,
>> -Alex
>>
>> On 12/17/15, 3:38 AM, "Christofer Dutz" <christofer.d...@c-ware.de>
>>wrote:
>>
>> >Me too as this requires less adjusting of Flexmojos ;-)
>> >
>> >Chris
>> >
>> >________________________________________
>> >Von: carlos.rov...@gmail.com <carlos.rov...@gmail.com> im Auftrag 
>> >von Carlos Rovira <carlos.rov...@codeoscopic.com>
>> >Gesendet: Donnerstag, 17. Dezember 2015 11:55
>> >An: dev@flex.apache.org
>> >Betreff: Re: [FlexJS] Maven-friendly folders
>> >
>> >maybe b) should be better, since I think 2 folders could be a bit of 
>> >a nightmare. So I vote for a unique "flex" folder
>> >
>> >2015-12-17 11:33 GMT+01:00 Christofer Dutz <christofer.d...@c-ware.de>:
>> >
>> >> Well if there is .as and .mxml I could vote for one of these two
>> >>options:
>> >>
>> >> a) src/main/as and src/main/mxml
>> >> b) src/main/flex
>> >>
>> >> The "src/main/resources" is the default in Maven ... if there are 
>> >>no  resources, the directory isn't either. Just if there are static 
>> >>resources,  they should go in there.
>> >>
>> >> Chris
>> >>
>> >> ________________________________________
>> >> Von: carlos.rov...@gmail.com <carlos.rov...@gmail.com> im Auftrag 
>> >> von Carlos Rovira <carlos.rov...@codeoscopic.com>
>> >> Gesendet: Donnerstag, 17. Dezember 2015 11:19
>> >> An: dev@flex.apache.org
>> >> Betreff: Re: [FlexJS] Maven-friendly folders
>> >>
>> >> Just was thinking on that. Thanks Chris to rise the
>>mvn-like-folders! :)
>> >>
>> >> the four paths are needed in maven.
>> >>
>> >> Regarding "as" vs "flex", is hard to decide. both seems ok to me.
>>Maybe
>> >> "flex" has more meaning...but "as" refers to the extension of the 
>> >>language  (and this should make us think in what happens to 
>> >>".mxml", should we have
>> >> /mxml?)
>> >>
>> >>
>> >>
>> >> 2015-12-17 11:07 GMT+01:00 Christofer Dutz
>><christofer.d...@c-ware.de>:
>> >>
>> >> > Well if we wanted to go more in the direction of a 
>> >> > Maven-firendly structure, it would probably be:
>> >> >
>> >> > - src/main/as (or src/main/flex or src/main/flexjs ... don't 
>> >> > know
>> >>what we
>> >> > want to call the highest level ... I don't really care as long 
>> >> > as
>>we
>> >> stick
>> >> > to the decision)
>> >> > - src/main/resources (for config file, static resources etc.)
>> >> > - src/test/as (for test code)
>> >> > - src/test/resources (for resources needed during tests)
>> >> >
>> >> > I personally would prefer "src/main/flex" and src/test/flex" as 
>> >> > I
>> >>think
>> >> > that we also have mxml and that is not as but both sort of "are
>>flex"
>> >>...
>> >> > what do you think?
>> >> >
>> >> > Chris
>> >> >
>> >> > ________________________________________
>> >> > Von: Alex Harui <aha...@adobe.com>
>> >> > Gesendet: Donnerstag, 17. Dezember 2015 09:18
>> >> > An: dev@flex.apache.org
>> >> > Betreff: [FlexJS] Maven-friendly folders
>> >> >
>> >> > Hi,
>> >> >
>> >> > Now that all JS files are generated via cross-compiling, the 
>> >> > folder structure in each SWC project currently looks like:
>> >> >
>> >> > SWCFolder/as/src  -- The source code
>> >> >          /as/tests -- Any FlexUnit tests
>> >> >          /js/out  -- The cross-compiled output
>> >> >          *-manifest.xml -- The MXML manifests
>> >> >          compile-config.xml -- config file for SWF
>> >> >          compile-asjs-config.xml -- config file for JS
>> >> >          build.xml  -- The Ant build script
>> >> >
>> >> > I don't think we need the "as" folder level.  We had it since we
>>used
>> >>to
>> >> > have a js/src and wanted to distinguish between languages in the
>> >>sources,
>> >> > so I was thinking we'd bring the as/src and as/tests folder to 
>> >> > the
>>top
>> >> > level as in:
>> >> >
>> >> > SWCFolder/src  -- The source code
>> >> >          /tests -- Any FlexUnit tests
>> >> >
>> >> > and I'm wondering if there is some other organization of folders
>>that
>> >> > might be more Maven-friendly.
>> >> >
>> >> > Thoughts?  I'm shutting down for tonight.  Will check back in my
>> >>morning.
>> >> >
>> >> > -Alex
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >>
>> >> Carlos Rovira
>> >> Director General
>> >> M: +34 607 22 60 05
>> >> http://www.codeoscopic.com
>> >> http://www.avant2.es
>> >>
>> >>
>> >> Este mensaje se dirige exclusivamente a su destinatario y puede
>>contener
>> >> información privilegiada o confidencial. Si ha recibido este 
>> >> mensaje
>>por
>> >> error, le rogamos que nos lo comunique inmediatamente por esta 
>> >>misma vía y  proceda a su destrucción.
>> >>
>> >> De la vigente Ley Orgánica de Protección de Datos (15/1999), le 
>> >>comunicamos  que sus datos forman parte de un fichero cuyo 
>> >>responsable es
>>CODEOSCOPIC
>> >> S.A. La finalidad de dicho tratamiento es facilitar la prestación 
>> >>del  servicio o información solicitados, teniendo usted derecho de 
>> >>acceso,  rectificación, cancelación y oposición de sus datos 
>> >>dirigiéndose a nuestras  oficinas c/ Paseo de la Habana 9-11, 
>> >>28036, Madrid con la
>>documentación
>> >> necesaria.
>> >>
>> >
>> >
>> >
>> >--
>> >
>> >Carlos Rovira
>> >Director General
>> >M: +34 607 22 60 05
>> >http://www.codeoscopic.com
>> >http://www.avant2.es
>> >
>> >
>> >Este mensaje se dirige exclusivamente a su destinatario y puede
>>contener
>> >información privilegiada o confidencial. Si ha recibido este mensaje
>>por
>> >error, le rogamos que nos lo comunique inmediatamente por esta misma
>>vía y
>> >proceda a su destrucción.
>> >
>> >De la vigente Ley Orgánica de Protección de Datos (15/1999), le 
>> >comunicamos que sus datos forman parte de un fichero cuyo 
>> >responsable es
>>CODEOSCOPIC
>> >S.A. La finalidad de dicho tratamiento es facilitar la prestación 
>> >del servicio o información solicitados, teniendo usted derecho de 
>> >acceso, rectificación, cancelación y oposición de sus datos 
>> >dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, 
>> >Madrid con la documentación necesaria.
>>
>
>
>
>--
>
>Carlos Rovira
>Director General
>M: +34 607 22 60 05
>http://www.codeoscopic.com
>http://www.avant2.es
>
>
>Este mensaje se dirige exclusivamente a su destinatario y puede 
>contener información privilegiada o confidencial. Si ha recibido este 
>mensaje por error, le rogamos que nos lo comunique inmediatamente por 
>esta misma vía y proceda a su destrucción.
>
>De la vigente Ley Orgánica de Protección de Datos (15/1999), le 
>comunicamos que sus datos forman parte de un fichero cuyo responsable 
>es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la 
>prestación del servicio o información solicitados, teniendo usted 
>derecho de acceso, rectificación, cancelación y oposición de sus datos 
>dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, 
>Madrid con la documentación necesaria.

Reply via email to