I tried adding this to pom.xml, but it has no effect: <includeClass>java.net.URL</includeClass>
On Sat, Apr 4, 2009 at 11:56 PM, Davis Ford <[email protected]> wrote: > Hi, I have a simple entity with a get/set of java.net.URL > > public URL getUrl() { } > public void setUrl(URL url) { } > > When I generate the As3 code with flexmojos it has a problem with > this. It generates the code in the Base.as class: > > import java.net.URL; > > public function set url(value:URL):void { > _url = value; > } > public function get url():URL { > return _url; > } > > ..but there is a compiler error as: > > Type was not found or was not a compile-time constant: URL. > > java.net is part of standard java library...how can I resolve this > with action script? > > Thanks in advance, > Davis > -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
