This is a GAS3 feature..... and I guess it is like this since 1.0 =D

VELO

On Fri, Aug 28, 2009 at 5:23 PM, geoff.schneider
<[email protected]>wrote:

>
> Actually I was playing around with this a little more and I think you
> can disregard my question.  If you have the non-Base files generated
> into the src directory then the later generate calls will not
> overwrite these files.  Not sure if this is a 3.3 feature but it
> solves my issue.  Thanks
>
> Geoff
>
> On Aug 28, 3:14 pm, "geoff.schneider" <[email protected]>
> wrote:
> > Sorry for the confusion, I'm not being very clear.  So I have a java
> > bean called Foo.java.  I then use the generate task to create both
> > Foo.as and FooBase.as in the generated folder.  I then modify Foo.as,
> > move it to my src directory and add it to svn.  When I run the build
> > later I want to keep my changes to Foo.as but also auto-generate
> > FooBase.as.  Right now to achieve this I'm copying the Foo.as under
> > src to the generated package, then compiling the swc.  What I would
> > like to know is if there is a better solution.
> >
> > src
> >     main
> >         flex
> >             [my packages] Foo.as (contains modifications)
> >
> > target
> >     generated
> >         [my packages] Foo.as
> >         [my packages] FooBase.as
> >
> > On Aug 28, 2:47 pm, Marvin Froeder <[email protected]> wrote:
> >
> > > On Fri, Aug 28, 2009 at 3:43 PM, geoff.schneider
> > > <[email protected]>wrote:
> >
> > > > Actually the opposite.  We have several non-base classes checked into
> > > > svn and I need to keep them from getting overwritten by the generate
> > > > plugin.
> >
> > > W8... generator overwrite the base classes, always.... and it does
> generate
> > > the non-base that should not be overwrote never ever....
> >
> > > >  What we are currently doing is keeping the svn files in the
> > > > src directory and then generating all classes into a folder under
> > > > target.  After generate completes the files in src are copied into
> the
> > > > generated folder before compilation.  By doing this we never worry
> > > > about overwriting a file in svn with generated content but it does
> > > > make our build a little fragile.  I'm wondering if there is a better
> > > > solution.
> >
> > > Are you storing the base files then?
> >
> > > I'm sorry, but I got confused =D
> >
> > > VELO
> >
>

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