Repository: flex-falcon Updated Branches: refs/heads/feature/maven-migration d59add509 -> 61f0f8561
Started writing a how-to-build text file ... started migrating the migration script for windows. Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/61f0f856 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/61f0f856 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/61f0f856 Branch: refs/heads/feature/maven-migration Commit: 61f0f85611303fa907702e18202ba02cd7f0b705 Parents: d59add5 Author: Christofer Dutz <[email protected]> Authored: Sat Mar 19 15:15:41 2016 +0100 Committer: Christofer Dutz <[email protected]> Committed: Sat Mar 19 15:15:41 2016 +0100 ---------------------------------------------------------------------- migrate-to-maven.cmd | 74 +++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 37 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/61f0f856/migrate-to-maven.cmd ---------------------------------------------------------------------- diff --git a/migrate-to-maven.cmd b/migrate-to-maven.cmd index f5f02ad..c0b6f20 100755 --- a/migrate-to-maven.cmd +++ b/migrate-to-maven.cmd @@ -1,36 +1,36 @@ -############################################# -## Clean up some zombie directories form -## previous conversions. -############################################# +REM ############################################# +REM ## Clean up some zombie directories form +REM ## previous conversions. +REM ############################################# rmdir compiler\src\main rmdir compiler\src\test rmdir compiler.jx\src\main rmdir compiler.jx\src\test rmdir flex-compiler-oem\src\main -############################################# -## Convert the flex-compiler-oem module -############################################# +REM ############################################# +REM ## Convert the flex-compiler-oem module +REM ############################################# mkdir flex-compiler-oem\src\main\java git mv flex-compiler-oem/src/flex2 flex-compiler-oem/src/main/java git mv flex-compiler-oem/src/macromedia flex-compiler-oem/src/main/java -############################################# -## Convert the compiler module -############################################# -# Extract the UnknownTreePatternInputOutput generator. +REM ############################################# +REM ## Convert the compiler module +REM ############################################# +REM # Extract the UnknownTreePatternInputOutput generator. git mv compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java compiler-build-tools/src/main/java/org/apache/flex/compiler/internal/as/codegen -# Extract the test-adapter code. +REM # Extract the test-adapter code. mkdir compiler-build-tools\src\main\java\org\apache\flex\utils git mv compiler.tests/src/org/apache/flex/utils/* compiler-build-tools/src/main/java/org/apache/flex/utils -# Create a copy of the FilenameNormalization as we need this in both projects. +REM # Create a copy of the FilenameNormalization as we need this in both projects. cp compiler/src/org/apache/flex/utils/FilenameNormalization.java compiler-build-tools/src/main/java/org/apache/flex/utils git add compiler-build-tools/src/main/java/org/apache/flex/utils/FilenameNormalization.java -# Extract the IASNodeAdapter as this is needed for generating code in the compiler. +REM # Extract the IASNodeAdapter as this is needed for generating code in the compiler. mkdir compiler-jburg-types\src\main\java\org\apache\flex\compiler\internal\as\codegen git mv compiler/src/org/apache/flex/compiler/internal/as/codegen/IASNodeAdapter.java compiler-jburg-types/src/main/java/org/apache/flex/compiler/internal/as/codegen -# Convert the compiler project itself +REM # Convert the compiler project itself mkdir compiler\src\main\java mkdir compiler\src\main\resources mkdir compiler\src\main\jflex\org\apache\flex\compiler\internal\parsing\as @@ -56,13 +56,13 @@ git mv compiler/src/org compiler/src/main/java git mv compiler/src/META-INF compiler/src/main/resources git mv compiler/src/overview.html compiler/src/main/resources git add compiler/src/main -# Separate the resource bundles. +REM # Separate the resource bundles. mkdir compiler\src\main\resources\org\apache\flex\compiler git mv compiler/src/main/java/org/apache/flex/compiler/messages_*.properties compiler/src/main/resources/org/apache/flex/compiler -# Clean up some invalidly named files +REM # Clean up some invalidly named files git mv compiler/src/main/java/org/apache/flex/compiler/internal/css/package.hmtl compiler/src/main/java/org/apache/flex/compiler/internal/css/package.html git mv compiler/src/main/java/org/apache/flex/compiler/tree/mxml/index.html compiler/src/main/java/org/apache/flex/compiler/tree/mxml/package.html -# Move the tests from the separate project into the compiler project +REM # Move the tests from the separate project into the compiler project mkdir compiler\src\test\java mkdir compiler\temp mkdir compiler\results @@ -71,7 +71,7 @@ git mv compiler.tests/feature-tests/as compiler/src/test/java git mv compiler.tests/feature-tests/mxml compiler/src/test/java git mv compiler.tests/feature-tests/properties compiler/src/test/java git mv compiler.tests/functional-tests/f compiler/src/test/java -# Clean up +REM # Clean up git rm -r generated git rm -r lib git rm -r results @@ -79,51 +79,51 @@ git rm -r temp git rm -r tools git rm -r utils -############################################# -## Convert the compiler.jx module -############################################# +REM ############################################# +REM ## Convert the compiler.jx module +REM ############################################# mkdir compiler.jx\src\main\java mkdir compiler.jx\src\main\resources git mv compiler.jx/src/META-INF compiler.jx/src/main/resources git mv compiler.jx/src/com compiler.jx/src/main/java git mv compiler.jx/src/org compiler.jx/src/main/java -# compiler.jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/Notes_JSFlexJSEmitter.txt -# Move the tests from the separate project into the compiler.jx project +REM # compiler.jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/flexjs/Notes_JSFlexJSEmitter.txt +REM # Move the tests from the separate project into the compiler.jx project mkdir compiler.jx\src\test\java git mv compiler.jx.tests/src/org compiler.jx/src/test/java -# Remove the duplicate EnvProperties +REM # Remove the duplicate EnvProperties git rm -r compiler.jx.tests/src/org compiler.jx/src/test/java/org/apache/flex/utils mkdir compiler.jx\src\test\resources git mv compiler.jx.tests/test-files/* compiler.jx/src/test/resources -############################################# -## Convert the externs -############################################# +REM ############################################# +REM ## Convert the externs +REM ############################################# -# asdocs +REM # asdocs -# cordova +REM # cordova mkdir externs\cordova\src\main\javascript git mv externs/cordova/externs/* externs/cordova/src/main/javascript rmdir externs\cordova\externs -#createjs +REM #createjs mkdir externs\createjs\src\main\javascript git mv externs/createjs/missing.js externs/createjs/src/main/javascript -# GCL +REM # GCL mkdir externs\GCL\src\main\flex git mv externs/GCL/src/goog externs/GCL/src/main/flex git rm -r externs/GCL/externs rmdir externs\GCL\out -# google_maps +REM # google_maps -# jasmine +REM # jasmine -# jquery +REM # jquery -# js +REM # js mkdir externs\js\src\main\flex\__AS3__\vec git mv externs/js/src/AS3.as externs/js/src/main/flex/AS3.as git mv externs/js/src/Vector.as externs/js/src/main/flex/__AS3__/vec/Vector.as @@ -131,7 +131,7 @@ git rm externs/js/src/Vector-template.as mkdir externs\js\src\main\javascript git mv externs/js/missing.js externs/js/src/main/javascript -# node +REM # node mkdir externs\node\src\main\javascript git mv externs/node/externs/* externs/node/src/main/javascript rmdir externs\node\externs
