<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    javaGrowing

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      92 隨筆 :: 33 文章 :: 49 評論 :: 0 Trackbacks

    2007年12月18日 #

    單擊“開始→運行”,在“打開”框中鍵入“MOUNTVOL ? /E”,然后單擊“確定”按鈕,重新啟動電腦。
    posted @ 2008-11-01 15:19 javaGrowing 閱讀(519) | 評論 (0)編輯 收藏

    Archetype Command
    JSF Basic mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Spring MVC Basic mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Struts 2 Basic mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Tapestry Basic mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-tapestry -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    JSF Modular mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-jsf -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Spring MVC Modular mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Struts 2 Modular mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Tapestry Modular mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-tapestry -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
    Core
    (backend only)
    mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-core -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject

    You should be able to run AppFuse immediately if you have a MySQL 5.x database installed and it's accessible to root using no password. If you'd prefer to use an embedded database, we've recently added Database Profiles for H2, HSQLDB, etc.

    MySQL Security
    Running MySQL using root with no password is not the most secure thing to do. Once your database is created, you can change the root password using the command below:
    mysql --user=root --pass='' mysql -e "update user set password=password('newpw') where user='root'; flush privileges;"

    AppFuse uses the username "root" and a blank password by default. To change these values, modify the <jdbc.username> and <jdbc.password> properties in your project's pom.xml (at the bottom).

    Run your application

    Running AppFuse is easy now. Once the archetype project is created, Maven will create and populate your database using the hibernate3 and dbunit plugins, respectively. All you have to do is use Maven to run the Jetty container and view your application.

    1. Check your new project into source control, unless you have a good reason not to. Google Code has free Subversion hosting, as do many others.
    2. From the command line, cd into your new project's directory and run mvn to download JARs, Tomcat and run the integration tests in your project. Now is a good time to take a coffee break or grab a beer - downloading everything and running the tests can take 5-10 minutes.
    3. To view your application run mvn jetty:run-war from your project's directory (for a modular project, you'll need to run mvn jetty:run-war from your project's web directory). Maven will start Jetty and you should be able to view your application in your browser at http://localhost:8080.
      The default username/password for an admin user is admin/admin. For a regular user, use user/user.
    4. To override files from AppFuse, run mvn war:inplace. This will extract the dependent WARs into src/main/webapp, where you can change files to your heart's content. When you have the war expanded in your source tree, you can run mvn jetty:run. This will allow you to change files on-the-fly and Jetty will reload them as needed. The only problem with this approach is you end up with an "exploded AppFuse" in your project, which won't bode well for upgrading. We recommend you check your project into source control before running mvn war:inplace. That way, it'll be easier for you to decide what needs to be checked in (over written) and what can be deleted.

    If you receive OutOfMemory errors when using mvn jetty:run, see this mailing list thread.

    You can change AppFuse from its "embedded mode" to full-source mode by running mvn appfuse:full-source from your project's root directory.

    Bug with Ant 1.7.0
    Local repositories and projects on Windows platforms are held in directories whose paths contain no spaces. To fix this issue, modify your $M2_HOME/conf/settings.xml and change your localRepository to something like the following:
    <localRepository>c:\docume~1\username\.m2\repository</localRepository> 
    
    Development Environment
    See development environment for detailed instructions on how to setup your computer to develop AppFuse-based applications.
    Changing database settings
    To change your MySQL database settings, simply change the <jdbc.*> properties at the bottom of your pom.xml. See Database Profiles to use a database other than MySQL


    set MAVEN_OPTS=-Xmx512m -Xms512m -XX:MaxPermSize=512m
    posted @ 2008-09-03 18:07 javaGrowing 閱讀(478) | 評論 (0)編輯 收藏

    今天我在調程序時,遇到了見郁悶的事,我用ajax從前臺顯示頁面傳字符串變量給處理頁面,出現了件怪事,我想傳的內容是abc+,但接收以后用System.out.println()輸出是abc空格。反復測試好幾遍,都是這個結果,真是令人郁悶。在網上搜了搜,找到了原因。
    原因:?? url中有些字符被轉義,比如空格被編碼成加號,于是傳的參數明明是加號,獲取的值卻成了空格。如何解決呢?如果是通過url傳遞參數,應該對其進行必要的編碼。
    解決辦法:
    ???????? 在javascript中加入?? function URLencode(sStr)
    {
    ??? return escape(sStr).replace(/\+/g, '%2B').replace(/\"/g,'%22').replace(/\'/g, '%27').replace(/\//g,'%2F');
    }
    對字符串進行處理.如:var str=URLencode("abc+")
    posted @ 2007-12-19 09:02 javaGrowing 閱讀(11319) | 評論 (5)編輯 收藏

    The following processes including SD,MM,PP,FI,CO .


    SD Relevant Steps:
    1.Check if all delivery in due list have been processedVL06G (Could set background jobs to automatically generate the billing due list for posting)
    2.Check if all picking in due list have been processedVL06P
    3.Check if all goods issue in due list have been processedVL04
    4.Check if all billed AR has been release to accountingVFX3

    PP Relevant Steps:
    1.Check if all back flash error has been solved (COGI Check every day this kind of problem and solved on time)
    2.Check if all production orders that will not be followed have been finally??confirmed or technically closed. Do final confirmation even small quantity??variance exist but we consider this order has finished
    3.Do technical close at month end for the orders will not be followed in the future
    4.Confirmation. Do not confirm any assembly scrap when do production order conf.

    MM Relevant Steps
    1.Check if all goods movement has been booked in SAP
    2.GR/IR clearing accounts maintenance if needed
    3.Open the MM period for movement posting when new period starts MMPV

    FI Relevant Steps
    1.Book all accounting entries for:
    - Accrued expense
    - Do recurring entry (prepayment, accrued expense, amortization)
    - Process G/L, vendor, customer balance & open items
    - Cost allocations by FI
    2.AM Fixed asset depreciation run and period postingAFAB
    3.AM Periodic posting ASKB
    4.G/L,AR,AP balance check & Open item clearing
    5.Foreign currency revaluation for bank/cash & AR AP open items
    Bank/cash revaluation: F.06
    AR AP open items: F.05
    6.GR/IR clearing account regrouping process F.19
    7.Automatic clearing for G/L accounts, vendor and customer F.13

    CO Relevant Steps
    1.Release standard cost estimate
    CK24Only when there are costing run to be released.
    2.Cost reallocation according to activity
    Distribution: CKV5
    Assessment: KSU5
    3.Cost splitting among activity KSS2
    4.Actual activity price calculation KSII
    5.Production order revaluation with actual activity price CON2
    6.WIP calculationfor the production orders KKAO
    7.Variance calculation for the production orders KKS1
    8.Production / Costing orders settlement CO88/KO88
    9.Material ledger closing > MMPV first
    a.Create costing runCKRU00
    b.Allow settlementCKMF_RUN
    c.Allow closing entriesCKMG_RUN
    d.Material selectionCKMB_RUN
    e.Determine costing sequenceCKMC_RUN
    f.Settle single levelCKMH_RUN
    g.Settle multi levelCKMM_RUN
    h.Post closingCKMI
    posted @ 2007-12-18 16:03 javaGrowing 閱讀(901) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 国产精品亚洲自在线播放页码| 亚洲无av在线中文字幕| 91亚洲国产成人久久精品| 久久福利青草精品资源站免费| 国产亚洲精品资在线| 国产区在线免费观看| 亚洲无线码在线一区观看| a毛片久久免费观看| 亚洲男人第一av网站| 最近中文字幕大全中文字幕免费| 亚洲a在线视频视频| 1000部啪啪未满十八勿入免费| 亚洲午夜电影一区二区三区| 久久久久久99av无码免费网站| 亚洲熟妇AV日韩熟妇在线| 国产一区二区三区在线观看免费| 一级黄色片免费观看| 亚洲日韩精品无码一区二区三区| 久久精品视频免费播放| 亚洲成aⅴ人片在线影院八| 韩国免费三片在线视频| 一个人看的在线免费视频| 久久精品国产精品亚洲艾| www.黄色免费网站| 亚洲国产成人AV网站| 亚洲色精品aⅴ一区区三区| 18禁成人网站免费观看| 欧美亚洲国产SUV| 亚洲精品亚洲人成人网| 日韩视频在线精品视频免费观看| 爱情岛论坛亚洲品质自拍视频网站| 亚洲中文字幕无码一久久区| 亚州免费一级毛片| 国产99久久亚洲综合精品| 久久精品国产亚洲av麻| 免费观看的av毛片的网站| a毛片在线看片免费| 亚洲色成人WWW永久在线观看| 亚洲综合在线另类色区奇米| 九九精品免费视频| 成人妇女免费播放久久久|