Changeset 4575
- Timestamp:
- Oct 13, 2008, 10:57:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/Install.java
r4545 r4575 590 590 createClient(rootUser, "net.sf.basedb.clients.jobagent", "Job agent client", "This client is used by all job agents", keyJobAgentUse); 591 591 592 // News593 if (progress != null) progress.display((int)(21*progress_factor), "--Creating news...");594 createNews("BASE Server installed", "Welcome to your new BASE server.");595 596 592 // Plugins 597 if (progress != null) progress.display((int)(2 2*progress_factor), "--Creating plugin definitions...");593 if (progress != null) progress.display((int)(21*progress_factor), "--Creating plugin definitions..."); 598 594 createPluginType("Autodetecting importer", "This interface should be implemented by all plugins that are capable of autodetect the file format by parsing an input stream.", 599 595 "net.sf.basedb.core.plugin.AutoDetectingImporter", null); … … 663 659 664 660 // Plugin configurations 665 if (progress != null) progress.display((int)(2 3*progress_factor), "--Creating example plugin configurations...");661 if (progress != null) progress.display((int)(22*progress_factor), "--Creating example plugin configurations..."); 666 662 createPluginConfigurations("/plugin_configfile.xml", update); 667 663 createPluginConfigurations("/illumina.configurations.xml", update); … … 671 667 ColoringData NO_COLORING = new ColoringData(false, false, null, null, null); 672 668 ColoringData RATIO_COLORING = new ColoringData(true, true, -1f, 0f, 1f); 673 if (progress != null) progress.display((int)(2 4*progress_factor), "--Creating formulas...");669 if (progress != null) progress.display((int)(23*progress_factor), "--Creating formulas..."); 674 670 createFormula(Formula.Type.COLUMN_EXPRESSION, Formula.Parser.JEP, Formula.AverageMethod.GEOMETRIC_MEAN, 675 671 "Ratio, ch1 / ch2", "The ratio of channel 1 to channel 2", null, 2, … … 710 706 } 711 707 712 if (progress != null) progress.display((int)(2 5*progress_factor), "--Creating job agents...");708 if (progress != null) progress.display((int)(24*progress_factor), "--Creating job agents..."); 713 709 // TODO 714 710 715 711 // File set member types 716 if (progress != null) progress.display((int)(2 6*progress_factor), "--Creating data file types...");712 if (progress != null) progress.display((int)(25*progress_factor), "--Creating data file types..."); 717 713 DataFileTypeData celFile = createDataFileType( 718 714 DataFileType.AFFYMETRIX_CEL, "CEL file", "Affymetrix CEL file", … … 747 743 748 744 // Platforms and variants 749 if (progress != null) progress.display((int)(2 7*progress_factor), "--Creating platforms...");745 if (progress != null) progress.display((int)(26*progress_factor), "--Creating platforms..."); 750 746 createPlatform("generic", "Generic", "Generic platform which expects data to be imported into the database", 751 747 false, null, 0, … … 758 754 new PlatformFT(cdfFile, true) 759 755 ); 756 757 // News 758 if (progress != null) progress.display((int)(27*progress_factor), "--Creating news..."); 759 String version = "BASE " + Version.getMajor() + "." + Version.getMinor() + "." + Version.getMaintenance(); 760 if (update) 761 { 762 createNews("Server upgraded to " + version, "Welcome to your upgraded BASE server"); 763 } 764 else 765 { 766 createNews(version + " installed", "Welcome to your new BASE server."); 767 } 768 760 769 761 770 if (progress != null) progress.display(100, "Database initialised successfully.");
Note: See TracChangeset
for help on using the changeset viewer.