顯示具有 progression4 標籤的文章。 顯示所有文章
顯示具有 progression4 標籤的文章。 顯示所有文章

2010年7月20日 星期二

FDT 使用ANT建立progression html

ANT的檔案是XML格式,每個檔案都有個project,project裡有多個target就是你一系列想要執行的任務。
而建立html主要是復製一個template.html,並將內容做修改
//Build.XML 


//先把index.template.html檔案復製到專案資料夾裡的bin裡,重新命名為index.html
  

//將index.html檔案裡的${title}替換

 


//index.template.html
//這檔案裡在title裡加入${title}是給ANT替換用

FDT_ANT_progression4Demo.zip

2010年7月18日 星期日

FDT progression4 templates

windows==>preferences==>FDT==>Editor==>Templates
點選import匯入progression4templates.xml

progression4templates.zip

使用時Alt+/再按p鍵可以看到如下圖:




選擇你要的template就會自已貼上