Comments (9)
Error : Resource file not found : assets/_exclude/config.xml
Not sure why NME is looking for it? Please verify that nmml file includes:
<assets path="assets" rename="assets" include="*" exclude="_exclude|*.ogg"
if="flash" />
<assets path="assets" rename="assets" include="*" exclude="_exclude"
unless="flash" />
Does the nme.Assets.hx file (for ios build) include reference to config.xml?
Do other cpp targets work ok?
Does it work ok if you replace both above nmml asset nodes with:
<assets path="assets" rename="assets" include="*" exclude="_exclude" />
Original comment by [email protected]
on 5 Mar 2013 at 5:15
- Changed state: Started
from awe6.
Sorry, red herring on the nmml file. I replicated error by removing
assets/_exclude/config.xml ...
Please verify contents of projectdir/assets/_exclude/
Original comment by [email protected]
on 5 Mar 2013 at 5:18
from awe6.
I had try to exclude the _exclude when compile to IOS,but error didn't gone.
and I want to know how to verify the file in _exclude folder?Could you show me
a sample?
bellow is the code in my main.hx,it's created by haxelib run awe6 create
command,nothing has been changed!
/////////////
import ericzhao.Factory;
import nme.Lib;
import haxe.Log;
import haxe.PosInfos;
import haxe.Resource;
/**
* ...
* @author seraph
*/
class Main {
static function main() {
#if debug
var l_isDebug:Bool = true;
#else
var l_isDebug:Bool = false;
#end
if ( !l_isDebug ) {
Log.trace = function( v:Dynamic, ?infos:PosInfos ):Void {};
}
var l_factory = new Factory( Lib.current, l_isDebug, Resource.getString( "config" ) );
}
public function new() {
// needed for Jeash
}
}
Original comment by [email protected]
on 6 Mar 2013 at 1:27
from awe6.
Does your project have the file:
project/assets/_exclude/config.xml
If not, it needs one. Basic content would be:
<?xml version="1.0" encoding="utf-8"?>
<data>
<settings>
<assets>
<packages default="assets" audio="assets.audio" />
</assets>
<font name="assets_fonts_orbitron_ttf" />
</settings>
</data>
Original comment by [email protected]
on 6 Mar 2013 at 6:14
from awe6.
Original comment by [email protected]
on 6 Mar 2013 at 6:23
from awe6.
I had the xml file in the assets folder,but Xcode can't find it!
Original comment by [email protected]
on 9 Mar 2013 at 3:12
from awe6.
Is the following line in your project's nmml?
<compilerflag name="-resource assets/_exclude/config.xml@config" />
Original comment by [email protected]
on 9 Mar 2013 at 6:07
from awe6.
I'm going to close this issue as "Done". Please reopen if it is not.
Original comment by [email protected]
on 25 Mar 2013 at 5:54
- Changed state: Done
from awe6.
Update: NME (for iOS only) exclude Haxe resources from a folders marked as
exclude in the nmml file. Solution is to move the config file outside of the
assets folder. Other targets (including other cpp targets) appear to work as
expected.
Original comment by [email protected]
on 28 May 2013 at 12:43
from awe6.
Related Issues (20)
- awe6 demo on Blackberry Playbook very slow HOT 7
- A View's change in position does not affect attached child Views HOT 1
- HTML5 not building properly on latest HOT 2
- linux runtime error: trying to save in root HOT 1
- Mac Flash isFullscreen Event dispatch recursion overflow. HOT 1
- Memory leak when switching scenes HOT 2
- ios - 'super' in member access expression is ambiguous HOT 4
- Reference to non-existent "_sprite" in the Text class HOT 1
- Haxelib 3 doesn't know about awe6? HOT 3
- Flash target Font registration on last loaded asset HOT 1
- The default application crashes on android using openfl HOT 2
- Error compiling default template HOT 1
- 2.09 breaks HOT 1
- Try to build on android HOT 4
- Properties in Haxe 3.0 HOT 2
- Awe6 + Haxenme - ios build errors HOT 11
- Build fails with iOS, Mac and Android target HOT 2
- Demo app crashes with target mac HOT 4
- Extending the View class HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awe6.