Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Anchor
Picking a projectName and a projectArtifactId
Picking a projectName and a projectArtifactId

Picking a projectName and a projectArtifactId

The first thing that must be done is to pick a projectName and a projectArtifactId.  These will be used throughout the life time of your project.

The projectName is a short acronym that is used to uniquely identify your project.
The projectArtifactId is the application context under which your project war file will be deployed to the OC4J server.

Once the projectName and projectArtifactId have been selected, they should not be changed.

Here are a few examples of what other project have used in the past:

projectName

projectArtifactId

project description

ssb

sfs-ssb

student sponsored billing

ogs

ogs

online grade submission

onlinereg

onlinereg

online registration

iap

iap

individual activities period

{anchor:Setup of the project war component using the war-template} h3. Setup of the project war component using the war-template * {color:red}This setup assumes that you have completed the [Workstation configuration | Getting Started#Workstation configuration] as found on the [CSF Home - Getting Started | Getting Started] tab. If you have not completed the [Workstation configuration | Getting Started#Workstation configuration], please do so [*now* | Getting Started#Workstation configuration].{color} # Run Eclipse.  Go to *File > New > Other...*. Scroll down to *Maven* and expand then select *Checkout Maven Projects from SCM* as shown in the following panel. \\ {indent:2}
  1. Run Eclipse.  Go to File > New > Other....
    Scroll down to Maven and expand then select Checkout Maven Projects from SCM as shown in the following panel.
Panel

Anchor
Setup of the project war component using the war-template
Setup of the project war component using the war-template

Setup of the project war component using the war-template

Wiki Markup
indent
2
2
  1. 
    !setupWarTemplate002.jpg!
    
{indent}
  1. When
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
  1. click
*
  1. Next
*. \\ # From the *SCM URL:* dropdown, select *snv*. Uncheck *Checkout All Projects*. The URL for the war-template is : {code}
  1. .
  2. From the SCM URL: dropdown, select snv.
    Uncheck Checkout All Projects.
    The URL for the war-template is :
    Code Block
    
    svn+ssh://svn.mit.edu/es-projects/es-project-template/war-template/trunk
    
{code}
  1. Copy
  1. and
  1. pasted
  1. the
  1. above
  1. URL
  1. into
  1. the
*
  1. SCM
  1. URL:
*
  1. input
  1. field.

  1. When
  1. done
  1. the
  1. panel
  1. should
  1. be
  1. identical
  1. to
  1. the
  1. following:
\\ {indent:2}

  1. indent
    2
    2
    
    !setupWarTemplate004.jpg!
    
{indent}
  1. When
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
  1. click
*
  1. Next
*. \\ # If you want the change the *Workspace location*, uncheck the *Use default Workspace location* and enter the path to the desired workspace. \\ {indent:2}
  1. .
  2. If you want the change the Workspace location, uncheck the Use default Workspace location and enter the path to the desired workspace.
    indent
    2
    2
    
    !setupWarTemplate006.jpg!
    
{indent}
  1. When
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
  1. click
*
  1. Finish
*. \\ # Verify the Maven Project that is being imported. The *Import Maven Projects* panel should be identical to the following panel. \\ {indent:2}
  1. .
  2. Verify the Maven Project that is being imported. The Import Maven Projects panel should be identical to the following panel.
    indent
    2
    2
    
    !setupWarTemplate008.jpg!
    
{indent}
  1. When
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
  1. click
*
  1. Finish
*. \\ # When the project is opened, your *Eclipse - Project Explorer Perspective* should look at follows: \\ {indent:2}
  1. .
  2. When the project is opened, your Eclipse - Project Explorer Perspective should look at follows:
    indent
    2
    2
    
    !setupWarTemplate010.jpg!
    
{indent}
  1. Right
  1. click
  1. on
  1. the
  1. project
  1. and
  1. select
*
  1. Team
  1. >
Disconnect* \\ # When following *Confirm Disconnect from SVN* is displayed, select *Also delete the SVN meta-information from the file system*.. \\ {indent:2}
  1. Disconnect
  2. When following Confirm Disconnect from SVN is displayed, select Also delete the SVN meta-information from the file system..
    indent
    2
    2
    
    !setupWarTemplate012.jpg!
    
{indent}
  1. When
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
  1. click
*
  1. Yes
*. \\ # *Eclipse - Project Explorer Perspective* should look at follows: \\ {indent:2}
  1. .
  2. Eclipse - Project Explorer Perspective should look at follows:
    indent
    2
    2
    
    !setupWarTemplate014.jpg!
    
{indent}
  1. Right
  1. click
  1. on
  1. the
  1. project
  1. and
  1. select
*
  1. Refactor
  1. >
  1. Rename...
*
  1. .

  1. Replace
*
  1. projectArtifactId
*
  1. with
  1. the
  1. projectArtifactId
  1. that
  1. you
  1. have
  1. previously
  1. selected.
\\ {indext:2}

  1. indent
    2
    2
    
    Note:  You might want to append a *-war* to denote that this is the war component of your project.
    
{indent}
  1. When
  1. satisfied
  1. that
  1. everything
  1. is
  1. correct,
  1. click
*
  1. Yes
*
  1. .
\\

check

out

the

es-project-template/war-template


disconnect


rename

project


share