Cov txheej txheem:

Kuv yuav pib qhov project hauv dab noj hnub li cas?
Kuv yuav pib qhov project hauv dab noj hnub li cas?

Video: Kuv yuav pib qhov project hauv dab noj hnub li cas?

Video: Kuv yuav pib qhov project hauv dab noj hnub li cas?
Video: Hwm Pheej Thoj - Rov Mus Txog Vib Nais 2024, Kaum ib hlis
Anonim

Tsim qhov project

  1. Sab hauv Dab tuag xaiv cov ntawv qhia zaub mov Cov Ntaub Ntawv> Tshiab> Qhov project .
  2. Xaiv Java Qhov project ces nyem Next rau pib the New Java Qhov project wizard:
  3. Hauv Package Explorer, nthuav JUnit qhov project thiab xaiv qhov chaw nplaub tshev src.
  4. Xaiv cov ntawv qhia zaub mov Cov Ntaub Ntawv> Ntshuam.

Xav txog qhov no, kuv yuav pib qhov project tshiab hauv dab noj hnub li cas?

Cov kauj ruam

  1. Nruab Eclipse IDE rau Java Developers.
  2. Nyem "Cov ntaub ntawv" → "Tshiab" → "Java Project".
  3. Muab lub npe rau qhov project.
  4. Xaiv qhov chaw rau cov ntaub ntawv qhov project.
  5. Xaiv Java Runtime Ib puag ncig (JRE) koj xav siv.
  6. Xaiv koj qhov project layout.
  7. Nyem "Tom ntej" los qhib "Java Chaw" qhov rai.

Ib sab saum toj no, dab tsi yog qhov project hauv dab noj hnub? Dab tuag txhais tej yaam num raws li kev sib xyaw ua ke ntawm ". qhov project "file (XML qhov project description), a ". classpath" file (XML classpath description for the qhov project ), thiab ". settings" directory uas muaj Dab tuag nyiam rau qhov ntawd qhov project.

Ib yam li ntawd, tib neeg nug, koj tsim Java project li cas?

Txhawm rau tsim ib qhov project thiab nws cov haujlwm yuav tsum tau ua:

  1. Xaiv qhov project uas koj xav tsim nyob rau hauv qhov Projects qhov rai.
  2. Xaiv Khiav> Ntxuav thiab tsim qhov project (Shift + F11). Xwb, right-click the project's node in the Projects window and select Clean and Build.

Dab tsi yog folders tsim thaum koj tsim ib qhov project hauv dab noj hnub?

Nrog Dab tuag kuv muaj tsim ib new qhov project nrog lub npe "game". Raws li qhov tshwm sim, Dab ntxwg nyoog tsim a nplaub tshev hu ua "game" rau hauv nplaub tshev "chaw ua haujlwm".

Pom zoo: