+1. Regards, Edward Yakop
On Mon, Sep 14, 2009 at 08:17, Marvin Froeder <[email protected]> wrote: > http://www.graniteds.org/jira/browse/GDS-450 > Right? > I will update flexmojos to use > > 2.0.0_SP1 > > On Sun, Sep 13, 2009 at 6:54 PM, Christopher Stokes > <[email protected]> wrote: >> >> When Flex Mojos uses the updated Gas3 code this issue will resolve >> itself. >> >> I think it's important to leave the ticket open or at least document >> the limitation. It took several hours to figure out what was going on >> (debugging the Gas3 code & Flex Mojos) so at least the effort won't be >> repeated if people know about the limitation. >> >> As far as I remember, Flex Mojos is doing everything correctly. The >> Gas3 code simply ignored the thread's classloader. >> >> On Sep 11, 10:42 am, Marvin Froeder <[email protected]> wrote: >> > Is not related to Flexmojos then? >> > Can I close this ticket? >> > >> > VELO >> > >> > On Fri, Sep 11, 2009 at 11:44 AM, Christopher Stokes < >> > >> > >> > >> > [email protected]> wrote: >> > >> > > This is already on the JIRA here: >> > >> > >https://issues.sonatype.org/browse/FLEXMOJOS-126 >> > >> > > It is a bug in the Gas3 Generator. It bit my team earlier when trying >> > > to do JAXB stuff in 1.5. >> > >> > > On Sep 10, 3:07 pm, Marvin Froeder <[email protected]> wrote: >> > > > May be a bug on granite version used by flexmojos? >> > >> > > > On Thu, Sep 10, 2009 at 4:57 PM, Jimic79 <[email protected]> >> > > > wrote: >> > >> > > > > Right, that's not really the issue. We have the generator >> > > > > templates >> > > > > making customized entities, as it did in ant and worked fine. The >> > > > > problem is, if the entity it's generating extends an entity that >> > > > > should be on the classpath, but apparently is outside the scope of >> > > > > the >> > > > > <includeJavaClasses>, the extend fails in the generated base >> > > > > class. >> > > > > So it seems like there's no division between classes on the >> > > > > classpath, >> > > > > and classes in the source path. Either it generates as3 for them >> > > > > if i >> > > > > weaken the <includeJavaClasses> reference or it doesn't have them >> > > > > available if they're not in the <includeJavaClasses>. >> > >> > > > > Here's the AssetBase.as class definition as it's currently >> > > > > generated: >> > > > > public class AssetBase { >> > >> > > > > but the com.groupId.asset.entities.file.Asset extends >> > > > > com.groupId.os.entities.file.AbstractFile, which is in the os >> > > > > package, >> > > > > so it should look like this: >> > >> > > > > import com.groupId.os.entities.file.AbstractFile; >> > > > > public class AssetBase extends AbstractFile { >> > >> > > > > but it's not finding that import because the import is not >> > > > > available >> > > > > on the classpath with <includeJavaClasses> set like this: >> > > > > <includeJavaClasses> >> > > > > <includeClass>*asset.entities.model*</includeClass> >> > > > > </includeJavaClasses> >> > >> > > > > But it works fine when includeJavaClasses looks like this: >> > > > > <includeJavaClasses> >> > > > > <includeClass>*entities.model*</includeClass> >> > > > > </includeJavaClasses> >> > >> > > > > but it also generates the as3 in the os package, which it >> > > > > shouldn't >> > > > > do. >> > >> > > > > On Sep 10, 3:44 pm, Marvin Froeder <[email protected]> wrote: >> > > > > > Well, if you delete already existing files it should generate >> > > > > > all, >> > > > > removing >> > > > > > this skipping messages, but it looks like gas3 generated all >> > > > > > files it >> > > > > should >> > > > > > generate.... >> > >> > > > > > On Thu, Sep 10, 2009 at 4:41 PM, Jimic79 <[email protected]> >> > > wrote: >> > >> > > > > > > D:\repo\groupId-lib\com.groupId.asset\trunk>mvn -U -e install >> > > > > > > "SETTING MAVEN OPTS" >> > > > > > > + Error stacktraces are turned on. >> > > > > > > [INFO] Scanning for projects... >> > > > > > > [INFO] Reactor build order: >> > > > > > > [INFO] com.groupId.asset >> > > > > > > [INFO] com.groupId.asset-jar >> > > > > > > [INFO] com.groupId.asset-swc >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.4- >> > > > > > > SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.4- >> > > > > > > SNAPSHOT: checking for updates from repository.jboss.org >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.4- >> > > > > > > SNAPSHOT: checking for updates from >> > > > > > > clients.groupId.com-snapshots >> > > > > > > [WARNING] repository metadata for: 'snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.4-SNAPSHOT' >> > > > > > > could >> > > not >> > > > > > > be retrieved from repository: clients.groupId.com-snapshots >> > > > > > > due to >> > > an >> > > > > > > error: Authorization failed: Access denied to: >> > > > > > >> > > > > > > >http://clients.groupId.com:8081/artifactory/repo/org/sonatype/flex >> > > > > > > mojos/flexmojos-maven-plugin/3.4-SNAPSHOT/maven-metadata.xml >> > > > > > > [INFO] Repository 'clients.groupId.com-snapshots' will be >> > > blacklisted >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.4- >> > > > > > > SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-parent:3.4-SNAPSHOT: >> > > > > > > checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-parent:3.4-SNAPSHOT: >> > > > > > > checking for updates from repository.jboss.org >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-parent:3.4-SNAPSHOT: >> > > > > > > checking for updates from flex-mojos-repository >> > > > > > > [INFO] >> > >> > > >> > > ------------------------------------------------------------------------ >> > > > > > > [INFO] Building com.groupId.asset >> > > > > > > [INFO] task-segment: [install] >> > > > > > > [INFO] >> > >> > > >> > > ------------------------------------------------------------------------ >> > > > > > > [INFO] [site:attach-descriptor] >> > > > > > > [INFO] [install:install] >> > > > > > > [INFO] Installing >> > > D:\repo\groupId-lib\com.groupId.asset\trunk\target >> > > > > > > \pom-transformed.xml to >> > > C:\Users\usernamec\.m2\repository\com\groupId >> > > > > > > \asset\1.0.0\asset-1.0.0.pom >> > > > > > > [INFO] >> > >> > > >> > > ------------------------------------------------------------------------ >> > > > > > > [INFO] Building com.groupId.asset-jar >> > > > > > > [INFO] task-segment: [install] >> > > > > > > [INFO] >> > >> > > >> > > ------------------------------------------------------------------------ >> > > > > > > [INFO] [build-helper:add-source {execution: add-source}] >> > > > > > > [INFO] Source directory: >> > > D:\repo\groupId-lib\com.groupId.asset\trunk >> > > > > > > \src\java\core added. >> > > > > > > [INFO] Source directory: >> > > D:\repo\groupId-lib\com.groupId.asset\trunk >> > > > > > > \src\java\entities added. >> > > > > > > [INFO] [resources:resources] >> > > > > > > [WARNING] Using platform encoding (Cp1252 actually) to copy >> > > filtered >> > > > > > > resources, i.e. build is platform dependent! >> > > > > > > [INFO] Copying 3 resources >> > > > > > > [INFO] [compiler:compile] >> > > > > > > [INFO] Nothing to compile - all classes are up to date >> > > > > > > [INFO] [resources:testResources] >> > > > > > > [WARNING] Using platform encoding (Cp1252 actually) to copy >> > > filtered >> > > > > > > resources, i.e. build is platform dependent! >> > > > > > > [INFO] skip non existing resourceDirectory D:\repo\groupId-lib >> > > > > > > \com.groupId.asset\trunk\src\java\src\test\resources >> > > > > > > [INFO] [compiler:testCompile] >> > > > > > > [INFO] No sources to compile >> > > > > > > [INFO] [surefire:test] >> > > > > > > [INFO] No tests to run. >> > > > > > > [INFO] [jar:jar] >> > > > > > > [INFO] [install:install] >> > > > > > > [INFO] Installing >> > > D:\repo\groupId-lib\com.groupId.asset\trunk\target >> > > > > > > \com.groupId.asset-jar-1.0.0.jar to >> > > C:\Users\usernamec\.m2\repository >> > > > > > > \com\groupId\asset-jar\1.0.0\asset-jar-1.0.0.jar >> > > > > > > [INFO] >> > >> > > >> > > ------------------------------------------------------------------------ >> > > > > > > [INFO] Building com.groupId.asset-swc >> > > > > > > [INFO] task-segment: [install] >> > > > > > > [INFO] >> > >> > > >> > > ------------------------------------------------------------------------ >> > > > > > > [INFO] [dependency:copy-dependencies {execution: >> > > copy-dependencies}] >> > > > > > > [INFO] mvc-1.0.0.swc already exists in destination. >> > > > > > > [INFO] os-swc-1.0.0.swc already exists in destination. >> > > > > > > [INFO] granite-essentials-swc-2.0.0.SP1.swc already exists in >> > > > > > > destination. >> > > > > > > [INFO] granite-swc-2.0.0.SP1.swc already exists in >> > > > > > > destination. >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-generator-api:3.4- >> > > > > > > SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-generator-api:3.4- >> > > > > > > SNAPSHOT: checking for updates from repository.jboss.org >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-generator-api:3.4- >> > > > > > > SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-generator:3.4- >> > > > > > > SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-generator:3.4- >> > > > > > > SNAPSHOT: checking for updates from repository.jboss.org >> > > > > > > [INFO] snapshot >> > > > > > > org.sonatype.flexmojos:flexmojos-generator:3.4- >> > > > > > > SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot org.sonatype.flexmojos:flexmojos-generator- >> > > > > > > graniteds-1.1.0:3.4-SNAPSHOT: checking for updates from >> > > > > > > flex-mojos- >> > > > > > > repository >> > > > > > > [INFO] snapshot org.sonatype.flexmojos:flexmojos-generator- >> > > > > > > graniteds-1.1.0:3.4-SNAPSHOT: checking for updates from >> > > > > > > repository.jboss.org >> > > > > > > [INFO] snapshot org.sonatype.flexmojos:flexmojos-generator- >> > > > > > > graniteds-1.1.0:3.4-SNAPSHOT: checking for updates from >> > > > > > > flex-mojos- >> > > > > > > repository >> > > > > > > [INFO] snapshot org.sonatype.flexmojos:flexmojos-generator- >> > > > > > > graniteds-2.0.0:3.4-SNAPSHOT: checking for updates from >> > > > > > > flex-mojos- >> > > > > > > repository >> > > > > > > [INFO] snapshot org.sonatype.flexmojos:flexmojos-generator- >> > > > > > > graniteds-2.0.0:3.4-SNAPSHOT: checking for updates from >> > > > > > > repository.jboss.org >> > > > > > > [INFO] snapshot org.sonatype.flexmojos:flexmojos-generator- >> > > > > > > graniteds-2.0.0:3.4-SNAPSHOT: checking for updates from >> > > > > > > flex-mojos- >> > > > > > > repository >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-generator-constraints: >> > > > > > > 3.4-SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-generator-constraints: >> > > > > > > 3.4-SNAPSHOT: checking for updates from repository.jboss.org >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-generator-constraints: >> > > > > > > 3.4-SNAPSHOT: checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > > org.sonatype.flexmojos:flexmojos-tester:3.4-SNAPSHOT: >> > > > > > > checking for updates from flex-mojos-repository >> > > > > > > [INFO] snapshot >> > >> > ... >> > >> > read more » >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
