Thank you Alex/Carlos.

I re-cloned all three repos and scripted just the maven build as suggested 
below.

There definitely was some issues related to running both ant and mvn in the 
same directories.

Brian

From: Carlos Rovira <[email protected]>
Sent: Wednesday, March 11, 2020 2:54 AM
To: [email protected]
Subject: Re: VSCode + Royale SDK: Ant != Maven Distribution

Now for just MAVEN build:

(first ensure no files from ANT are present with the previous mails ant wipes 
and super cleans commands:

* ROYALE_COMPILER_HOME:
    - mvn clean install -DskipTests --quiet
* ROYALE_TYPEDEFS_HOME
   - mvn clean install --quiet
* ROYALE_ASJS_HOME:
   - mvn clean install -P with-distribution,option-with-swf 
-DdistributionTargetFolder="$SDK_FOLDER"

(in both cases you can remove "option-with-swf" to just generate JS and avoid 
SWF

Note: I'm building on Mac and have SDK_FOLDER var in the init part of my script 
with a full path to my ROYALE_HOME that is set in VSCode.

HTH

Carlos




El mié., 11 mar. 2020 a las 10:49, Carlos Rovira 
(<[email protected]<mailto:[email protected]>>) escribió:
To complement what Alex said and for MAVEN+ANT build:

* I run Maven first then ANT
* ROYALE_COMPILER_HOME:
    - ant wipe-all
    - mvn clean install -DskipTests --quiet
* ROYALE_TYPEDEFS_HOME
   - ant wipe
   - mvn clean install --quiet
* ROYALE_ASJS_HOME:
   - ant super-clean
   - mvn clean install -P with-distribution,option-with-swf 
-DdistributionTargetFolder="$SDK_FOLDER"

Notice as Alex said that you can have some files left from older builds, so if 
something fails check RAT.txt to remove the files listed there
Notice 2: If  js/lib/dom4j-LICENSE.txt  continue to be a problem let us know so 
we can add to excluded rat check, but I expect the other steps will remove it 
and not cause you more problems

Let us know if all goes well.

Thanks


Reply via email to