| 206 | } |
| 207 | |
| 208 | void LaunchProfile::applyMavenFile(LibraryPtr mavenFile, const RuntimeContext & runtimeContext) |
| 209 | { |
| 210 | if(!mavenFile->isActive(runtimeContext)) |
| 211 | { |
| 212 | return; |
| 213 | } |
| 214 | |
| 215 | if(mavenFile->isNative()) |
| 216 | { |
| 217 | return; |
| 218 | } |
| 219 | |
| 220 | // unlike libraries, we do not keep only one version or try to dedupe them |
| 221 | m_mavenFiles.append(Library::limitedCopy(mavenFile)); |
| 222 | } |
| 223 | |
| 224 | void LaunchProfile::applyAgent(AgentPtr agent, const RuntimeContext & runtimeContext) |
| 225 | { |