JoElH4Ck3r / maashaack

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

Problems with build.xml #188

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When i start the build.xml i have two problems :

1 - If i try to create the contributors.properties file i can define my svn
username and password but if i try to override the Flex SDK path for
example or the property "no.source" "

{{{
no.source = false

contributor.username = xxx
contributor.password = yyy

FLEX_HOME_MAC = /opensource/adobe/flex_sdk_3.0.0.477
}}}

I i had "echo" in the build.xml file the logs are bad, and the default
values of the specified properties are used :

{{{
<echo>FLEX_HOME  : ${FLEX_HOME}</echo>
<echo>no.source  : ${no.source}</echo>
}}}

For the moment if i invert the two "property file" tags :

{{{
<!-- optional properties for contributors only -->
<property file="build/contributor.properties" />

<!-- user can override those properties -->
<property file="build/user.properties"/>
}}}

The problem is fixed...  but i don't know if this solution if the best ?

PS : i see in the build too the tag  

{{{
    <available file="build/contributor.properties" property="is.contributor" />
}}}

This tag is used in the build ? :)

2 - Now i fix the first problem and i run the build ... the build start but
stop with the warn message :

{{{
Buildfile: /opensource/maashaack/trunk/AS3/build.xml
      [svn] <Info> started ...

BUILD FAILED
/opensource/maashaack/trunk/AS3/build.xml:101: java.lang.NoSuchMethodError:
<init>

Total time: 3 seconds
}}}

When i click the link, the error target the line :

{{{
<svn username="${contributor.username}" password="${contributor.password}">
}}}

But the error message indicates a problem in the init tag ?? I don't
understand where is the problem exactly ? :)

For the moment i don't test the problem in Windows but only in Mac OS X
(with Snow Leopard)

Original issue reported on code.google.com by ekamel...@gmail.com on 20 Sep 2009 at 6:21

GoogleCodeExporter commented 8 years ago
those problems are "logic" problems because when this build was written I 
thought you could redefine property 
as if they were variables, and nope ANT does not work like that.

There are other issues in the way the build is structured.

I'm in the process of changing that during the week to have a cleaner way of 
building with options etc.

Original comment by zwetan on 21 Sep 2009 at 5:08

GoogleCodeExporter commented 8 years ago
ok thanks :)

Original comment by ekamel...@gmail.com on 21 Sep 2009 at 2:02

GoogleCodeExporter commented 8 years ago
new build process with gclient 

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