Examples of addURL()


Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

            {
                Artifact pluginArtifact = (Artifact) i.next();
                // add all plugin artifacts see https://issues.apache.org/jira/browse/MTOMCAT-122
                if ( pluginArtifact.getFile() != null )
                {
                    root.addURL( pluginArtifact.getFile().toURI().toURL() );
                }

            }
            tomcatRealm = root;
            return root;
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

       
        ClassRealm classRealm = createClassRealm( world, "plexus.core", parentClassLoader == null ? antClassLoader : parentClassLoader );

        for ( File jarFile : jarFiles ) {
            try {
                classRealm.addURL( jarFile.toURI().toURL() );
            } catch ( MalformedURLException e ) {
                throw new MavenEmbedderException( e.getMessage(), e );
            }
        }
        return classRealm;
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                {
                    File file = resolveFile( new File( jar ), cliRequest.workingDirectory );

                    logger.debug( "  Included " + file );

                    extRealm.addURL( file.toURI().toURL() );
                }

                extRealm.setParentRealm( coreRealm );

                containerRealm = extRealm;
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                {
                    File file = resolveFile( new File( jar ), cliRequest.workingDirectory );

                    logger.debug( "  Included " + file );

                    extRealm.addURL( file.toURI().toURL() );
                }

                extRealm.setParentRealm( coreRealm );

                containerRealm = extRealm;
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                {
                    File file = new File( constituent );

                    if ( file.exists() )
                    {
                        curRealm.addURL( file.toURI().toURL() );
                    }
                    else
                    {
                        try
                        {
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                    }
                    else
                    {
                        try
                        {
                            curRealm.addURL( new URL( constituent ) );
                        }
                        catch ( MalformedURLException e )
                        {
                            throw new FileNotFoundException( constituent );
                        }
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                {
                    File file = new File( constituent );

                    if ( file.exists() )
                    {
                        curRealm.addURL( file.toURI().toURL() );
                    }
                    else
                    {
                        try
                        {
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                    }
                    else
                    {
                        try
                        {
                            curRealm.addURL( new URL( constituent ) );
                        }
                        catch ( MalformedURLException e )
                        {
                            // swallow
                        }
View Full Code Here

Examples of org.codehaus.plexus.classworlds.realm.ClassRealm.addURL()

                {
                    File file = resolveFile( new File( jar ), cliRequest.workingDirectory );

                    slf4jLogger.debug( "  Included " + file );

                    extRealm.addURL( file.toURI().toURL() );
                }

                extRealm.setParentRealm( coreRealm );

                containerRealm = extRealm;
View Full Code Here

Examples of org.hibernate.cfg.Configuration.addURL()

      this.url = url;
    }
    public void apply(Object target, WireContext wireContext) {
      Configuration configuration = (Configuration) target;
      try {
        configuration.addURL(new URL(url));
      } catch (Exception e) {
        throw new PvmException("couldn't add hibernate mapping from URL "+url, e);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.