This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.zeroturnaround.eclipse.optimizer.plugin.debug; | |
| import org.eclipse.swt.SWT; | |
| import org.eclipse.swt.events.PaintEvent; | |
| import org.eclipse.swt.events.PaintListener; | |
| import org.eclipse.swt.graphics.Color; | |
| import org.eclipse.swt.graphics.GC; | |
| import org.eclipse.swt.graphics.Rectangle; | |
| import org.eclipse.swt.layout.FillLayout; | |
| import org.eclipse.swt.widgets.Canvas; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project eclipse-optimizer-agent: Error creating shaded jar: null | |
| at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) | |
| at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) | |
| at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) | |
| at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) | |
| at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) | |
| at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) | |
| at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) | |
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) | |
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.whatever</groupId> | |
| <artifactId>foo-agent</artifactId> | |
| <packaging>jar</packaging> | |
| <version>1.0-SNAPSHOT</version> | |
| <properties> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public enum AnimalType { | |
| DOG { | |
| public Animal createAnimal() { | |
| return new Dog(); | |
| } | |
| }, | |
| CAT { | |
| public Animal createAnimal() { | |
| return new Cat(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| database.driver = com.mysql.jdbc.Driver | |
| database.url = $LR{db.url} | |
| database.username = $LR{db.username} | |
| database.password = $LR{db.password} | |
| facebook.app.id = $LR{fb.appId} | |
| facebook.app.secret = $LR{fb.appSecret} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Database settings | |
| db.url=mysql:host=localhost;dbname=qa | |
| db.username=root | |
| db.password= | |
| # Facebook integration settings | |
| fb.appId=486587731404052 | |
| fb.appSecret=foobar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return array( | |
| 'components' => array( | |
| 'db' => array( | |
| 'connectionString' => '$LR{db.url}', | |
| 'emulatePrepare' => true, | |
| 'username' => '$LR{db.username}', | |
| 'password' => '$LR{db.password}', | |
| 'charset' => 'utf8', |