distriqt / ANE-CustomResources

Android Custom Resources for AIR Applications
https://airnativeextensions.com
15 stars 4 forks source link

Errors When Running ant #1

Closed philvessey closed 8 years ago

philvessey commented 8 years ago

Followed the instructions and got the below errors in windows 10:

C:\Users\phill\Desktop\ANE-CustomResources-master>ant Buildfile: C:\Users\phill\Desktop\ANE-CustomResources-master\build.xml [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.

clean: [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.

clean_actionscript: [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.

clean_default: [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.

clean_android:

build: [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.

build_actionscript: [echo] Building actionscript library...

BUILD FAILED C:\Users\phill\Desktop\ANE-CustomResources-master\build.xml:213: The following error occurred while executing this line: C:\Users\phill\Desktop\ANE-CustomResources-master\build.xml:89: Problem: failed to create task or type compc Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place.

Total time: 0 seconds

C:\Users\phill\Desktop\ANE-CustomResources-master>

marchbold commented 8 years ago

Did you update the paths to point to your AIR SDK?

Admittedly we haven't tested this on Windows yet, so it could be a path separator issue.

philvessey commented 8 years ago

Yes double checked the paths for AIR and the Android SDK

marchbold commented 8 years ago

Hi,

We've updated the build to support windows. Just make sure you follow the notes in the readme about escaping paths.

Cheers

philvessey commented 8 years ago

Thanks, it builds fine with the updated paths.