Skip to main content



      Home
Home » Archived » Sapphire » build qualifier
build qualifier [message #1386443] Tue, 17 June 2014 11:10 Go to next message
Eclipse UserFriend
When creating a local build, how can you specify a custom qualifier other than just using the default date? I'd like to add a suffix to the normal yyyyMMddhhmm format.
Re: build qualifier [message #1386453 is a reply to message #1386443] Tue, 17 June 2014 12:13 Go to previous messageGo to next message
Eclipse UserFriend
There isn't an existing facility to override the qualifier. Search for references to DSTAMP and you can customize the build as appropriate.
Re: build qualifier [message #1386505 is a reply to message #1386453] Tue, 17 June 2014 20:04 Go to previous messageGo to next message
Eclipse UserFriend
I replaced all of the DSTAMP with a couple of different things:

${DSTAMP}-custom
or just
custom

And both fail with this type of error:
    [unzip] Expanding: /lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/repository/plugins/org.eclipse.sapphire.workspace_8.0.1.custom.jar into /lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/temp
     [echo] Mirroring ASM...
     [copy] Copying 1 file to /lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/repository/plugins
     [echo] Packaging the repository...
     [copy] Copying 1 file to /lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/repository
     [java] Generating metadata for ..
     [java] Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0  java.lang.IllegalArgumentException
     [java] 
     [java] Product publishing ended with the following exception:
     [java] java.lang.IllegalArgumentException
     [java] 	at org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:93)
     [java] 	at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79)
     [java] 	at org.eclipse.equinox.internal.p2.updatesite.SiteXMLAction.getFeatureIU(SiteXMLAction.java:214)
     [java] 	at org.eclipse.equinox.internal.p2.updatesite.SiteXMLAction.generateCategories(SiteXMLAction.java:111)
     [java] 	at org.eclipse.equinox.internal.p2.updatesite.SiteXMLAction.perform(SiteXMLAction.java:102)
     [java] 	at org.eclipse.equinox.internal.p2.updatesite.LocalUpdateSiteAction.perform(LocalUpdateSiteAction.java:70)
     [java] 	at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207)
     [java] 	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.executeBatch(SimpleArtifactRepository.java:1345)
     [java] 	at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:231)
     [java] 	at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:286)
     [java] 	at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:256)
     [java] 	at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:320)
     [java] 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
     [java] 	at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
     [java] 	at java.lang.Thread.run(Thread.java:745)
     [java] 
     [java] Product publisher application was executed with the following arguments:
     [java] -metadataRepository
     [java] file:/lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/repository
     [java] -artifactRepository
     [java] file:/lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/repository
     [java] -source
     [java] /lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build/repository
     [java] -compress
     [java] -publishArtifacts

BUILD FAILED
/lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build.xml:67: The following error occurred while executing this line:
/lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/build.xml:224: The following error occurred while executing this line:
/lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/releng/ant-library/library.xml:339: The following error occurred while executing this line:
/lrdev/repos/git.eclipse.org/sapphire/org.eclipse.sapphire/releng/ant-library/library.xml:307: Java returned: 1
Re: build qualifier [message #1386510 is a reply to message #1386505] Tue, 17 June 2014 23:22 Go to previous message
Eclipse UserFriend
I'd dig through the files left over when it fails to determine the full version that it ends up using in feature.xml and MANIFEST.MF files. That might offer a clue as to what's going wrong.
Previous Topic:Sapphire 8 graphical editor DnD issue
Next Topic:Run Sapphire Project
Goto Forum:
  


Current Time: Mon May 05 11:27:39 EDT 2025

Powered by FUDForum. Page generated in 0.04471 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top