Skip to main content

Source code browse

Revision: 57029

GLASSFISH-18987 Remove call to getService in critical path
» Project Revision History

» Checkout URL

svn / tags / 3.1.2-b02 / admin / debug

FilenameAuthorRevisionModifiedLog Entry
..
janey 49330 over 2 years ago Moving 3.1.2-b02 branch to a ta...
janey 49330 over 2 years ago Moving 3.1.2-b02 branch to a ta...
    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.

    The contents of this file are subject to the terms of either the GNU
    General Public License Version 2 only ("GPL") or the Common Development
    and Distribution License("CDDL") (collectively, the "License").  You
    may not use this file except in compliance with the License.  You can
    obtain a copy of the License at
    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
    or packager/legal/LICENSE.txt.  See the License for the specific
    language governing permissions and limitations under the License.

    When distributing the software, include this License Header Notice in each
    file and include the License file at packager/legal/LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [year] [name of copyright owner]"

    Contributor(s):
    If you wish your version of this file to be governed by only the CDDL or
    only the GPL Version 2, indicate your decision by adding "[Contributor]
    elects to include this software in this distribution under the [CDDL or GPL
    Version 2] license."  If you don't indicate a single choice of license, a
    recipient has the option to distribute your version of this file under
    either the CDDL, the GPL Version 2 or to extend the choice of license to
    its licensees as provided above.  However, if you add GPL Version 2 code
    and therefore, elected the GPL Version 2 license, then the option applies
    only if the new code is made subject to such option by the copyright
    holder.


This is a project (POM) created to help admin backend developers. If
you are an admin developer, you have to deal with sources scattered
over GFv3 workspace, at the same time, there are sources that you don't
ever touch during your normal development. This rules out the possibility
of top-level v3/pom.xml to be opened by your favorite IDE. What I have
done here is "hand-picked" the parts of GFv3 workspace so that you can
open all those parts "as a single maven/IDE project". The benefits of
doing this are:
0- You don't need the entire sources (although this assumes that all of
   the workspace is actually checked out) and can only open single
   project.
1- You don't need to open multiple projects in IDE.

I have tested this with Intellij 8.1.3 and it works great (for me).
Typically, here is what I do:
- checkout v3 source code and build it once.
- open <v3>/admin/debug/pom.xml in your favorite IDE that supports POM
  (e.g. NetBeans, Intellij).
- in a shell, do: mvn dependency:sources -> this downloads all the
  other sources (external dependencies) in your local repo, should you
  need to debug them.

-Kedar, 02 Oct 2009
 
 
Close
loading
Please Confirm
Close