Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1FA222009F8 for ; Fri, 3 Jun 2016 20:15:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E266160A49; Fri, 3 Jun 2016 18:15:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 689EA160A3B for ; Fri, 3 Jun 2016 20:15:55 +0200 (CEST) Received: (qmail 33683 invoked by uid 500); 3 Jun 2016 18:15:54 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 33658 invoked by uid 99); 3 Jun 2016 18:15:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 18:15:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BE8E4C11E5 for ; Fri, 3 Jun 2016 18:15:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.997 X-Spam-Level: * X-Spam-Status: No, score=1.997 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=netorg75979.onmicrosoft.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Fwm-_LP-ooRB for ; Fri, 3 Jun 2016 18:15:52 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0143.outbound.protection.outlook.com [157.56.110.143]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id CAAA55F36D for ; Fri, 3 Jun 2016 18:15:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORG75979.onmicrosoft.com; s=selector1-valsphere-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fw+lD7trpJCc5VxzHhclhokpfJi+apdImISanxFK8ss=; b=Ozqt+J/fbhDj5XokfJqDpWGcZWV2SfONCwy5R5VrMFgqHnNgJ6tzkybweAykWIvneD2oCzl0gGkeXc2c9Qhe4iPM4oca8V3sKQVwxjTW7k5QsFeXA6KxuFJZwJHPgcME+/fm6wj06KbmQgv4azu3OsObA8bshqyRJrjiJCGUaoc= Received: from BY2PR06MB2133.namprd06.prod.outlook.com (10.166.113.25) by BY2PR06MB2134.namprd06.prod.outlook.com (10.166.113.26) with Microsoft SMTP Server (TLS) id 15.1.511.8; Fri, 3 Jun 2016 18:15:44 +0000 Received: from BY2PR06MB2133.namprd06.prod.outlook.com ([10.166.113.25]) by BY2PR06MB2133.namprd06.prod.outlook.com ([10.166.113.25]) with mapi id 15.01.0511.008; Fri, 3 Jun 2016 18:15:43 +0000 From: Adam Boyle To: Cayenne Users Subject: Code obfuscation and the model Thread-Topic: Code obfuscation and the model Thread-Index: AQHRvaW/UrVrLmtbh0yEsdbvcwvekw== Date: Fri, 3 Jun 2016 18:15:43 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: cayenne.apache.org; dkim=none (message not signed) header.d=none;cayenne.apache.org; dmarc=none action=none header.from=valsphere.com; x-originating-ip: [132.245.54.101] x-ms-office365-filtering-correlation-id: 4d052c20-1d69-4d80-991e-08d38bdb1403 x-microsoft-exchange-diagnostics: 1;BY2PR06MB2134;5:saK30mmdJybmwGFLs5skbx+6V8VH0NwV85jjx3Qx0O8JbIAnU9wSMeybnLF91VW/SnUxHRG96alNhxxBMvMpNq/Q42K0QmcDOF4w4l7p4dXb2LbqICJDw7iUp5Ks25OYN/OJ5+wusrRKbdu4B63wMg==;24:eoCYKfp7dzwbhloAxfta2WcFQWSge3B19K8k+I+EIHIUjlrnMWZi8o4aEfKie1UHWc3fhYb6HgzdTcw13JZMDZI0FM6LRJ5qfMbtCskSHz8=;7:BE5RC63JU05ilSurQjVB3wrg39wzlEG+aglNalOdF2CEXlLB68zdHAh/td8x93R7s4oMvwR3jv0xUR1p3qYkQ8jHTnIH91IVtI1615oMfZV9w880rfqOaqJrTFCfLcUhBRIzfPSam0+RZo3lE3/sCNf7V5/t12FIj9Qq2229nFPh+kLa+dMK9DZStCMgz7nbldr4vlRT0jvpo3hMzGAeLHYfzdHqJy5jkItpQXKsFlg= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR06MB2134; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040130)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041072)(6043046);SRVR:BY2PR06MB2134;BCL:0;PCL:0;RULEID:;SRVR:BY2PR06MB2134; x-forefront-prvs: 0962D394D2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(51874003)(586003)(5002640100001)(5004730100002)(3280700002)(102836003)(3846002)(6116002)(19627405001)(81166006)(66066001)(8676002)(87936001)(10400500002)(99286002)(92566002)(3660700001)(8936002)(86362001)(76576001)(5003600100002)(2900100001)(77096005)(122556002)(2906002)(16236675004)(33656002)(189998001)(5008740100001)(50986999)(450100001)(54356999)(9686002)(74316001)(106116001)(19625215002)(110136002)(107886002)(229853001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR06MB2134;H:BY2PR06MB2133.namprd06.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BY2PR06MB2133B62C4CD148C375046FD4CB590BY2PR06MB2133namp_" MIME-Version: 1.0 X-OriginatorOrg: valsphere.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2016 18:15:43.2531 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 552f1932-42eb-4db3-a137-fd645bffe074 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR06MB2134 archived-at: Fri, 03 Jun 2016 18:15:56 -0000 --_000_BY2PR06MB2133B62C4CD148C375046FD4CB590BY2PR06MB2133namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Have any of you ever had to tackle the problem of obfuscating a project tha= t uses Cayenne? I'm looking to find a way to be able to obfuscate a Cayenne= ROP project and I'm hoping that we're not the first to attempt this. Our thinking is that we would write a utility/maven plugin to obfuscate the= project XML, generate the classes/DB, use a custom remapping utility to fi= x up any code references, then use Proguard/whatever to obfuscate the remai= ning code. Thanks in advance for any advice you can provide! -Adam --_000_BY2PR06MB2133B62C4CD148C375046FD4CB590BY2PR06MB2133namp_--