You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gordon Cody <gc...@zafinlabs.com> on 2009/04/29 21:14:41 UTC

Maven inconsistent build with flexbuilder

Hello

Working in release mgmt, one of my many jobs is to ensure that we can reliably
reproduce what will be delivered to a customer.

We are using flexbuilder3 in a windows/maven development environment.
I check out the code from svn and run mvn clean install. This generates
a war file that contains swf files among other things.
I move that war file aside and run mvn clean install a second time.

When I compare the 2 wars, I see  that the swf files are different in
the 2 versions.
As swf files are binary it is extremely difficult to determine if the
only difference
between the 2 is timestamps.

Please, what can I do to eliminate these differences?

Thanks in advance for any help,
-Gord

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Marvin Froeder <ve...@gmail.com>.
You could decompile it to try....
I did bought Sothink SWF Decompiler.... is quite helpful.


VELO

On Thu, May 7, 2009 at 1:06 PM, Gordon Cody <gc...@zafinlabs.com> wrote:

> Hi Jeff
>
> Its actually much uglier than that in my opinion. In builds done a few
> seconds
> apart there are not just a few bytes that show as different but large
> chunks of
> the swf. I have even seen it generate files that are different in size
> (by 1 byte)
> which really surprised me.
>
>
> Regards, Gord
>
> On Thu, May 7, 2009 at 9:06 AM, Jeff MAURY <je...@gmail.com> wrote:
> > Having played with flex-mojos, I remember that the MXML Flex compiler
> seems
> > to put the current date in the generated SWF and it may be binary encoded
> so
> > a simple diff will not clearly expose the difference.
> >
> > Regards
> > Jeff MAURY
> >
> > 2009/4/30 Nick Stolwijk <ni...@gmail.com>
> >
> >> Ah, those swf files were generated. :) I thought those came from your
> SVN.
> >>
> >> Nick Stolwijk
> >> ~Java Developer~
> >>
> >> Iprofs BV.
> >> Claus Sluterweg 125
> >> 2012 WS Haarlem
> >> www.iprofs.nl
> >>
> >>
> >>
> >> On Wed, Apr 29, 2009 at 10:14 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >> > Upon further investigation me thinks this is a flex issue.
> >> >
> >> > mxmlc x.mxml
> >> >
> >> > twice in a row is generating different swf files
> >> > i have a support call open with them now
> >> >
> >> > Will let you know what I find out.
> >> >
> >> > Thanks for your time Nick
> >> >
> >> > Regards, Gord
> >> >
> >> >
> >> > On Wed, Apr 29, 2009 at 4:05 PM, Nick Stolwijk <
> nick.stolwijk@gmail.com>
> >> wrote:
> >> >> Are the differences already present between the original source
> >> >> (src/main/resources/ or src/main/webapp) and the files under /target
> >> >> (whether in /target/classes or in /target/war)?
> >> >>
> >> >> With regards,
> >> >>
> >> >> Nick Stolwijk
> >> >> ~Java Developer~
> >> >>
> >> >> Iprofs BV.
> >> >> Claus Sluterweg 125
> >> >> 2012 WS Haarlem
> >> >> www.iprofs.nl
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com>
> >> wrote:
> >> >>> I dont see anything like that in this project. Other projects
> unrelated
> >> to flex
> >> >>> do use filtering.
> >> >>>
> >> >>> -Gord
> >> >>>
> >> >>> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <
> >> nick.stolwijk@gmail.com> wrote:
> >> >>>> Could it be that there is some resource filtering going on? [1]
> >> >>>>
> >> >>>> [1]
> >>
> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
> >> >>>>
> >> >>>> Hth,
> >> >>>>
> >> >>>> Nick Stolwijk
> >> >>>> ~Java Developer~
> >> >>>>
> >> >>>> Iprofs BV.
> >> >>>> Claus Sluterweg 125
> >> >>>> 2012 WS Haarlem
> >> >>>> www.iprofs.nl
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com>
> >> wrote:
> >> >>>>> Hi Nick
> >> >>>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <
> >> nick.stolwijk@gmail.com> wrote:
> >> >>>>>>> When I compare the 2 wars, I see  that the swf files are
> different
> >> in the 2 versions.
> >> >>>>>> What do you mean by different?
> >> >>>>>>
> >> >>>>> When I do a byte by byte comparison large chunks of the files show
> up
> >> >>>>> as different
> >> >>>>> not just the occasional 4 bytes or even a date string.
> >> >>>>>
> >> >>>>>>> As swf files are binary it is extremely difficult to determine
> if
> >> the only difference between the 2 is
> >> >>>>>>> timestamps.
> >> >>>>>> No, it is not. Just compare their checksums (md5). Maven copies
> the
> >> >>>>>> resources to /target before war'ing them, so the timestamps could
> be
> >> >>>>>> different.
> >> >>>>>>
> >> >>>>>> Another cause may be that due to svn:keywords and properties the
> >> files
> >> >>>>>> indeed are different. Do you have svn:keywords on your binary
> files?
> >> >>>>>>
> >> >>>>> No we are not using svn:keywords , but a good point that I will
> keep
> >> in mind.
> >> >>>>>
> >> >>>>>> Did you do a new checkout?
> >> >>>>> Even if there were svn:keywords those fields would still have been
> >> the same
> >> >>>>> in 2 sequential builds since I did not check out the code again.
> >> >>>>>
> >> >>>>> Regards Gord
> >> >>>>>
> >> >>>>>>
> >> >>>>>> With regards,
> >> >>>>>>
> >> >>>>>> Nick Stolwijk
> >> >>>>>> ~Java Developer~
> >> >>>>>>
> >> >>>>>> Iprofs BV.
> >> >>>>>> Claus Sluterweg 125
> >> >>>>>> 2012 WS Haarlem
> >> >>>>>> www.iprofs.nl
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <
> gcody@zafinlabs.com>
> >> wrote:
> >> >>>>>>> When I compare the 2 wars, I see  that the swf files are
> different
> >> in
> >> >>>>>>> the 2 versions.
> >> >>>>>>
> >> >>>>>>
> >> ---------------------------------------------------------------------
> >> >>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> >>>>>> For additional commands, e-mail: users-help@maven.apache.org
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>>
> ---------------------------------------------------------------------
> >> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> >>>>> For additional commands, e-mail: users-help@maven.apache.org
> >> >>>>>
> >> >>>>>
> >> >>>>
> >> >>>>
> ---------------------------------------------------------------------
> >> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> >>> For additional commands, e-mail: users-help@maven.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> >> For additional commands, e-mail: users-help@maven.apache.org
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> > For additional commands, e-mail: users-help@maven.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > --
> > La mélancolie c’est communiste
> > Tout le monde y a droit de temps en temps
> > La mélancolie n’est pas capitaliste
> > C’est même gratuit pour les perdants
> > La mélancolie c’est pacifiste
> > On ne lui rentre jamais dedans
> > La mélancolie oh tu sais ça existe
> > Elle se prend même avec des gants
> > La mélancolie c’est pour les syndicalistes
> > Il faut juste sa carte de permanent
> >
> > Miossec (2006)
> >
> > http://www.jeffmaury.com
> > http://riadiscuss.jeffmaury.com
> > http://www.lastfm.fr/listen/user/jeffmaury/personal
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven inconsistent build with flexbuilder

