kolombet / maashaack

Automatically exported from code.google.com/p/maashaack
0 stars 0 forks source link

Problem with conditional compilation #187

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have lots of problems with new conditional compilation in the unit tests
and in the system.Objects class, when i run my unit tests :

Adobe Flex Compiler SHell (fcsh)
Version 3.3.0 build 4852
Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

(fcsh) fcsh: Assigned 1 as the compile target id
Loading configuration file
/Applications/dev/eclipse/plugins/com.powerflasher.fdt.shippedflex_3.3.0.4852_10
00/flex/frameworks/flex-config.xml
/opensource/maashaack/trunk/AS3/src/system/Objects.as(84): col: 17 Error:
Accès à la propriété non définie TAMARIN.

                TAMARIN::exclude
                ^

/opensource/maashaack/trunk/AS3/tests/framework/system/logging/AllTests.as(59):
col: 13 Error: Accès à la propriété non définie TAMARIN.

            TAMARIN::exclude
            ^

/opensource/maashaack/trunk/AS3/tests/framework/system/ByteArraysTest.as(68):
col: 9 Error: Accès à la propriété non définie TAMARIN.

        TAMARIN::exclude
        ^

/opensource/maashaack/trunk/AS3/tests/framework/system/ByteArraysTest.as(82):
col: 9 Error: Accès à la propriété non définie API.

        API::FP_10_0
        ^

/opensource/maashaack/trunk/AS3/tests/framework/system/ArraysTest.as(48):
col: 9 Error: Accès à la propriété non définie TAMARIN.

        TAMARIN::exclude
        ^

/opensource/maashaack/trunk/AS3/tests/framework/system/ArraysTest.as(71):
col: 9 Error: Accès à la propriété non définie TAMARIN.

        TAMARIN::exclude
        ^

/opensource/maashaack/trunk/AS3/tests/framework/system/logging/targets/AllTests.
as(50):
col: 13 Error: Accès à la propriété non définie TAMARIN.

            TAMARIN::exclude
            ^

(fcsh) 
----------

It's for me logic beacause the namespaces (TAMARIN, ...) don't exist in the
framework.

We must fix it, i can't impose my users of the framework to use conditional
compilation in all projects ??

We must speak about it :)

Original issue reported on code.google.com by ekamel...@gmail.com on 14 Sep 2009 at 3:04

GoogleCodeExporter commented 8 years ago
all is explained here
http://code.google.com/p/maashaack/wiki/ConditionalCompilation

conditional compilation si for people dealing with the source code on a daily 
basis

others will use SWC build

Original comment by zwetan on 14 Sep 2009 at 10:57

GoogleCodeExporter commented 8 years ago
It's not possible for me for the moment to use only swc with my projects. It a 
too
big new feature and i must be sure in the future it's easy to creates swc with 
the
last version of Maashaack and VEGAS ;)

In the unit tests is not a really problem to use this feature but in the 
Maashaack
code source is not really good for the moment.

Original comment by ekamel...@gmail.com on 14 Sep 2009 at 12:46

GoogleCodeExporter commented 8 years ago
> It's not possible for me for the moment to use only swc with my projects

this is a false argument, SWC are just pre-compiled AS code

if we do regularly small dot release like 0.1.1, 0.1.2, 0.1.3, etc.
you will always have the last code update in the SWC

at worst you will have max 1 or 2 week delay from one SWC to another

Original comment by zwetan on 14 Sep 2009 at 12:51

GoogleCodeExporter commented 8 years ago
Hello :)

Yes but for the moment i don't see the new swc of Maashaack in the trunk or in 
the
other branches of the project ;) 

We must decide a type of process to develop with this implementation and i must 
test
it with an external of the current swc in the source code of VEGAS, etc. I can't
handicap for the moment or in the next versions all my users.

For the moment i have a bug in all my projects with this feature and it's not 
good
during my holidays ;)

Original comment by ekamel...@gmail.com on 14 Sep 2009 at 12:58

GoogleCodeExporter commented 8 years ago
the SWC will never go in the trunk, there will be in the download page

the build should be able to generate the SWC right now

it is not a bug, if you want to keep compiling from source you can edit your 
compiler setting from what is 
explained in the http://code.google.com/p/maashaack/wiki/ConditionalCompilation 
page

the conditional compilation will not go away

Original comment by zwetan on 14 Sep 2009 at 1:12

GoogleCodeExporter commented 8 years ago
:(

Original comment by ekamel...@gmail.com on 14 Sep 2009 at 1:23

GoogleCodeExporter commented 8 years ago

Original comment by ekamel...@gmail.com on 22 Sep 2011 at 6:51