Hi Piotr, that sounds very good! I'll try that, thanks! :)

2017-09-08 1:12 GMT+02:00 Piotr Zarzycki <piotrzarzyck...@gmail.com>:

> Carlos,
>
> If I may suggest something you can look into tourjs [1] project where I did
> copying in poms.
>
> [1] https://github.com/apache/flex-tourjs/blob/develop/TourJS/pom.xml
>
> Piotr
>
> On Thu, Sep 7, 2017, 23:24 Carlos Rovira <carlos.rov...@codeoscopic.com>
> wrote:
>
> > Hi Alex,
> >
> > I finaly get it working localy. Wasn't aware that I should copy the .js
> > file to MainApp target folder.
> >
> > Know seeing how it works, and talking about duplicates, I think we could
> > only need to put some maven instrucción in the pom so the .js will be
> > copied automatically, and look for duplication removal at some later
> time.
> > I think is not so important right now.
> >
> > I'll try to look at that solution and see if I can find something that do
> > that easily
> >
> > thanks!
> >
> >
> >
> >
> > 2017-09-07 19:17 GMT+02:00 Alex Harui <aha...@adobe.com.invalid>:
> >
> > > I tested it locally.  I only got the Maven build to create the
> artifacts.
> > > I wasn't sure of the best way to deploy the artifacts.  Can you help
> with
> > > that?  As I mentioned in the first post, for js-debug you have to copy
> > > stuff around.  I just ran the Maven build, make a folder in
> > > MainApp/target/javascript/bin/js-release called "modules" and copied
> > > Module/target/javascript/bin/js-release/Module.js into
> > > MainApp/target/javascript/bin/js-release/modules and then opened
> > > MainApp/target/javascript/bin/js-release/index.html
> > >
> > > I think you can look at the Ant scripts and see how they handle the
> > > js-debug output and bin-debug output
> > >
> > > If you are getting a 404, do you know which URL it couldn't find?
> > >
> > > Thanks,
> > > -Alex
> > >
> > > On 9/7/17, 9:13 AM, "carlos.rov...@gmail.com on behalf of Carlos
> Rovira"
> > > <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com>
> > > wrote:
> > >
> > > >Hi Alex,
> > > >
> > > >I'm looking to the ModulesExample but is not working for me. I tried
> to
> > > >build with regular maven instruction (men clean install) in parent
> > folder
> > > >of both main app and module. Then run localy and upload to a server,
> but
> > > >main app doesn't load and reports 404.
> > > >
> > > >In code I see:
> > > >
> > > ><js:UIModuleLoader modulePath="modules" moduleName="Module" />
> > > >
> > > >so modulePath gets a value of "modules", but where is "modules"?
> > > >
> > > >btw, can I test this localy or only on a server to get proper paths?
> > > >
> > > >Thanks!
> > > >
> > > >Carlos
> > > >
> > > >
> > > >
> > > >2017-09-07 14:35 GMT+02:00 Carlos Rovira <
> carlos.rov...@codeoscopic.com
> > >:
> > > >
> > > >> Ok Alex,
> > > >>
> > > >> I'll be looking at the example and seeing how it performs and give
> > some
> > > >> feedback. I think it could work for me at least, but I suppose that
> in
> > > >>the
> > > >> end we would need to clean those duplicates in order to have a more
> > > >> "production" feature
> > > >>
> > > >> Thanks!
> > > >>
> > > >>
> > > >>
> > > >> 2017-09-07 9:37 GMT+02:00 Alex Harui <aha...@adobe.com.invalid>:
> > > >>
> > > >>> Hi Carlos,
> > > >>>
> > > >>> Peter's work ended up being more like SWFLoader.  It loads
> something
> > > >>>much
> > > >>> more like a sub-application.
> > > >>>
> > > >>> There is a examples/flexjs/ModuleExample folder.
> > > >>>
> > > >>> I have not spent any time on resolving any of the drawbacks
> mentioned
> > > >>>in
> > > >>> the original post.  First, I want to see how important it is to
> > folks.
> > > >>> For example if your module is small enough, maybe we don't need to
> > > >>>spend
> > > >>> time on trying to extract duplicates.
> > > >>>
> > > >>> Thanks,
> > > >>> -Alex
> > > >>>
> > > >>> On 9/6/17, 4:09 PM, "carlos.rov...@gmail.com on behalf of Carlos
> > > >>>Rovira"
> > > >>> <carlos.rov...@gmail.com on behalf of
> carlos.rov...@codeoscopic.com>
> > > >>> wrote:
> > > >>>
> > > >>> >Hi Alex,
> > > >>> >
> > > >>> >very interesting. That was one of the other things I needed, so
> > great
> > > >>>to
> > > >>> >see make it real! :)
> > > >>> >
> > > >>> >Questions:
> > > >>> >
> > > >>> >1.- I remember Peter did some work on this. Could you tell us main
> > > >>> >diferences between Peter's work and yours to understand more about
> > the
> > > >>> >implementation?
> > > >>> >
> > > >>> >2.- Can I found some example in our repo to check it and play with
> > it?
> > > >>> >
> > > >>> >3.- About the draw backs you mention, there's some progress on it
> or
> > > >>>do
> > > >>> >you
> > > >>> >think in left as is for the moment?, those problems of duplicated
> js
> > > >>> files
> > > >>> >should be a problem, or only something to clean in some way in the
> > > >>> future?
> > > >>> >
> > > >>> >Thanks for making this!
> > > >>> >
> > > >>> >Carlos
> > > >>> >
> > > >>> >
> > > >>> >
> > > >>> >2017-08-18 17:31 GMT+02:00 Alex Harui <aha...@adobe.com.invalid>:
> > > >>> >
> > > >>> >> Hi Olaf,
> > > >>> >>
> > > >>> >> Hopefully there is no "magic".  I think it works pretty much
> like
> > > >>> >>regular
> > > >>> >> Flex modules.  There is a UIModuleLoader that loads a Mouse
> > compiled
> > > >>> and
> > > >>> >> defined from a UIModule.  You can defer the downloading and
> > > >>> >>instantiation
> > > >>> >> of the module by controlling when the UIModuleLoader's URL for
> the
> > > >>> >>module
> > > >>> >> gets set.  In theory, the URL can point to anywhere you have
> > > >>>permission
> > > >>> >>to
> > > >>> >> load and run code in a JS file.  So the module does not have to
> be
> > > >>> >>bundled
> > > >>> >> and delivered with the application files.
> > > >>> >>
> > > >>> >> Of course, I expect there are still bugs and missing features
> that
> > > >>>need
> > > >>> >>to
> > > >>> >> be worked out.
> > > >>> >>
> > > >>> >> Thanks,
> > > >>> >> -Alex
> > > >>> >>
> > > >>> >> On 8/18/17, 1:30 AM, "Olaf Krueger" <p...@olafkrueger.net>
> wrote:
> > > >>> >>
> > > >>> >> >Hi Alex,
> > > >>> >> >great that you've heard the community voice and start working
> on
> > > >>>this!
> > > >>> >> >
> > > >>> >> >>...and loaded after application startup...
> > > >>> >> >
> > > >>> >> >Does this mean that a FlexJS module is loaded from the server
> > (same
> > > >>> >>origin
> > > >>> >> >as the main app?) by some magic or is it already bundled and
> > > >>>delivered
> > > >>> >> >with
> > > >>> >> >the FlexJS app and will just be instantiated when it's needed?
> > > >>> >> >
> > > >>> >> >Thanks,
> > > >>> >> >Olaf
> > > >>> >> >
> > > >>> >> >
> > > >>> >> >
> > > >>> >> >--
> > > >>> >> >View this message in context:
> > > >>> >> >https://na01.safelinks.protection.outlook.com/?url=
> > > >>> >> http%3A%2F%2Fapache-fle
> > > >>> >> >x-development.2333347.n4.nabble.com%2FFLEXJS-Modules-
> > > >>> >> tp63894p63905.html&da
> > > >>> >> >ta=02%7C01%7C%7C7669ae743536483eaaf708d4e613
> > > >>> >> a5a5%7Cfa7b1b5a7b34438794aed2c
> > > >>> >> >178decee1%7C0%7C0%7C636386419440846961&sdata=
> > > >>> >> ELxRbs%2B23Cq%2Fy0T%2FJaK5Iva
> > > >>> >> >p1YebDwsHWeJXY%2Bsbfzg%3D&reserved=0
> > > >>> >> >Sent from the Apache Flex Development mailing list archive at
> > > >>> >>Nabble.com.
> > > >>> >>
> > > >>> >>
> > > >>> >
> > > >>> >
> > > >>> >--
> > > >>> >
> > > >>> ><https://na01.safelinks.protection.outlook.com/?url=http%
> > > >>> 3A%2F%2Fwww.codeo
> > > >>> >scopic.com&data=02%7C01%7C%7C31f3f9c5de7f4328381e08d4f57c55
> > > >>> 7c%7Cfa7b1b5a7b
> > > >>> >34438794aed2c178decee1%7C0%7C0%7C636403361742122060&sdata=
> > > >>> cdyv3J4JK%2FzpFe
> > > >>> >vIXH1usEktPyYFu4vhQ67%2FLYviLP0%3D&reserved=0>
> > > >>> >
> > > >>> >Carlos Rovira
> > > >>> >
> > > >>> >Director General
> > > >>> >
> > > >>> >M: +34 607 22 60 05
> > > >>> >
> > > >>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
> > > >>> 2F%2Fwww.codeos
> > > >>> >copic.com&data=02%7C01%7C%7C31f3f9c5de7f4328381e08d4f57c557
> > > >>> c%7Cfa7b1b5a7b3
> > > >>> >4438794aed2c178decee1%7C0%7C0%7C636403361742122060&sdata=
> > > >>> cdyv3J4JK%2FzpFev
> > > >>> >IXH1usEktPyYFu4vhQ67%2FLYviLP0%3D&reserved=0
> > > >>> >
> > > >>> >https://na01.safelinks.protection.outlook.com/?url=http%3A%
> > > >>> 2F%2Fwww.avant2
> > > >>> >.es&data=02%7C01%7C%7C31f3f9c5de7f4328381e08d4f57c557c%
> > > >>> 7Cfa7b1b5a7b3443879
> > > >>> >4aed2c178decee1%7C0%7C0%7C636403361742122060&sdata=l8Y04woW
> > > >>> a%2F8SgQDnaT8Hv
> > > >>> >Qkvw1mGDwjHkVeKgAOOJYo%3D&reserved=0
> > > >>> >
> > > >>> >
> > > >>> >Conocenos en 1 minuto!
> > > >>> ><https://na01.safelinks.protection.outlook.com/?url=https%
> > > >>> 3A%2F%2Fyoutu.be
> > > >>> >%2FP2IEAYDG5HU&data=02%7C01%7C%7C31f3f9c5de7f4328381e08d4f5
> > > >>> 7c557c%7Cfa7b1b
> > > >>> >5a7b34438794aed2c178decee1%7C0%7C0%7C636403361742122060&sda
> > > >>> ta=i3iplm%2B5TO
> > > >>> >o9BCQyxDS4RYkthBQ661n2KRcl6vtjkEA%3D&reserved=0>
> > > >>> >
> > > >>> >
> > > >>> >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.
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >>
> > > >>
> > > >><https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.code
> > > >>oscopic.com&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b5a
> > > >>7b34438794aed2c178decee1%7C0%7C0%7C636403976623856175&
> > > sdata=CbPcBYrcnVjlG
> > > >>nVdB20DqMW4s2z3IqAZbB4YIYLAoGI%3D&reserved=0>
> > > >>
> > > >> Carlos Rovira
> > > >>
> > > >> Director General
> > > >>
> > > >> M: +34 607 22 60 05 <607%2022%2060%2005>
> > > >>
> > > >>
> > > >>https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.codeo
> > > >>scopic.com&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b5a7
> > > >>b34438794aed2c178decee1%7C0%7C0%7C636403976623856175&
> > > sdata=CbPcBYrcnVjlGn
> > > >>VdB20DqMW4s2z3IqAZbB4YIYLAoGI%3D&reserved=0
> > > >>
> > > >>
> > > >>https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.avant
> > > >>2.es&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b5a7b34438
> > > >>794aed2c178decee1%7C0%7C0%7C636403976623856175&sdata=
> > > Zi0IzvBFIs1gnz6j0sMs
> > > >>70WD5pSbBjgDzRuyq2tUqLg%3D&reserved=0
> > > >>
> > > >>
> > > >> Conocenos en 1 minuto!
> > > >><https://na01.safelinks.protection.outlook.com/?url=
> > > https%3A%2F%2Fyoutu.b
> > > >>e%2FP2IEAYDG5HU&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b
> > > >>1b5a7b34438794aed2c178decee1%7C0%7C0%7C636403976623856175&
> > > sdata=0clZFir1x
> > > >>jRmJuQv1Ni1qNeoIbDCGMLo9xcW4WTcYfk%3D&reserved=0>
> > > >>
> > > >>
> > > >> 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.
> > > >>
> > > >>
> > > >
> > > >
> > > >--
> > > >
> > > ><https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.codeo
> > > >scopic.com&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b5a7b
> > > >34438794aed2c178decee1%7C0%7C0%7C636403976623856175&
> > > sdata=CbPcBYrcnVjlGnVd
> > > >B20DqMW4s2z3IqAZbB4YIYLAoGI%3D&reserved=0>
> > > >
> > > >Carlos Rovira
> > > >
> > > >Director General
> > > >
> > > >M: +34 607 22 60 05
> > > >
> > > >https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.codeos
> > > >copic.com&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b5a7b3
> > > >4438794aed2c178decee1%7C0%7C0%7C636403976623856175&
> > > sdata=CbPcBYrcnVjlGnVdB
> > > >20DqMW4s2z3IqAZbB4YIYLAoGI%3D&reserved=0
> > > >
> > > >https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.avant2
> > > >.es&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b5a7b3443879
> > > >4aed2c178decee1%7C0%7C0%7C636403976623856175&sdata=
> > > Zi0IzvBFIs1gnz6j0sMs70W
> > > >D5pSbBjgDzRuyq2tUqLg%3D&reserved=0
> > > >
> > > >
> > > >Conocenos en 1 minuto!
> > > ><https://na01.safelinks.protection.outlook.com/?url=
> > > https%3A%2F%2Fyoutu.be
> > > >%2FP2IEAYDG5HU&data=02%7C01%7C%7Ca25910607c3648df9ae908d4f60b
> > > 7f2d%7Cfa7b1b
> > > >5a7b34438794aed2c178decee1%7C0%7C0%7C636403976623856175&
> > > sdata=0clZFir1xjRm
> > > >JuQv1Ni1qNeoIbDCGMLo9xcW4WTcYfk%3D&reserved=0>
> > > >
> > > >
> > > >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.
> > >
> > >
> >
> >
> > --
> >
> > <http://www.codeoscopic.com>
> >
> > Carlos Rovira
> >
> > Director General
> >
> > M: +34 607 22 60 05
> >
> > http://www.codeoscopic.com
> >
> > http://www.avant2.es
> >
> >
> > Conocenos en 1 minuto! <https://youtu.be/P2IEAYDG5HU>
> >
> >
> > 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.
> >
>



-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com

http://www.avant2.es


Conocenos en 1 minuto! <https://youtu.be/P2IEAYDG5HU>


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