title: Eclipse: Installation of a set of Plugins from the command line -> DefaultProfile is not current. Expected timestamp
body: <p>We are trying to install a set of eclipse plugins from the commandline.</p>
  
  <p>For this we are using the General command: [1]</p>
  
  <p>The command works most of the times perfect.</p>
  
  <p>But for some plugins we get a similar error: [2]</p>
  
  <p>The only difference is the timestamp.</p>
  
  <p>As a result the plugins could not be installed from the command line. When installing the plugin in the UI everything is working.</p>
  
  <p>Any idea what is causing the error [2]. Might this be an issue with the Installation sequence? How can we set the Defaultprofile</p>
  
  <p>Thanks for a hint.</p>
  
  <p>Best Regards</p>
  
  <p>Frank </p>
  
  <p>[1] 
  eclipsec.exe
  -application org.eclipse.equinox.p2.director -repository  -installIU  -destination C:/developmenttools/JDT/4.3/eclipse -profile DefaultProfile -followReferences</p>
  
  <p>[2]</p>
  
  <p>!MESSAGE Application error
  !STACK 1
  java.lang.IllegalStateException: Profile DefaultProfile is not current. Expected timestamp 1392631752387 but was 1392631752387.
      at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.lockProfile(SimpleProfileRegistry.java:819)
      at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:67)
      at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
      at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:31)
      at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:23)
      at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.executePlan(DirectorApplication.java:783)
      at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.planAndExecute(DirectorApplication.java:776)
      at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.performProvisioningActions(DirectorApplication.java:763)
      at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.run(DirectorApplication.java:1063)
      at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.start(DirectorApplication.java:1245)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1426)</p>