update for Eclipse 3.5M6
diff --git a/plugins/org.eclipse.epp.wizard.metadata.generator/src/org/eclipse/epp/wizard/metadata/generator/P2MetadataReader.java b/plugins/org.eclipse.epp.wizard.metadata.generator/src/org/eclipse/epp/wizard/metadata/generator/P2MetadataReader.java
index 9ea779f..f2c8642 100644
--- a/plugins/org.eclipse.epp.wizard.metadata.generator/src/org/eclipse/epp/wizard/metadata/generator/P2MetadataReader.java
+++ b/plugins/org.eclipse.epp.wizard.metadata.generator/src/org/eclipse/epp/wizard/metadata/generator/P2MetadataReader.java
@@ -1,12 +1,13 @@
/*******************************************************************************
- * Copyright (c) 2008
+ * Copyright (c) 2008, 2009
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Henrik Lindberg
+ * Henrik Lindberg - initial version
+ * EclipseSource
******************************************************************************/
package org.eclipse.epp.wizard.metadata.generator;
@@ -115,7 +116,7 @@
@SuppressWarnings("unchecked")
protected XMLWriter.ProcessingInstruction[] createPI(Class iuClass) {
//TODO We should remove this processing instruction, but currently old clients rely on this. See bug 210450.
- return new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeClassVersionInstruction(XMLConstants.PI_IU_TARGET, iuClass, XMLConstants.CURRENT_VERSION)};
+ return new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeTargetVersionInstruction(XMLConstants.PI_IU_TARGET, XMLConstants.CURRENT_VERSION)};
}