Posted by Gordon Cody <gc...@zafinlabs.com>.
Hi Jeff

Its actually much uglier than that in my opinion. In builds done a few seconds
apart there are not just a few bytes that show as different but large chunks of
the swf. I have even seen it generate files that are different in size
(by 1 byte)
which really surprised me.


Regards, Gord

On Thu, May 7, 2009 at 9:06 AM, Jeff MAURY <je...@gmail.com> wrote:
> Having played with flex-mojos, I remember that the MXML Flex compiler seems
> to put the current date in the generated SWF and it may be binary encoded so
> a simple diff will not clearly expose the difference.
>
> Regards
> Jeff MAURY
>
> 2009/4/30 Nick Stolwijk <ni...@gmail.com>
>
>> Ah, those swf files were generated. :) I thought those came from your SVN.
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Wed, Apr 29, 2009 at 10:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>> > Upon further investigation me thinks this is a flex issue.
>> >
>> > mxmlc x.mxml
>> >
>> > twice in a row is generating different swf files
>> > i have a support call open with them now
>> >
>> > Will let you know what I find out.
>> >
>> > Thanks for your time Nick
>> >
>> > Regards, Gord
>> >
>> >
>> > On Wed, Apr 29, 2009 at 4:05 PM, Nick Stolwijk <ni...@gmail.com>
>> wrote:
>> >> Are the differences already present between the original source
>> >> (src/main/resources/ or src/main/webapp) and the files under /target
>> >> (whether in /target/classes or in /target/war)?
>> >>
>> >> With regards,
>> >>
>> >> Nick Stolwijk
>> >> ~Java Developer~
>> >>
>> >> Iprofs BV.
>> >> Claus Sluterweg 125
>> >> 2012 WS Haarlem
>> >> www.iprofs.nl
>> >>
>> >>
>> >>
>> >> On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com>
>> wrote:
>> >>> I dont see anything like that in this project. Other projects unrelated
>> to flex
>> >>> do use filtering.
>> >>>
>> >>> -Gord
>> >>>
>> >>> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <
>> nick.stolwijk@gmail.com> wrote:
>> >>>> Could it be that there is some resource filtering going on? [1]
>> >>>>
>> >>>> [1]
>> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
>> >>>>
>> >>>> Hth,
>> >>>>
>> >>>> Nick Stolwijk
>> >>>> ~Java Developer~
>> >>>>
>> >>>> Iprofs BV.
>> >>>> Claus Sluterweg 125
>> >>>> 2012 WS Haarlem
>> >>>> www.iprofs.nl
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com>
>> wrote:
>> >>>>> Hi Nick
>> >>>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <
>> nick.stolwijk@gmail.com> wrote:
>> >>>>>>> When I compare the 2 wars, I see  that the swf files are different
>> in the 2 versions.
>> >>>>>> What do you mean by different?
>> >>>>>>
>> >>>>> When I do a byte by byte comparison large chunks of the files show up
>> >>>>> as different
>> >>>>> not just the occasional 4 bytes or even a date string.
>> >>>>>
>> >>>>>>> As swf files are binary it is extremely difficult to determine if
>> the only difference between the 2 is
>> >>>>>>> timestamps.
>> >>>>>> No, it is not. Just compare their checksums (md5). Maven copies the
>> >>>>>> resources to /target before war'ing them, so the timestamps could be
>> >>>>>> different.
>> >>>>>>
>> >>>>>> Another cause may be that due to svn:keywords and properties the
>> files
>> >>>>>> indeed are different. Do you have svn:keywords on your binary files?
>> >>>>>>
>> >>>>> No we are not using svn:keywords , but a good point that I will keep
>> in mind.
>> >>>>>
>> >>>>>> Did you do a new checkout?
>> >>>>> Even if there were svn:keywords those fields would still have been
>> the same
>> >>>>> in 2 sequential builds since I did not check out the code again.
>> >>>>>
>> >>>>> Regards Gord
>> >>>>>
>> >>>>>>
>> >>>>>> With regards,
>> >>>>>>
>> >>>>>> Nick Stolwijk
>> >>>>>> ~Java Developer~
>> >>>>>>
>> >>>>>> Iprofs BV.
>> >>>>>> Claus Sluterweg 125
>> >>>>>> 2012 WS Haarlem
>> >>>>>> www.iprofs.nl
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com>
>> wrote:
>> >>>>>>> When I compare the 2 wars, I see  that the swf files are different
>> in
>> >>>>>>> the 2 versions.
>> >>>>>>
>> >>>>>>
>> ---------------------------------------------------------------------
>> >>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>> ---------------------------------------------------------------------
>> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>>
>> >>>>>
>> >>>>
>> >>>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>
>> >>>>
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>
>> >>>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> --
> La mélancolie c’est communiste
> Tout le monde y a droit de temps en temps
> La mélancolie n’est pas capitaliste
> C’est même gratuit pour les perdants
> La mélancolie c’est pacifiste
> On ne lui rentre jamais dedans
> La mélancolie oh tu sais ça existe
> Elle se prend même avec des gants
> La mélancolie c’est pour les syndicalistes
> Il faut juste sa carte de permanent
>
> Miossec (2006)
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.lastfm.fr/listen/user/jeffmaury/personal
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Jeff MAURY <je...@gmail.com>.
Having played with flex-mojos, I remember that the MXML Flex compiler seems
to put the current date in the generated SWF and it may be binary encoded so
a simple diff will not clearly expose the difference.

