Browse Source

Merge pull request #177 in DESIGN/design from ~RICHIE/design:release/10.0 to release/10.0

* commit 'ccfa66c79163fa646afac74517ce2f4b66fee57d':
  CORE-101 AOP基础
master
richie 6 years ago
parent
commit
1fc54fd55d
  1. 3
      designer-realize/src/com/fr/start/Designer.java
  2. 4
      designer-realize/src/com/fr/start/module/DesignerStartup.java

3
designer-realize/src/com/fr/start/Designer.java

@ -44,6 +44,7 @@ import com.fr.general.ComparatorUtils;
import com.fr.general.Inter;
import com.fr.module.Module;
import com.fr.module.ModuleContext;
import com.fr.record.analyzer.FineAnalyzer;
import com.fr.stable.BuildContext;
import com.fr.stable.OperatingSystem;
import com.fr.stable.ProductConstants;
@ -97,6 +98,8 @@ public class Designer extends BaseDesigner {
*/
public static void main(String[] args) {
FineAnalyzer.init();
BuildContext.setBuildFilePath("/com/fr/stable/build.properties");

4
designer-realize/src/com/fr/start/module/DesignerStartup.java

@ -4,6 +4,8 @@ import com.fr.design.mainframe.DesignerContext;
import com.fr.event.Event;
import com.fr.event.Listener;
import com.fr.module.Activator;
import com.fr.record.analyzer.EnableMetrics;
import com.fr.record.analyzer.Metrics;
import com.fr.start.Designer;
import com.fr.start.EnvSwitcher;
import com.fr.start.SplashContext;
@ -17,9 +19,11 @@ import java.util.concurrent.Executors;
/**
* Created by juhaoyu on 2018/1/8.
*/
@EnableMetrics
public class DesignerStartup extends Activator {
@Override
@Metrics
public void start() {
startSub(PreStartActivator.class);
//启动基础部分

Loading…
Cancel
Save