Changeset 48

Show
Ignore:
Timestamp:
06/24/08 15:31:38 (7 months ago)
Author:
mb0
Message:

ASSIGNED - # 61: compiler cannot find flex-config.xml
http://axdt.org/ticket/61 added flex config file preference

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • axdt/trunk/org.axdt.as3/META-INF/MANIFEST.MF

    r43 r48  
    1616 . 
    1717Export-Package: org.axdt.as3, 
    18  org.axdt.as3.compiler 
     18 org.axdt.as3.compiler, 
     19 org.axdt.as3.imp.preferences 
  • axdt/trunk/org.axdt.as3/plugin.xml

    r43 r48  
    149149      <perspectiveExtension 
    150150            targetID="org.axdt.as3.perspective"> 
    151          <newWizardShortcut id="org.eclipse.ui.wizards.new.folder"/> 
    152          <newWizardShortcut id="org.eclipse.ui.wizards.new.file"/> 
     151         <newWizardShortcut 
     152               id="org.eclipse.ui.wizards.new.folder"> 
     153         </newWizardShortcut> 
     154         <newWizardShortcut 
     155               id="org.eclipse.ui.wizards.new.file"> 
     156         </newWizardShortcut> 
    153157         <viewShortcut 
    154158               id="org.eclipse.ui.console.ConsoleView"> 
     
    186190               id="org.eclipse.ui.views.ContentOutline"> 
    187191         </view> 
    188          <actionSet id="org.eclipse.debug.ui.launchActionSet"/> 
     192         <actionSet 
     193               id="org.eclipse.debug.ui.launchActionSet"> 
     194         </actionSet> 
    189195      </perspectiveExtension> 
    190196   </extension> 
     
    215221      </page> 
    216222   </extension> 
    217 <extension 
     223   <extension 
    218224         point="org.eclipse.ui.views"> 
    219225      <category 
    220             id="org.axdt.views" 
    221             name="AXDT"/> 
     226            name="AXDT" 
     227            id="org.axdt.views"> 
     228      </category> 
    222229   </extension> 
    223230</plugin> 
  • axdt/trunk/org.axdt.as3/src/org/axdt/as3/compiler/AS3CompilerTarget.java

    r43 r48  
    55import org.axdt.as3.AS3Plugin; 
    66import org.axdt.as3.imp.preferences.AS3PreferencesConstants; 
     7import org.eclipse.core.resources.IProject; 
    78import org.eclipse.core.resources.IResource; 
    89import org.eclipse.core.runtime.IPath; 
     
    6667                this.context = context; 
    6768        } 
     69 
     70        public IProject getProject() { 
     71                if (resource == null) return null; 
     72                return resource.getProject(); 
     73        } 
    6874} 
  • axdt/trunk/org.axdt.as3/src/org/axdt/as3/imp/preferences/AS3.pfsp

    r31 r48  
    4545        //boolean UseDefaultPreferencesTemplate { hasspecial true; defvalue true; } 
    4646        boolean InheritSettings { defvalue true; } 
    47         dirlist  FlexSDKPath { defvalue ""; } 
    4847        string  SourcePaths { defvalue "src"; } 
    49         string  AssetPaths { defvalue "asset"; } 
    5048        string  DeployPath { defvalue "deploy"; } 
     49        boolean UseDefaultFlexConfig { defvalue true; } 
     50        file FlexConfig { emptyallowed true ""; defvalue ""; } 
    5151    } 
    5252 
     
    5555    // the value of designated boolean field 
    5656    conditionals { 
    57         FlexSDKPath against InheritSettings; 
    5857        SourcePaths against InheritSettings; 
    59         AssetPaths against InheritSettings; 
    6058        DeployPath against InheritSettings; 
     59        FlexConfig against UseDefaultFlexConfig; 
    6160    } 
    6261 
  • axdt/trunk/org.axdt.as3/src/org/axdt/as3/imp/preferences/AS3Preferences.genparams

    r31 r48  
    44PageId=org.axdt.as3.imp.preferences 
    55PageMenuItem=TOP 
     6Language=AS3 
    67AlternativeMessage=Message omitted.