Regards
Jeff MAURY

2009/4/30 Nick Stolwijk <ni...@gmail.com>

> Ah, those swf files were generated. :) I thought those came from your SVN.
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Wed, Apr 29, 2009 at 10:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
> > Upon further investigation me thinks this is a flex issue.
> >
> > mxmlc x.mxml
> >
> > twice in a row is generating different swf files
> > i have a support call open with them now
> >
> > Will let you know what I find out.
> >
> > Thanks for your time Nick
> >
> > Regards, Gord
> >
> >
> > On Wed, Apr 29, 2009 at 4:05 PM, Nick Stolwijk <ni...@gmail.com>
> wrote:
> >> Are the differences already present between the original source
> >> (src/main/resources/ or src/main/webapp) and the files under /target
> >> (whether in /target/classes or in /target/war)?
> >>
> >> With regards,
> >>
> >> Nick Stolwijk
> >> ~Java Developer~
> >>
> >> Iprofs BV.
> >> Claus Sluterweg 125
> >> 2012 WS Haarlem
> >> www.iprofs.nl
> >>
> >>
> >>
> >> On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >>> I dont see anything like that in this project. Other projects unrelated
> to flex
> >>> do use filtering.
> >>>
> >>> -Gord
> >>>
> >>> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <
> nick.stolwijk@gmail.com> wrote:
> >>>> Could it be that there is some resource filtering going on? [1]
> >>>>
> >>>> [1]
> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
> >>>>
> >>>> Hth,
> >>>>
> >>>> Nick Stolwijk
> >>>> ~Java Developer~
> >>>>
> >>>> Iprofs BV.
> >>>> Claus Sluterweg 125
> >>>> 2012 WS Haarlem
> >>>> www.iprofs.nl
> >>>>
> >>>>
> >>>>
> >>>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >>>>> Hi Nick
> >>>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <
> nick.stolwijk@gmail.com> wrote:
> >>>>>>> When I compare the 2 wars, I see  that the swf files are different
> in the 2 versions.
> >>>>>> What do you mean by different?
> >>>>>>
> >>>>> When I do a byte by byte comparison large chunks of the files show up
> >>>>> as different
> >>>>> not just the occasional 4 bytes or even a date string.
> >>>>>
> >>>>>>> As swf files are binary it is extremely difficult to determine if
> the only difference between the 2 is
> >>>>>>> timestamps.
> >>>>>> No, it is not. Just compare their checksums (md5). Maven copies the
> >>>>>> resources to /target before war'ing them, so the timestamps could be
> >>>>>> different.
> >>>>>>
> >>>>>> Another cause may be that due to svn:keywords and properties the
> files
> >>>>>> indeed are different. Do you have svn:keywords on your binary files?
> >>>>>>
> >>>>> No we are not using svn:keywords , but a good point that I will keep
> in mind.
> >>>>>
> >>>>>> Did you do a new checkout?
> >>>>> Even if there were svn:keywords those fields would still have been
> the same
> >>>>> in 2 sequential builds since I did not check out the code again.
> >>>>>
> >>>>> Regards Gord
> >>>>>
> >>>>>>
> >>>>>> With regards,
> >>>>>>
> >>>>>> Nick Stolwijk
> >>>>>> ~Java Developer~
> >>>>>>
> >>>>>> Iprofs BV.
> >>>>>> Claus Sluterweg 125
> >>>>>> 2012 WS Haarlem
> >>>>>> www.iprofs.nl
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >>>>>>> When I compare the 2 wars, I see  that the swf files are different
> in
> >>>>>>> the 2 versions.
> >>>>>>
> >>>>>>
> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>>
> >>>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
La mélancolie c’est communiste
Tout le monde y a droit de temps en temps
La mélancolie n’est pas capitaliste
C’est même gratuit pour les perdants
La mélancolie c’est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c’est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.lastfm.fr/listen/user/jeffmaury/personal

