Commits

dav...@IMSOELMPC102912.MMS.DOI.NET  committed 414cf5c

create instal setup for plugin

  • Participants
  • Parent commits e13028a

Comments (0)

Files changed (7)

File StatusWriter/nbproject/private/private.xml

 <?xml version="1.0" encoding="UTF-8"?>
 <project-private xmlns="http://www.netbeans.org/ns/project-private/1">
     <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
+    <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
+        <file>file:/C:/ADData/projects/rubylearning/StatusWriter/Rakefile</file>
+        <file>file:/C:/ADData/projects/rubylearning/StatusWriter/lib/database.yml</file>
+        <file>file:/C:/ADData/projects/rubylearning/StatusWriter/lib/database_connection.rb</file>
+        <file>file:/C:/ADData/projects/rubylearning/StatusWriter/migrations/001_create_projects.rb</file>
+    </open-files>
 </project-private>

File flex_dev/install.rb

 # Install hook code here
+require "yaml"
+
+flex = {
+	"flex-bin" => "public", 
+	"flex-src" => "flex/src", 
+	"flex-lib" =>"flex/lib", 
+	"flex-home"=>"c:/addata/flex",
+	}
+#prompt for flex home 
+puts "Please enter the Install directory of the FLEX SDK"
+flex["flex-home"] = gets
+Dir.chdir(File.join("..", ".."))
+File.open(File.join("config", "flex.yml"), "w") do |f|
+	f.puts YAML::dump(flex)
+end
+Dir.mkdir("flex")
+Dir.mkdir(File.join("flex", "src"))
+Dir.mkdir(File.join("flex", "lib"))

File flex_dev/nbproject/private/private.properties

+file.reference.flex_dev-lib=C:\\ADData\\projects\\rubylearning\\flex_dev\\lib
+file.reference.flex_dev-tasks=C:\\ADData\\projects\\rubylearning\\flex_dev\\tasks
+file.reference.flex_dev-test=C:\\ADData\\projects\\rubylearning\\flex_dev\\test

File flex_dev/nbproject/private/private.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+    <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
+    <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
+        <file>file:/C:/ADData/projects/rubylearning/flex_dev/install.rb</file>
+    </open-files>
+</project-private>

File flex_dev/nbproject/private/rake-d.txt

+clobber=
+clobber_rdoc=Remove rdoc products
+default=Default: run unit tests.
+rdoc=Build the rdoc HTML Files
+rdoc/index.html=
+rerdoc=Force a rebuild of the RDOC files
+test=Run tests

File flex_dev/nbproject/project.properties

+file.reference.flex_dev-lib=lib
+file.reference.flex_dev-tasks=tasks
+file.reference.flex_dev-test=test
+main.file=
+platform.active=Ruby
+source.encoding=UTF-8
+src.dir=${file.reference.flex_dev-lib}
+tasks.dir=${file.reference.flex_dev-tasks}
+test.dir=${file.reference.flex_dev-test}

File flex_dev/nbproject/project.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+    <type>org.netbeans.modules.ruby.rubyproject</type>
+    <configuration>
+        <data xmlns="http://www.netbeans.org/ns/ruby-project/1">
+            <name>Flex_dev</name>
+            <source-roots>
+                <root id="src.dir"/>
+                <root id="tasks.dir"/>
+                <root id="test.dir"/>
+            </source-roots>
+            <test-roots/>
+        </data>
+    </configuration>
+</project>