Changeset 487


Ignore:
Timestamp:
08/21/09 21:43:39 (3 years ago)
Author:
octorian
Message:

Build updates for 4.2.1 and 4.7.0 builds

Location:
trunk
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
         1*.zip 
         2.LogicMail.jdw 
         3.metadata 
         4build 
        15dist 
        2 build 
        3 .metadata 
        4 .LogicMail.jdw 
  • trunk/LogicMail

    • Property svn:ignore
      •  

        old new  
        1313build 
        1414dist 
         15distalx 
         16distota 
        1517reports 
  • trunk/LogicMail/.settings/org.eclipse.jdt.core.prefs

    r394 r487  
    1 #Sat Mar 07 21:56:10 EST 2009 
     1#Sun Jul 19 14:55:53 EDT 2009 
    22eclipse.preferences.version=1 
    33org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 
     
    88org.eclipse.jdt.core.compiler.debug.localVariable=generate 
    99org.eclipse.jdt.core.compiler.debug.sourceFile=generate 
     10org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 
    1011org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 
     12org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 
     13org.eclipse.jdt.core.compiler.problem.deprecation=ignore 
     14org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 
     15org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 
     16org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 
     17org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 
    1118org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 
     19org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 
     20org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled 
     21org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 
     22org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 
     23org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 
     24org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 
     25org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 
     26org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 
     27org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore 
     28org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 
     29org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 
     30org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 
     31org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 
     32org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 
     33org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning 
     34org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 
     35org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 
     36org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 
     37org.eclipse.jdt.core.compiler.problem.nullReference=warning 
     38org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 
     39org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 
     40org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 
     41org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 
     42org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 
     43org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 
     44org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 
     45org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 
     46org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 
     47org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 
     48org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 
     49org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 
     50org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 
     51org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 
     52org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 
     53org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 
     54org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 
     55org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 
     56org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 
     57org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 
     58org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 
     59org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 
     60org.eclipse.jdt.core.compiler.problem.unusedImport=warning 
     61org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 
     62org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 
     63org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 
     64org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 
     65org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 
     66org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 
     67org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 
     68org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 
     69org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 
    1270org.eclipse.jdt.core.compiler.source=1.3 
  • trunk/LogicMail/build.xml

    r480 r487  
    1111  <property name="docs.dir" location="docs"/> 
    1212  <property name="startup.src.dir" location="../LogicMailStartup/src"/> 
     13  <property name="bb470.src.dir" location="../LogicMail_BB47/src"/> 
    1314  <property file="project.properties"/> 
    1415   
     
    3031    <attribute name="platform"/> 
    3132    <attribute name="defines"/> 
     33        <attribute name="platformfileset"/> 
    3234    <sequential> 
    3335      <mkdir dir="${dist.dir}/@{platform}"/> 
    3436      <copy file="${src.dir}/icons/logicmail.png" todir="${dist.dir}/@{platform}"/> 
    3537      <rapc output="${module.name}" 
    36             srcdir="${src.dir}" 
    37             destdir="${dist.dir}/@{platform}" 
    38             jdehome="@{jdehome}" 
    39             defines="@{preprocessor}"> 
    40         <jdp title="${module.title}" 
    41              vendor="${module.vendor}" 
    42              version="${module.version}" 
    43              type="cldc" 
    44              midletclass="org.logicprobe.LogicMail.LogicMail" 
    45              icon="logicmail.png" 
    46              arguments="-build:${module.build}"> 
    47           <entry arguments="-build:${module.build} autostartup" 
    48                  systemmodule="true" 
    49                  runonstartup="true" 
    50                  startuptier="7"/> 
    51         </jdp> 
    52         <src> 
    53           <fileset dir="${src.dir}"> 
    54             <include name="**/*.java"/> 
    55             <include name="**/*.rrc"/> 
    56             <include name="**/*.rrh"/> 
    57             <exclude name="**/bb40"/> 
    58             <exclude name="**/*BB40.java"/> 
    59             <include name="**/*.png"/> 
    60           </fileset> 
    61           <fileset dir="${startup.src.dir}"> 
    62             <include name="**/*.java"/> 
    63           </fileset> 
    64         </src> 
     38            srcdir="${src.dir}" 
     39            destdir="${dist.dir}/@{platform}" 
     40            jdehome="@{jdehome}" 
     41            defines="@{preprocessor}"> 
     42        <jdp title="${module.title}" 
     43             vendor="${module.vendor}" 
     44             version="${module.version}" 
     45             type="cldc" 
     46             midletclass="org.logicprobe.LogicMail.LogicMail" 
     47             icon="logicmail.png" 
     48             arguments="-build:${module.build}"> 
     49          <entry arguments="-build:${module.build} autostartup" 
     50                 systemmodule="true" 
     51                 runonstartup="true" 
     52                 startuptier="7"/> 
     53        </jdp> 
     54        <src> 
     55          <fileset dir="${src.dir}"> 
     56            <include name="**/*.java"/> 
     57            <include name="**/*.rrc"/> 
     58            <include name="**/*.rrh"/> 
     59            <include name="**/*.png"/> 
     60          </fileset> 
     61          <fileset dir="${startup.src.dir}"> 
     62            <include name="**/*.java"/> 
     63          </fileset> 
     64          <fileset refid="@{platformfileset}" /> 
     65        </src> 
    6566      </rapc> 
    6667      <delete file="${dist.dir}/@{platform}/logicmail.png"/> 
     
    7172  <target name="build"> 
    7273    <if><isset property="jde421.home"/><then> 
    73         <build-platform jdehome="${jde421.home}" platform="BB421" defines="BLACKBERRY_4_2_1" /> 
    74     </then></if> 
    75     <if><isset property="jde450.home"/><then> 
    76         <build-platform jdehome="${jde450.home}" platform="BB450" defines="BLACKBERRY_4_5_0" /> 
     74      <fileset id="bb421_fileset" dir="${src.dir}" /> 
     75      <build-platform jdehome="${jde421.home}" platform="BB421" defines="BLACKBERRY_4_2_1" platformfileset="bb421_fileset"/> 
     76    </then></if> 
     77    <if><isset property="jde470.home"/><then> 
     78      <fileset id="bb470_fileset" dir="${bb470.src.dir}"> 
     79        <include name="**/*.java"/> 
     80        <include name="**/*.png"/> 
     81      </fileset> 
     82      <build-platform jdehome="${jde470.home}" platform="BB470" defines="BLACKBERRY_4_7_0" platformfileset="bb470_fileset"/> 
    7783    </then></if> 
    7884  </target> 
     
    8187  <target name="sign" depends="build" if="sigtool.password"> 
    8288    <if><isset property="jde421.home"/><then> 
    83         <sigtool jdehome="${jde421.home}" 
    84                  password="${sigtool.password}" 
    85                  forceclose="true" 
    86                  codfile="${dist.dir}/BB421/${module.name}.cod"/> 
    87     </then></if> 
    88     <if><isset property="jde450.home"/><then> 
    89         <sigtool jdehome="${jde450.home}" 
    90                  password="${sigtool.password}" 
    91                  forceclose="true" 
    92                  codfile="${dist.dir}/BB450/${module.name}.cod"/> 
     89      <sigtool jdehome="${jde421.home}" 
     90               password="${sigtool.password}" 
     91               forceclose="true" 
     92               codfile="${dist.dir}/BB421/${module.name}.cod"/> 
     93    </then></if> 
     94    <if><isset property="jde470.home"/><then> 
     95      <sigtool jdehome="${jde470.home}" 
     96               password="${sigtool.password}" 
     97               forceclose="true" 
     98               codfile="${dist.dir}/BB470/${module.name}.cod"/> 
    9399    </then></if> 
    94100  </target> 
     
    97103  <target name="javadoc" depends="build"> 
    98104    <javadoc destdir="${docs.dir}" 
    99              author="true" 
    100              version="true" 
    101              use="true" 
    102              windowtitle="${module.description}"> 
     105             author="true" 
     106             version="true" 
     107             use="true" 
     108             windowtitle="${module.description}"> 
    103109      <fileset dir="${src.dir}"> 
    104         <include name="**/*.java"/> 
    105         <exclude name="**/bb40"/> 
    106         <exclude name="**/*BB40.java"/> 
     110        <include name="**/*.java"/> 
    107111      </fileset> 
    108112      <fileset dir="${startup.src.dir}"> 
    109         <include name="**/*.java"/> 
     113        <include name="**/*.java"/> 
    110114      </fileset> 
    111115      <classpath> 
    112         <pathelement path="${jde421.home}/lib/net_rim_api.jar"/> 
    113         <pathelement path="${dist.dir}/BB421/${module.name}.jar"/> 
     116        <pathelement path="${jde421.home}/lib/net_rim_api.jar"/> 
     117        <pathelement path="${dist.dir}/BB421/${module.name}.jar"/> 
    114118      </classpath> 
    115119    </javadoc> 
     
    119123  <target name="dist-alx" depends="build"> 
    120124    <mkdir dir="${dist.alx.dir}" /> 
    121      
    122     <!-- Copy the files --> 
    123     <if><isset property="jde421.home"/><then> 
    124         <mkdir dir="${dist.alx.dir}/BB421" /> 
    125         <copy todir="${dist.alx.dir}/BB421"> 
    126           <fileset dir="${dist.dir}/BB421" includes="*.jar *.jad *.cod"/> 
    127         </copy> 
    128     </then></if> 
    129     <if><isset property="jde450.home"/><then> 
    130         <mkdir dir="${dist.alx.dir}/BB450" /> 
    131         <copy todir="${dist.alx.dir}/BB450"> 
    132           <fileset dir="${dist.dir}/BB450" includes="*.jar *.jad *.cod"/> 
    133         </copy> 
    134     </then></if> 
     125        <alx destdir="${dist.alx.dir}" filename="${module.name}.alx"> 
     126      <application 
     127          id="${module.name}" 
     128          name="${module.title}" 
     129          description="${module.description}" 
     130          vendor="${module.vendor}" 
     131          version="${module.version}" 
     132          copyright="${module.copyright}"> 
     133        <!-- 
     134          Since there is no easy way to conditionally define these elements, 
     135          they will need to be manually edited if executing this task without 
     136          all supported JDE versions defined. 
     137        --> 
     138        <codset dir="BB421" greaterthanequal="4.2.1" lessthan="4.7.0"> 
     139          <fileset dir="${dist.dir}/BB421" includes="*.cod" /> 
     140        </codset> 
     141        <codset dir="BB470" greaterthanequal="4.7.0"> 
     142          <fileset dir="${dist.dir}/BB470" includes="*.cod" /> 
     143        </codset> 
     144      </application> 
     145        </alx> 
    135146    <copy todir="${dist.alx.dir}"> 
    136147      <fileset dir=".." includes="README.txt, LICENSE.txt, ChangeLog.txt"/> 
    137148    </copy> 
    138      
    139     <!-- Modify and copy the ALX file --> 
    140     <!-- TODO: Add version conditionals --> 
    141     <xmltask 
    142        source="LogicMail.alx" 
    143        dest="${dist.alx.dir}/${module.name}.alx"> 
    144       <replace path="loader/application/version/text()" withText="${module.version}"/> 
    145       <replace path="loader/application/fileset/files/text()" withText="${module.name}.cod"/> 
    146     </xmltask> 
    147149  </target> 
    148150   
     
    175177       <attr path="/downloads/entry" attr="name" value="${module.title} ${module.version}"/> 
    176178       <insert if="jde421.home" path="/downloads/entry"> 
    177         <![CDATA[ 
    178           <file name="${module.version}/BB421/${module.name}.jad" target="4.2.1"/> 
    179         ]]> 
     179         <![CDATA[ 
     180           <file name="${module.version}/BB421/${module.name}.jad" target="4.2.1"/> 
     181         ]]> 
    180182      </insert> 
    181       <insert if="jde450.home" path="/downloads/entry"> 
     183      <insert if="jde470.home" path="/downloads/entry"> 
    182184        <![CDATA[ 
    183           <file name="${module.version}/BB450/${module.name}.jad" target="4.5.0"/> 
     185          <file name="${module.version}/BB470/${module.name}.jad" target="4.7.0"/> 
    184186        ]]> 
    185187      </insert> 
    186188    </xmltask> 
    187189    <if><isset property="jde421.home"/><then> 
    188         <copy-ota-files src="${dist.dir}/BB421" dest="${dist.ota.dir}/${module.version}/BB421"/> 
    189     </then></if> 
    190     <if><isset property="jde450.home"/><then> 
    191         <copy-ota-files src="${dist.dir}/BB450" dest="${dist.ota.dir}/${module.version}/BB450"/> 
     190      <copy-ota-files src="${dist.dir}/BB421" dest="${dist.ota.dir}/${module.version}/BB421"/> 
     191    </then></if> 
     192    <if><isset property="jde470.home"/><then> 
     193      <copy-ota-files src="${dist.dir}/BB470" dest="${dist.ota.dir}/${module.version}/BB470"/> 
    192194    </then></if> 
    193195  </target> 
  • trunk/LogicMail/project.properties

    r377 r487  
    66module.description=LogicMail for BlackBerry 
    77module.vendor=Derek Konigsberg 
    8 module.copyright=Copyright (c) 2008, Derek Konigsberg 
     8module.copyright=Copyright (c) 2009, Derek Konigsberg 
    99module.version=1.9.0 
    1010module.build=0 
    1111# 
    12 # Uncomment and set the paths to the JDEs to build with 
     12# Set the paths to the JDEs to build with 
    1313# 
    14 #jde421.home=C:/Program Files/Research In Motion/BlackBerry JDE 4.2.1 
    15 #jde450.home=C:/Program Files/Research In Motion/BlackBerry JDE 4.5.0 
     14jde421.home=C:/Program Files/Research In Motion/BlackBerry JDE 4.2.1 
     15jde470.home=C:/Program Files/Research In Motion/BlackBerry JDE 4.7.0 
    1616 
    1717# 
  • trunk/README.txt

    r131 r487  
    1212  http://www.logicprobe.org/proj/logicmail 
    1313 
    14 - Derek Konigsberg <octo@logicprobe.org> 
     14- Derek Konigsberg <dkonigsberg@logicprobe.org> 
Note: See TracChangeset for help on using the changeset viewer.