Re: Maven inconsistent build with flexbuilder

Posted by Nick Stolwijk <ni...@gmail.com>.
Ah, those swf files were generated. :) I thought those came from your SVN.

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Apr 29, 2009 at 10:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
> Upon further investigation me thinks this is a flex issue.
>
> mxmlc x.mxml
>
> twice in a row is generating different swf files
> i have a support call open with them now
>
> Will let you know what I find out.
>
> Thanks for your time Nick
>
> Regards, Gord
>
>
> On Wed, Apr 29, 2009 at 4:05 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>> Are the differences already present between the original source
>> (src/main/resources/ or src/main/webapp) and the files under /target
>> (whether in /target/classes or in /target/war)?
>>
>> With regards,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>> I dont see anything like that in this project. Other projects unrelated to flex
>>> do use filtering.
>>>
>>> -Gord
>>>
>>> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>>> Could it be that there is some resource filtering going on? [1]
>>>>
>>>> [1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
>>>>
>>>> Hth,
>>>>
>>>> Nick Stolwijk
>>>> ~Java Developer~
>>>>
>>>> Iprofs BV.
>>>> Claus Sluterweg 125
>>>> 2012 WS Haarlem
>>>> www.iprofs.nl
>>>>
>>>>
>>>>
>>>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>>>> Hi Nick
>>>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>>>>>> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
>>>>>> What do you mean by different?
>>>>>>
>>>>> When I do a byte by byte comparison large chunks of the files show up
>>>>> as different
>>>>> not just the occasional 4 bytes or even a date string.
>>>>>
>>>>>>> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
>>>>>>> timestamps.
>>>>>> No, it is not. Just compare their checksums (md5). Maven copies the
>>>>>> resources to /target before war'ing them, so the timestamps could be
>>>>>> different.
>>>>>>
>>>>>> Another cause may be that due to svn:keywords and properties the files
>>>>>> indeed are different. Do you have svn:keywords on your binary files?
>>>>>>
>>>>> No we are not using svn:keywords , but a good point that I will keep in mind.
>>>>>
>>>>>> Did you do a new checkout?
>>>>> Even if there were svn:keywords those fields would still have been the same
>>>>> in 2 sequential builds since I did not check out the code again.
>>>>>
>>>>> Regards Gord
>>>>>
>>>>>>
>>>>>> With regards,
>>>>>>
>>>>>> Nick Stolwijk
>>>>>> ~Java Developer~
>>>>>>
>>>>>> Iprofs BV.
>>>>>> Claus Sluterweg 125
>>>>>> 2012 WS Haarlem
>>>>>> www.iprofs.nl
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>>>>>> When I compare the 2 wars, I see  that the swf files are different in
>>>>>>> the 2 versions.
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Marvin Froeder <ve...@gmail.com>.
Gordon,
This is a flex compiler issue, I already notice that too so time ago.  If
you compile the same MXML several times you will get different results....
at some point they will repeat...  initially I thought was some bug on
flexmojos (flex plugin for maven), but then I start to try mxmlc and notice
the same problem.


VELO

On Wed, Apr 29, 2009 at 5:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:

> Upon further investigation me thinks this is a flex issue.
>
> mxmlc x.mxml
>
> twice in a row is generating different swf files
> i have a support call open with them now
>
> Will let you know what I find out.
>
> Thanks for your time Nick
>
> Regards, Gord
>
>
> On Wed, Apr 29, 2009 at 4:05 PM, Nick Stolwijk <ni...@gmail.com>
> wrote:
> > Are the differences already present between the original source
> > (src/main/resources/ or src/main/webapp) and the files under /target
> > (whether in /target/classes or in /target/war)?
> >
> > With regards,
> >
> > Nick Stolwijk
> > ~Java Developer~
> >
> > Iprofs BV.
> > Claus Sluterweg 125
> > 2012 WS Haarlem
> > www.iprofs.nl
> >
> >
> >
> > On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >> I dont see anything like that in this project. Other projects unrelated
> to flex
> >> do use filtering.
> >>
> >> -Gord
> >>
> >> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <ni...@gmail.com>
> wrote:
> >>> Could it be that there is some resource filtering going on? [1]
> >>>
> >>> [1]
> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
> >>>
> >>> Hth,
> >>>
> >>> Nick Stolwijk
> >>> ~Java Developer~
> >>>
> >>> Iprofs BV.
> >>> Claus Sluterweg 125
> >>> 2012 WS Haarlem
> >>> www.iprofs.nl
> >>>
> >>>
> >>>
> >>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >>>> Hi Nick
> >>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <
> nick.stolwijk@gmail.com> wrote:
> >>>>>> When I compare the 2 wars, I see  that the swf files are different
> in the 2 versions.
> >>>>> What do you mean by different?
> >>>>>
> >>>> When I do a byte by byte comparison large chunks of the files show up
> >>>> as different
> >>>> not just the occasional 4 bytes or even a date string.
> >>>>
> >>>>>> As swf files are binary it is extremely difficult to determine if
> the only difference between the 2 is
> >>>>>> timestamps.
> >>>>> No, it is not. Just compare their checksums (md5). Maven copies the
> >>>>> resources to /target before war'ing them, so the timestamps could be
> >>>>> different.
> >>>>>
> >>>>> Another cause may be that due to svn:keywords and properties the
> files
> >>>>> indeed are different. Do you have svn:keywords on your binary files?
> >>>>>
> >>>> No we are not using svn:keywords , but a good point that I will keep
> in mind.
> >>>>
> >>>>> Did you do a new checkout?
> >>>> Even if there were svn:keywords those fields would still have been the
> same
> >>>> in 2 sequential builds since I did not check out the code again.
> >>>>
> >>>> Regards Gord
> >>>>
> >>>>>
> >>>>> With regards,
> >>>>>
> >>>>> Nick Stolwijk
> >>>>> ~Java Developer~
> >>>>>
> >>>>> Iprofs BV.
> >>>>> Claus Sluterweg 125
> >>>>> 2012 WS Haarlem
> >>>>> www.iprofs.nl
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com>
> wrote:
> >>>>>> When I compare the 2 wars, I see  that the swf files are different
> in
> >>>>>> the 2 versions.
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>>
> >>>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven inconsistent build with flexbuilder

Posted by Gordon Cody <gc...@zafinlabs.com>.
Upon further investigation me thinks this is a flex issue.

mxmlc x.mxml

twice in a row is generating different swf files
i have a support call open with them now

Will let you know what I find out.

Thanks for your time Nick

Regards, Gord


On Wed, Apr 29, 2009 at 4:05 PM, Nick Stolwijk <ni...@gmail.com> wrote:
> Are the differences already present between the original source
> (src/main/resources/ or src/main/webapp) and the files under /target
> (whether in /target/classes or in /target/war)?
>
> With regards,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>> I dont see anything like that in this project. Other projects unrelated to flex
>> do use filtering.
>>
>> -Gord
>>
>> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>> Could it be that there is some resource filtering going on? [1]
>>>
>>> [1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>> ~Java Developer~
>>>
>>> Iprofs BV.
>>> Claus Sluterweg 125
>>> 2012 WS Haarlem
>>> www.iprofs.nl
>>>
>>>
>>>
>>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>>> Hi Nick
>>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>>>>> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
>>>>> What do you mean by different?
>>>>>
>>>> When I do a byte by byte comparison large chunks of the files show up
>>>> as different
>>>> not just the occasional 4 bytes or even a date string.
>>>>
>>>>>> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
>>>>>> timestamps.
>>>>> No, it is not. Just compare their checksums (md5). Maven copies the
>>>>> resources to /target before war'ing them, so the timestamps could be
>>>>> different.
>>>>>
>>>>> Another cause may be that due to svn:keywords and properties the files
>>>>> indeed are different. Do you have svn:keywords on your binary files?
>>>>>
>>>> No we are not using svn:keywords , but a good point that I will keep in mind.
>>>>
>>>>> Did you do a new checkout?
>>>> Even if there were svn:keywords those fields would still have been the same
>>>> in 2 sequential builds since I did not check out the code again.
>>>>
>>>> Regards Gord
>>>>
>>>>>
>>>>> With regards,
>>>>>
>>>>> Nick Stolwijk
>>>>> ~Java Developer~
>>>>>
>>>>> Iprofs BV.
>>>>> Claus Sluterweg 125
>>>>> 2012 WS Haarlem
>>>>> www.iprofs.nl
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>>>>> When I compare the 2 wars, I see  that the swf files are different in
>>>>>> the 2 versions.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Nick Stolwijk <ni...@gmail.com>.
Are the differences already present between the original source
(src/main/resources/ or src/main/webapp) and the files under /target
(whether in /target/classes or in /target/war)?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
> I dont see anything like that in this project. Other projects unrelated to flex
> do use filtering.
>
> -Gord
>
> On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>> Could it be that there is some resource filtering going on? [1]
>>
>> [1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
>>
>> Hth,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>> Hi Nick
>>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>>>> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
>>>> What do you mean by different?
>>>>
>>> When I do a byte by byte comparison large chunks of the files show up
>>> as different
>>> not just the occasional 4 bytes or even a date string.
>>>
>>>>> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
>>>>> timestamps.
>>>> No, it is not. Just compare their checksums (md5). Maven copies the
>>>> resources to /target before war'ing them, so the timestamps could be
>>>> different.
>>>>
>>>> Another cause may be that due to svn:keywords and properties the files
>>>> indeed are different. Do you have svn:keywords on your binary files?
>>>>
>>> No we are not using svn:keywords , but a good point that I will keep in mind.
>>>
>>>> Did you do a new checkout?
>>> Even if there were svn:keywords those fields would still have been the same
>>> in 2 sequential builds since I did not check out the code again.
>>>
>>> Regards Gord
>>>
>>>>
>>>> With regards,
>>>>
>>>> Nick Stolwijk
>>>> ~Java Developer~
>>>>
>>>> Iprofs BV.
>>>> Claus Sluterweg 125
>>>> 2012 WS Haarlem
>>>> www.iprofs.nl
>>>>
>>>>
>>>>
>>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>>>> When I compare the 2 wars, I see  that the swf files are different in
>>>>> the 2 versions.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Gordon Cody <gc...@zafinlabs.com>.
I dont see anything like that in this project. Other projects unrelated to flex
do use filtering.

-Gord

On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk <ni...@gmail.com> wrote:
> Could it be that there is some resource filtering going on? [1]
>
> [1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
>
> Hth,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>> Hi Nick
>> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>>> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
>>> What do you mean by different?
>>>
>> When I do a byte by byte comparison large chunks of the files show up
>> as different
>> not just the occasional 4 bytes or even a date string.
>>
>>>> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
>>>> timestamps.
>>> No, it is not. Just compare their checksums (md5). Maven copies the
>>> resources to /target before war'ing them, so the timestamps could be
>>> different.
>>>
>>> Another cause may be that due to svn:keywords and properties the files
>>> indeed are different. Do you have svn:keywords on your binary files?
>>>
>> No we are not using svn:keywords , but a good point that I will keep in mind.
>>
>>> Did you do a new checkout?
>> Even if there were svn:keywords those fields would still have been the same
>> in 2 sequential builds since I did not check out the code again.
>>
>> Regards Gord
>>
>>>
>>> With regards,
>>>
>>> Nick Stolwijk
>>> ~Java Developer~
>>>
>>> Iprofs BV.
>>> Claus Sluterweg 125
>>> 2012 WS Haarlem
>>> www.iprofs.nl
>>>
>>>
>>>
>>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>>> When I compare the 2 wars, I see  that the swf files are different in
>>>> the 2 versions.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Nick Stolwijk <ni...@gmail.com>.
Could it be that there is some resource filtering going on? [1]

[1] http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
> Hi Nick
> On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
>> What do you mean by different?
>>
> When I do a byte by byte comparison large chunks of the files show up
> as different
> not just the occasional 4 bytes or even a date string.
>
>>> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
>>> timestamps.
>> No, it is not. Just compare their checksums (md5). Maven copies the
>> resources to /target before war'ing them, so the timestamps could be
>> different.
>>
>> Another cause may be that due to svn:keywords and properties the files
>> indeed are different. Do you have svn:keywords on your binary files?
>>
> No we are not using svn:keywords , but a good point that I will keep in mind.
>
>> Did you do a new checkout?
> Even if there were svn:keywords those fields would still have been the same
> in 2 sequential builds since I did not check out the code again.
>
> Regards Gord
>
>>
>> With regards,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>>
>>
>> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>>> When I compare the 2 wars, I see  that the swf files are different in
>>> the 2 versions.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Gordon Cody <gc...@zafinlabs.com>.
Hi Nick
On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
> What do you mean by different?
>
When I do a byte by byte comparison large chunks of the files show up
as different
not just the occasional 4 bytes or even a date string.

>> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
>> timestamps.
> No, it is not. Just compare their checksums (md5). Maven copies the
> resources to /target before war'ing them, so the timestamps could be
> different.
>
> Another cause may be that due to svn:keywords and properties the files
> indeed are different. Do you have svn:keywords on your binary files?
>
No we are not using svn:keywords , but a good point that I will keep in mind.

> Did you do a new checkout?
Even if there were svn:keywords those fields would still have been the same
in 2 sequential builds since I did not check out the code again.

Regards Gord

>
> With regards,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
>> When I compare the 2 wars, I see  that the swf files are different in
>> the 2 versions.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven inconsistent build with flexbuilder

Posted by Nick Stolwijk <ni...@gmail.com>.
> When I compare the 2 wars, I see  that the swf files are different in the 2 versions.
What do you mean by different?

> As swf files are binary it is extremely difficult to determine if the only difference between the 2 is
> timestamps.
No, it is not. Just compare their checksums (md5). Maven copies the
resources to /target before war'ing them, so the timestamps could be
different.

Another cause may be that due to svn:keywords and properties the files
indeed are different. Do you have svn:keywords on your binary files?
Did you do a new checkout?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody <gc...@zafinlabs.com> wrote:
> When I compare the 2 wars, I see  that the swf files are different in
> the 2 versions.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org