Skip to content

Instantly share code, notes, and snippets.

peteroyle

Block or report user

Report or block peteroyle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@peteroyle
peteroyle / boxgrinder.log
Created Jun 28, 2011
Boxgrinder Trace Building CentOS 5 in Micro AMI, LIBGUESTFS_MEMSIZE=200
View boxgrinder.log
D, [2011-06-27T20:36:31.186312 #12764] DEBUG -- : Launching new build...
T, [2011-06-27T20:36:31.226962 #12764] TRACE -- : Used configuration: --- !map:BoxGrinder::Config
:file: /root/.boxgrinder/config
:force: false
:platform_config: {}
:log_level: :info
:delivery_config: {}
:additional_plugins: []
@peteroyle
peteroyle / boxgrinder.log
Created Jun 28, 2011
Boxgrinder Trace Building CentOS 5 in Micro AMI, LIBGUESTFS_MEMSIZE=300
View boxgrinder.log
D, [2011-06-27T20:22:18.002567 #11811] DEBUG -- : Launching new build...
T, [2011-06-27T20:22:18.041218 #11811] TRACE -- : Used configuration: --- !map:BoxGrinder::Config
:file: /root/.boxgrinder/config
:force: false
:platform_config: {}
:log_level: :info
:delivery_config: {}
:additional_plugins: []
@peteroyle
peteroyle / Boxgrinder Log
Created Jun 27, 2011
Centos 5 JEOS Config
View Boxgrinder Log
# Logfile created on Mon Jun 27 01:15:29 -0400 2011 by logger.rb/22285
D, [2011-06-27T01:15:29.938660 #891] DEBUG -- : Launching new BoxGrinder build...
T, [2011-06-27T01:15:29.940555 #891] TRACE -- : Used configuration: --- !map:BoxGrinder::Config
:file: /root/.boxgrinder/config
:force: false
:platform_config: {}
:log_level: :info
:delivery_config: {}
@peteroyle
peteroyle / gist:1048439
Created Jun 27, 2011
Boxgrinder Trace Building Fedora 15 in AMI
View gist:1048439
[root@ip-10-128-190-144 boxgrinder]# boxgrinder-build fedora_15_jeos.appl
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/utils.rb:105: warning: already initialized constant HEX
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/utils.rb:107: warning: already initialized constant TO_REMEMBER
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/utils.rb:108: warning: already initialized constant ASCII
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/errors.rb:128: warning: already initialized constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/parsers.rb:47: warning: already initialized constant DEFAULT_XML_LIBRARY
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized constant AMAZON_PROBLEMS
/usr/lib/ruby/gems/1.8/gems/aws-2.5.5/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized constant DEFAULT_SIGNATURE_VERSION
I, [2011-06-27T02:57:38.252638 #1204] INFO -- : Validating appli
@peteroyle
peteroyle / gist:1048438
Created Jun 27, 2011
Fedora 15 Appliance Config
View gist:1048438
name: fedora_15_jeos
summary: Just Enough Operating System based on Fedora
appliances:
- common
os:
name: fedora
version: 15
password: password
hardware:
cpus: 2
@peteroyle
peteroyle / gist:990065
Created May 25, 2011
Unsatisfied Dependency Injecting Properties
View gist:990065
------------- Standard Output ---------------
test.jar:
/cron.properties
/META-INF/
/META-INF/beans.xml
/org/
/org/jboss/
/org/jboss/seam/
/org/jboss/seam/cron/
/org/jboss/seam/cron/spi/
@peteroyle
peteroyle / gist:978086
Created May 18, 2011
proposed module struture
View gist:978086
parent
- combined
- dist
- docs
- api
- impl (depends on api)
- spi (depends on impl)
- providers
- scheduling
- quartz (depends on spi)
@peteroyle
peteroyle / gist:975911
Created May 17, 2011
Injecting Precompiled Reports using @resource
View gist:975911
@Produces @JasperReports @Resource
public Report precompileJasperReport(InjectionPoint ip) {
JasperSeamReportLoader loader = new JasperSeamReportLoader();
Report report = null;
for (Annotation ant : ip.getQualifiers().iterator()) {
if (ant is a @Resource) {
Resource r = (Resource)ant;
InputStream is = getClassloader().getResourceAsStream(r.value());
report = loader.compile(is);
}
@peteroyle
peteroyle / gist:969969
Created May 13, 2011
SeamReports Example Usage
View gist:969969
@Qualifier
public @interface Selected {
}
@RequestScoped
public class ReportOptions {
public String reportName;
public String format;
@peteroyle
peteroyle / gist:967545
Created May 11, 2011
buiding forge from git
View gist:967545
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge - Shell API ................................. FAILURE [4.258s]
[INFO] Forge - Maven Integration APIs .................... SKIPPED
[INFO] Forge - Git Integration ........................... SKIPPED
[INFO] Forge - Parser/Java ............................... SKIPPED
[INFO] Forge - Maven Project Model ....................... SKIPPED
You can’t perform that action at this time.