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 org.sonatype.flexmojos:flexmojos-tester:3.4-SNAPSHOT:
> > checking for updates from repository.jboss.org
> > [INFO] snapshot org.sonatype.flexmojos:flexmojos-tester:3.4-SNAPSHOT:
> > checking for updates from flex-mojos-repository
> > [INFO] [flexmojos:generate {execution: default}]
> > [INFO] flexmojos 3.4-SNAPSHOT - GNU GPL License (NO WARRANTY) - See
> > COPYRIGHT file
> > [INFO] Calling the generator for each Java class.
> > [INFO]   Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src
> > \as3\entities\com\groupId\asset\entities\model\AssetBase.as - output
> > file is up-to-date
> > [INFO]   Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src
> > \as3\entities\com\groupId\asset\entities\model\Asset.as - output file
> > already exists and must not be overwritten
> > [INFO]   Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src
> > \as3\entities\com\groupId\asset\entities\model\FontAssetBase.as -
> > output file is up-to-date
> > [INFO]   Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src
> > \as3\entities\com\groupId\asset\entities\model\FontAsset.as - output
> > file already exists and must not be overwritten
> > [INFO]   Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src
> > \as3\entities\com\groupId\asset\entities\model\ImageAssetBase.as -
> > output file is up-to-date
> > [INFO]   Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src
> > \as3\entities\com\groupId\asset\entities\model\ImageAsset.as - output
> > file already exists and must not be overwritten
> > [INFO] Files affected: 0 (nothing to do).
> > [INFO] [resources:resources]
> > [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\as3\src\main\resources
> > [INFO] [flexmojos:compile-swc]
> > [INFO] Flexmojos 3.4-SNAPSHOT - Apache License (NO WARRANTY) - See
> > COPYRIGHT file
> > [WARNING] Nothing expecified to include. Assuming source and resources
> > folders.
> > [INFO] Flex compiler configurations:
> > -compiler.accessible=false
> > -compiler.actionscript-file-encoding UTF-8
> > -compiler.allow-source-path-overlap=false
> > -compiler.as3=true
> > -compiler.debug=true
> > -compiler.es=false
> > -compiler.external-library-path D:\repo\groupId-lib\com.groupId.asset
> > \trunk\target\as3-classes\libraries\playerglobal.swc C:\Users\usernamec
> > \.m2\repository\com\groupId\os-swc\1.0.0\os-swc-1.0.0.swc C:\Users
> > \usernamec\.m2\repository\com\adobe\flex\framework\flex
> > \3.3.0.4852\flex-3.3.0.4852.swc C:\Users\j
> > amesc\.m2\repository\com\adobe\flex\framework\framework
> > \3.3.0.4852\framework-3.3.0.4852.swc C:\Users\usernamec\.m2\repository
> > \com\adobe\flex\framework\rpc\3.3.0.4852\rpc-3.3.0.4852.swc C:\Users
> > \usernamec\.m2\repository\com\adobe\flex\framework\utilities
> > \3.3.0.4852\utilities-3.3.0.4852.swc C:\Users\usernamec\
> > .m2\repository\com\groupId\mvc\1.0.0\mvc-1.0.0.swc C:\Users\usernamec
> > \.m2\repository\org\graniteds\granite-swc\2.0.0.SP1\granite-
> > swc-2.0.0.SP1.swc C:\Users\usernamec\.m2\repository\org\graniteds
> > \granite-essentials-swc\2.0.0.SP1\granite-essentials-swc-2.0.0.SP1.swc
> > -compiler.fonts.local-fonts-snapshot D:\repo\groupId-lib
> > \com.groupId.asset\trunk\target\as3-classes\fonts.ser
> > -compiler.headless-server=false
> > -compiler.include-libraries=
>
> ...
>
> 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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to