replaced references to "spring-agent.jar" with "org.springframework.instrument.jar" (SPR-6597)
This commit is contained in:
parent
4a90266f8e
commit
b56328aa9e
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -80,8 +80,8 @@ public class DefaultContextLoadTimeWeaver implements LoadTimeWeaver, BeanClassLo
|
||||||
this.loadTimeWeaver.getInstrumentableClassLoader().getClass().getName());
|
this.loadTimeWeaver.getInstrumentableClassLoader().getClass().getName());
|
||||||
}
|
}
|
||||||
catch (IllegalStateException ex) {
|
catch (IllegalStateException ex) {
|
||||||
throw new IllegalStateException(ex.getMessage() + " Specify a custom LoadTimeWeaver " +
|
throw new IllegalStateException(ex.getMessage() + " Specify a custom LoadTimeWeaver or start your " +
|
||||||
"or start your Java virtual machine with Spring's agent: -javaagent:spring-agent.jar");
|
"Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jar");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2008 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -32,15 +32,14 @@ import org.springframework.util.ClassUtils;
|
||||||
*
|
*
|
||||||
* <p>Start the JVM specifying the Java agent to be used, like as follows:
|
* <p>Start the JVM specifying the Java agent to be used, like as follows:
|
||||||
*
|
*
|
||||||
* <p><code class="code">-javaagent:path/to/spring-agent.jar</code>
|
* <p><code class="code">-javaagent:path/to/org.springframework.instrument.jar</code>
|
||||||
*
|
*
|
||||||
* <p>where <code>spring-agent.jar</code> is a JAR file containing the
|
* <p>where <code>org.springframework.instrument.jar</code> is a JAR file containing
|
||||||
* {@link InstrumentationSavingAgent} class.
|
* the {@link InstrumentationSavingAgent} class, as shipped with Spring.
|
||||||
*
|
*
|
||||||
* <p>In Eclipse, for example, set the "Run configuration"'s JVM args
|
* <p>In Eclipse, for example, set the "Run configuration"'s JVM args to be of the form:
|
||||||
* to be of the form:
|
|
||||||
*
|
*
|
||||||
* <p><code class="code">-javaagent:${project_loc}/lib/spring-agent.jar</code>
|
* <p><code class="code">-javaagent:${project_loc}/lib/org.springframework.instrument.jar</code>
|
||||||
*
|
*
|
||||||
* @author Rod Johnson
|
* @author Rod Johnson
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue