Hi Christofer, This is very helpful. Thank you very much.
Christofer Dutz <[email protected]> escreveu no dia quarta, 21/10/2020 à(s) 11:09: > Hi Hugo, > > if you are interested in learning: > https://vimeo.com/167857327 > > I did a recording of one of my Maven Trainings which was adjusted > explicitly for the Flex project (There was no Royale project then) ;-) > > Chris > > > > Am 21.10.20, 11:31 schrieb "Hugo Ferreira" <[email protected]>: > > Thank you all. > > I have known ANT for years but never used Maven before, just know that > it's > a build tool to do a similar job as ANT. > It worked well the first time on my machine because as you said, I have > everything in its place but for a server build or a new machine or just > something that would change, will break ANT immediately. > For your explanation, it seems to me that compared ANT with Maven it's > more > or less comparing SVN to Git. Both do the job well but have different > pros > and cons. > ANT it's easier for me because I already know a little about it, > however, I > will switch to Maven. > I like a lot of what I readed and seems very good and yes, ANT seems > more > difficult to maintain. > > Carlos Rovira <[email protected]> escreveu no dia quarta, > 21/10/2020 > à(s) 09:43: > > > In an example I think it can be better to understand. If you go to > this > > project I did some weeks ago: > > > > https://github.com/codeoscopic/avant2-website > > > > You should be able to do "mvn install" in the library and then in the > > project without anything more in your machine. > > Since Maven will download dependencies for you. If I release the > library > > and be in some maven repository out there, you can just build the > main > > project and the library will come from out there. > > > > Using ANT will require that you set up manually all things in your > machine > > and that could be a problem. Why if you change your > machine?....probably > > you must do all that again. > > > > Then if you must to put your project on a server for a team....here > the > > trouble could be epic. So ANT could be ok if you're working alone, > but in > > teams Maven excels clearly, so I prefer to standardize my way of > "produce" > > by always using Maven as a build tool. > > > > HTH > > > > > > El mié., 21 oct. 2020 a las 10:35, Piotr Zarzycki (< > > [email protected]>) escribió: > > > > > My personal feelings of course. :) Ant is also good, but it all > depends > > how > > > scripts are written, I know that I have no idea what is inside > scripts > > > after a week, with Maven when I get back to scripts after months I > know > > > what is happening - this is the advantage of having some specific > > > structure. > > > > > > śr., 21 paź 2020 o 10:33 Piotr Zarzycki <[email protected] > > > > > napisał(a): > > > > > > > Hi Hugo, > > > > > > > > Usually it is, but I have found Maven less problematic over the > years > > and > > > > with new project much more easy to setup. If someone checkout > your > > > project > > > > with Maven pom file - he doesn't need Royale SDK at all, cause > > everything > > > > will be downloaded on the first build. > > > > > > > > Plus Maven scripts are much more cleaner than ant - In ant you > can do > > > > whatever you want, in Maven you have some specific structure > which you > > > > follow. > > > > > > > > Just to mention - I haven't changed my Maven build for Royale in > the > > last > > > > 3 years - maybe command has changed over that time, but not so > much. > > With > > > > > > > > When you push something without building SDK by Maven check here > if > > it's > > > > not failing [1]. > > > > > > > > [1] https://ci-builds.apache.org/job/Royale/ > > > > > > > > śr., 21 paź 2020 o 10:09 Hugo Ferreira <[email protected]> > > > > napisał(a): > > > > > > > >> Hi, > > > >> > > > >> For test fix and possibility new features, I apply the code in > Royale > > > >> source code and build with ANT but Royale also support build > with > > Maven. > > > >> I never use Maven before, so, what is the advantage in Royale > to build > > > >> with > > > >> ANT or Maven. > > > >> I searched a lot and seems to be only a metter of personal > preference. > > > >> > > > > > > > > > > > > -- > > > > > > > > Piotr Zarzycki > > > > > > > > > > > > > -- > > > > > > Piotr Zarzycki > > > > > > > > > -- > > Carlos Rovira > > Apache Member & Apache Royale PMC > > *Apache Software Foundation* > > http://about.me/carlosrovira > > > >
