At first mvn -e install is enough...

On Thu, Sep 10, 2009 at 1:13 PM, Jimic79 <[email protected]> wrote:

>
> What's most helpful, general output?
> mvn install
> mvn -e install
> mvn -X install
>
> -X (debug output) prints probably 20 pages of output, i don't want to
> clog the page
>
> On Sep 10, 12:00 pm, Marvin Froeder <[email protected]> wrote:
> > Flexmojos must be printing something on console..... w/o that I have no
> idea
> > what is going on.
> >
> > VELO
> >
> > On Thu, Sep 10, 2009 at 12:55 PM, Jimic79 <[email protected]> wrote:
> >
> > > All signs point to gas3 not being able to generate as3 for entities in
> > > the source path that are dependent upon entities that are on the
> > > classpath, but not generate those entities from the classpath.
> >
> > > we have 2 projects:
> > > project 1: groupId.os.entities <-- in a jar on the classpath
> > > project 2: groupId.asset.entities <-- part of the current source tree
> >
> > > Some of the classes in asset (project 2) extend those in os (project
> > > 1)
> >
> > > If i make my includeJavaClasses say:
> > > <includeJavaClasses>
> > >   <includeClass>*entities*</includeClass>
> > > </includeJavaClasses>
> >
> > > gas3 generates all entities, both for the os jar on the classpath and
> > > the asset source, anything available that matches that package regex.
> > > If i make my includeJavaClasses say
> >
> > > <includeJavaClasses>
> > >   <includeClass>*asset.entities*</includeClass>
> > > </includeJavaClasses>
> >
> > > it generates the right amount of classes (those in project 2's
> > > entities folder, but not project 1's), but the includes during
> > > generation fail because a class dependent upon a class made available
> > > in a jar on the classpath is considered "not available"
> >
> > > I know, simple right?  This has been my hellish life for the past 2
> > > weeks....
> >
> > > Long story short, project 1's as3 classes should not be generated
> > > because maven builds a jar and swc correctly with java classes and as3
> > > classes respectively, so it would be repeating code.  I need to be
> > > able to generate as3 classes dependent upon project 1's jars/swcs but
> > > not regenerate project 1's code as that should already exist on
> > > project 2's maven dependency list.
> >
> > > *pant *pant *pant *wheeeeeeze
> >
> > > On Sep 10, 11:13 am, Marvin Froeder <[email protected]> wrote:
> > > > gas3 should have access to the full dependency tree....  but I can be
> > > wrong
> > > > =D
> > > > So gas3 will be able to reflect your classes.  But it won't generate
> as3
> > > for
> > > > non declared classes.
> >
> > > > VELO
> >
> > > > On Thu, Sep 10, 2009 at 11:58 AM, Jimic79 <[email protected]>
> wrote:
> >
> > > > > Before I start posting way too many debug outputs that are really
> > > > > huge, and probably not helpful as there are no failures, just
> > > > > incorrect output, lemme first ask a direct question:
> >
> > > > > If i am using gas3, and my java classes require classes within a
> jar
> > > > > dependency, where does that dependency go, and what does the
> > > > > dependency look like (xml-node-wise)?
> >
> > > > > Also, that was not my flexbuilder license, i made it into 1234s.
> >
> > > > > On Sep 10, 10:07 am, Marvin Froeder <[email protected]> wrote:
> > > > > > I failed to understand the problem... Did you got any error
> printed
> > > on
> > > > > log,
> > > > > > could you provide it?
> > > > > > PS: Be aware, you did post your flexbuilder license.
> >
> > > > > > On Thu, Sep 10, 2009 at 10:58 AM, Jimic79 <[email protected]>
> > > wrote:
> >
> > > > > > > Ok, next issue.
> >
> > > > > > > We have a massive project broken into logical sub-projects.
>  This
> > > > > > > project uses graniteds2. Out of each project, we have a .jar
> and
> > > .swc
> > > > > > > created.  There are sub-projects that extend other
> sub-projects, so
> > > we
> > > > > > > might have an entity in project 2 that extends an entity in
> project
> > > > > > > 1.  Obviously project 2 requires the jar and swc from project
> 1,
> > > and I
> > > > > > > have the dependencies set up as such.
> >
> > > > > > > The issue comes at as3 generation time.  In project 1,
> everything
> > > > > > > works great.  In project 2, which extends project 1, the as3 is
> > > > > > > generated fine for most of the entities, except the ones
> extending
> > > > > > > entities from project 1.  In the as3 generation.
> >
> > > > > > > Question 1 is: if i want the jar that project 2 is dependent on
> on
> > > the
> > > > > > > classpath for as3 generation, where do i put the dependency, in
> the
> > > > > > > plugin definition, or just within the pom's dependencies.
> >
> > > > > > > Question 2 is: what do i make the scope of that dependency so
> that
> > > the
> > > > > > > as3 is generated for entities within the current project but
> not
> > > the
> > > > > > > entities within the jar.
> >
> > > > > > > My current plugin definition:
> > > > > > > <plugin>
> > > > > > >        <groupId>org.sonatype.flexmojos</groupId>
> > > > > > >        <artifactId>flexmojos-maven-plugin</artifactId>
> > > > > > >        <version>3.3.0</version>
> > > > > > >        <extensions>true</extensions>
> > > > > > >        <executions>
> > > > > > >          <execution>
> > > > > > >            <goals>
> > > > > > >              <goal>generate</goal>
> > > > > > >            </goals>
> > > > > > >            <configuration>
> > > > > > >                        <targetPlayer>10.0.0</targetPlayer>
> > > > > > >
>  <generatorToUse>graniteds2</generatorToUse>
> > > > > > >                                <licenses>
> >
> > > > > > >  <flexbuilder3>0000-1234-1234-1234-1234-1234</flexbuilder3>
> > > > > > >                            </licenses>
> >
> > >  <outputDirectory>entities</outputDirectory>
> >
> > > > > > >  <baseOutputDirectory>entities</baseOutputDirectory>
> > > > > > >                            <includeJavaClasses>
> >
> > > > > > >  <includeClass>*asset.entities.model*</includeClass>
> > > > > > >                            </includeJavaClasses>
> > > > > > >                            <entityTemplate>
> >
> > >  <template>entityBase2.gsp</template>
> > > > > > >
>  <template>entity.gsp</template>
> > > > > > >                                </entityTemplate>
> > > > > > >                        </configuration>
> > > > > > >          </execution>
> > > > > > >        </executions>
> > > > > > >        <dependencies>
> > > > > > >                   <dependency>
> > > > > > >                       <groupId>com.adobe.flex</groupId>
> > > > > > >                       <artifactId>license</artifactId>
> > > > > > >                       <version>3.0.0</version>
> > > > > > >                       <scope>external</scope>
> > > > > > >                     </dependency>
> > > > > > >          </dependencies>
> > > > > > >      </plugin>
> >
> > > > > > > this is the dependency i'm not sure of.  This is the jar that
> the
> > > > > > > current project's entities rely on:
> > > > > > > <dependency>
> > > > > > >          <groupId>[mygroupid]</groupId>
> > > > > > >          <artifactId>os-jar</artifactId>
> > > > > > >          <version>1.0.0</version>
> > > > > > >          <scope>external</scope>
> > > > > > >        </dependency>
> >
> > > > > > > note: for my plugin definition, all the files are output in the
> > > right
> > > > > > > directories, the templates are found and used correctly, but
> please
> > > > > > > let me know if you see something that doesn't look right.
> >
> > > > > > > note 2: for the <includeJavaClasses> the package name would
> mask
> > > out
> > > > > > > overlaying entities, the project 2 name is asset, the project 1
> > > name
> > > > > > > is os, so the os entities wouldn't be in the generated files,
> or so
> > > i
> > > > > > > believe.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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